[packages/pdns] - up to 5.0.1
baggins
baggins at pld-linux.org
Fri Dec 5 01:05:49 CET 2025
commit 7456ead45fffb0c5182baccf815becba010c3798
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Dec 5 03:05:40 2025 +0100
- up to 5.0.1
gcc11.patch | 18 ------------------
pdns-boost.patch | 42 ------------------------------------------
pdns-openldap-2.3.patch | 12 ------------
pdns.spec | 20 +++++---------------
4 files changed, 5 insertions(+), 87 deletions(-)
---
diff --git a/pdns.spec b/pdns.spec
index 379ee3c..257fb05 100644
--- a/pdns.spec
+++ b/pdns.spec
@@ -5,21 +5,18 @@
Summary: PowerDNS - a Versatile Database Driven Nameserver
Summary(pl.UTF-8): PowerDNS - wielofunkcyjny serwer nazw korzystający z relacyjnych baz danych
Name: pdns
-Version: 4.3.2
-Release: 10
+Version: 5.0.1
+Release: 1
License: GPL v2
Group: Networking/Daemons
Source0: https://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: ad4eee6cb66b94b2d23b7a7b0f4cc824
+# Source0-md5: abb1b5dc525ca94edc9d7f6e558c888a
Source1: https://downloads.powerdns.com/documentation/%{name}.pdf
-# Source1-md5: 15bdde9d84af6ef1485dc2f5fa3f81df
+# Source1-md5: 8835511a1478fb372d99688e4195e6f8
Source2: https://downloads.powerdns.com/documentation/%{name}.txt
Source3: %{name}.init
Source4: %{name}.conf
Source5: %{name}.sysconfig
-Patch0: %{name}-boost.patch
-Patch1: %{name}-openldap-2.3.patch
-Patch2: gcc11.patch
URL: https://www.powerdns.com/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.11
@@ -139,9 +136,6 @@ LDAP.
%prep
%setup -q
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
cp -p %{SOURCE1} .
cp -p %{SOURCE2} .
cp -p %{SOURCE4} .
@@ -151,11 +145,7 @@ cp -p %{SOURCE4} .
%endif
%build
-CPPFLAGS="-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=\"\""
-%{__libtoolize}
-%{__aclocal} -I .
-%{__autoconf}
-%{__automake}
+#CPPFLAGS="-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=\"\""
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
--disable-silent-rules \
diff --git a/gcc11.patch b/gcc11.patch
deleted file mode 100644
index 861b74d..0000000
--- a/gcc11.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From 2c010a9f0ff0e292d31b949065e1d5c245dc084e Mon Sep 17 00:00:00 2001
-From: Morten Stevens <mstevens at fedoraproject.org>
-Date: Mon, 21 Dec 2020 12:11:01 +0100
-Subject: [PATCH] Fix missing #include for gcc-11
-
----
- pdns/lua-record.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc
-index 682759432ad..8d51c7937ed 100644
---- a/pdns/lua-record.cc
-+++ b/pdns/lua-record.cc
-@@ -1,3 +1,4 @@
-+#include <thread>
- #include <future>
- #include <mutex>
- #include <boost/format.hpp>
diff --git a/pdns-boost.patch b/pdns-boost.patch
deleted file mode 100644
index e3e7cdc..0000000
--- a/pdns-boost.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- pdns-4.3.0/pdns/webserver.cc.orig 2020-02-25 07:57:13.000000000 +0100
-+++ pdns-4.3.0/pdns/webserver.cc 2020-07-31 22:22:55.140035772 +0200
-@@ -107,7 +107,7 @@
-
- void WebServer::registerBareHandler(const string& url, HandlerFunction handler)
- {
-- YaHTTP::THandlerFunction f = boost::bind(&bareHandlerWrapper, handler, _1, _2);
-+ YaHTTP::THandlerFunction f = boost::bind(&bareHandlerWrapper, handler, boost::placeholders::_1, boost::placeholders::_2);
- YaHTTP::Router::Any(url, f);
- }
-
-@@ -179,7 +179,7 @@
- }
-
- void WebServer::registerApiHandler(const string& url, HandlerFunction handler, bool allowPassword) {
-- HandlerFunction f = boost::bind(&WebServer::apiWrapper, this, handler, _1, _2, allowPassword);
-+ HandlerFunction f = boost::bind(&WebServer::apiWrapper, this, handler, boost::placeholders::_1, boost::placeholders::_2, allowPassword);
- registerBareHandler(url, f);
- }
-
-@@ -196,7 +196,7 @@
- }
-
- void WebServer::registerWebHandler(const string& url, HandlerFunction handler) {
-- HandlerFunction f = boost::bind(&WebServer::webWrapper, this, handler, _1, _2);
-+ HandlerFunction f = boost::bind(&WebServer::webWrapper, this, handler, boost::placeholders::_1, boost::placeholders::_2);
- registerBareHandler(url, f);
- }
-
---- pdns-4.3.0/pdns/ws-auth.cc.orig 2020-03-21 03:38:01.000000000 +0100
-+++ pdns-4.3.0/pdns/ws-auth.cc 2020-07-31 22:32:10.629153686 +0200
-@@ -2328,8 +2328,8 @@
- d_ws->registerApiHandler("/api", &apiDiscovery);
- }
- if (::arg().mustDo("webserver")) {
-- d_ws->registerWebHandler("/style.css", boost::bind(&AuthWebServer::cssfunction, this, _1, _2));
-- d_ws->registerWebHandler("/", boost::bind(&AuthWebServer::indexfunction, this, _1, _2));
-+ d_ws->registerWebHandler("/style.css", boost::bind(&AuthWebServer::cssfunction, this, boost::placeholders::_1, boost::placeholders::_2));
-+ d_ws->registerWebHandler("/", boost::bind(&AuthWebServer::indexfunction, this, boost::placeholders::_1, boost::placeholders::_2));
- }
- d_ws->go();
- }
diff --git a/pdns-openldap-2.3.patch b/pdns-openldap-2.3.patch
deleted file mode 100644
index c942904..0000000
--- a/pdns-openldap-2.3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr pdns-3.0/modules/ldapbackend/powerldap.hh pdns-3.0.new/modules/ldapbackend/powerldap.hh
---- pdns-3.0/modules/ldapbackend/powerldap.hh 2011-07-22 13:23:22.000000000 +0200
-+++ pdns-3.0.new/modules/ldapbackend/powerldap.hh 2011-11-28 11:50:02.192161656 +0100
-@@ -27,6 +27,8 @@
- #include <inttypes.h>
- #include <errno.h>
- #include <lber.h>
-+
-+#define LDAP_DEPRECATED 1
- #include <ldap.h>
-
- using std::list;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pdns.git/commitdiff/7456ead45fffb0c5182baccf815becba010c3798
More information about the pld-cvs-commit
mailing list