aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdns
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2018-11-09 18:33:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-27 14:53:00 +0000
commit943fe828eb474fd0c86ec357c79b053b6b7c469a (patch)
tree4e8f0265e1e55112f820c0a0191f98f8eae87d8a /community/pdns
parent3129d0a08a2bd415128a93ccc283bb8ce591bb5f (diff)
downloadaports-943fe828eb474fd0c86ec357c79b053b6b7c469a.tar.bz2
aports-943fe828eb474fd0c86ec357c79b053b6b7c469a.tar.xz
community/pdns: security upgrade to 4.1.5 - CVE-2018-10851 - CVE-2018-14626
Diffstat (limited to 'community/pdns')
-rw-r--r--community/pdns/APKBUILD11
-rw-r--r--community/pdns/libressl-2.7.patch31
2 files changed, 6 insertions, 36 deletions
diff --git a/community/pdns/APKBUILD b/community/pdns/APKBUILD
index e8e52858b0..0b4bece7b8 100644
--- a/community/pdns/APKBUILD
+++ b/community/pdns/APKBUILD
@@ -5,8 +5,8 @@
# Contributor: Fabian Zoske <fabian@zoske.it>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=pdns
-pkgver=4.1.4
-pkgrel=1
+pkgver=4.1.5
+pkgrel=0
pkgdesc="PowerDNS Authoritative Server"
url="https://www.powerdns.com/"
arch="all"
@@ -36,12 +36,14 @@ subpackages="$pkgname-doc $pkgname-openrc $pkgname-tools
pkgusers="pdns"
pkggroups="pdns"
source="https://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2
- libressl-2.7.patch
$pkgname.initd
$pkgname.conf"
builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
+# 4.1.5-r0:
+# - CVE-2018-10851
+# - CVE-2018-14626
# 4.0.5-r0:
# - CVE-2017-15091
@@ -131,7 +133,6 @@ backend_remote() { _mv_backend remote; }
backend_sqlite3() { _mv_backend gsqlite3 sqlite; }
#backend_tinydns() { _mv_backend tinydns; }
-sha512sums="ae5cd89d039635beddcb9709d0f6b06321a923343900f88e536aac2feb1e08d41b466b6addb2399f50b20d7ac19fcf4c48d47d0d9219367b37b260c40863ad93 pdns-4.1.4.tar.bz2
-ae64f00b346f6996d58f7726a7f43ad76963a66f6ec0f5d1da82c9ab9427d9db85d4ff19a25a534002253ffbc4ec60104374aa6a8589ed9a4456bf0780cf85b4 libressl-2.7.patch
+sha512sums="c5c42975e6402f17b3cdf947a26c944a462d39c23bef44b6f6e823b8c9459be9e8bd750aa0481f9f707eec8b124c4edc4769a6241c75836583ee0bbe111e33e5 pdns-4.1.5.tar.bz2
3f5b202c56408168ddbf81b47f5c48ca65de91ada88751213a06a1096334b89176c5a6a58f3c6a893a2d15b51ece9f2a64d7d2ea836220a3e45fe362969c6cfa pdns.initd
3f809f3257680c3e496fa6a4c86c8a636db5d9d5b92aef96fe54c29b8266ee590deb792d13205cc171e27307fa73295dd3b101b09102fd66a2393a7cdbf9dd27 pdns.conf"
diff --git a/community/pdns/libressl-2.7.patch b/community/pdns/libressl-2.7.patch
deleted file mode 100644
index 61735f4ee1..0000000000
--- a/community/pdns/libressl-2.7.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1648b8ff39c705fdee526cd73bf2652982b80087 Mon Sep 17 00:00:00 2001
-From: Remi Gacogne <remi.gacogne@powerdns.com>
-Date: Sat, 8 Sep 2018 17:15:14 +0200
-Subject: [PATCH] Fix compilation with LibreSSL 2.7.0+
-
----
- pdns/opensslsigners.cc | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/pdns/opensslsigners.cc b/pdns/opensslsigners.cc
-index 6a2e856940..d0a65e6489 100644
---- a/pdns/opensslsigners.cc
-+++ b/pdns/opensslsigners.cc
-@@ -77,6 +77,8 @@ void openssl_thread_cleanup()
- OPENSSL_free(openssllocks);
- }
-
-+#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL
-+/* those symbols are defined in LibreSSL 2.7.0+ */
- /* compat helpers. These DO NOT do any of the checking that the libssl 1.1 functions do. */
- static inline void RSA_get0_key(const RSA* rsakey, const BIGNUM** n, const BIGNUM** e, const BIGNUM** d) {
- *n = rsakey->n;
-@@ -144,6 +146,8 @@ static inline int ECDSA_SIG_set0(ECDSA_SIG* signature, BIGNUM* pr, BIGNUM* ps) {
- }
- #endif /* HAVE_LIBCRYPTO_ECDSA */
-
-+#endif /* !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL */
-+
- #else
- void openssl_thread_setup() {}
- void openssl_thread_cleanup() {}