1 |
commit: dba2759a7724df69f6ec6fa5f7cdaa8d0c592c50 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 28 23:32:07 2017 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 23:52:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dba2759a |
7 |
|
8 |
net-dns/pdns-recursor: Add sodium USE flag, bug #639018 |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
net-dns/pdns-recursor/metadata.xml | 1 + |
13 |
net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild | 4 +++- |
14 |
2 files changed, 4 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-dns/pdns-recursor/metadata.xml b/net-dns/pdns-recursor/metadata.xml |
17 |
index a5208407eaa..e8c54bc6eb5 100644 |
18 |
--- a/net-dns/pdns-recursor/metadata.xml |
19 |
+++ b/net-dns/pdns-recursor/metadata.xml |
20 |
@@ -18,5 +18,6 @@ nameserver performance. |
21 |
<use> |
22 |
<flag name="luajit">Enable support for <pkg>dev-lang/luajit</pkg>.</flag> |
23 |
<flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag> |
24 |
+ <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag> |
25 |
</use> |
26 |
</pkgmetadata> |
27 |
|
28 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild |
29 |
index 46c66b636ec..6840a11c1c9 100644 |
30 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild |
31 |
+++ b/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild |
32 |
@@ -12,7 +12,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
33 |
LICENSE="GPL-2" |
34 |
SLOT="0" |
35 |
KEYWORDS="~amd64 ~arm ~x86" |
36 |
-IUSE="libressl luajit protobuf systemd" |
37 |
+IUSE="libressl luajit protobuf sodium systemd" |
38 |
|
39 |
DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) |
40 |
luajit? ( dev-lang/luajit:= ) |
41 |
@@ -21,6 +21,7 @@ DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) |
42 |
>=dev-libs/boost-1.42:= |
43 |
) |
44 |
systemd? ( sys-apps/systemd:0= ) |
45 |
+ sodium? ( dev-libs/libsodium:= ) |
46 |
libressl? ( dev-libs/libressl:= ) |
47 |
!libressl? ( dev-libs/openssl:= ) |
48 |
>=dev-libs/boost-1.35:=" |
49 |
@@ -39,6 +40,7 @@ src_configure() { |
50 |
econf \ |
51 |
--sysconfdir=/etc/powerdns \ |
52 |
$(use_enable systemd) \ |
53 |
+ $(use_enable sodium libsodium) \ |
54 |
$(use_with !luajit lua) \ |
55 |
$(use_with luajit luajit) \ |
56 |
$(use_with protobuf) |