commit:     a785c24670fc73413412baf756ac2a5163e78402
Author:     Stijn Tintel <stijn <AT> linux-ipv6 <DOT> be>
AuthorDate: Mon Sep  4 08:32:04 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Mon Sep  4 19:36:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a785c246

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 <stijn <AT> linux-ipv6.be>
Closes: https://github.com/gentoo/gentoo/pull/5609
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 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 1667ccf8b37..99bcbba8399 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 f68b555fb8d..2ba5df54f29 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 53faa0c23cf..c7455c660e7 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 f68b555fb8d..2ba5df54f29 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 bd6ec7e3d59..95b9943f9c6 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:= )

Reply via email to