From a785c24670fc73413412baf756ac2a5163e78402 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Mon, 4 Sep 2017 11:32:04 +0300 Subject: [PATCH] net-dns/pdns: add libressl support PowerDNS Authoritative Server supports LibreSSL since version 4.0.2. Compile-tested all versions on Gentoo Hardened musl amd64. Signed-off-by: Stijn Tintel Closes: https://github.com/gentoo/gentoo/pull/5609 Signed-off-by: Sven Wegener --- net-dns/pdns/pdns-4.0.2.ebuild | 5 +++-- net-dns/pdns/pdns-4.0.3-r3.ebuild | 5 +++-- net-dns/pdns/pdns-4.0.3.ebuild | 5 +++-- net-dns/pdns/pdns-4.0.4.ebuild | 5 +++-- net-dns/pdns/pdns-4.1.0_rc1.ebuild | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/net-dns/pdns/pdns-4.0.2.ebuild b/net-dns/pdns/pdns-4.0.2.ebuild index 1667ccf8b377..99bcbba8399b 100644 --- a/net-dns/pdns/pdns-4.0.2.ebuild +++ b/net-dns/pdns/pdns-4.0.2.ebuild @@ -18,12 +18,13 @@ KEYWORDS="amd64 x86" # oracle: dito (need Oracle Client Libraries) # xdb: (almost) dead, surely not supported -IUSE="botan debug doc geoip ldap lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" +IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" RDEPEND=" - dev-libs/openssl:= + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:= ) >=dev-libs/boost-1.35:= botan? ( =dev-libs/botan-1.10*[threads] ) lua? ( dev-lang/lua:= ) diff --git a/net-dns/pdns/pdns-4.0.3-r3.ebuild b/net-dns/pdns/pdns-4.0.3-r3.ebuild index f68b555fb8d9..2ba5df54f29e 100644 --- a/net-dns/pdns/pdns-4.0.3-r3.ebuild +++ b/net-dns/pdns/pdns-4.0.3-r3.ebuild @@ -18,12 +18,13 @@ KEYWORDS="~amd64 ~x86" # oracle: dito (need Oracle Client Libraries) # xdb: (almost) dead, surely not supported -IUSE="botan debug doc geoip ldap lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" +IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" RDEPEND=" - dev-libs/openssl:= + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:= ) >=dev-libs/boost-1.35:= botan? ( =dev-libs/botan-1.10*[threads] ) lua? ( dev-lang/lua:= ) diff --git a/net-dns/pdns/pdns-4.0.3.ebuild b/net-dns/pdns/pdns-4.0.3.ebuild index 53faa0c23cfc..c7455c660e77 100644 --- a/net-dns/pdns/pdns-4.0.3.ebuild +++ b/net-dns/pdns/pdns-4.0.3.ebuild @@ -18,12 +18,13 @@ KEYWORDS="~amd64 ~x86" # oracle: dito (need Oracle Client Libraries) # xdb: (almost) dead, surely not supported -IUSE="botan debug doc geoip ldap lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" +IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" RDEPEND=" - dev-libs/openssl:= + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:= ) >=dev-libs/boost-1.35:= botan? ( =dev-libs/botan-1.10*[threads] ) lua? ( dev-lang/lua:= ) diff --git a/net-dns/pdns/pdns-4.0.4.ebuild b/net-dns/pdns/pdns-4.0.4.ebuild index f68b555fb8d9..2ba5df54f29e 100644 --- a/net-dns/pdns/pdns-4.0.4.ebuild +++ b/net-dns/pdns/pdns-4.0.4.ebuild @@ -18,12 +18,13 @@ KEYWORDS="~amd64 ~x86" # oracle: dito (need Oracle Client Libraries) # xdb: (almost) dead, surely not supported -IUSE="botan debug doc geoip ldap lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" +IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" RDEPEND=" - dev-libs/openssl:= + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:= ) >=dev-libs/boost-1.35:= botan? ( =dev-libs/botan-1.10*[threads] ) lua? ( dev-lang/lua:= ) diff --git a/net-dns/pdns/pdns-4.1.0_rc1.ebuild b/net-dns/pdns/pdns-4.1.0_rc1.ebuild index bd6ec7e3d59c..95b9943f9c63 100644 --- a/net-dns/pdns/pdns-4.1.0_rc1.ebuild +++ b/net-dns/pdns/pdns-4.1.0_rc1.ebuild @@ -18,12 +18,13 @@ KEYWORDS="~amd64 ~x86" # oracle: dito (need Oracle Client Libraries) # xdb: (almost) dead, surely not supported -IUSE="botan debug doc geoip ldap lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" +IUSE="botan debug doc geoip ldap libressl lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" RDEPEND=" - dev-libs/openssl:= + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:= ) >=dev-libs/boost-1.35:= botan? ( =dev-libs/botan-1.10*[threads] ) lua? ( dev-lang/lua:= ) -- 2.26.2