repo/gentoo:master commit in: mail-mta/postfix/

"Eray Aslan" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786705170.7d5fbc0c31a5ac8839c19061752de3a171d1c0be.eras@gentoo>
commit:     7d5fbc0c31a5ac8839c19061752de3a171d1c0be
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 10:59:24 2026 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 10:59:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5fbc0c

mail-mta/postfix: cleanup - drop 3.11.5

Bug: https://bugs.gentoo.org/980731
Signed-off-by: Eray Aslan <eras <AT> gentoo.org>

 mail-mta/postfix/Manifest              |   2 -
 mail-mta/postfix/postfix-3.11.5.ebuild | 347 ---------------------------------
 2 files changed, 349 deletions(-)

diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest
index ec3546e10a41..f08e7fc1f0e7 100644
--- a/mail-mta/postfix/Manifest
+++ b/mail-mta/postfix/Manifest
@@ -1,5 +1,3 @@
-DIST postfix-3.11.5.tar.gz 5287872 BLAKE2B c677014019ce0851e45b103e5d6a88972a10cd3685d4c68b47f6b94ee318b9e81fb017f5b15f4307f3b8c6719afcbba33f4fc1c31a4fb65fe040522d6af38704 SHA512 af9d3678844afcbdf77c228e29138255a935c63988c3b8dff31bb2a66315f376d94d782b5545829e1491c6a1335172ad194b7f8fd02038db35cd6527cff82087
-DIST postfix-3.11.5.tar.gz.asc 220 BLAKE2B 410b111707ebd9539e8be33a9bd2605d7515c0931d971cbaf0114e3f8f505e759d6c9c25350080becebb77532ca03ece647c14ce15b2d10f5e938bd08e6f76a3 SHA512 7e8fe9ace6ada3168cf7f1f6611879c5a0015c0114d5da07ed46e6d9455847be4963c79dcfdf60b53b07b2a7dadf24d6e2449c81a72e966bc75613ef83f4a7b8
 DIST postfix-3.11.6.tar.gz 5289392 BLAKE2B e4a1194fa3f718212413bcee4f61f3c7fe3bd6b0bc6e96a714ca4093e3827350c2eda0e68c5826d865fc9c657e6bcebb0724b99c282c7a85dd877f2207de5075 SHA512 eddb71b7b64a8f9e0fca8a93679e86ac53eebc458a09910e5f3a871523d35361071a391cc904e511835137d4461a6a779c1b24c519e2f6a7de577e55e71a75ba
 DIST postfix-3.11.6.tar.gz.asc 220 BLAKE2B 594b165846bf1ef6ead41a135b38cc9e4180a61450c529bd57f022180758074a9f546c472ccca21452b49f723395c0f33e02bb314d20dc708438ed992f51f5e3 SHA512 d8255c2d7fda771b45e261d68ba8d1a066217b851c88a2d9c5de231b98c0ec5f1d7a41948d51c5f388400301cf6a804c7ded24561ad137f1f635b21c24281651
 DIST postfix-3.12-20260812.tar.gz 5422364 BLAKE2B 64dc56880332a48853f824e766eaadaa4c3de6c28849a31877409d2df4c296f4397681e8c58bcfafe63782d6a6736dfb7940989e28085a8a417a93783fb083a0 SHA512 f5599272ba7a142bf827ef0fba1a2307268e46338c46c46b6591887110591d95f89eeacea339e18814a0d1424055ba7d5df7f3cf662f5851ed9903a23c7453f4

