summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2018-01-08 17:43:58 +0300
committerEray Aslan <eras@gentoo.org>2018-01-08 17:43:58 +0300
commitb3afa6398f93cc7af9f9d326843c880bc731a593 (patch)
treeab4d0b3d98d717ed488c3de6c2776b333eb20b73 /mail-mta
parentmedia-tv/kodi: use ffmpeg 3.4.1 (diff)
downloadgentoo-b3afa6398f93cc7af9f9d326843c880bc731a593.tar.gz
gentoo-b3afa6398f93cc7af9f9d326843c880bc731a593.tar.bz2
gentoo-b3afa6398f93cc7af9f9d326843c880bc731a593.zip
mail-mta/postfix: bump to 3.3_pre20180107
also fix file permissions - see bug 643612 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/postfix/Manifest2
-rw-r--r--mail-mta/postfix/postfix-3.3_pre20180107.ebuild (renamed from mail-mta/postfix/postfix-3.3_pre20171223.ebuild)17
2 files changed, 5 insertions, 14 deletions
diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index 8c936943b8e..4368170387f 100644
--- a/mail-mta/postfix/Manifest
+++ b/mail-mta/postfix/Manifest
@@ -3,5 +3,5 @@ DIST postfix-3.1.6.tar.gz 4341308 BLAKE2B 6a5ec763cf96770240f63b35b4532c555cc6e5
DIST postfix-3.2.2.tar.gz 4390318 BLAKE2B 4d0648ad89c90b13573bf9a2721919f90fa706a37d745889bc1e3a38e5f5277af848e2ba6eed8f61dec68f53ac65fd67c133bc37ed73ecb350baa76834a5a33c SHA512 9432fa8b181db99b8e2d72b2a0f640d1456b10c42615f0a002638f7f788d748b8bb55cd36409a368ac4f6d22033d1d059728fa33980fb93d465b6dfd5ae26418
DIST postfix-3.2.3.tar.gz 4390567 BLAKE2B 911b183c318bc60cfd1ba2ae5e9467cfe3cc62f9787c7566f2edea7b867974bc90f0cc4b236f71b50c08a1696e6d60beeccdc634d7bf7f3a600c260b89743a36 SHA512 99ea74a5a0620e739668e55d620a0370b72c4802983a8a4cf4d6c51c6f8f5573128f2d6869386cedadba66b3f741df2f18867a059facd94092ac95f6da3a600c
DIST postfix-3.2.4.tar.gz 4390376 BLAKE2B 132a6b467f9156d716a92cc7beae0f9a7c47e6a2045e83726a5e7305e6f9bf666ebcfb93a9ab1a96ec988431661059d62e926287bd13089eeb4bab3e8f4b9fc7 SHA512 6dc583d3b1c98f5c8d6486351bee9f92a98b5379cd0d76d26a382379c112317e7a2a58c3a200477a6d0f831c73395257d1a63170df17ea8a65a4048a7df391f8
-DIST postfix-3.3-20171223.tar.gz 4401235 BLAKE2B c4f5459935758b3d9847d4b20054cf2021520377f917e0ab78fecdd8abe11b432464105c50eff3acb7908c94d5c69f7e636fc8d69411e64d51906d01d8d4f40d SHA512 c0120d5042ae3a5eaf8ece2ea504ad9975cef9cb31ca91376a88cd6b4a43569108edcb77f5e7f896b2da00364d43afa59f6520bf1e0276c0875e7b2c1f8026aa
+DIST postfix-3.3-20180107.tar.gz 4427783 BLAKE2B ea036647edb3ddd3bd48675a94c9ae2759db82b21736309fca1e9dd491c6243a11b0de39b412994c5d1a162d3fdf5da9173221bd93f5393cac8295b66f65e546 SHA512 0fdf7a152b4efc0583bdff78cf8ba198bb28344374387510f370beae6f207af3ff42d4a94c2e0d1aea9d5f5ad819840289e2bd4ce073b5234d834cf53f1bde31
DIST postfix-vda-v13-2.10.0.patch 55701 BLAKE2B d8df041bb4ae7457cd066e71b6ae9470840d42edc9990a550ae51356cd62bfb08516250249030da26d1ef475619f0ebd609570d84ce57f8cdc347a2824b29536 SHA512 0b4b53a8cd28abf56eee3b2ed63ca1814251b60816e6ca1143249d25fd6ef7f905bec3134125ac6e851af685db8aae878012113693261529ae2ddbcf1bd93e62
diff --git a/mail-mta/postfix/postfix-3.3_pre20171223.ebuild b/mail-mta/postfix/postfix-3.3_pre20180107.ebuild
index a6ac5530fbf..a778e668f17 100644
--- a/mail-mta/postfix/postfix-3.3_pre20171223.ebuild
+++ b/mail-mta/postfix/postfix-3.3_pre20180107.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -234,14 +234,6 @@ src_install () {
dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
- # Set proper permissions on required files/directories
- dodir /var/lib/postfix
- keepdir /var/lib/postfix
- fowners -R postfix:postfix /var/lib/postfix
- fperms 0750 /var/lib/postfix
- fowners root:postdrop /usr/sbin/post{drop,queue}
- fperms 02711 /usr/sbin/post{drop,queue}
-
keepdir /etc/postfix
if use mbox; then
mypostconf="mail_spool_directory=/var/spool/mail"
@@ -275,10 +267,6 @@ src_install () {
insinto /usr/include/postfix
doins include/*.h
- # Keep config_dir clean
- rm -f "${D}"/etc/postfix/{*LICENSE,access,aliases,canonical,generic}
- rm -f "${D}"/etc/postfix/{header_checks,relocated,transport,virtual}
-
if has_version mail-mta/postfix; then
# let the sysadmin decide when to change the compatibility_level
sed -i -e /^compatibility_level/"s/^/#/" "${D}"/etc/postfix/main.cf || die
@@ -296,6 +284,9 @@ pkg_postinst() {
ewarn
fi
+ # check and fix file permissions
+ "${EROOT}"/usr/sbin/postfix set-permissions 2>/dev/null
+
# configure tls
if use ssl ; then
if "${EROOT}"/usr/sbin/postfix tls all-default-client; then