From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1199904-garchives=archives.gentoo.org@lists.gentoo.org>
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 8F5B7138359
	for <garchives@archives.gentoo.org>; Tue, 25 Aug 2020 19:24:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B2E67E08FB;
	Tue, 25 Aug 2020 19:24:03 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 94DD3E08FB
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 Aug 2020 19:24:03 +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 EDCB4340D68
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 Aug 2020 19:24:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A94032A
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 Aug 2020 19:24:00 +0000 (UTC)
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jason A. Donenfeld" <zx2c4@gentoo.org>
Message-ID: <1598383432.882bca25117d59f7637b57b77c8b37f113045dba.zx2c4@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild
X-VCS-Directories: mail-mta/opensmtpd/
X-VCS-Committer: zx2c4
X-VCS-Committer-Name: Jason A. Donenfeld
X-VCS-Revision: 882bca25117d59f7637b57b77c8b37f113045dba
X-VCS-Branch: master
Date: Tue, 25 Aug 2020 19:24:00 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 752dd06d-e264-40b0-827b-065b101a2857
X-Archives-Hash: 56097976161c82c2d0da019ded38c33e

commit:     882bca25117d59f7637b57b77c8b37f113045dba
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 19:23:35 2020 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 19:23:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882bca25

mail-mta/opensmtpd: conditionalize db on berkdb use flag

Closes: https://bugs.gentoo.org/737454
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild
index 115b05b5c44..d93aa1e499e 100644
--- a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz"
 LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="libressl pam +mta"
+IUSE="libressl pam +mta berkdb"
 
 DEPEND="
 	acct-user/smtpd
@@ -22,7 +22,7 @@ DEPEND="
 	elibc_musl? ( sys-libs/fts-standalone )
 	sys-libs/zlib
 	pam? ( sys-libs/pam )
-	sys-libs/db:=
+	berkdb? ( sys-libs/db:= )
 	dev-libs/libevent
 	app-misc/ca-certificates
 	net-mail/mailbase
@@ -53,7 +53,8 @@ src_configure() {
 		--with-user-smtpd=smtpd \
 		--with-user-queue=smtpq \
 		--with-group-queue=smtpq \
-		$(use_with pam auth-pam)
+		$(use_with pam auth-pam) \
+		$(use_with berkdb table-db)
 }
 
 src_install() {