postfix: include milter-header backport from 2.7

This commit is contained in:
Thomas Penteker 2012-04-29 23:37:24 +02:00
parent e9b7814173
commit 059d38f329
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,5 @@
be543b65525f544386a2d8395ea19cdf aliases
9bbe0e2b86a8dae347630d7c30f34526 postfix-2.6-milter-header-checks-20090607-patch.gz
e291610d05376467b42cd77ca4d10c91 postfix-2.6.15.tar.gz
8bee559587e2ccbaf0aadd88b6ca339a postfix.patch
d18be5c17604f9c712a28339ff0f61cb postfix.rc

View File

@ -6,15 +6,17 @@
name=postfix
version=2.6.15
release=1
source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/$name-$version.tar.gz
release=2
source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/$name-$version.tar.gz \
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.6-milter-header-checks-20090607-patch.gz
aliases postfix.rc postfix.patch)
build() {
cd $name-$version
patch -p1 < $SRC/postfix.patch
zcat $SRC/postfix-2.6-milter-header-checks-20090607-patch.gz | patch -p4
_CCARGS="$CCARGS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -I/usr/include/openssl"
_AUXLIBS="-L/usr/lib -lsasl2 -lssl -lcrypto"