diff options
author | Sven Wegener <swegener@gentoo.org> | 2017-11-28 23:32:07 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2017-11-28 23:52:09 +0000 |
commit | dba2759a7724df69f6ec6fa5f7cdaa8d0c592c50 (patch) | |
tree | e5a9b8fffdb64e5adb9b2c30a0dfc9db6a5f2926 /net-dns | |
parent | net-dns/pdns-recursor: Add libressl/openssl dependency (diff) | |
download | gentoo-dba2759a7724df69f6ec6fa5f7cdaa8d0c592c50.tar.gz gentoo-dba2759a7724df69f6ec6fa5f7cdaa8d0c592c50.tar.bz2 gentoo-dba2759a7724df69f6ec6fa5f7cdaa8d0c592c50.zip |
net-dns/pdns-recursor: Add sodium USE flag, bug #639018
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdns-recursor/metadata.xml | 1 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/net-dns/pdns-recursor/metadata.xml b/net-dns/pdns-recursor/metadata.xml index a5208407eaa3..e8c54bc6eb5f 100644 --- a/net-dns/pdns-recursor/metadata.xml +++ b/net-dns/pdns-recursor/metadata.xml @@ -18,5 +18,6 @@ nameserver performance. <use> <flag name="luajit">Enable support for <pkg>dev-lang/luajit</pkg>.</flag> <flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag> + <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag> </use> </pkgmetadata> 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 index 46c66b636ec5..6840a11c1c94 100644 --- a/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="libressl luajit protobuf systemd" +IUSE="libressl luajit protobuf sodium systemd" DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) luajit? ( dev-lang/luajit:= ) @@ -21,6 +21,7 @@ DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) >=dev-libs/boost-1.42:= ) systemd? ( sys-apps/systemd:0= ) + sodium? ( dev-libs/libsodium:= ) libressl? ( dev-libs/libressl:= ) !libressl? ( dev-libs/openssl:= ) >=dev-libs/boost-1.35:=" @@ -39,6 +40,7 @@ src_configure() { econf \ --sysconfdir=/etc/powerdns \ $(use_enable systemd) \ + $(use_enable sodium libsodium) \ $(use_with !luajit lua) \ $(use_with luajit luajit) \ $(use_with protobuf) |