1 |
commit: 882bca25117d59f7637b57b77c8b37f113045dba |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 19:23:35 2020 +0000 |
4 |
Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 19:23:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882bca25 |
7 |
|
8 |
mail-mta/opensmtpd: conditionalize db on berkdb use flag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/737454 |
11 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
12 |
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org> |
13 |
|
14 |
mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild | 7 ++++--- |
15 |
1 file changed, 4 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild |
18 |
index 115b05b5c44..d93aa1e499e 100644 |
19 |
--- a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild |
20 |
+++ b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild |
21 |
@@ -12,7 +12,7 @@ SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz" |
22 |
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" |
23 |
SLOT="0" |
24 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
25 |
-IUSE="libressl pam +mta" |
26 |
+IUSE="libressl pam +mta berkdb" |
27 |
|
28 |
DEPEND=" |
29 |
acct-user/smtpd |
30 |
@@ -22,7 +22,7 @@ DEPEND=" |
31 |
elibc_musl? ( sys-libs/fts-standalone ) |
32 |
sys-libs/zlib |
33 |
pam? ( sys-libs/pam ) |
34 |
- sys-libs/db:= |
35 |
+ berkdb? ( sys-libs/db:= ) |
36 |
dev-libs/libevent |
37 |
app-misc/ca-certificates |
38 |
net-mail/mailbase |
39 |
@@ -53,7 +53,8 @@ src_configure() { |
40 |
--with-user-smtpd=smtpd \ |
41 |
--with-user-queue=smtpq \ |
42 |
--with-group-queue=smtpq \ |
43 |
- $(use_with pam auth-pam) |
44 |
+ $(use_with pam auth-pam) \ |
45 |
+ $(use_with berkdb table-db) |
46 |
} |
47 |
|
48 |
src_install() { |