git: 7cd31a5fbbf3 - main - dns/powerdns-recursor: update to 4.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Dec 2022 16:19:33 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=7cd31a5fbbf32bbf0efa2c9a7646e26b644047a5 commit 7cd31a5fbbf32bbf0efa2c9a7646e26b644047a5 Author: Ralf van der Enden <tremere@cainites.net> AuthorDate: 2022-12-16 07:41:27 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-12-16 16:15:29 +0000 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) --- dns/powerdns-recursor/Makefile | 2 +- dns/powerdns-recursor/distinfo | 6 +++--- dns/powerdns-recursor/files/patch-pdns__recursor.cc | 11 +++++++++++ dns/powerdns-recursor/files/patch-rec-main.cc | 4 ++-- dns/powerdns-recursor/files/patch-rec-tcp.cc | 11 +++++++++++ 5 files changed, 28 insertions(+), 6 deletions(-) diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index 4070a7704a8a..28ded2035f22 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -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- diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo index 6d7b85381a2b..1b009931ff81 100644 --- a/dns/powerdns-recursor/distinfo +++ b/dns/powerdns-recursor/distinfo @@ -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 diff --git a/dns/powerdns-recursor/files/patch-pdns__recursor.cc b/dns/powerdns-recursor/files/patch-pdns__recursor.cc new file mode 100644 index 000000000000..adf053b5dc48 --- /dev/null +++ b/dns/powerdns-recursor/files/patch-pdns__recursor.cc @@ -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()); diff --git a/dns/powerdns-recursor/files/patch-rec-main.cc b/dns/powerdns-recursor/files/patch-rec-main.cc index c6e7894e1e9a..d233469daf42 100644 --- a/dns/powerdns-recursor/files/patch-rec-main.cc +++ b/dns/powerdns-recursor/files/patch-rec-main.cc @@ -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 ) diff --git a/dns/powerdns-recursor/files/patch-rec-tcp.cc b/dns/powerdns-recursor/files/patch-rec-tcp.cc new file mode 100644 index 000000000000..6af006070116 --- /dev/null +++ b/dns/powerdns-recursor/files/patch-rec-tcp.cc @@ -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());