summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/postfix')
-rw-r--r--mail-mta/postfix/Manifest2
-rw-r--r--mail-mta/postfix/files/postfix-libressl.patch17
-rw-r--r--mail-mta/postfix/postfix-3.2_pre20160604.ebuild (renamed from mail-mta/postfix/postfix-3.2_pre20160527.ebuild)1
3 files changed, 19 insertions, 1 deletions
diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index ad35210e58d3..716d72e15559 100644
--- a/mail-mta/postfix/Manifest
+++ b/mail-mta/postfix/Manifest
@@ -5,5 +5,5 @@ DIST postfix-3.0.4.tar.gz 4240805 SHA256 b81ce81176b9df7183ad99b9c98000135f5e88e
DIST postfix-3.0.5.tar.gz 4241656 SHA256 dbe20d011a6fe79d28b5f7e6e86681dafd30f7ed8ad663bec244fc4694c87d1c SHA512 73ae64d5d5a21a773934b1b334bb7c407a1e8f9652a2de7d4c0563d8b399fbd25b9fcc28d1d5ee724fc13c775ee9af2d5d56cb06d4947cd5a18bcf487c71c24e WHIRLPOOL 022110186e5c2e9a11bfe19bd2712d39f751a47a273f75a3aa61f99f34ce76e4f20552c3df87c3878d0c1b7a1bf5bff893191d94a4951e14ce3d6ff7bcfbf905
DIST postfix-3.1.0.tar.gz 4336709 SHA256 88ac3e92755629077d9363319b1fa0db406efb10c2f22cdbb941bd8ab36fd733 SHA512 06cf4c827de8d613cab6a57a8e76198d293660a263f60d17dd189f511da4b1e12eb98bbcf75695697a62959e26ca204bf2a53eb6657e8bd756a816977e717783 WHIRLPOOL 5fe4350d47051cfda00505012493f5c6f70598be901cd94a598a7e3332bc022b41050935c5263f140f0df573e3a3e00f6b97dd1d90c01a4e3d78a039f47a16a8
DIST postfix-3.1.1.tar.gz 4337295 SHA256 3deda4c34631970490b1b5fbb559905f93531bf1c7eb00e38b0d0deb1dba9982 SHA512 e094dae3c3aaf6be23edefb7863d2f9fb57cd4e705464f17799fa4f71f9877efdf3f59ceb1970457a0dc6e6f3237ee06131f4ce1b21a5db9a61fe0c5f95a219d WHIRLPOOL 4dbf26e498cb48ebf5d5721aa69447deed4db25dd2a9159514826eb7d4986dd7fef40980281f0872f565750ed5d316f831856b87eaaabfed3df8b23f982592cd
-DIST postfix-3.2-20160527.tar.gz 4339037 SHA256 879c9e93ffa5779cf9846773d4a7866f8e0464ec1275c0a3630890792fb77ac1 SHA512 36c090b48b187a1e164eb2a5f1c42fae8bc6d30c111e9fc46952d61806d114cd872dac90bae05281a4e9a119158782fa502f5e0adf28cba1f73260f5b42cf964 WHIRLPOOL 31ee06b37d4a3216f977b8bd14531c6d08d0e9e1a644fafc07ee7f03cf4e6b4aa393184109f6542da433061f430e7dda1782a1fe7f104a35e99437c00ca692fa
+DIST postfix-3.2-20160604.tar.gz 4339113 SHA256 95926e5b967754b2aced0211ffbd44e5ca2bf3fe1287047eb3df67c5fe7e233b SHA512 bd1833706029ada438d0893542e1a6e908cd5fa6386e27ff361c5c03f1c269f435979ae643623d20520e62a72bf552fa8b25f8b0682e815969956a5df98b518e WHIRLPOOL a2ab4ce239f8f7868b0e2599dca188f0e0b0a1ac1c8ccebdd61984d159764cda2de5e6e07fa2fe3eca7a42259caf4c640fc3a292ff82e77590622c5b9e9c9c50
DIST postfix-vda-v13-2.10.0.patch 55701 SHA256 6208021eb0b37ac6482e334e538ed5700cc22c4d4dd66ed9e975ae5f20bf935f SHA512 0b4b53a8cd28abf56eee3b2ed63ca1814251b60816e6ca1143249d25fd6ef7f905bec3134125ac6e851af685db8aae878012113693261529ae2ddbcf1bd93e62 WHIRLPOOL d98b7d2177b8b69738086880fd08c336fa60b99ff7413624e628fd5f17be2064f2ccaa37c047d3013ed41c0ff1bcb76e7962f8390c4179f28ab11733dd3b59d3
diff --git a/mail-mta/postfix/files/postfix-libressl.patch b/mail-mta/postfix/files/postfix-libressl.patch
new file mode 100644
index 000000000000..ce047b760399
--- /dev/null
+++ b/mail-mta/postfix/files/postfix-libressl.patch
@@ -0,0 +1,17 @@
+OpenBSD patch at:
+http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/snapshot/patches/patch-src_tls_tls_h
+$OpenBSD: patch-src_tls_tls_h,v 1.2 2016/02/25 09:39:49 sthen Exp $
+
+Fix building with LibreSSL
+
+--- src/tls/tls.h.orig Sat Feb 6 15:09:41 2016
++++ src/tls/tls.h Sun Feb 14 19:54:38 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/mail-mta/postfix/postfix-3.2_pre20160527.ebuild b/mail-mta/postfix/postfix-3.2_pre20160604.ebuild
index fba7b857b2b0..b93b68dafe86 100644
--- a/mail-mta/postfix/postfix-3.2_pre20160527.ebuild
+++ b/mail-mta/postfix/postfix-3.2_pre20160604.ebuild
@@ -73,6 +73,7 @@ src_prepare() {
src/util/sys_defs.h || die "sed failed"
# change default paths to better comply with portage standard paths
sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || die "sed failed"
+ eapply -p0 "${FILESDIR}/${PN}-libressl.patch"
}
src_configure() {