packages: c-icap/c-icap-conf.patch - fixed config, log, pid and example pat...

hawk hawk at pld-linux.org
Mon Mar 21 10:55:01 CET 2011


Author: hawk                         Date: Mon Mar 21 09:55:01 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed config, log, pid and example paths
- run with group c-icap

---- Files affected:
packages/c-icap:
   c-icap-conf.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/c-icap/c-icap-conf.patch
diff -u packages/c-icap/c-icap-conf.patch:1.1 packages/c-icap/c-icap-conf.patch:1.2
--- packages/c-icap/c-icap-conf.patch:1.1	Fri Mar 18 15:19:29 2011
+++ packages/c-icap/c-icap-conf.patch	Mon Mar 21 10:54:56 2011
@@ -1,6 +1,17 @@
 diff -ur c_icap-0.1.4.orig//c-icap.conf.in c_icap-0.1.4.mod//c-icap.conf.in
 --- c_icap-0.1.4.orig//c-icap.conf.in	2010-05-29 17:36:42.000000000 +0200
-+++ c_icap-0.1.4.mod//c-icap.conf.in	2011-03-18 14:55:07.559710803 +0100
++++ c_icap-0.1.4.mod//c-icap.conf.in	2011-03-21 10:41:03.879540951 +0100
+@@ -9,8 +9,8 @@
+ # Description:
+ #	The file to store the pid of the main process of the c-icap server.
+ # Default:
+-#	PidFile /var/run/c-icap/c-icap.pid
+-PidFile /var/run/c-icap/c-icap.pid
++#	PidFile /var/run/c-icap.pid
++PidFile /var/run/c-icap.pid
+ 
+ # TAG: CommandsSocket
+ # Format: CommandsSocket socket_file
 @@ -119,6 +119,7 @@
  #	No value
  # Example:
@@ -9,11 +20,13 @@
  
  # TAG: Group
  # Format: Group groupname
-@@ -129,6 +130,7 @@
+@@ -128,7 +129,8 @@
+ # Default:
  #	No value
  # Example:
- #	Group nogroup
-+Group	nogroup
+-#	Group nogroup
++#	Group c-icap
++Group	c-icap
  
  # TAG: ServerAdmin
  # Format: ServerAdmin admin_mail
@@ -53,19 +66,46 @@
  # Default:
 -#	LoadMagicFile @prefix@/etc/c-icap.magic
 -LoadMagicFile @prefix@/etc/c-icap.magic
-+#	LoadMagicFile /etc/c-icap.magic
-+LoadMagicFile /etc/c-icap.magic
++#	LoadMagicFile /etc/c-icap/c-icap.magic
++LoadMagicFile /etc/c-icap/c-icap.magic
  
  # TAG: RemoteProxyUsers
  # Format: RemoteProxyUsers onoff
+@@ -289,7 +291,7 @@
+ # Default:
+ #	No value
+ # Example:
+-#	basic_simple_db.UsersDB hash:/usr/local/c-icap/etc/c-icap-users.txt
++#	basic_simple_db.UsersDB hash:/etc/c-icap-users.txt
+ 
+ # TAG: GroupSourceByGroup
+ # Format: GroupSourceByGroup LookupTable
+@@ -301,7 +303,7 @@
+ # Default:
+ #	No set
+ # Example:
+-#	GroupSourceByGroup hash:/usr/local/c-icap/etc/c-icap-groups.txt
++#	GroupSourceByGroup hash:/etc/c-icap-groups.txt
+ 
+ # TAG: GroupSourceByUser
+ # Format: GroupSourceByUser LookupTable
+@@ -313,7 +315,7 @@
+ # Default:
+ #	No set
+ # Example:
+-#	GroupSourceByUser hash:/usr/local/c-icap/etc/c-icap-user-groups.txt
++#	GroupSourceByUser hash:/etc/c-icap-user-groups.txt
+ 
+ # TAG: acl
+ # Format: acl name type[{param}] value1 [value2] [...]
 @@ -443,8 +445,8 @@
  #	store debugging information, errors and other
  #	information about the c-icap server.
  # Default:
 -#	ServerLog @prefix@/var/log/server.log
 -ServerLog @prefix@/var/log/server.log
-+#	ServerLog /var/log/server.log
-+ServerLog /var/log/server.log
++#	ServerLog /var/log/c-icap/server.log
++ServerLog /var/log/c-icap/server.log
  
  # TAG: AccessLog
  # Format: AccessLog LogFile [LogFormat] [[!]acl1] [[!]acl2] [...]
@@ -74,12 +114,12 @@
  #	one access log files
  # Default:
 -#	AccessLog @prefix@/var/log/access.log
-+#	AccessLog /var/log/access.log
++#	AccessLog /var/log/c-icap/access.log
  # Example:
 -#	AccessLog @prefix@/var/log/access.log MyFormat all
 -AccessLog @prefix@/var/log/access.log
-+#	AccessLog /var/log/access.log MyFormat all
-+AccessLog /var/log/access.log
++#	AccessLog /var/log/c-icap/access.log MyFormat all
++AccessLog /var/log/c-icap/access.log
  
  # TAG: Logger
  # Format: Logger LoggerName
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/c-icap/c-icap-conf.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list