summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2016-02-15 08:30:42 +0000
committerEray Aslan <eras@gentoo.org>2016-02-15 08:30:42 +0000
commitb719db5a2aaeed450049b626fc0c7f1d453acdcf (patch)
treeb0024c58a8f728e4e5d3a45fb916222c542db48b /mail-mta
parentintel-sdp.eclass: Add missing DESCRIPTION (diff)
downloadgentoo-b719db5a2aaeed450049b626fc0c7f1d453acdcf.tar.gz
gentoo-b719db5a2aaeed450049b626fc0c7f1d453acdcf.tar.bz2
gentoo-b719db5a2aaeed450049b626fc0c7f1d453acdcf.zip
mail-mta/postfix: version bump to 3.1_pre20160214
Package-Manager: portage-2.2.27
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/postfix/Manifest2
-rw-r--r--mail-mta/postfix/postfix-3.1_pre20160214.ebuild (renamed from mail-mta/postfix/postfix-3.1_pre20160213.ebuild)28
2 files changed, 16 insertions, 14 deletions
diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index fc5ce1517c3c..2fb3a424ecca 100644
--- a/mail-mta/postfix/Manifest
+++ b/mail-mta/postfix/Manifest
@@ -2,5 +2,5 @@ DIST postfix-2.10.9.tar.gz 3820525 SHA256 e47eb56db2d238b9c5a5147a516fa406ab6afb
DIST postfix-2.11.7.tar.gz 4031689 SHA256 05828b5b846e48fdc80db67d85409066010614af521070df4733459fbf447e20 SHA512 a1e146db6d2d71abb1dd7c70cde24e6410b599458ffa8061a0161be9475452034d9dcc7ec3976042b379cd84f5ebdba2f9d8d829637ff376ccaf7e87bcabe7a3 WHIRLPOOL 990cf17bc8d0cb8c8de0aa42f16125b1393feb42ed2eca3cb66ddd4d0b5d9425f619ee22047745fdd2f0069dc321e942ecc326bfbb88519fccf4931f95b1c483
DIST postfix-3.0.2.tar.gz 4239235 SHA256 68256314202f5f0f24022d64f7ac664d28fa1394d07c84a37c3fc7a2d040be80 SHA512 b097ff5cb1707361af568bbcf8b9d264dfefe7a9fd5c2fb4ce731a2ff6a632c3341ace43afe7f1600f2096592535cf9a300322f78c92000e752e0df7d3c39021 WHIRLPOOL 3fd230321577c0226926701a17803b038a281b46abe884899ca38ea18c5fd9c13ef90900e5fdd17db20ecf8dc63b373cb9f378f1402660be2908192900cba47a
DIST postfix-3.0.3.tar.gz 4240588 SHA256 401e46ec3450569dcce60d1d8ca22a19ab1f7f817b0cc730cdf4875ba608ac02 SHA512 b6cd091a8cdda9678fa2979082e47a363dd086e4376effc0a427d1beb5eb35bd7dc28003ad28323c42318d7f630e0d8b105c56fd1a63bd5b5a20501db68ac524 WHIRLPOOL b013164f12e2adde464052f37584320687716f18c65cdd01344848bbcdd5a08be16c741234a063d717474a50be0d14d7b5574ccb69dc56e00f30b619d148c9f9
-DIST postfix-3.1-20160213.tar.gz 4325677 SHA256 c8dda3e03797ccff597611ac35c27244390a6f84a5cc221f9705df58417e120a SHA512 c2f16985e715aac0e62508c102021ad87d93a4516896de936efdeceac6f912dd1f0f464d80bf312129abc22a479add5629070da6d289d05a6f5c6efd65776633 WHIRLPOOL c436d4b20dedc06bf070bee1dbb7bf03c6f1a5379667e01820351d17469c360eb6fe2ac8fa7daa0f2a866fbeb8bfd9eee493db9007bbc53ab2607b855c33faa3
+DIST postfix-3.1-20160214.tar.gz 4326879 SHA256 342d72db2b2a95dbc84a85bd767874b95d17e1a0428397911ed3b72176c0993a SHA512 383c613f2ecff0115d752a641480412fd8fc706392e52624122254d625906c377136834bc4cf633fc5d840eb638e7667b8ac81d63fc0bdc3ef19f9cb5121a732 WHIRLPOOL 97db84fe14b5970468d22b5601539ac6c48223305c68edc3232047c94c527eaf07dfb3b30e11962b9d448f130d39875d99f3d719d13ba0ccba20a8e086804985
DIST postfix-vda-v13-2.10.0.patch 55701 SHA256 6208021eb0b37ac6482e334e538ed5700cc22c4d4dd66ed9e975ae5f20bf935f SHA512 0b4b53a8cd28abf56eee3b2ed63ca1814251b60816e6ca1143249d25fd6ef7f905bec3134125ac6e851af685db8aae878012113693261529ae2ddbcf1bd93e62 WHIRLPOOL d98b7d2177b8b69738086880fd08c336fa60b99ff7413624e628fd5f17be2064f2ccaa37c047d3013ed41c0ff1bcb76e7962f8390c4179f28ab11733dd3b59d3
diff --git a/mail-mta/postfix/postfix-3.1_pre20160213.ebuild b/mail-mta/postfix/postfix-3.1_pre20160214.ebuild
index ffe02ea03628..790c62efd05d 100644
--- a/mail-mta/postfix/postfix-3.1_pre20160213.ebuild
+++ b/mail-mta/postfix/postfix-3.1_pre20160214.ebuild
@@ -8,8 +8,6 @@ inherit eutils flag-o-matic multilib pam systemd toolchain-funcs user versionato
MY_PV="${PV/_pre/-}"
MY_SRC="${PN}-${MY_PV}"
MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/experimental"
-#VDA_PV="2.10.0"
-#VDA_P="${PN}-vda-v13-${VDA_PV}"
RC_VER="2.7"
DESCRIPTION="A fast and secure drop-in replacement for sendmail"
@@ -289,17 +287,7 @@ src_install () {
}
pkg_postinst() {
- # configure tls
- if use ssl ; then
- if postfix tls all-default-client ; then
- elog "Configuring client side TLS settings"
- postfix tls enable-client
- fi
- if postfix tls all-default-server ; then
- elog "Configuring server side TLS settings"
- postfix tls enable-server
- fi
- fi
+ [ "${EROOT}" == "/" ] && pkg_config
if [[ ! -e /etc/mail/aliases.db ]] ; then
ewarn
@@ -309,3 +297,17 @@ pkg_postinst() {
ewarn
fi
}
+
+pkg_config() {
+ # configure tls
+ if use ssl ; then
+ if "${EROOT}"usr/sbin/postfix tls all-default-client ; then
+ elog "Configuring client side TLS settings"
+ "${EROOT}"usr/sbin/postfix tls enable-client
+ fi
+ if "${EROOT}"usr/sbin/postfix tls all-default-server ; then
+ elog "Configuring server side TLS settings"
+ "${EROOT}"usr/sbin/postfix tls enable-server
+ fi
+ fi
+}