diff --git a/mail-mta/postfix/postfix-3.11.5.ebuild b/mail-mta/postfix/postfix-3.11.5.ebuild
deleted file mode 100644
index eaccbdd6064c..000000000000
--- a/mail-mta/postfix/postfix-3.11.5.ebuild
+++ /dev/null
@@ -1,347 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/postfix.asc
-inherit eapi9-ver pam systemd toolchain-funcs verify-sig
-
-if [[ ${PV} == *_rc* ]]; then
-	MY_PV="${PV/_rc/-RC}"
-else
-	MY_PV="${PV/_pre/-}"
-fi
-MY_SRC="${PN}-${MY_PV}"
-MY_URI="http://ftp.porcupine.org/mirrors/postfix-release/official"
-RC_VER="2.7"
-
-DESCRIPTION="A fast and secure drop-in replacement for sendmail"
-HOMEPAGE="https://www.postfix.org/"
-SRC_URI="${MY_URI}/${MY_SRC}.tar.gz"
-SRC_URI+=" verify-sig? ( ${MY_URI}/${MY_SRC}.tar.gz.gpg2 -> ${MY_SRC}.tar.gz.asc )"
-S="${WORKDIR}/${MY_SRC}"
-
-LICENSE="|| ( IBM EPL-2.0 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-IUSE="+berkdb cdb dovecot-sasl +eai ldap ldap-bind +lmdb mbox memcached mongodb mysql nis pam postgres sasl selinux sqlite ssl tlsrpt"
-
-DEPEND="
-	acct-group/postfix
-	acct-group/postdrop
-	acct-user/postfix
-	dev-libs/libpcre2:0
-	berkdb? ( >=sys-libs/db-3.2:* )
-	cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r4 ) )
-	eai? ( dev-libs/icu:= )
-	ldap? ( net-nds/openldap:= )
-	ldap-bind? ( net-nds/openldap:=[sasl] )
-	lmdb? ( <dev-db/lmdb-1.0.0:= )
-	mongodb? ( >=dev-libs/mongo-c-driver-1.23.0 >=dev-libs/libbson-1.23.0 )
-	mysql? ( dev-db/mysql-connector-c:0= )
-	nis? ( net-libs/libnsl:= )
-	pam? ( sys-libs/pam )
-	postgres? ( dev-db/postgresql:* )
-	sasl? (  >=dev-libs/cyrus-sasl-2 )
-	sqlite? ( dev-db/sqlite:3 )
-	ssl? ( >=dev-libs/openssl-1.1.1:0= )
-	tlsrpt? ( net-libs/libtlsrpt )
-	"
-
-RDEPEND="${DEPEND}
-	dev-lang/perl
-	memcached? ( net-misc/memcached )
-	net-mail/mailbase
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/msmtp[mta]
-	!mail-mta/netqmail
-	!mail-mta/nullmailer
-	!mail-mta/sendmail
-	!mail-mta/opensmtpd
-	!mail-mta/ssmtp[mta]
-	selinux? ( sec-policy/selinux-postfix )"
-
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-postfix )"
-
-REQUIRED_USE="
-	ldap-bind? ( ldap sasl )
-	tlsrpt? ( ssl )
-	"
-
-src_prepare() {
-	default
-	sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:${EPREFIX}/etc/mail/aliases|" \
-		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"
-}
-
-src_configure() {
-	# bug #915670
-	unset LD_LIBRARY_PATH
-
-	for name in CDB LDAP LMDB MONGODB MYSQL PCRE PGSQL SDBM SQLITE TLSRPT
-	do
-		local AUXLIBS_${name}=""
-	done
-
-	# Make sure LDFLAGS get passed down to the executables.
-	local mycc="" mylibs="${LDFLAGS} -ldl"
-
-	# Determine local database type defaults
-	local default_database_type="lmdb"
-	local default_cache_db_type="lmdb"
-	if ! use lmdb; then
-		if use berkdb; then
-			default_database_type="hash"
-			default_cache_db_type="btree"
-		elif use cdb; then
-			default_database_type="cdb"
-			ewarn
-			ewarn "cdb USE flag is on but lmdb USE flag is not. Local database files"
-			ewarn "for caches will not work. Consider turning lmdb USE flag on."
-			ewarn
-		fi
-	fi
-
-	# libpcre is EOL. prefer libpcre2
-	mycc=" -DHAS_PCRE=2"
-	AUXLIBS_PCRE="$($(tc-getPKG_CONFIG) --libs libpcre2-8)"
-
-	use pam && mylibs="${mylibs} -lpam"
-
-	if use ssl; then
-		mycc="${mycc} -DUSE_TLS"
-		mylibs="${mylibs} -lssl -lcrypto"
-	fi
-
-	if ! use eai; then
-		mycc="${mycc} -DNO_EAI"
-	fi
-
-	if use ldap; then
-		mycc="${mycc} -DHAS_LDAP"
-		AUXLIBS_LDAP="-lldap -llber"
-	fi
-
-	if use lmdb; then
-		mycc="${mycc} -DHAS_LMDB"
-		AUXLIBS_LMDB="-llmdb -lpthread"
-	fi
-
-	if use mongodb; then
-		mycc="${mycc} -DHAS_MONGODB $($(tc-getPKG_CONFIG) --cflags libmongoc-1.0)"
-		AUXLIBS_MONGODB="-lmongoc-1.0 -lbson-1.0"
-	fi
-
-	if use mysql; then
-		mycc="${mycc} -DHAS_MYSQL $(mysql_config --include)"
-		AUXLIBS_MYSQL="$(mysql_config --libs)"
-	fi
-
-	if use postgres; then
-		mycc="${mycc} -DHAS_PGSQL $($(tc-getPKG_CONFIG) --cflags libpq)"
-		AUXLIBS_PGSQL="$($(tc-getPKG_CONFIG) --libs libpq)"
-	fi
-
-	if use sqlite; then
-		mycc="${mycc} -DHAS_SQLITE"
-		AUXLIBS_SQLITE="-lsqlite3 -lpthread"
-	fi
-
-	if use tlsrpt; then
-		mycc="${mycc} -DUSE_TLSRPT"
-		AUXLIBS_TLSRPT="-ltlsrpt"
-	fi
-
-	if use sasl; then
-		if use dovecot-sasl; then
-			# Set dovecot as default.
-			mycc="${mycc} -DDEF_SASL_SERVER=\\\"dovecot\\\""
-		fi
-		if use ldap-bind; then
-			mycc="${mycc} -DUSE_LDAP_SASL"
-		fi
-		mycc="${mycc} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${ESYSROOT}/usr/include/sasl"
-		mylibs="${mylibs} -lsasl2"
-	elif use dovecot-sasl; then
-		mycc="${mycc} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
-	fi
-
-	if ! use nis; then
-		mycc="${mycc} -DNO_NIS"
-	fi
-
-	if ! use berkdb; then
-		mycc="${mycc} -DNO_DB"
-	fi
-
-	if use cdb; then
-		mycc="${mycc} -DHAS_CDB -I${ESYSROOT}/usr/include/cdb"
-		# Tinycdb is preferred.
-		if has_version dev-db/tinycdb ; then
-			AUXLIBS_CDB="-lcdb"
-		else
-			printf -v AUXLIBS_CDB "${ESYSROOT}/usr/$(get_libdir)/%s " \
-				cdb.a alloc.a buffer.a unix.a byte.a || die
-		fi
-	fi
-
-	sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
-	sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
-
-	emake makefiles \
-		shared=yes \
-		dynamicmaps=no \
-		pie=yes \
-		default_database_type="${default_database_type}" \
-		default_cache_db_type="${default_cache_db_type}" \
-		shlib_directory="/usr/$(get_libdir)/postfix/MAIL_VERSION" \
-		DEBUG="" \
-		CC="$(tc-getCC)" \
-		OPT="${CFLAGS}" \
-		CCARGS="${mycc}" \
-		AUXLIBS="${mylibs} ${AUXLIBS_TLSRPT}" \
-		AUXLIBS_CDB="${AUXLIBS_CDB}" \
-		AUXLIBS_LDAP="${AUXLIBS_LDAP}" \
-		AUXLIBS_LMDB="${AUXLIBS_LMDB}" \
-		AUXLIBS_MONGODB="${AUXLIBS_MONGODB}" \
-		AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" \
-		AUXLIBS_PCRE="${AUXLIBS_PCRE}" \
-		AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \
-		AUXLIBS_SDBM="${AUXLIBS_SDBM}" \
-		AUXLIBS_SQLITE="${AUXLIBS_SQLITE}"
-}
-
-src_install() {
-	LD_LIBRARY_PATH="${S}/lib" \
-	/bin/sh postfix-install \
-		-non-interactive \
-		install_root="${D}" \
-		config_directory="/etc/postfix" \
-		manpage_directory="/usr/share/man" \
-		command_directory="/usr/sbin" \
-		mailq_path="/usr/bin/mailq" \
-		newaliases_path="/usr/bin/newaliases" \
-		sendmail_path="/usr/sbin/sendmail" \
-		|| die "postfix-install failed"
-
-	# Fix spool removal on upgrade
-	rm -Rf "${ED}"/var
-	keepdir /var/spool/postfix
-
-	# Install rmail for UUCP, closes bug #19127
-	dobin auxiliary/rmail/rmail
-
-	# Provide another link for legacy FSH
-	dosym ../sbin/sendmail /usr/$(get_libdir)/sendmail
-
-	# Install qshape, posttls-finger, collate and tlstype
-	dobin auxiliary/qshape/qshape.pl
-	doman man/man1/qshape.1
-	dobin bin/posttls-finger
-	doman man/man1/posttls-finger.1
-	dobin auxiliary/collate/collate.pl
-	newdoc auxiliary/collate/README README.collate
-	dobin auxiliary/collate/tlstype.pl
-	dodoc auxiliary/collate/README.tlstype
-
-	# Performance tuning tools and their manuals
-	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
-	keepdir /var/lib/postfix
-	fowners -R postfix:postfix /var/lib/postfix
-	fperms 0750 /var/lib/postfix
-	fowners root:postdrop /usr/sbin/post{drop,queue,log}
-	fperms 02755 /usr/sbin/post{drop,queue,log}
-
-	keepdir /etc/postfix
-	keepdir /etc/postfix/postfix-files.d
-	if use mbox; then
-		mypostconf="mail_spool_directory=/var/mail"
-	else
-		mypostconf="home_mailbox=.maildir/"
-	fi
-	LD_LIBRARY_PATH="${S}/lib" \
-	"${ED}"/usr/sbin/postconf -c "${ED}"/etc/postfix \
-		-e ${mypostconf} || die "postconf failed"
-
-	insinto /etc/postfix
-	newins "${FILESDIR}"/smtp.pass saslpass
-	fperms 600 /etc/postfix/saslpass
-
-	newinitd "${FILESDIR}"/postfix.rc6.${RC_VER} postfix
-	# do not start mysql/postgres unnecessarily - bug #359913
-	use mysql || sed -i -e "s/mysql //" "${ED}/etc/init.d/postfix"
-	use postgres || sed -i -e "s/postgresql //" "${ED}/etc/init.d/postfix"
-
-	dodoc *README COMPATIBILITY HISTORY PORTING RELEASE_NOTES*
-	dodoc -r README_FILES/ examples/
-	# postfix set-permissions expects uncompressed man files
-	docompress -x /usr/share/man
-
-	if use pam; then
-		pamd_mimic_system smtp auth account
-	fi
-
-	if use sasl; then
-		insinto /etc/sasl2
-		newins "${FILESDIR}"/smtp.sasl smtpd.conf
-	fi
-
-	# header files
-	insinto /usr/include/postfix
-	doins include/*.h
-
-	systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	if ver_replacing -lt 3.11 ; then
-		# This is an upgrade which requires user review
-		ewarn "Default database and cache type changed to lmdb"
-		ewarn "with postfix-3.11. Please read the migration guide:"
-		ewarn "  https://www.postfix.org/NON_BERKELEYDB_README.html"
-	fi
-
-	if ! use berkdb && ! use cdb && ! use lmdb; then
-		ewarn
-		ewarn "No backend for local database files is configured."
-		ewarn "newaliases and postmap commands will not work. This"
-		ewarn "is not a supported configuration and you are strongly"
-		ewarn "recommended to turn one of berkdb, cdb or lmdb USE flags"
-		ewarn "on."
-		ewarn
-	else
-		# warn if no aliases database
-		# do not assume berkdb
-		if [[ ! -e /etc/mail/aliases.db \
-		   && ! -e /etc/mail/aliases.cdb \
-		   && ! -e /etc/mail/aliases.lmdb ]] ; then
-			ewarn "You must edit /etc/mail/aliases to suit your needs"
-			ewarn "and then run /usr/bin/newaliases."
-		fi
-		# run newaliases anyway. otherwise, we might break when switching
-		# default database implementation
-		"${EROOT}"/usr/bin/newaliases
-	fi
-
-	# check and fix file permissions
-	"${EROOT}"/usr/sbin/postfix set-permissions
-
-	# hint for configuring tls
-	if use ssl ; then
-		if "${EROOT}"/usr/sbin/postfix tls all-default-client; then
-			elog "To configure client side TLS settings, please run:"
-			elog "${EROOT}"/usr/sbin/postfix tls enable-client
-		fi
-		if "${EROOT}"/usr/sbin/postfix tls all-default-server; then
-			elog "To configure server side TLS settings, please run:"
-			elog "${EROOT}"/usr/sbin/postfix tls enable-server
-		fi
-	fi
-}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.