From 6cf70d41be9abf69b6d19fbb4ce665c76db3a6c6 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 20 May 2011 22:47:13 +0000 Subject: Fri May 20 22:47:13 UTC 2011 --- extra/postfix/PKGBUILD | 6 +++--- extra/postfix/rc.d | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'extra/postfix') diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD index 6843a2881..d22a45cfd 100644 --- a/extra/postfix/PKGBUILD +++ b/extra/postfix/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 123813 2011-05-13 12:45:42Z bisson $ +# $Id: PKGBUILD 124325 2011-05-19 16:07:15Z bisson $ # Contributor: Jeff Brodnax # Maintainer: Gaetan Bisson # Maintainer: Paul Mattal pkgname=postfix pkgver=2.8.3 -pkgrel=2 +pkgrel=3 pkgdesc='Secure, fast, easy to administer drop in replacement for Sendmail (MTA)' url='http://www.postfix.org/' arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ source=("ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${p 'rc.d') sha1sums=('2604066f158f5327449960afd6334b996dc01799' '5fc3de6c7df1e5851a0a379e825148868808318b' - '050e6afc5886049682c945ce147b3c47fe113939') + '40c6be2eb55e6437a402f43775cdb3d22ea87a66') provides=('smtp-server' 'smtp-forwarder') replaces=('postfix-mysql' 'postfix-pgsql') diff --git a/extra/postfix/rc.d b/extra/postfix/rc.d index 94ccc2af0..fa314bb84 100755 --- a/extra/postfix/rc.d +++ b/extra/postfix/rc.d @@ -4,24 +4,23 @@ . /etc/rc.d/functions name=postfix -PID=$(pidof -o %PPID /usr/lib/postfix/master) case "$1" in start) stat_busy "Starting $name daemon" - [[ -z "$PID" ]] && /usr/sbin/postfix start &>/dev/null \ + /usr/sbin/postfix start &>/dev/null \ && { add_daemon $name; stat_done; } \ || { stat_fail; exit 1; } ;; stop) stat_busy "Stopping $name daemon" - [[ -n "$PID" ]] && /usr/sbin/postfix stop &>/dev/null \ + /usr/sbin/postfix stop &>/dev/null \ && { rm_daemon $name; stat_done; } \ || { stat_fail; exit 1; } ;; reload) stat_busy "Reloading $name daemon" - [[ -n "$PID" ]] && kill -HUP $PID &>/dev/null \ + /usr/sbin/postfix reload &>/dev/null \ && { stat_done; } \ || { stat_fail; exit 1; } ;; -- cgit v1.2.3-54-g00ecf