1 |
commit: 2dede676d94cbf4b67b058fa624750c9c1343ce8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 10 09:35:42 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 10 09:35:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dede676 |
7 |
|
8 |
net-misc/kea: Added support for mysql and postgresql. |
9 |
|
10 |
Thanks to James Browning <jamesb.fe80 <AT> gmail.com> for the initial patch |
11 |
|
12 |
Bug: https://bugs.gentoo.org/663538 |
13 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
net-misc/kea/kea-9999.ebuild | 7 ++++++- |
17 |
1 file changed, 6 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild |
20 |
index 6a29a56af22..9088c8b223f 100644 |
21 |
--- a/net-misc/kea/kea-9999.ebuild |
22 |
+++ b/net-misc/kea/kea-9999.ebuild |
23 |
@@ -8,6 +8,7 @@ inherit toolchain-funcs user |
24 |
MY_PV="${PV//_p/-P}" |
25 |
MY_PV="${MY_PV/_/-}" |
26 |
MY_P="${PN}-${MY_PV}" |
27 |
+ |
28 |
DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server" |
29 |
HOMEPAGE="http://www.isc.org/kea/" |
30 |
if [[ ${PV} = 9999* ]] ; then |
31 |
@@ -22,14 +23,16 @@ fi |
32 |
|
33 |
LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script |
34 |
SLOT="0" |
35 |
-IUSE="openssl samples" |
36 |
+IUSE="mysql openssl postgres samples" |
37 |
|
38 |
DEPEND=" |
39 |
dev-libs/boost:= |
40 |
dev-cpp/gtest |
41 |
dev-libs/log4cplus |
42 |
+ mysql? ( virtual/mysql ) |
43 |
!openssl? ( dev-libs/botan:0= ) |
44 |
openssl? ( dev-libs/openssl:0= ) |
45 |
+ postgres? ( dev-db/postgresql:* ) |
46 |
" |
47 |
RDEPEND="${DEPEND}" |
48 |
|
49 |
@@ -46,7 +49,9 @@ src_prepare() { |
50 |
|
51 |
src_configure() { |
52 |
local myeconfargs=( |
53 |
+ $(use_with mysql) |
54 |
$(use_with openssl) |
55 |
+ $(use_with postgres pgsql) |
56 |
$(use_enable samples install-configurations) |
57 |
--disable-static |
58 |
--without-werror |