postfix: update to 3.1.0.
This commit is contained in:
parent
142f0021d0
commit
244df48545
15
srcpkgs/postfix/patches/libressl.patch
Normal file
15
srcpkgs/postfix/patches/libressl.patch
Normal file
|
@ -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
|
|
@ -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'
|
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user