diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-10 11:34:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-10 11:34:01 +0000 |
commit | cc901a8ce7c6bfe97e3b4f048619693d360ae348 (patch) | |
tree | c250ff07a4d508fa08b487b616e0ae8aff2f0d8e /mail-mta | |
parent | c9badf79e4669147edb94182af5776072f2ffaea (diff) |
gentoo auto-resync : 10:02:2024 - 11:34:00
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/Manifest.gz | bin | 2385 -> 2381 bytes | |||
-rw-r--r-- | mail-mta/postfix/Manifest | 6 | ||||
-rw-r--r-- | mail-mta/postfix/metadata.xml | 2 | ||||
-rw-r--r-- | mail-mta/postfix/postfix-3.9_pre20240209.ebuild (renamed from mail-mta/postfix/postfix-3.9_pre20240206.ebuild) | 70 |
4 files changed, 46 insertions, 32 deletions
diff --git a/mail-mta/Manifest.gz b/mail-mta/Manifest.gz Binary files differindex 4568d8be1d9c..719f8e72e2cf 100644 --- a/mail-mta/Manifest.gz +++ b/mail-mta/Manifest.gz diff --git a/mail-mta/postfix/Manifest b/mail-mta/postfix/Manifest index ff45107e3fd1..98f7cbc14f27 100644 --- a/mail-mta/postfix/Manifest +++ b/mail-mta/postfix/Manifest @@ -4,8 +4,8 @@ AUX smtp.pass 29 BLAKE2B 589915bd2856fa64e22caa12fca54ef342eb07606de38d3879c13ac AUX smtp.sasl 42 BLAKE2B 67e9108101779b6027fa1e5cc7c9256a606d440e15bb037a0da186e6b4983ab26e88ede2f0604737c78144c03e182f66005062f1d49e10443d1ddb9757461d1f SHA512 a48e2bd173c4443dd2c389f6973a541dbcba4223b52b42b409a68d934a7fc82a98d4027267befcd5db6ec628cce6a9dffdf044e6fbd774b6e748f07f4106db47 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-20240209.tar.gz 4937010 BLAKE2B e0f0cbf07d0fdcf7ad7bf158a2d769fb30972b95c974e4871d8f0b22f5b346a261eb22eed81691172d26b21ee1379d8abe20348d0429784af96e4ebf09b122c2 SHA512 888538d11a20f32fecc905601a3876db2d8143c82e9b27787b24f00c973dd81fbe5770eecf1bafcf646d2717ba164a1bf6c9d49ea2d0c10d71ed6b2a63d2fabc EBUILD postfix-3.8.4.ebuild 8355 BLAKE2B 493a8fb24c0be0913068d0cacdc5d034f827368863ecb82d96297a578617b070e193e383a3a02501c2c6e90e8faae8b0896443b4ff733d4d1093a78f04467cd7 SHA512 2b70bad22646a70d20511390c18b2edd395389e67ddd3c68fd0977ef6bcb2e12b516893d9ddcbd55798c49e8cee965724ff737647f2a1bc105fb87620fd4f78b EBUILD postfix-3.8.5.ebuild 8367 BLAKE2B ea5be76c2c551365f2498de49a3ba8c462de4c49a9f7c5ae3d6dce57a4fba0c0d8c1b38e41dfc9a1e0b8addb05372a4c543a48ccb1819ef6bdfbe201a7ec78df SHA512 37dfadd57e74fcd1576c4a8146fed9cc26081a5074b29d617e483fbcc76063228015220af7956fdc1747ed7efd6a49c7df2bbd917d1358bd5fa60d143792a0eb -EBUILD postfix-3.9_pre20240206.ebuild 8246 BLAKE2B 0d54e259c1c1a05ecd4d271982be442b6356863fb601739e912826ea19267cb8dc4f735eeaf73fe2045d3ff7eb590661f06d578ff31fdd322cd028f8c5f172b8 SHA512 d8ad7334741982fe2b7855f5d5b9d6bbfbe82ebdb5a8d4a6b41040fa6ade92f988bf7beace8dbf6ee72c3f70159be5579687c8dc9b73d9f2b4c05e06b5b4214b -MISC metadata.xml 853 BLAKE2B 96b2b5c531692f1eba1bc4c543ba4df77754d11802e9754ac102907d00dc1284fe449384d3c8c4e53c343e3424f79cf654b7a0c6a112d0ec973f8da585045ff7 SHA512 15c4521a70f25d8d5261c1c981d7ab41cdf542a1630c6857037e0b3e3ab0a51f6dbb4edee9ee9857d0b7a130c5da6f475e1be6a02728edecb23defa004be48eb +EBUILD postfix-3.9_pre20240209.ebuild 8410 BLAKE2B f6f42dd4c240e379c75ae72adfa180bd05c0a687cf3b6d033696ed8a94ab2b66f7541618cc6bebf04e424a67cd996ef578fddc5c17dac6c3222e9d35fc9edc80 SHA512 69c17172f33234e681e8ca8bffdd8acba91c97d334d8406cac7b9be9f6eb92ce7f4b700cac381e6be1ad5546750a32d521eb169c4513649bbfac9c00b2539ae7 +MISC metadata.xml 952 BLAKE2B 53d30be39de0878119f60168ad40d4eb1328b7887ef87f34f7d641a6201fb1567c50558e4f87fc160928461461e5850022863ea21217c57184f782d82a5e3340 SHA512 60feaf7daa0360bc5a76b166a0b32afd74bb6922370cb8f200d1eb2e791ff3837f64d0211b622924b4425fe05ac2133806aa86dd8f0c9976b385362b1a8cb730 diff --git a/mail-mta/postfix/metadata.xml b/mail-mta/postfix/metadata.xml index bfcda1f76455..376c69a5e8bc 100644 --- a/mail-mta/postfix/metadata.xml +++ b/mail-mta/postfix/metadata.xml @@ -19,5 +19,7 @@ for lookup tables</flag> <flag name="lmdb">Add support for using <pkg>dev-db/lmdb</pkg> for lookup tables</flag> + <flag name="mongodb">Add support for using <pkg>dev-db/mongodb</pkg> + for lookup tables</flag> </use> </pkgmetadata> diff --git a/mail-mta/postfix/postfix-3.9_pre20240206.ebuild b/mail-mta/postfix/postfix-3.9_pre20240209.ebuild index 06bd8f93f72c..0073efccdb40 100644 --- a/mail-mta/postfix/postfix-3.9_pre20240206.ebuild +++ b/mail-mta/postfix/postfix-3.9_pre20240209.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}" } |