diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-01 08:37:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-01 08:37:08 +0000 |
commit | d04ab9528cb9635f817ed3c9a8190d0f8dcd5136 (patch) | |
tree | 425d0d2d3d55454fa1ea07dd90fc7926ecc1596f /main/postfix | |
parent | fcb9b94f3a4cbaa3740d4f97ec9c769f8a4ebcd3 (diff) | |
download | aports-d04ab9528cb9635f817ed3c9a8190d0f8dcd5136.tar.bz2 aports-d04ab9528cb9635f817ed3c9a8190d0f8dcd5136.tar.xz |
main/postfix: upgrade to 2.8.8
Diffstat (limited to 'main/postfix')
-rw-r--r-- | main/postfix/APKBUILD | 22 | ||||
-rw-r--r-- | main/postfix/mail_params.patch | 11 |
2 files changed, 25 insertions, 8 deletions
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD index 5582e29c53..54f67ab321 100644 --- a/main/postfix/APKBUILD +++ b/main/postfix/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=postfix -pkgver=2.8.7 -pkgrel=2 +pkgver=2.8.8 +pkgrel=0 pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)" url="http://www.postfix.org/" arch="all" @@ -15,6 +15,7 @@ subpackages="$pkgname-doc $pkgname-ldap $pkgname-mysql $pkgname-pcre source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgver.tar.gz $pkgname.initd 0001-support-for-dynamic-maps.patch + mail_params.patch dynamicmaps.cf postfix-ldap.post-install postfix-mysql.post-install @@ -32,11 +33,12 @@ _shared_libs() { tr -d : } -build () { +prepare() { cd "$srcdir/$pkgname-$pkgver" - for i in ../*.patch; do - msg "Applying $i..." - patch -p1 < $i || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac done cp ../dynamicmaps.cf conf/ @@ -44,7 +46,10 @@ build () { -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/postfix/aliases|" \ src/util/sys_defs.h || return 1 sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || return 1 +} +build () { + cd "$srcdir/$pkgname-$pkgver" # needed for dynamic maps. local ccargs="-DHAS_DLOPEN -DHAS_SHL_LOAD" local auxlibs="$LDFLAGS -lpthread -lcrypt" @@ -78,7 +83,7 @@ build () { ccargs="$ccargs -DHAS_LDAP" #auxlibs="$auxlibs -lldap -llber" - # ldap + # sqlite ccargs="$ccargs -DHAS_SQLITE" # compile @@ -152,9 +157,10 @@ pcre() { _mv_dict pcre ; } pgsql() { _mv_dict pgsql ; } sqlite() { _mv_dict sqlite ; } -md5sums="b3ff47a38db920fc15bb207f42da53db postfix-2.8.7.tar.gz +md5sums="b5ab8ba2691620dd31b1295b1e21ee23 postfix-2.8.8.tar.gz d773f01dcc965d219a8a37b88f89c5bf postfix.initd 632fce950f64aa0794f9c2af85d45423 0001-support-for-dynamic-maps.patch +c0f9552a6cfb1e23dedb8d5a12a45ee4 mail_params.patch 442efd1a95b0c061dfb8ab75456e0f24 dynamicmaps.cf 2ebe51a882eb9d6d7866583eb6af3969 postfix-ldap.post-install 2ebe51a882eb9d6d7866583eb6af3969 postfix-mysql.post-install diff --git a/main/postfix/mail_params.patch b/main/postfix/mail_params.patch new file mode 100644 index 0000000000..d37a2f28ae --- /dev/null +++ b/main/postfix/mail_params.patch @@ -0,0 +1,11 @@ +--- ./src/global/mail_params.h.orig ++++ ./src/global/mail_params.h +@@ -2224,7 +2224,7 @@ + + #define VAR_PROXY_WRITE_MAPS "proxy_write_maps" + #define DEF_PROXY_WRITE_MAPS "$" VAR_SMTP_SASL_AUTH_CACHE_NAME \ +- " $" VAR_LMTP_SASL_AUTH_CACHE_NAME ++ " $" VAR_LMTP_SASL_AUTH_CACHE_NAME \ + " $" VAR_VERIFY_MAP \ + " $" VAR_PSC_CACHE_MAP + extern char *var_proxy_write_maps; |