summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-04-06 15:42:44 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-04-06 15:42:44 +0000
commitd2373c539f6663111f42dcf009c8cbf5f5cf3dfd (patch)
tree14a5377fcb9960d604c8c546fe29a062a98416ae /mail-filter
parentStable on ppc64; bug #215735 (diff)
downloadgentoo-2-d2373c539f6663111f42dcf009c8cbf5f5cf3dfd.tar.gz
gentoo-2-d2373c539f6663111f42dcf009c8cbf5f5cf3dfd.tar.bz2
gentoo-2-d2373c539f6663111f42dcf009c8cbf5f5cf3dfd.zip
Fix init-script wrt OpenRC (#215031), swap POSTGREY_OPTS and POSTGREY_TEXT_ARG. Don't put whitespaced configuration directives in POSTGREY_OPTS. (#213709)
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/postgrey/ChangeLog8
-rw-r--r--mail-filter/postgrey/files/postgrey.rc.new8
2 files changed, 11 insertions, 5 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog
index 585295e446bd..277e23027ff2 100644
--- a/mail-filter/postgrey/ChangeLog
+++ b/mail-filter/postgrey/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/postgrey
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.47 2008/03/15 22:39:28 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.48 2008/04/06 15:42:43 dertobi123 Exp $
+
+ 06 Apr 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ files/postgrey.rc.new:
+ Fix init-script for OpenRC (#215031), swap POSTGREY_OPTS and
+ POSTGREY_TEXT_ARG. Don't put whitespaced configuration directives in
+ POSTGREY_OPTS. (#213709)
15 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org>
postgrey-1.31-r1.ebuild:
diff --git a/mail-filter/postgrey/files/postgrey.rc.new b/mail-filter/postgrey/files/postgrey.rc.new
index 306499dbfabc..8bd298abf776 100644
--- a/mail-filter/postgrey/files/postgrey.rc.new
+++ b/mail-filter/postgrey/files/postgrey.rc.new
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/files/postgrey.rc.new,v 1.6 2007/09/08 10:02:16 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/files/postgrey.rc.new,v 1.7 2008/04/06 15:42:44 dertobi123 Exp $
conf="/etc/conf.d/postgrey"
@@ -76,13 +76,13 @@ start() {
fi
start-stop-daemon --start --quiet --background \
- --exec /usr/sbin/postgrey -- \
+ --exec /usr/bin/perl -- -T -w /usr/sbin/postgrey \
--${POSTGREY_ADDR} \
--daemonize \
--pidfile=${POSTGREY_PID} \
${POSTGREY_DELAY_ARG} \
- "${POSTGREY_TEXT_ARG}" \
- ${POSTGREY_OPTS}
+ ${POSTGREY_OPTS} \
+ "${POSTGREY_TEXT_ARG}"
eend ${?}
}