Gentoo Archives: gentoo-commits

From: Sven Wegener <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns/
Date: Thu, 30 Nov 2017 19:05:54
Message-Id: 1512068745.df76d7bf18d05eac6a000f5c9e8a93b4075b5b3f.swegener@gentoo
1 commit: df76d7bf18d05eac6a000f5c9e8a93b4075b5b3f
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 30 18:28:37 2017 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 30 19:05:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df76d7bf
7
8 net-dns/pdns: Add sodium USE flag, bug #639018
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11 Closes: https://bugs.gentoo.org/639018
12
13 net-dns/pdns/metadata.xml | 1 +
14 net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild | 4 +++-
15 2 files changed, 4 insertions(+), 1 deletion(-)
16
17 diff --git a/net-dns/pdns/metadata.xml b/net-dns/pdns/metadata.xml
18 index 264c5853154..03c68c6fd10 100644
19 --- a/net-dns/pdns/metadata.xml
20 +++ b/net-dns/pdns/metadata.xml
21 @@ -18,6 +18,7 @@ standards documents. Furthermore, PowerDNS interfaces with almost any database.
22 <flag name="opendbx">Use a database supported by <pkg>dev-db/opendbx</pkg> as backend.</flag>
23 <flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag>
24 <flag name="remote">Use a generic socket or pipe as a backend (via JSON RPC requests).</flag>
25 + <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag>
26 <flag name="tinydns">Use a TinyDNS CDB database as backend.</flag>
27 <flag name="tools">Build optional tools (dnsscan, dnsscope, etc..).</flag>
28 </use>
29
30 diff --git a/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild b/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild
31 index 06d462d4a73..d97d257344e 100644
32 --- a/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild
33 +++ b/net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild
34 @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
35 # oracle: dito (need Oracle Client Libraries)
36 # xdb: (almost) dead, surely not supported
37
38 -IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test"
39 +IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sodium sqlite systemd tools tinydns test"
40
41 REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )"
42
43 @@ -35,6 +35,7 @@ RDEPEND="
44 sqlite? ( dev-db/sqlite:3 )
45 opendbx? ( dev-db/opendbx )
46 geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip )
47 + sodium? ( dev-libs/libsodium:= )
48 tinydns? ( >=dev-db/tinycdb-0.77 )
49 protobuf? ( dev-libs/protobuf )"
50 DEPEND="${RDEPEND}
51 @@ -76,6 +77,7 @@ src_configure() {
52 $(use_enable test unit-tests) \
53 $(use_enable tools) \
54 $(use_enable systemd) \
55 + $(use_enable sodium libsodium) \
56 $(use_with lua) \
57 $(use_with luajit) \
58 $(use_with protobuf) \