dns/powerdns-recursor: update to 4.8.0

ChangeLog:
https://blog.powerdns.com/2022/12/12/powerdns-recursor-4-8-0-released/

PR:		268392
Reported by:	tremere@cainites.net (maintainer)
This commit is contained in:
Ralf van der Enden 2022-12-16 08:41:27 +01:00 committed by Fernando Apesteguía
parent 16b0d602a9
commit 7cd31a5fbb
5 changed files with 28 additions and 6 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= recursor
DISTVERSION= 4.7.4
DISTVERSION= 4.8.0
CATEGORIES= dns
MASTER_SITES= http://downloads.powerdns.com/releases/
PKGNAMEPREFIX= powerdns-

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1669382845
SHA256 (pdns-recursor-4.7.4.tar.bz2) = 17b5c7c881e3f400bb3b527dd866e5cf2cd62d5d33566b1b70b58c608d9968d5
SIZE (pdns-recursor-4.7.4.tar.bz2) = 1609031
TIMESTAMP = 1670850932
SHA256 (pdns-recursor-4.8.0.tar.bz2) = ccb9017a1a788e95e948e7b240ef8db53ae8a507b915f260188ef343f7f68bdc
SIZE (pdns-recursor-4.8.0.tar.bz2) = 1530308

View File

@ -0,0 +1,11 @@
--- pdns_recursor.cc.orig 2022-12-09 10:46:42 UTC
+++ pdns_recursor.cc
@@ -2517,7 +2517,7 @@ void makeUDPServerSockets(deferredAdd_t& deferredAdds,
if (g_reusePort) {
#if defined(SO_REUSEPORT_LB)
try {
- SSetsockopt(fd, SOL_SOCKET, SO_REUSEPORT_LB, 1);
+ SSetsockopt(socketFd, SOL_SOCKET, SO_REUSEPORT_LB, 1);
}
catch (const std::exception& e) {
throw PDNSException(std::string("SO_REUSEPORT_LB: ") + e.what());

View File

@ -1,6 +1,6 @@
--- rec-main.cc.orig 2022-05-29 14:07:40 UTC
--- rec-main.cc.orig 2022-12-09 10:46:42 UTC
+++ rec-main.cc
@@ -2309,13 +2309,13 @@ int main(int argc, char** argv)
@@ -2609,13 +2609,13 @@ int main(int argc, char** argv)
SYSTEMD_SETID_MSG
#endif
)

View File

@ -0,0 +1,11 @@
--- rec-tcp.cc.orig 2022-12-09 10:46:42 UTC
+++ rec-tcp.cc
@@ -1067,7 +1067,7 @@ void makeTCPServerSockets(deferredAdd_t& deferredAdds,
if (g_reusePort) {
#if defined(SO_REUSEPORT_LB)
try {
- SSetsockopt(fd, SOL_SOCKET, SO_REUSEPORT_LB, 1);
+ SSetsockopt(socketFd, SOL_SOCKET, SO_REUSEPORT_LB, 1);
}
catch (const std::exception& e) {
throw PDNSException(std::string("SO_REUSEPORT_LB: ") + e.what());