diff options
Diffstat (limited to 'extra/postfix')
-rw-r--r-- | extra/postfix/PKGBUILD | 18 | ||||
-rwxr-xr-x | extra/postfix/rc.d | 7 |
2 files changed, 12 insertions, 13 deletions
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD index 05554e4e5..417ab5c15 100644 --- a/extra/postfix/PKGBUILD +++ b/extra/postfix/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 123242 2011-05-09 13:33:46Z bisson $ +# $Id: PKGBUILD 124325 2011-05-19 16:07:15Z bisson $ # Contributor: Jeff Brodnax <tullyarcher@bellsouth.net> # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=postfix pkgver=2.8.3 -pkgrel=1 +pkgrel=3 pkgdesc='Secure, fast, easy to administer drop in replacement for Sendmail (MTA)' url='http://www.postfix.org/' arch=('i686' 'x86_64' 'mips64el') @@ -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') @@ -28,23 +28,23 @@ install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" - make makefiles CCARGS=' \ - -DUSE_SASL_AUTH -I/usr/include/sasl \ - -DUSE_CYRUS_SASL \ + make makefiles DEBUG='' CCARGS=' \ + -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \ -DHAS_LDAP \ -DUSE_TLS \ -DHAS_MYSQL -I/usr/include/mysql \ -DHAS_PGSQL -I/usr/include/postgresql \ -DHAS_SQLITE \ ' AUXLIBS=' \ - -lsasl2 -lssl -lcrypto \ + -lsasl2 \ -lldap -llber \ + -lssl -lcrypto \ -lmysqlclient -lz -lm \ -lpq \ -lsqlite3 -lpthread \ - ' + ' OPT="${CFLAGS} ${LDFLAGS}" - make OPT="${CFLAGS}" + make } package() { 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; } ;; |