dns/powerdns: update to 5.0.0

PR:	289052
Approved by: Submitter is maintainer
This commit is contained in:
Ralf van der Enden 2025-08-22 15:40:56 +02:00 committed by Matthew Seaman
parent 60bfff75cf
commit 88efdab62e
No known key found for this signature in database
GPG Key ID: A1F1BCBD112C170E
6 changed files with 19 additions and 18 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= powerdns
DISTVERSION= 4.9.8
DISTVERSION= 5.0.0
CATEGORIES= dns
MASTER_SITES= https://downloads.powerdns.com/releases/
DISTNAME= pdns-${DISTVERSION}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1754983765
SHA256 (pdns-4.9.8.tar.bz2) = 180b66ae332d3166968e013bff7cbf6f0c72869d6be697db74a02df3ac6e8a91
SIZE (pdns-4.9.8.tar.bz2) = 1363358
TIMESTAMP = 1755867970
SHA256 (pdns-5.0.0.tar.bz2) = 0dcce355d97a99acefc1d45d63c117d952149867dc7983236f7efc9e041b0a30
SIZE (pdns-5.0.0.tar.bz2) = 1432702

View File

@ -1,4 +1,4 @@
--- m4/pdns_check_libcrypto.m4.orig 2023-06-01 06:54:16 UTC
--- m4/pdns_check_libcrypto.m4.orig 2025-08-22 07:51:37 UTC
+++ m4/pdns_check_libcrypto.m4
@@ -75,8 +75,10 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
for ssldir in $ssldirs; do
@ -12,3 +12,4 @@
+ fi
LIBCRYPTO_LIBS="-lcrypto"
found=true
AC_MSG_RESULT([yes])

View File

@ -1,11 +1,11 @@
--- m4/pdns_with_lua.m4.orig 2020-09-30 10:42:53 UTC
--- m4/pdns_with_lua.m4.orig 2025-09-05 09:28:15 UTC
+++ m4/pdns_with_lua.m4
@@ -41,7 +41,7 @@ AC_DEFUN([PDNS_WITH_LUA],[
], [ : ])
AS_IF([test -z "$LUAPC"], [
found_lua=n
- m4_foreach_w([luapc], [lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua], [
+ m4_foreach_w([luapc], [lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua], [
AS_IF([test "$found_lua" != "y"], [
PKG_CHECK_MODULES([LUA], [luapc >= ${lua_min_version}], [
AC_DEFINE([HAVE_LUA], [1], [Define to 1 if you have lua])
@@ -40,7 +40,7 @@ AC_DEFUN([PDNS_WITH_LUA],[
], [ : ])
AS_IF([test -z "$LUAPC"], [
found_lua=n
- m4_foreach_w([luapc], [lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua], [
+ m4_foreach_w([luapc], [lua5.4 lua5.3 lua-5.4 lua-5.3 lua54 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua], [
AS_IF([test "$found_lua" != "y"], [
PKG_CHECK_MODULES([LUA], [luapc >= ${lua_min_version}], [
AC_DEFINE([HAVE_LUA], [1], [Define to 1 if you have lua])

View File

@ -1,6 +1,6 @@
--- pdns/auth-main.cc.orig 2023-06-01 06:54:16 UTC
--- pdns/auth-main.cc.orig 2025-08-22 07:51:37 UTC
+++ pdns/auth-main.cc
@@ -278,8 +278,8 @@ static void declareArguments()
@@ -282,8 +282,8 @@ static void declareArguments()
::arg().setSwitch("no-shuffle", "Set this to prevent random shuffling of answers - for regression testing") = "off";

View File

@ -26,7 +26,7 @@ pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
required_files=${pdns_conf}
pidfile=/var/run/pdns/${name}.pid
pidfile=/var/run/${name}/${name}.pid
command=%%PREFIX%%/sbin/pdns_server
command_args="${pdns_flags} --daemon --guardian"