diff --git a/srcpkgs/postfix/patches/libressl.patch b/srcpkgs/postfix/patches/libressl.patch new file mode 100644 index 00000000000..c8b3100f514 --- /dev/null +++ b/srcpkgs/postfix/patches/libressl.patch @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_tls_tls_h,v 1.1 2016/03/05 17:34:24 sthen Exp $ + +Fix building with LibreSSL + +--- src/tls/tls.h.orig Sat Feb 6 15:09:41 2016 ++++ src/tls/tls.h Fri Feb 12 20:15:25 2016 +@@ -89,7 +89,7 @@ extern const char *str_tls_level(int); + #endif + + /* Backwards compatibility with OpenSSL < 1.1.0 */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + #define OpenSSL_version_num SSLeay + #define OpenSSL_version SSLeay_version + #define OPENSSL_VERSION SSLEAY_VERSION diff --git a/srcpkgs/postfix/patches/makedefs.patch b/srcpkgs/postfix/patches/makedefs.patch deleted file mode 100644 index 97d48817d90..00000000000 --- a/srcpkgs/postfix/patches/makedefs.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- makedefs.orig 2015-07-21 08:39:52.305063061 +0200 -+++ makedefs 2015-07-21 08:40:05.040233274 +0200 -@@ -733,6 +733,7 @@ esac - # Look for the ICU library and enable unicode email if available. - # - case "$CCARGS" in -+ *-DHAS_EAI*) ;; - *-DNO_EAI*) ;; - *) trap 'rm -f makedefs.test makedefs.test.[co]' 1 2 3 15 - cat >makedefs.test.c <<'EOF' diff --git a/srcpkgs/postfix/template b/srcpkgs/postfix/template index 3421f811d03..df3c05a5a21 100644 --- a/srcpkgs/postfix/template +++ b/srcpkgs/postfix/template @@ -1,13 +1,13 @@ # Template file for 'postfix' pkgname=postfix -version=3.0.4 +version=3.1.0 revision=1 short_desc="High-performance mail transport agent" maintainer="Juan RP " license="IBM Public License 1.0, BSD-alike" homepage="http://www.postfix.org/" distfiles="ftp://ftp.porcupine.org/mirrors/postfix-release/official/$pkgname-$version.tar.gz" -checksum=b81ce81176b9df7183ad99b9c98000135f5e88e659493ab50db5d9fe5b8dba0e +checksum=88ac3e92755629077d9363319b1fa0db406efb10c2f22cdbb941bd8ab36fd733 hostmakedepends="perl" makedepends="icu-devel libressl-devel db-devel pcre-devel libsasl-devel