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 D0AD915815E for ; Sat, 10 Feb 2024 08:06:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3456E2AAC; Sat, 10 Feb 2024 08:06:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CFFCFE2AAC for ; Sat, 10 Feb 2024 08:06:31 +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 1284D343196 for ; Sat, 10 Feb 2024 08:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A32D91082 for ; Sat, 10 Feb 2024 08:06:29 +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: <1707552382.6a97a967b317e56a55d61fe862611d3da7d3faee.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_pre20240206.ebuild mail-mta/postfix/postfix-3.9_pre20240208.ebuild X-VCS-Directories: mail-mta/postfix/ X-VCS-Committer: eras X-VCS-Committer-Name: Eray Aslan X-VCS-Revision: 6a97a967b317e56a55d61fe862611d3da7d3faee X-VCS-Branch: master Date: Sat, 10 Feb 2024 08:06:29 +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: fc227184-188a-4713-b6ec-d9c8a8886231 X-Archives-Hash: 2680d949f1a228ba6a1aa32aa686a5e2 commit: 6a97a967b317e56a55d61fe862611d3da7d3faee Author: Eray Aslan gentoo org> AuthorDate: Sat Feb 10 08:04:05 2024 +0000 Commit: Eray Aslan gentoo org> CommitDate: Sat Feb 10 08:06:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a97a967 mail-mta/postfix: add 3.9_pre20240208, drop 3.9_pre20240206 Signed-off-by: Eray Aslan gentoo.org> mail-mta/postfix/Manifest | 2 +- ...40206.ebuild => postfix-3.9_pre20240208.ebuild} | 70 +++++++++++++--------- 2 files changed, 42 insertions(+), 30 deletions(-) diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index d00807516435..774f1e2b2342 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -1,3 +1,3 @@ DIST postfix-3.8.4.tar.gz 4864184 BLAKE2B 200ce3d72444da05e42fc8627002d53d68c1b3d78b7f74b0130ac958c23d16454783ef4849a8c9a4e3cba8ae36646e921f7e94ac4fb819b597e1a5ab1a875272 SHA512 5bae3d62e104714aead1fff28a595bab4315227382f53c8dae2a231f4240e31abda19c1e3befc1db4c89bc5d66c9a43830390365aadabdac5cf36b493c5c48c7 DIST postfix-3.8.5.tar.gz 4871284 BLAKE2B 0de999c47a4130eb3418ec60b23c10be405b9bc4b2a6022671f9dc4713256d2b81d3b43f01d89e02d2593f87109dcde366b0265eb0cb13cb3118d0e60e36b48b SHA512 26005da5750e7af742f4fc7596ae8320467176e069546c3487418c663b54f56734b4a6541665b8d72d94df2e0fd4f68a2bcc44c50a6d950334d5a5fb2293dff4 -DIST postfix-3.9-20240206.tar.gz 4885037 BLAKE2B 7e1dadf30231aa86af2d05ce026b753f57bb6515060feeb46e4bc96e004af203d558c7a5ba090799dc628b824bd4bd950d5523235346c3ada3eb1034ce929a28 SHA512 eb7043e759e024c186db97aea1d4c6de69f48f1f0a736c9d998593200687fd5c20ca258ce53ee4a290669486d57f9f3c62c3450e66227d53941a9cac62b8a86e +DIST postfix-3.9-20240208.tar.gz 4936057 BLAKE2B 3945f3057cd7efc7b93d3114e1e81b49214c3ac1ef2e39f5a4ec5e5df1ddfa01fbf6dee3efd46ba6a04c95668d3efeb231ebc1177a963ea460017074e43335a3 SHA512 8ab8e7a7ea8cd31dd3bdac6960721f814bce52147c1bc31075e9bf0c93ee54bf8ae07cd34d9071d33cf6de415ad2a53d8276276857f6d3c2ed79f50186cc5811 diff --git a/mail-mta/postfix/postfix-3.9_pre20240206.ebuild b/mail-mta/postfix/postfix-3.9_pre20240208.ebuild similarity index 89% rename from mail-mta/postfix/postfix-3.9_pre20240206.ebuild rename to mail-mta/postfix/postfix-3.9_pre20240208.ebuild index 06bd8f93f72c..0073efccdb40 100644 --- a/mail-mta/postfix/postfix-3.9_pre20240206.ebuild +++ b/mail-mta/postfix/postfix-3.9_pre20240208.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 mongodb mysql nis pam postgres sasl selinux sqlite ssl" DEPEND=" acct-group/postfix @@ -30,6 +30,7 @@ DEPEND=" ldap? ( net-nds/openldap:= ) ldap-bind? ( net-nds/openldap:=[sasl] ) lmdb? ( >=dev-db/lmdb-0.9.11:= ) + mongodb? ( dev-libs/mongo-c-driver dev-libs/libbson ) mysql? ( dev-db/mysql-connector-c:0= ) nis? ( net-libs/libnsl:= ) pam? ( sys-libs/pam ) @@ -53,8 +54,8 @@ RDEPEND="${DEPEND} !mail-mta/ssmtp[mta] selinux? ( sec-policy/selinux-postfix )" -# require at least one of db implementations for newalias (and postmap) -# command to function correctly +# require at least one db implementation for newalias (and postmap) +# command to function properly REQUIRED_USE=" || ( berkdb cdb lmdb ) ldap-bind? ( ldap sasl ) @@ -74,7 +75,7 @@ src_configure() { # bug #915670 unset LD_LIBRARY_PATH - for name in CDB LDAP LMDB MYSQL PCRE PGSQL SDBM SQLITE + for name in CDB LDAP LMDB MONGODB MYSQL PCRE PGSQL SDBM SQLITE do local AUXLIBS_${name}="" done @@ -88,11 +89,30 @@ src_configure() { 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 $(pkg-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)" @@ -108,26 +128,6 @@ src_configure() { AUXLIBS_SQLITE="-lsqlite3 -lpthread" fi - if use ssl; then - mycc="${mycc} -DUSE_TLS" - mylibs="${mylibs} -lssl -lcrypto" - fi - - if use lmdb; then - mycc="${mycc} -DHAS_LMDB" - AUXLIBS_LMDB="-llmdb -lpthread" - fi - - if ! use eai; then - mycc="${mycc} -DNO_EAI" - fi - - # broken. and "in other words, not supported" by upstream. - # Use inet_protocols setting in main.cf - #if ! use ipv6; then - # mycc="${mycc} -DNO_IPV6" - #fi - if use sasl; then if use dovecot-sasl; then # Set dovecot as default. @@ -172,12 +172,24 @@ src_configure() { 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 \ + emake makefiles \ + shared=yes \ + dynamicmaps=no \ + pie=yes \ shlib_directory="/usr/$(get_libdir)/postfix/MAIL_VERSION" \ - DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" \ - AUXLIBS_CDB="${AUXLIBS_CDB}" AUXLIBS_LDAP="${AUXLIBS_LDAP}" \ - AUXLIBS_LMDB="${AUXLIBS_LMDB}" AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" \ - AUXLIBS_PCRE="${AUXLIBS_PCRE}" AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \ + DEBUG="" \ + CC="$(tc-getCC)" \ + OPT="${CFLAGS}" \ + CCARGS="${mycc}" \ + AUXLIBS="${mylibs}" \ + 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}" }