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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE4C51382C5 for ; Sun, 30 May 2021 14:11:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 341DDE0729; Sun, 30 May 2021 14:11:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B385E0729 for ; Sun, 30 May 2021 14:11:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63453335C16 for ; Sun, 30 May 2021 14:11:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C96D259C for ; Sun, 30 May 2021 14:11:42 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1622383896.631499f09682958ceb3d64ee0b7f6b4fca7e756a.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/exim/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/exim/exim-4.94.2-r2.ebuild mail-mta/exim/exim-4.94.2-r3.ebuild X-VCS-Directories: mail-mta/exim/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 631499f09682958ceb3d64ee0b7f6b4fca7e756a X-VCS-Branch: master Date: Sun, 30 May 2021 14:11:42 +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: 410a3b45-8c29-421e-86b2-396439f031a5 X-Archives-Hash: 917d954d2797100ce4b030ac29e7693c commit: 631499f09682958ceb3d64ee0b7f6b4fca7e756a Author: Fabian Groffen gentoo org> AuthorDate: Sun May 30 14:11:36 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun May 30 14:11:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631499f0 mail-mta/exim-4.94.2-r3: revbump to bring back berkdb usage as default because we used to always use berkdb, and berkdb is in standard profile, prefer berkdb, and don't silently switch to gdbm which would break existing databases Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> ...exim-4.94.2-r2.ebuild => exim-4.94.2-r3.ebuild} | 27 +++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/mail-mta/exim/exim-4.94.2-r2.ebuild b/mail-mta/exim/exim-4.94.2-r3.ebuild similarity index 97% rename from mail-mta/exim/exim-4.94.2-r2.ebuild rename to mail-mta/exim/exim-4.94.2-r3.ebuild index 1174eca77da..d8cfef9d9e8 100644 --- a/mail-mta/exim/exim-4.94.2-r2.ebuild +++ b/mail-mta/exim/exim-4.94.2-r3.ebuild @@ -5,7 +5,7 @@ EAPI="7" inherit db-use toolchain-funcs multilib pam systemd -IUSE="arc +dane dcc +dkim dlfunc dmarc +dnsdb doc dovecot-sasl +IUSE="arc berkdb +dane dcc +dkim dlfunc dmarc +dnsdb doc dovecot-sasl dsn elibc_glibc exiscan-acl gdbm gnutls idn ipv6 ldap lmtp maildir mbx mysql nis pam perl pkcs11 postgres +prdr proxy radius redis sasl selinux socks5 spf sqlite srs +srs-alt srs-native +ssl syslog tdb tcpd +tpda X" @@ -21,6 +21,7 @@ REQUIRED_USE=" exiscan-acl ^^ ( srs-alt srs-native ) ) + || ( berkdb gdbm tdb ) " # NOTE on USE="gnutls dane", gnutls[dane] is masked in base, unmasked # for x86 and amd64 only, due to this, repoman won't allow depending on @@ -29,8 +30,8 @@ REQUIRED_USE=" # have left is to a) ignore the dependency (but that results in bug # #661164) or b) mask the usage of USE=dane with USE=gnutls. Both are # incorrect, but b) is the only "correct" view from repoman. -# We cannot express a required use for berkdb/gdbm/tdb because berkdb -# and gdbm are both enabled in base profile +# We cannot express a required use for berkdb/gdbm/tdb correctly because +# berkdb and gdbm are both enabled in base profile SDIR=$([[ ${PV} == *_rc* ]] && echo /test [[ ${PV} == *.*.*.* ]] && echo /fixes) @@ -49,8 +50,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-sol COMMON_DEPEND=">=sys-apps/sed-4.0.5 dev-libs/libpcre:= tdb? ( sys-libs/tdb:= ) - !tdb? ( gdbm? ( sys-libs/gdbm:= ) ) - !tdb? ( !gdbm? ( >=sys-libs/db-3.2:= =sys-libs/db-3.2:= > Makefile <<- EOC - USE_GDBM=yes - DBMLIB = -lgdbm - EOC - sed -i -e 's:^USE_DB=yes:# USE_DB=yes:' Makefile || die - sed -i -e 's:^USE_TDB=yes:# USE_TDB=yes:' Makefile || die - else + elif use berkdb ; then # use the "native" interfaces to the DBM and CDB libraries, support # passwd and directory lookups by default local DB_VERS="5.3 5.1 4.8 4.7 4.6 4.5 4.4 4.3 4.2 3.2" @@ -209,6 +203,13 @@ src_configure() { EOC sed -i -e 's:^USE_GDBM=yes:# USE_GDBM=yes:' Makefile || die sed -i -e 's:^USE_TDB=yes:# USE_TDB=yes:' Makefile || die + else # must be gdbm via required_use + cat >> Makefile <<- EOC + USE_GDBM=yes + DBMLIB = -lgdbm + EOC + sed -i -e 's:^USE_DB=yes:# USE_DB=yes:' Makefile || die + sed -i -e 's:^USE_TDB=yes:# USE_TDB=yes:' Makefile || die fi # if we use libiconv, now is the time to tell so