summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-05-14 21:25:56 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-05-14 21:25:56 +0000
commit322ce1c19a929a86b5278ec52746f5693a981730 (patch)
tree6a3efa95d1edfae980aa51f95669001d0a542e10 /mail-filter/spamassassin
parentAdd netpbm and gtk2-perl local USE flags to x11-wm/fvwm. (diff)
downloadgentoo-2-322ce1c19a929a86b5278ec52746f5693a981730.tar.gz
gentoo-2-322ce1c19a929a86b5278ec52746f5693a981730.tar.bz2
gentoo-2-322ce1c19a929a86b5278ec52746f5693a981730.zip
fixed init-script for openrc (solves bug #218008).
(Portage version: 2.1.5_rc7)
Diffstat (limited to 'mail-filter/spamassassin')
-rw-r--r--mail-filter/spamassassin/ChangeLog6
-rw-r--r--mail-filter/spamassassin/files/3.0.0-spamd.init7
2 files changed, 9 insertions, 4 deletions
diff --git a/mail-filter/spamassassin/ChangeLog b/mail-filter/spamassassin/ChangeLog
index 2be10ac268f5..13814634513d 100644
--- a/mail-filter/spamassassin/ChangeLog
+++ b/mail-filter/spamassassin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/spamassassin
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.157 2008/05/12 16:17:10 ian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.158 2008/05/14 21:25:56 sbriesen Exp $
+
+ 14 May 2008; Stefan Briesenick <sbriesen@gentoo.org>
+ files/3.0.0-spamd.init:
+ fixed init-script for openrc (solves bug #218008).
12 May 2008; Christian Hartmann <ian@gentoo.org> files/3.0.0-spamd.conf:
Fixed bug #211394
diff --git a/mail-filter/spamassassin/files/3.0.0-spamd.init b/mail-filter/spamassassin/files/3.0.0-spamd.init
index 5a52b2ec946c..a5e465faf024 100644
--- a/mail-filter/spamassassin/files/3.0.0-spamd.init
+++ b/mail-filter/spamassassin/files/3.0.0-spamd.init
@@ -1,14 +1,14 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/3.0.0-spamd.init,v 1.7 2007/02/11 19:46:32 ian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/3.0.0-spamd.init,v 1.8 2008/05/14 21:25:56 sbriesen Exp $
# NB: Config is in /etc/conf.d/spamd
# Provide a default location if they haven't in /etc/conf.d/spamd
PIDFILE=${PIDFILE:-/var/run/spamd.pid}
-opts="${opts} reload"
+opts="reload"
depend() {
need net
@@ -19,6 +19,7 @@ depend() {
start() {
ebegin "Starting spamd"
start-stop-daemon --start --quiet \
+ --name spamd \
--nicelevel ${SPAMD_NICELEVEL:-0} \
--exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
${SPAMD_OPTS}