public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/exim/
Date: Sun, 30 May 2021 14:11:42 +0000 (UTC)	[thread overview]
Message-ID: <1622383896.631499f09682958ceb3d64ee0b7f6b4fca7e756a.grobian@gentoo> (raw)

commit:     631499f09682958ceb3d64ee0b7f6b4fca7e756a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 14:11:36 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> 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 <grobian <AT> 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-6:= ) )
+	!tdb? ( berkdb? ( >=sys-libs/db-3.2:= <sys-libs/db-6:= ) )
+	!tdb? ( !berkdb? ( sys-libs/gdbm:= ) )
 	idn? ( net-dns/libidn:= net-dns/libidn2:= )
 	perl? ( dev-lang/perl:= )
 	pam? ( sys-libs/pam )
@@ -190,14 +191,7 @@ src_configure() {
 		EOC
 		sed -i -e 's:^USE_DB=yes:# USE_DB=yes:' Makefile || die
 		sed -i -e 's:^USE_GDBM=yes:# USE_GDBM=yes:' Makefile || die
-	elif use gdbm ; then
-		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
-	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


             reply	other threads:[~2021-05-30 14:11 UTC|newest]

Thread overview: 202+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30 14:11 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  7:48 [gentoo-commits] repo/gentoo:master commit in: mail-mta/exim/ Fabian Groffen
2024-11-26  0:36 Sam James
2024-11-24 11:02 Sam James
2024-11-23 17:21 Michał Górny
2024-11-23 17:21 Michał Górny
2024-09-02  8:24 Fabian Groffen
2024-03-21 20:36 Arthur Zamarin
2024-03-19  9:25 Sam James
2024-02-23  9:09 Fabian Groffen
2024-01-12 11:29 Arthur Zamarin
2024-01-12 11:29 Arthur Zamarin
2024-01-12  9:24 Sam James
2024-01-12  8:54 Arthur Zamarin
2024-01-12  8:28 Arthur Zamarin
2023-12-29 18:08 Fabian Groffen
2023-12-25 11:03 Fabian Groffen
2023-12-25 11:00 Fabian Groffen
2023-12-25 11:00 Fabian Groffen
2023-12-25 11:00 Fabian Groffen
2023-12-25 11:00 Fabian Groffen
2023-12-20  2:34 Ionen Wolkens
2023-11-25 11:49 Arthur Zamarin
2023-11-13  4:53 Sam James
2023-11-08  8:03 Fabian Groffen
2023-10-15 20:11 Fabian Groffen
2023-10-02 12:56 Fabian Groffen
2023-07-16 20:22 Jakov Smolić
2023-07-12  6:39 Jakov Smolić
2023-06-27 17:04 Sam James
2023-06-05 18:39 Fabian Groffen
2022-07-02  7:33 Fabian Groffen
2022-06-29  9:08 Fabian Groffen
2022-06-27  7:30 Fabian Groffen
2022-03-23  1:24 Sam James
2022-03-23  0:45 Sam James
2022-01-03 23:26 David Seifert
2021-06-24 23:27 Sam James
2021-05-29 11:52 Fabian Groffen
2021-05-29  9:34 Fabian Groffen
2021-05-05 16:09 Sergei Trofimovich
2021-05-04 19:20 Sam James
2021-05-04 19:20 Sam James
2021-05-04 19:16 Sam James
2021-05-04 19:16 Sam James
2021-05-04 19:13 Sam James
2021-05-04 15:48 Fabian Groffen
2021-05-02 13:14 Fabian Groffen
2021-05-02  8:54 Mikle Kolyada
2021-05-02  8:54 Mikle Kolyada
2021-01-23 10:51 Mikle Kolyada
2020-06-08  8:06 Fabian Groffen
2020-05-13 17:12 Agostino Sarubbo
2020-05-13 11:31 Agostino Sarubbo
2020-05-13 11:29 Agostino Sarubbo
2020-05-13 11:28 Agostino Sarubbo
2020-05-13 11:27 Agostino Sarubbo
2020-05-13 11:26 Agostino Sarubbo
2020-05-12 17:50 Mart Raudsepp
2020-05-12  6:41 Fabian Groffen
2020-03-20  8:50 Fabian Groffen
2020-03-15  8:32 Fabian Groffen
2020-03-03  7:54 Agostino Sarubbo
2020-03-02 15:22 Agostino Sarubbo
2020-03-02 12:39 Agostino Sarubbo
2020-03-02 12:32 Agostino Sarubbo
2020-03-02 12:29 Agostino Sarubbo
2020-03-02 12:28 Agostino Sarubbo
2020-03-01 21:44 Agostino Sarubbo
2020-01-07 13:25 Fabian Groffen
2019-12-14 11:04 Fabian Groffen
2019-12-14 11:04 Fabian Groffen
2019-12-14 11:04 Fabian Groffen
2019-12-13  7:48 Fabian Groffen
2019-10-26 18:16 Thomas Deutschmann
2019-10-14  2:18 Matt Turner
2019-10-12 19:17 Mikle Kolyada
2019-09-29  8:20 Fabian Groffen
2019-09-20  6:39 Sergei Trofimovich
2019-09-13 17:27 Agostino Sarubbo
2019-09-13 15:42 Mikle Kolyada
2019-09-09  6:02 Agostino Sarubbo
2019-09-09  5:54 Agostino Sarubbo
2019-09-08 18:30 Sergei Trofimovich
2019-09-08 18:26 Sergei Trofimovich
2019-09-07  0:22 Thomas Deutschmann
2019-09-06 13:18 Thomas Deutschmann
2019-08-28 11:17 Thomas Deutschmann
2019-08-24 10:30 Thomas Deutschmann
2019-07-28 20:02 Mikle Kolyada
2019-07-25 10:46 Fabian Groffen
2019-07-23 18:16 Fabian Groffen
2019-07-18 10:48 Agostino Sarubbo
2019-07-18 10:45 Agostino Sarubbo
2019-07-18 10:01 Agostino Sarubbo
2019-07-18  9:57 Agostino Sarubbo
2019-07-17 15:24 Agostino Sarubbo
2019-07-15 19:10 Sergei Trofimovich
2019-07-15 13:14 Agostino Sarubbo
2019-06-13  4:28 Markus Meier
2019-06-08 18:20 Agostino Sarubbo
2019-06-06 21:00 Sergei Trofimovich
2019-06-06  6:54 Agostino Sarubbo
2019-06-05 18:14 Sergei Trofimovich
2019-06-05  7:12 Agostino Sarubbo
2019-06-05  6:48 Agostino Sarubbo
2019-06-04 18:56 Agostino Sarubbo
2019-06-04 17:18 Thomas Deutschmann
2019-01-14  7:14 Sergei Trofimovich
2019-01-11 13:17 Fabian Groffen
2018-09-11 20:51 Andreas Hüttel
2018-09-11 20:13 Matt Turner
2018-09-11 20:13 Matt Turner
2018-07-22 17:46 Fabian Groffen
2018-07-22  2:20 Mikle Kolyada
2018-07-14 17:54 Sergei Trofimovich
2018-06-27 17:23 Tobias Klausmann
2018-06-23 18:13 Mikle Kolyada
2018-06-21  6:33 Sergei Trofimovich
2018-05-05 14:59 Andreas Hüttel
2018-04-28  1:16 Matt Turner
2018-04-23  8:47 Fabian Groffen
2018-04-22 19:18 Matt Turner
2018-04-16 16:38 Fabian Groffen
2018-04-16  9:02 Fabian Groffen
2018-04-15 15:14 Fabian Groffen
2018-04-07 18:07 Sergei Trofimovich
2018-03-31 17:57 Sergei Trofimovich
2018-03-16  8:14 Fabian Groffen
2018-03-08 20:01 Markus Meier
2018-03-07  9:38 Agostino Sarubbo
2018-03-07  9:31 Tobias Klausmann
2018-02-20 22:18 Sergei Trofimovich
2018-02-20  8:10 Sergei Trofimovich
2018-02-18 21:48 Thomas Deutschmann
2018-02-11  7:59 Fabian Groffen
2018-02-08  9:45 Fabian Groffen
2018-02-07  7:41 Fabian Groffen
2018-02-06 21:40 Sergei Trofimovich
2017-12-20  8:48 Fabian Groffen
2017-12-17  9:08 Fabian Groffen
2017-12-01 11:20 Agostino Sarubbo
2017-11-30 22:07 Sergei Trofimovich
2017-11-30 11:35 Tobias Klausmann
2017-11-30 10:34 Fabian Groffen
2017-11-29 18:52 Thomas Deutschmann
2017-10-08  9:24 Fabian Groffen
2017-10-05 13:15 Sergei Trofimovich
2017-09-25  7:35 Fabian Groffen
2017-09-05  9:25 Fabian Groffen
2017-06-26 20:18 Tobias Klausmann
2017-06-24 21:08 Sergei Trofimovich
2017-06-21 12:17 Agostino Sarubbo
2017-06-20  5:17 Agostino Sarubbo
2017-06-20  5:07 Agostino Sarubbo
2017-03-08  7:53 Fabian Groffen
2017-03-01  6:08 Fabian Groffen
2017-02-23  7:33 Fabian Groffen
2017-02-13 11:02 Fabian Groffen
2017-02-10  8:16 Fabian Groffen
2017-02-03  7:49 Fabian Groffen
2017-01-31  7:44 Fabian Groffen
2017-01-29 10:43 Jeroen Roovers
2017-01-05 12:34 Tobias Klausmann
2016-12-27 22:55 Aaron Bauman
2016-12-25 11:52 Fabian Groffen
2016-12-08  9:04 Fabian Groffen
2016-11-21 11:28 Fabian Groffen
2016-10-10 12:16 Fabian Groffen
2016-10-09 17:55 Fabian Groffen
2016-09-19 21:36 Anthony G. Basile
2016-07-20 10:37 Agostino Sarubbo
2016-07-08 13:46 Agostino Sarubbo
2016-07-08 11:02 Agostino Sarubbo
2016-07-08  7:53 Agostino Sarubbo
2016-07-05 17:58 Jeroen Roovers
2016-07-04 15:58 Fabian Groffen
2016-06-25 20:14 Agostino Sarubbo
2016-06-21  7:23 Fabian Groffen
2016-06-11 16:44 Agostino Sarubbo
2016-06-07  7:22 Tobias Klausmann
2016-06-06 18:29 Fabian Groffen
2016-06-06  7:40 Tobias Klausmann
2016-05-31  6:45 Fabian Groffen
2016-04-28 12:51 Fabian Groffen
2016-04-28 12:51 Fabian Groffen
2016-04-07  8:09 Fabian Groffen
2016-04-07  8:09 Fabian Groffen
2016-04-03  7:13 Fabian Groffen
2016-03-09  5:14 Sergey Popov
2016-03-08  9:28 Fabian Groffen
2016-03-08  9:00 Fabian Groffen
2016-03-04 16:56 Fabian Groffen
2016-03-03  6:59 Fabian Groffen
2016-02-22 10:25 Patrice Clement
2016-02-18 19:38 Fabian Groffen
2016-01-19  9:11 Fabian Groffen
2016-01-18 18:15 Fabian Groffen
2015-12-19 19:17 Fabian Groffen
2015-11-22 19:06 Fabian Groffen
2015-10-26  6:20 Jeroen Roovers
2015-09-30 11:59 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1622383896.631499f09682958ceb3d64ee0b7f6b4fca7e756a.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox