]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix .pid access of clamd and freshclam
authorarne_f <arne_f@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 16 Feb 2008 17:03:48 +0000 (17:03 +0000)
committerarne_f <arne_f@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 16 Feb 2008 17:03:48 +0000 (17:03 +0000)
Add ClamAV section to system-log (core8)
Create /etc/ntp folder (core8)

git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1216 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/clamav/clamd.conf
config/clamav/freshclam.conf
config/rootfiles/core/8/files
config/rootfiles/packages/clamav
doc/packages-list.txt
html/cgi-bin/logs.cgi/log.dat
lfs/clamav

index 2f77b6b3bdb4f3bd31ed47887cfca8931e8a1306..da7e3970d131488915f7d8abe5f9631239e7fa7c 100644 (file)
@@ -4,7 +4,7 @@
 
 LogSyslog yes
 
-PidFile /var/run/clamd.pid
-LocalSocket /var/run/clamd
+PidFile /var/run/clamav/clamd.pid
+LocalSocket /var/run/clamav/clamd
 
 ArchiveMaxFileSize 15M
index a2eae00d16cf2c129c176bdfc086914972ef4daf..d4131e574adfea574e8b9ca64b9e06fd27b69dd8 100644 (file)
@@ -4,7 +4,7 @@
 
 LogSyslog yes
 
-PidFile /var/run/freshclam.pid
+PidFile /var/run/clamav/freshclam.pid
 
 DatabaseMirror database.clamav.net
 
index 167f6f79a11211a8a271551083e091c972e4e773..f0753cb43060451fb7d4a3c51b71b7b166a7cb32 100644 (file)
@@ -2,3 +2,5 @@ lib/modules/2.6.16.57-ipfire/kernel/drivers/net/r8169.ko
 lib/modules/2.6.16.57-ipfire/kernel/drivers/net/r8168.ko
 lib/modules/2.6.16.57-ipfire-smp/kernel/drivers/net/r8169.ko
 lib/modules/2.6.16.57-ipfire-smp/kernel/drivers/net/r8168.ko
+srv/web/ipfire/cgi-bin/logs.cgi/log.dat
+etc/ntp
index 0619b4f205a37d7ebd275cde753b9094f9fe3655..e5177d69f35afa10fd54a9bb04bb5b1a89434232 100644 (file)
@@ -33,3 +33,4 @@ var/ipfire/clamav/clamd.conf
 var/ipfire/clamav/freshclam.conf
 etc/rc.d/init.d/clamav
 usr/local/bin/clamavctrl
+var/run/clamav
index c9c4c93f66d497329f89eb6928b9ac3776714a2e..0d7bc36ef977357dbb8a95db3bfe7e3c78dc6ea2 100644 (file)
@@ -34,7 +34,7 @@
 * applejuice-0.30
 * arping-2.05
 * as86-0.16.17
-* asterisk-1.4.8
+* asterisk-1.4.18
 * autoconf-2.59
 * automake-1.9.6
 * backup-ipfire
 * bwm-ng-0.6
 * bzip2-1.0.3
 * calamaris-2.59
+* capi4k-utils-2005-07-18
 * ccache-2.4
 * cdrtools-2.01
 * centerim-4.22.1
-* clamav-0.92
 * clamav-0.92.1
 * collectd-4.2.3
 * coreutils-5.96
index 49d5b4ad58319a4b57d51d7e9f343e62813f2037..937a4f882a54f41887a4ecd0bcd99a0996b1cda8 100644 (file)
@@ -57,6 +57,7 @@ my %sections = (
         'red' => '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])',
         'dns' => '(dnsmasq\[.*\]: )',
         'dhcp' => '(dhcpd: )',
+        'clamav' => '(clamd\[.*\]: |freshclam\[.*\]: )',
         'collectd' => '(collectd\[.*\]: )',
         'cron' => '(fcron\[.*\]: )',
         'ntp' => '(ntpd(?:ate)?\[.*\]: )',
@@ -75,6 +76,7 @@ my %trsections = (
         'dhcp' => "$Lang::tr{'dhcp server'}",
         'cron' => 'Cron',
         'collectd' => 'Collectd',
+       'clamav' => 'ClamAV',
         'ntp' => 'NTP',
         'ssh' => 'SSH',
         'auth' => "$Lang::tr{'loginlogout'}",
index 9a91310ab7a64a522ba84c968c44234a434e4bca..f7125399ed55694e23f3eaeb90467c27fa7711f7 100644 (file)
@@ -83,5 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        chown clamav.clamav -R /usr/share/clamav/
        cp -rf $(DIR_SRC)/config/clamav/* /var/ipfire/clamav/
        rm -rfv /usr/share/clamav/*.cvd
+       mkdir -p /var/run/clamav
+       chown clamav:clamav /var/run/clamav
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)