]> git.pld-linux.org Git - packages/c-icap.git/commitdiff
- fixed config, log, pid and example paths
authorhawk <hawk@pld-linux.org>
Mon, 21 Mar 2011 09:54:56 +0000 (09:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- run with group c-icap

Changed files:
    c-icap-conf.patch -> 1.2

c-icap-conf.patch

index a176a59c8f905fa24a32ac5aa67528e0aea7a4d3..8f99240f531336b2302909965388c7363fa1ce9d 100644 (file)
@@ -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 @@ diff -ur c_icap-0.1.4.orig//c-icap.conf.in c_icap-0.1.4.mod//c-icap.conf.in
  
  # 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 @@ diff -ur c_icap-0.1.4.orig//c-icap.conf.in c_icap-0.1.4.mod//c-icap.conf.in
  # 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 @@ diff -ur c_icap-0.1.4.orig//c-icap.conf.in c_icap-0.1.4.mod//c-icap.conf.in
  #     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
This page took 0.405509 seconds and 4 git commands to generate.