postfix: update to 3.3.0.

Closes: #11816 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-22 15:00:18 -03:00 committed by Leah Neukirchen
parent 28575375b4
commit 2c1a56e076
2 changed files with 5 additions and 16 deletions

View file

@ -1,13 +0,0 @@
diff --git src/util/sys_defs.h src/util/sys_defs.h
index 5b381af..416676e 100644
--- src/util/sys_defs.h
+++ src/util/sys_defs.h
@@ -812,7 +812,7 @@ extern int initgroups(const char *, int);
#define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1)
#endif
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \
- || (__GLIBC__ < 2)
+ || (defined(__GLIBC__) && (__GLIBC__ < 2))
#define CANT_USE_SEND_RECV_MSG
#define DEF_SMTP_CACHE_DEMAND 0
#else

View file

@ -1,13 +1,13 @@
# Template file for 'postfix'
pkgname=postfix
version=3.2.5
version=3.3.0
revision=1
short_desc="High-performance mail transport agent"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="IPL-1.0, EPL-2.0"
homepage="http://www.postfix.org/"
distfiles="ftp://ftp.porcupine.org/mirrors/postfix-release/official/$pkgname-$version.tar.gz"
checksum=7d0b841d3a46e7c64f392fcc4de5dd3f4bdcfd0b9e48fc235bdff6a208f0f376
checksum=7942e89721e30118d7050675b0d976955e3160e21f7898b85a79cac4f4baef39
hostmakedepends="perl"
makedepends="icu-devel libressl-devel db-devel pcre-devel libsasl-devel
@ -53,7 +53,9 @@ make_dirs="
/var/spool/postfix/trace 0700 postfix root"
do_build() {
sed -e "s,\(/usr/include/db.h\),${XBPS_CROSS_BASE}/\1,g" -i makedefs
sed -e "s,\(/usr/include/db.h\),${XBPS_CROSS_BASE}/\1,g" \
-e 's,^\(\s\+\)CCARGS="$CCARGS -DNO_EAI",\1CCARGS="$CCARGS $icu_cppflags"\n\1SYSLIBS="$SYSLIBS $icu_ldflags",' \
-i makedefs
make makefiles CCARGS=" \
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${XBPS_CROSS_BASE}/usr/include/sasl \