Skip to content
Snippets Groups Projects
Commit 399adaf7 authored by tcely's avatar tcely :speech_balloon: Committed by Andy Postnikov
Browse files

community/pdns: upgrade to 4.1.4

parent a9fe4f3c
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# Contributor: Fabian Zoske <fabian@zoske.it> # Contributor: Fabian Zoske <fabian@zoske.it>
# Maintainer: Matt Smith <mcs@darkregion.net> # Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=pdns pkgname=pdns
pkgver=4.1.3 pkgver=4.1.4
pkgrel=2 pkgrel=0
pkgdesc="PowerDNS Authoritative Server" pkgdesc="PowerDNS Authoritative Server"
url="https://www.powerdns.com/" url="https://www.powerdns.com/"
arch="all" arch="all"
...@@ -14,7 +14,7 @@ license="GPL-2.0-or-later" ...@@ -14,7 +14,7 @@ license="GPL-2.0-or-later"
depends="" depends=""
depends_dev="" depends_dev=""
makedepends="$depends_dev makedepends="$depends_dev
boost-dev curl file geoip-dev krb5-dev libressl-dev boost-dev curl geoip-dev krb5-dev libressl-dev
libsodium-dev lua-dev mariadb-connector-c-dev openldap-dev libsodium-dev lua-dev mariadb-connector-c-dev openldap-dev
postgresql-dev protobuf-dev sqlite-dev unixodbc-dev postgresql-dev protobuf-dev sqlite-dev unixodbc-dev
yaml-cpp-dev" yaml-cpp-dev"
...@@ -131,7 +131,7 @@ backend_remote() { _mv_backend remote; } ...@@ -131,7 +131,7 @@ backend_remote() { _mv_backend remote; }
backend_sqlite3() { _mv_backend gsqlite3 sqlite; } backend_sqlite3() { _mv_backend gsqlite3 sqlite; }
#backend_tinydns() { _mv_backend tinydns; } #backend_tinydns() { _mv_backend tinydns; }
sha512sums="a5201cf48911188db0c70cb44a27b9a6cebc16f6b740abdadd283dd53feedeed9cfa16ab833b8230f24790f349a0f2ebcca653ca502bb9b2c75d08bd7c60140c pdns-4.1.3.tar.bz2 sha512sums="ae5cd89d039635beddcb9709d0f6b06321a923343900f88e536aac2feb1e08d41b466b6addb2399f50b20d7ac19fcf4c48d47d0d9219367b37b260c40863ad93 pdns-4.1.4.tar.bz2
705fad6a9e7bd342d7f9665c5b3c21d3b919c4a43c5d03fa0d2bf3e25126f1f036edcb0ec66aa0168f6b2e5225c7ac684538cd29bc998245fbb25a57a3c84946 libressl-2.7.patch ae64f00b346f6996d58f7726a7f43ad76963a66f6ec0f5d1da82c9ab9427d9db85d4ff19a25a534002253ffbc4ec60104374aa6a8589ed9a4456bf0780cf85b4 libressl-2.7.patch
3f5b202c56408168ddbf81b47f5c48ca65de91ada88751213a06a1096334b89176c5a6a58f3c6a893a2d15b51ece9f2a64d7d2ea836220a3e45fe362969c6cfa pdns.initd 3f5b202c56408168ddbf81b47f5c48ca65de91ada88751213a06a1096334b89176c5a6a58f3c6a893a2d15b51ece9f2a64d7d2ea836220a3e45fe362969c6cfa pdns.initd
3f809f3257680c3e496fa6a4c86c8a636db5d9d5b92aef96fe54c29b8266ee590deb792d13205cc171e27307fa73295dd3b101b09102fd66a2393a7cdbf9dd27 pdns.conf" 3f809f3257680c3e496fa6a4c86c8a636db5d9d5b92aef96fe54c29b8266ee590deb792d13205cc171e27307fa73295dd3b101b09102fd66a2393a7cdbf9dd27 pdns.conf"
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 diff --git a/pdns/opensslsigners.cc b/pdns/opensslsigners.cc
index 8e3bb54..459939a 100644 index 6a2e856940..d0a65e6489 100644
--- a/pdns/opensslsigners.cc --- a/pdns/opensslsigners.cc
+++ b/pdns/opensslsigners.cc +++ b/pdns/opensslsigners.cc
@@ -33,7 +33,7 @@ @@ -77,6 +77,8 @@ void openssl_thread_cleanup()
#include "opensslsigners.hh" OPENSSL_free(openssllocks);
#include "dnssecinfra.hh" }
-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER) +#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL
+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) +/* those symbols are defined in LibreSSL 2.7.0+ */
/* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ /* compat helpers. These DO NOT do any of the checking that the libssl 1.1 functions do. */
static pthread_mutex_t *openssllocks; 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() {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment