From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 122E215800A for ; Tue, 25 Jul 2023 11:22:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D3C0E0920; Tue, 25 Jul 2023 11:22:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4175CE0920 for ; Tue, 25 Jul 2023 11:22:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A65E340EAC for ; Tue, 25 Jul 2023 11:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E958BBD3 for ; Tue, 25 Jul 2023 11:22:50 +0000 (UTC) From: "Eray Aslan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eray Aslan" Message-ID: <1690284143.29a6f28bf9c3518c3c98ee350e3cee1483ecbd82.eras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/postfix/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/postfix/Manifest mail-mta/postfix/postfix-3.9_pre20230605.ebuild mail-mta/postfix/postfix-3.9_pre20230723.ebuild X-VCS-Directories: mail-mta/postfix/ X-VCS-Committer: eras X-VCS-Committer-Name: Eray Aslan X-VCS-Revision: 29a6f28bf9c3518c3c98ee350e3cee1483ecbd82 X-VCS-Branch: master Date: Tue, 25 Jul 2023 11:22:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40f13829-c21d-48c9-8352-2980c1edf894 X-Archives-Hash: 6baa0b81fb9f76fbc489c6bc7f9ba5d5 commit: 29a6f28bf9c3518c3c98ee350e3cee1483ecbd82 Author: Eray Aslan gentoo org> AuthorDate: Tue Jul 25 11:22:23 2023 +0000 Commit: Eray Aslan gentoo org> CommitDate: Tue Jul 25 11:22:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a6f28b mail-mta/postfix: add 3.9_pre20230723, drop 3.9_pre20230605 Signed-off-by: Eray Aslan gentoo.org> mail-mta/postfix/Manifest | 2 +- ...-3.9_pre20230605.ebuild => postfix-3.9_pre20230723.ebuild} | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index 994b3d715847..47222ef2b25a 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -1,2 +1,2 @@ DIST postfix-3.8.1.tar.gz 4848293 BLAKE2B 83c043d6e74cbbf0c5d739838ff99d4905aa711b13483fe0f427956b962c432e6f76d9828b5c141260e210c9605ac260df950d273d5729c36666c935a3ed4518 SHA512 9eb91f2baab327de22dd55fc5ff398de74856e30be461282f41b1801301873881a8f40ce061c16e0505d51d96aaf0eff8d0ac660e5f6c70c6125133f64a4ee80 -DIST postfix-3.9-20230605.tar.gz 4857641 BLAKE2B 10dbf09246b23087f89c2d947169c4e69e567137a371cea3a07ee658e3dea4dbca521e97c09b2de5e8010517b111451aa1cdc394992c842baa861461f5639b14 SHA512 34c0fa98fe23aa510747dda39b6a6c8f0045523a1c2f924ff34c82de6e807146034cd9850346518288c444e2b44ade8d35aaac8a1325f70509aa3b61924113d9 +DIST postfix-3.9-20230723.tar.gz 4857743 BLAKE2B 9620975f909629d7696c9fefc79cbbe4d1221698f7e351988f9c6c013cf82b002d57b7de60fe7cd2bacfb6c17eda5f3551dfad53ec238e4400ca16c276a5644b SHA512 1e02e184c236ebe114d114fad92fa74ad8b3129ededa70e9b96aee5862b9790565487d0fd20b7715dd8048724b952d1407c52b0852ac28504e9abe3a3aff1637 diff --git a/mail-mta/postfix/postfix-3.9_pre20230605.ebuild b/mail-mta/postfix/postfix-3.9_pre20230723.ebuild similarity index 96% rename from mail-mta/postfix/postfix-3.9_pre20230605.ebuild rename to mail-mta/postfix/postfix-3.9_pre20230723.ebuild index 809c17c943f1..ee3c3e370927 100644 --- a/mail-mta/postfix/postfix-3.9_pre20230605.ebuild +++ b/mail-mta/postfix/postfix-3.9_pre20230723.ebuild @@ -16,7 +16,7 @@ SRC_URI="${MY_URI}/${MY_SRC}.tar.gz" LICENSE="|| ( IBM EPL-2.0 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+berkdb cdb dovecot-sasl +eai ldap ldap-bind lmdb mbox memcached mysql nis pam postgres sasl selinux sqlite ssl" +IUSE="berkdb cdb dovecot-sasl +eai ldap ldap-bind lmdb mbox memcached mysql nis pam postgres sasl selinux sqlite ssl" DEPEND=" acct-group/postfix @@ -260,15 +260,11 @@ src_install() { insinto /usr/include/postfix doins include/*.h - 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 - fi - systemd_dounit "${FILESDIR}/${PN}.service" } pkg_postinst() { + # warn if no aliases database # do not assume berkdb if [[ ! -e /etc/mail/aliases.db \ && ! -e /etc/mail/aliases.cdb \ @@ -279,6 +275,9 @@ pkg_postinst() { ewarn "work correctly without it." ewarn fi + # run newaliases anyway. otherwise, we might break when switching + # default database implementation - from berkdb to cdb for example + "${EROOT}"/usr/bin/newaliases # check and fix file permissions "${EROOT}"/usr/sbin/postfix set-permissions