From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1061487-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 25557138334
	for <garchives@archives.gentoo.org>; Mon, 10 Dec 2018 09:36:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BF06EE0877;
	Mon, 10 Dec 2018 09:36:04 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 9319DE0877
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Dec 2018 09:36:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 A5425335C8F
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Dec 2018 09:36:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7864244F
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Dec 2018 09:36:00 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@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, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1544434542.2dede676d94cbf4b67b058fa624750c9c1343ce8.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/kea/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/kea/kea-9999.ebuild
X-VCS-Directories: net-misc/kea/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: 2dede676d94cbf4b67b058fa624750c9c1343ce8
X-VCS-Branch: master
Date: Mon, 10 Dec 2018 09:36: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: 74178783-e572-4a82-a5ed-19a36520eee7
X-Archives-Hash: 5e23631691eedaa0ffb84f0d56b65a78

commit:     2dede676d94cbf4b67b058fa624750c9c1343ce8
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 09:35:42 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Dec 10 09:35:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dede676

net-misc/kea: Added support for mysql and postgresql.

Thanks to James Browning <jamesb.fe80 <AT> gmail.com> for the initial patch

Bug: https://bugs.gentoo.org/663538
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/kea/kea-9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild
index 6a29a56af22..9088c8b223f 100644
--- a/net-misc/kea/kea-9999.ebuild
+++ b/net-misc/kea/kea-9999.ebuild
@@ -8,6 +8,7 @@ inherit toolchain-funcs user
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
+
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="http://www.isc.org/kea/"
 if [[ ${PV} = 9999* ]] ; then
@@ -22,14 +23,16 @@ fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="openssl samples"
+IUSE="mysql openssl postgres samples"
 
 DEPEND="
 	dev-libs/boost:=
 	dev-cpp/gtest
 	dev-libs/log4cplus
+	mysql? ( virtual/mysql )
 	!openssl? ( dev-libs/botan:0= )
 	openssl? ( dev-libs/openssl:0= )
+	postgres? ( dev-db/postgresql:* )
 "
 RDEPEND="${DEPEND}"
 
@@ -46,7 +49,9 @@ src_prepare() {
 
 src_configure() {
 	local myeconfargs=(
+		$(use_with mysql)
 		$(use_with openssl)
+		$(use_with postgres pgsql)
 		$(use_enable samples install-configurations)
 		--disable-static
 		--without-werror