mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-mta/postfix: add 3.9_pre20230723, drop 3.9_pre20230605
Signed-off-by: Eray Aslan <eras@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user