Fix .pid access of clamd and freshclam

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
This commit is contained in:
arne_f
2008-02-16 17:03:48 +00:00
parent 3b94d392fd
commit 4f57d6981e
7 changed files with 12 additions and 5 deletions

View 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

View File

@@ -4,7 +4,7 @@
LogSyslog yes
PidFile /var/run/freshclam.pid
PidFile /var/run/clamav/freshclam.pid
DatabaseMirror database.clamav.net

View 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

View 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

View 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
@@ -49,10 +49,10 @@
* 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

View 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'}",

View 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)