aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdns-recursor
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-05 08:31:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-06 05:19:27 +0000
commitc841cf3b79ba701cc99a6f3b3fed37278e00606c (patch)
tree3b6ab1fb9a71be06dc41d1e3af8a42694c7f4905 /community/pdns-recursor
parentca5d32d0dbdb5574c34ed7f5eed11ab73b913be0 (diff)
downloadaports-c841cf3b79ba701cc99a6f3b3fed37278e00606c.tar.bz2
aports-c841cf3b79ba701cc99a6f3b3fed37278e00606c.tar.xz
community/pdns-recursor: rebuild against libressl-2.7
Diffstat (limited to 'community/pdns-recursor')
-rw-r--r--community/pdns-recursor/APKBUILD4
-rw-r--r--community/pdns-recursor/libressl-2.7.patch13
2 files changed, 16 insertions, 1 deletions
diff --git a/community/pdns-recursor/APKBUILD b/community/pdns-recursor/APKBUILD
index 2eed672ce8..6df3d0e4eb 100644
--- a/community/pdns-recursor/APKBUILD
+++ b/community/pdns-recursor/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Olivier Mauras <olivier@mauras.ch>
pkgname=pdns-recursor
pkgver=4.1.2
-pkgrel=0
+pkgrel=1
pkgdesc="PowerDNS Recursive Server"
url="https://www.powerdns.com/"
arch="all !s390x"
@@ -14,6 +14,7 @@ subpackages="$pkgname-doc"
pkgusers="recursor"
pkggroups="recursor"
source="http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2
+ libressl-2.7.patch
pdns-recursor.initd
recursor.conf
"
@@ -61,5 +62,6 @@ package() {
}
sha512sums="eaf28ce424f1367e548cb78c09de9d39154dddd87e2f19ed238197b6304b20bd9fef599d7df44ca128d89d8cd04d3b7fdd455241bb34ecd688c8042a020c4a36 pdns-recursor-4.1.2.tar.bz2
+2846854b74bcc1149e18aa5ff17d1c0548790a5eaf87a7194b89a1063c6783708bfa109e8edf9c2b430fbd90445bee7f80137601babab8766be106bcad700cf3 libressl-2.7.patch
f23cb30d943e0b0aea09371dc57aa43e55b8f91062a3caa3fac17e3565a8e36dfd304f45eba588f625ca2337cd2ade450ea5ae1776872c006204cdaf912f6651 pdns-recursor.initd
954df537693a202fc195e751011bbfaa605b3f3df42ac386fa82eb809b73c2b987f5e418b5c96bb3b0669497426ce0daa39a719844701e06990b82843a4cf0d4 recursor.conf"
diff --git a/community/pdns-recursor/libressl-2.7.patch b/community/pdns-recursor/libressl-2.7.patch
new file mode 100644
index 0000000000..f21249e103
--- /dev/null
+++ b/community/pdns-recursor/libressl-2.7.patch
@@ -0,0 +1,13 @@
+diff --git a/pdns/opensslsigners.cc b/pdns/opensslsigners.cc
+index 8e3bb54..459939a 100644
+--- a/opensslsigners.cc
++++ b/opensslsigners.cc
+@@ -33,7 +33,7 @@
+ #include "opensslsigners.hh"
+ #include "dnssecinfra.hh"
+
+-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER < 0x1010000fL)
+ /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */
+ static pthread_mutex_t *openssllocks;
+