net-dns/pdns: add libressl support
authorStijn Tintel <stijn@linux-ipv6.be>
Mon, 4 Sep 2017 08:32:04 +0000 (11:32 +0300)
committerSven Wegener <swegener@gentoo.org>
Mon, 4 Sep 2017 19:36:05 +0000 (19:36 +0000)
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@linux-ipv6.be>
Closes: https://github.com/gentoo/gentoo/pull/5609
Signed-off-by: Sven Wegener <swegener@gentoo.org>
net-dns/pdns/pdns-4.0.2.ebuild
net-dns/pdns/pdns-4.0.3-r3.ebuild
net-dns/pdns/pdns-4.0.3.ebuild
net-dns/pdns/pdns-4.0.4.ebuild
net-dns/pdns/pdns-4.1.0_rc1.ebuild

index 1667ccf8b37754c1d7415e3f485c409e1416c58a..99bcbba8399baceb00e6d130b7bccd20d996357e 100644 (file)
@@ -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:= )
index f68b555fb8d9b3d2159cd17b649af8ef4f19d376..2ba5df54f29e65376cd7dc60416062c89b3483fa 100644 (file)
@@ -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:= )
index 53faa0c23cfc744595bb0380ac37777c4fc5d4d0..c7455c660e775286ad078188b1249e42a7c9e861 100644 (file)
@@ -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:= )
index f68b555fb8d9b3d2159cd17b649af8ef4f19d376..2ba5df54f29e65376cd7dc60416062c89b3483fa 100644 (file)
@@ -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:= )
index bd6ec7e3d59ce06291a4b362a6bbd7ec2ee23593..95b9943f9c6353c501b13bb3dcbb70f50143722a 100644 (file)
@@ -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:= )