rpms/clamav/devel clamav-milter.sysv,1.2,1.3 clamav.spec,1.91,1.92

ensc ensc at fedoraproject.org
Sun Aug 9 11:25:35 UTC 2009


Author: ensc

Update of /cvs/extras/rpms/clamav/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17940/devel

Modified Files:
	clamav-milter.sysv clamav.spec 
Log Message:
- modified freshclam configuration to log by syslog by default
- disabled LocalSocket option in sample configuration
- fixed clamav-milter sysv initscript to use bash interpreter and to
  be disabled by default



Index: clamav-milter.sysv
===================================================================
RCS file: /cvs/extras/rpms/clamav/devel/clamav-milter.sysv,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- clamav-milter.sysv	8 Mar 2009 12:47:20 -0000	1.2
+++ clamav-milter.sysv	9 Aug 2009 11:25:35 -0000	1.3
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
 #
 # clamav-milter Starts/stop the "clamav-milter" daemon
 #
-# chkconfig:   345 99 1
+# chkconfig:   - 99 1
 # description: A virus scanning milter
 
 # Source function library.


Index: clamav.spec
===================================================================
RCS file: /cvs/extras/rpms/clamav/devel/clamav.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -p -r1.91 -r1.92
--- clamav.spec	8 Aug 2009 13:33:12 -0000	1.91
+++ clamav.spec	9 Aug 2009 11:25:35 -0000	1.92
@@ -321,15 +321,18 @@ mkdir -p libclamunrar{,_iface}
 %{!?with_unrar:touch libclamunrar/{Makefile.in,all,install}}
 
 sed -ri \
-    -e 's!^(#?LogFile ).*!\1/var/log/clamd.<SERVICE>!g' \
-    -e 's!^(#?LocalSocket ).*!\1/var/run/clamd.<SERVICE>/clamd.sock!g' \
+    -e 's!^#?(LogFile ).*!#\1/var/log/clamd.<SERVICE>!g' \
+    -e 's!^#?(LocalSocket ).*!#\1/var/run/clamd.<SERVICE>/clamd.sock!g' \
     -e 's!^(#?PidFile ).*!\1/var/run/clamd.<SERVICE>/clamd.pid!g' \
     -e 's!^#?(User ).*!\1<USER>!g' \
     -e 's!^#?(AllowSupplementaryGroups|LogSyslog).*!\1 yes!g' \
     -e 's! /usr/local/share/clamav,! %homedir,!g' \
     etc/clamd.conf
 
-sed -ri -e 's!^#(UpdateLogFile )!\1!g;' etc/freshclam.conf
+sed -ri \
+    -e 's!^#?(UpdateLogFile )!#\1!g;' \
+    -e 's!^#?(LogSyslog).*!\1 yes!g' \
+    -e 's!(DatabaseOwner *)clamav$!\1%username!g' etc/freshclam.conf
 
 
 ## ------------------------------------------------------------
@@ -468,7 +471,7 @@ rm -rf "$RPM_BUILD_ROOT"
 
 ## ------------------------------------------------------------
 
-%triggerprein filesystem -- clamav-filesystem < 0.95.2-3
+%triggerprein filesystem -- clamav-filesystem < 0.96
 ## REMOVE me in F14 or F15 (added in pre F12)
 ! /usr/bin/id clamav &>/dev/null || /usr/bin/id %username &>/dev/null || { 
 	/usr/sbin/usermod  -l %username clamav || :
@@ -691,6 +694,12 @@ test "$1" != "0" || /sbin/initctl -q sto
 
 
 %changelog
+* Sun Aug  9 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.95.2-5
+- modified freshclam configuration to log by syslog by default
+- disabled LocalSocket option in sample configuration
+- fixed clamav-milter sysv initscript to use bash interpreter and to
+  be disabled by default
+
 * Sat Aug  8 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.95.2-4
 - renamed 'clamav' user/group to 'clamupdate'
 - add the '%milteruser' user to the '%scanuser' group when the -scanner




More information about the fedora-extras-commits mailing list