From d2373c539f6663111f42dcf009c8cbf5f5cf3dfd Mon Sep 17 00:00:00 2001 From: Tobias Scherbaum Date: Sun, 6 Apr 2008 15:42:44 +0000 Subject: 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) --- mail-filter/postgrey/ChangeLog | 8 +++++++- mail-filter/postgrey/files/postgrey.rc.new | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'mail-filter/postgrey') 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 + 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 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 ${?} } -- cgit v1.2.3-65-gdbad