summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-12-10 10:35:42 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-12-10 10:35:42 +0100
commit2dede676d94cbf4b67b058fa624750c9c1343ce8 (patch)
treee4a98479adbf0661520550d4f7191cac5adf6532 /net-misc/kea
parentmedia-libs/harfbuzz: Removed old. (diff)
downloadgentoo-2dede676d94cbf4b67b058fa624750c9c1343ce8.tar.gz
gentoo-2dede676d94cbf4b67b058fa624750c9c1343ce8.tar.bz2
gentoo-2dede676d94cbf4b67b058fa624750c9c1343ce8.zip
net-misc/kea: Added support for mysql and postgresql.
Thanks to James Browning <jamesb.fe80@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@gentoo.org>
Diffstat (limited to 'net-misc/kea')
-rw-r--r--net-misc/kea/kea-9999.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild
index 6a29a56af228..9088c8b223fa 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