git: 90334e079166 - 2023Q1 - dns/powerdns-recursor: Update to PowerDNS Recursor 4.8.2

From: Florian Smeets <flo_at_FreeBSD.org>
Date: Thu, 30 Mar 2023 19:20:57 UTC
The branch 2023Q1 has been updated by flo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90334e079166768b3e7c36807d07ad0e27971d54

commit 90334e079166768b3e7c36807d07ad0e27971d54
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2023-02-02 18:19:14 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2023-03-30 19:10:32 +0000

    dns/powerdns-recursor: Update to PowerDNS Recursor 4.8.2
    
    PR:             269282
    Changelog:      https://doc.powerdns.com/recursor/changelog/4.8.html#change-4.8.2
    (cherry picked from commit 9c698498036a6cc461ac35e35e63601eadd117a4)
---
 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-tcp.cc        | 11 -----------
 4 files changed, 4 insertions(+), 26 deletions(-)

diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index d5a7afacf75f..d616a64df576 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	recursor
-DISTVERSION=	4.8.1
+DISTVERSION=	4.8.2
 CATEGORIES=	dns
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 PKGNAMEPREFIX=	powerdns-
diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo
index 8bd51ba20ea6..c9d6f4d69bc5 100644
--- a/dns/powerdns-recursor/distinfo
+++ b/dns/powerdns-recursor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674231368
-SHA256 (pdns-recursor-4.8.1.tar.bz2) = d7b03447009257e512f01fcc46cbdb9c859b672a1c9b23faf382e870765b0f0d
-SIZE (pdns-recursor-4.8.1.tar.bz2) = 1528477
+TIMESTAMP = 1675159412
+SHA256 (pdns-recursor-4.8.2.tar.bz2) = 4382d3e84f13401685772779dfede6cbc8157ecf6763fa7fdb1dd33ee3f79ac7
+SIZE (pdns-recursor-4.8.2.tar.bz2) = 1532488
diff --git a/dns/powerdns-recursor/files/patch-pdns__recursor.cc b/dns/powerdns-recursor/files/patch-pdns__recursor.cc
deleted file mode 100644
index adf053b5dc48..000000000000
--- a/dns/powerdns-recursor/files/patch-pdns__recursor.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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-tcp.cc b/dns/powerdns-recursor/files/patch-rec-tcp.cc
deleted file mode 100644
index 6af006070116..000000000000
--- a/dns/powerdns-recursor/files/patch-rec-tcp.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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());