summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/postfix-current/Makefile2
-rw-r--r--mail/postfix-current/distinfo6
-rw-r--r--mail/postfix-current/files/patch-src__util__sys_defs.h6
-rw-r--r--mail/postfix-current/files/patch-src_tls_tls.h14
4 files changed, 21 insertions, 7 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index db7a5743987c..257e3b4c13db 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= postfix
-DISTVERSION= 3.2-20160527
+DISTVERSION= 3.2-20160612
PORTEPOCH= 4
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/ \
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index e1e4c559ea2c..7b3a158d27c0 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464520135
-SHA256 (postfix/postfix-3.2-20160527.tar.gz) = 879c9e93ffa5779cf9846773d4a7866f8e0464ec1275c0a3630890792fb77ac1
-SIZE (postfix/postfix-3.2-20160527.tar.gz) = 4339037
+TIMESTAMP = 1465744385
+SHA256 (postfix/postfix-3.2-20160612.tar.gz) = d7a64b6166befe9a0a705144283eec9ea055bb4cba67a5704bfb1a4048b3860c
+SIZE (postfix/postfix-3.2-20160612.tar.gz) = 4366596
diff --git a/mail/postfix-current/files/patch-src__util__sys_defs.h b/mail/postfix-current/files/patch-src__util__sys_defs.h
index 0b33c5d1a714..173fa7d2ff75 100644
--- a/mail/postfix-current/files/patch-src__util__sys_defs.h
+++ b/mail/postfix-current/files/patch-src__util__sys_defs.h
@@ -1,10 +1,10 @@
---- src/util/sys_defs.h.orig 2014-12-25 22:33:02 UTC
+--- src/util/sys_defs.h.orig 2016-05-15 15:20:14 UTC
+++ src/util/sys_defs.h
-@@ -26,6 +26,7 @@
+@@ -27,6 +27,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|| defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
+ || defined(FREEBSD11) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
- || defined(OPENBSD5) \
+ || defined(OPENBSD5) || defined(OPENBSD6) \
diff --git a/mail/postfix-current/files/patch-src_tls_tls.h b/mail/postfix-current/files/patch-src_tls_tls.h
new file mode 100644
index 000000000000..2bf7bdd5d082
--- /dev/null
+++ b/mail/postfix-current/files/patch-src_tls_tls.h
@@ -0,0 +1,14 @@
+# fix build against LibreSSL
+# Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
+#
+--- src/tls/tls.h.orig 2016-02-06 20:09:41 UTC
++++ src/tls/tls.h
+@@ -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