summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2004-01-22 09:31:17 +0000
committerHanno Boeck <hanno@gentoo.org>2004-01-22 09:31:17 +0000
commit5e2f66be77cdb2ac4502644d4ae91608aaf09372 (patch)
treefeef57e589c30ff51d7c30e634ce7fa38825ce7b /net-mail
parenttidy oldest version (diff)
downloadhistorical-5e2f66be77cdb2ac4502644d4ae91608aaf09372.tar.gz
historical-5e2f66be77cdb2ac4502644d4ae91608aaf09372.tar.bz2
historical-5e2f66be77cdb2ac4502644d4ae91608aaf09372.zip
clamav init.d-script fixes
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/clamav/ChangeLog5
-rw-r--r--net-mail/clamav/Manifest4
-rw-r--r--net-mail/clamav/files/clamd.rc5
3 files changed, 10 insertions, 4 deletions
diff --git a/net-mail/clamav/ChangeLog b/net-mail/clamav/ChangeLog
index e3c93b5362b8..a0ac8605e2ef 100644
--- a/net-mail/clamav/ChangeLog
+++ b/net-mail/clamav/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/clamav
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/clamav/ChangeLog,v 1.12 2004/01/20 19:03:02 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/clamav/ChangeLog,v 1.13 2004/01/22 09:31:17 hanno Exp $
+
+ 22 Jan 2004; Hanno Boeck <hanno@gentoo.org> files/clamd.rc:
+ Some fixes to the init.d-script.
*clamav-0.65 (20 Jan 2004)
diff --git a/net-mail/clamav/Manifest b/net-mail/clamav/Manifest
index 714cd46327d5..f22ab810421d 100644
--- a/net-mail/clamav/Manifest
+++ b/net-mail/clamav/Manifest
@@ -1,11 +1,11 @@
MD5 4f735128f27a92913576cc27dc47bcb3 clamav-0.54-r1.ebuild 1011
-MD5 019a7a620a7d2df8a7bb802e1340d3f7 ChangeLog 2054
+MD5 5c47bd828d363c014cf91928f02379ff ChangeLog 2152
MD5 cd308830c2c5e41107dfb5b3eb921538 clamav-0.60-r1.ebuild 1341
MD5 7a4ed5f9da9c68664bce92aa7cb8a0f4 clamav-0.60.ebuild 1006
MD5 b45fdb6c1d685d7b6f13042e00dfd228 clamav-0.65.ebuild 1333
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 42da0f76189d74f547ac513d7ee66be5 files/digest-clamav-0.60 64
-MD5 56525f959ed99093172b2d23a84a2e84 files/clamd.rc 1251
+MD5 1802b9b03e93af28d6217177bf2c4a09 files/clamd.rc 1319
MD5 ce9876fced63b00a9145a572acd5718d files/digest-clamav-0.54-r1 63
MD5 ad7d45b1be51c06986cb42c53e733d19 files/clamav-milter.README.gentoo 1311
MD5 e8dcbdecd955708ddc7c79399ffa6276 files/clamd.conf 166
diff --git a/net-mail/clamav/files/clamd.rc b/net-mail/clamav/files/clamd.rc
index fd145eed07a9..a4f54a11ec1b 100644
--- a/net-mail/clamav/files/clamd.rc
+++ b/net-mail/clamav/files/clamd.rc
@@ -8,6 +8,9 @@ depend() {
start() {
if [ "${START_CLAMD}" = "yes" ]; then
+ if [ -f "/tmp/clamd" ]; then
+ rm -f /tmp/clamd
+ fi
if [ -n "${CLAMD_LOG}" -a ! -f "${CLAMD_LOG}" ]; then
touch "${CLAMD_LOG}"
chown clamav:clamav "${CLAMD_LOG}"
@@ -33,7 +36,7 @@ start() {
stop() {
if [ "${START_CLAMD}" = "yes" ]; then
ebegin "Stopping clamd"
- start-stop-daemon --stop --quiet --pidfile /var/run/clamd.pid
+ start-stop-daemon --stop --quiet --name clamd
eend $? "Failed to stop clamd"
fi
if [ "${START_FRESHCLAM}" = "yes" ]; then