pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/powerdns-recursor powerdns-recursor: Update to 4.7.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41f2576a1de1
branches:  trunk
changeset: 385974:41f2576a1de1
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 29 12:47:31 2022 +0000

description:
powerdns-recursor: Update to 4.7.3.

The changelogs are very long and unwieldly, even trying to use the raw versions
as they're written in RST, so please see the following URLs for the full list
of changes (which are very many) since 4.4.2:

  https://doc.powerdns.com/recursor/changelog/4.7.html
  https://doc.powerdns.com/recursor/changelog/4.6.html
  https://doc.powerdns.com/recursor/changelog/4.5.html
  https://doc.powerdns.com/recursor/changelog/4.4.html

diffstat:

 net/powerdns-recursor/Makefile                      |   4 +-
 net/powerdns-recursor/distinfo                      |  12 +++---
 net/powerdns-recursor/patches/patch-iputils.cc      |  28 ----------------
 net/powerdns-recursor/patches/patch-portsmplexer.cc |  36 +++++++++++++++++++++
 net/powerdns-recursor/patches/patch-qtype.hh        |   6 +-
 5 files changed, 47 insertions(+), 39 deletions(-)

diffs (122 lines):

diff -r 82e7c64b7ba4 -r 41f2576a1de1 net/powerdns-recursor/Makefile
--- a/net/powerdns-recursor/Makefile    Thu Sep 29 10:49:10 2022 +0000
+++ b/net/powerdns-recursor/Makefile    Thu Sep 29 12:47:31 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2021/09/10 11:00:27 nia Exp $
+# $NetBSD: Makefile,v 1.43 2022/09/29 12:47:31 jperkin Exp $
 
-DISTNAME=      pdns-recursor-4.4.2
+DISTNAME=      pdns-recursor-4.7.3
 PKGNAME=       ${DISTNAME:S/pdns/powerdns/}
 CATEGORIES=    net
 MASTER_SITES=  http://downloads.powerdns.com/releases/
diff -r 82e7c64b7ba4 -r 41f2576a1de1 net/powerdns-recursor/distinfo
--- a/net/powerdns-recursor/distinfo    Thu Sep 29 10:49:10 2022 +0000
+++ b/net/powerdns-recursor/distinfo    Thu Sep 29 12:47:31 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.39 2021/10/26 11:06:31 nia Exp $
+$NetBSD: distinfo,v 1.40 2022/09/29 12:47:31 jperkin Exp $
 
-BLAKE2s (pdns-recursor-4.4.2.tar.bz2) = 00e93a1ee53a5d7035fad9452df3912a05edc4472319425ada13e83828cdeac5
-SHA512 (pdns-recursor-4.4.2.tar.bz2) = 31fdf62d87e5ee8f9570c6b738339bc8cc65c43800f18c7fb49aa5c53fc9ad76a1ddf02cc44f7129e06b41700b5cb3768ff8f81cc521c28147ea6538c73f8781
-Size (pdns-recursor-4.4.2.tar.bz2) = 1396763 bytes
+BLAKE2s (pdns-recursor-4.7.3.tar.bz2) = e5de87edce1ef60555d6c4b3d908cdf25fccb00e7ef6812046ece974e0a51cc9
+SHA512 (pdns-recursor-4.7.3.tar.bz2) = e7d9fa32dd53e9b382689e6e735f35b12dbd9f2bb0e8b3031ab58f53a61b5cdc947cb5e857a991768afd1b403bc02d20d434dded5800be450ad45368c9d1dc0e
+Size (pdns-recursor-4.7.3.tar.bz2) = 1597064 bytes
 SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68
 SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a
-SHA1 (patch-iputils.cc) = a7a25d76293bc2e68efc749c661ae1595167fab7
-SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2
+SHA1 (patch-portsmplexer.cc) = 46d762b82ec2dd0ba67dab744f5f4531f09c6dec
+SHA1 (patch-qtype.hh) = 567c9f36fa0b414e605e6788ba5b7a9f293476a5
 SHA1 (patch-version.cc) = 26226a02198edd9d8890a5199ee5a8051334fe41
diff -r 82e7c64b7ba4 -r 41f2576a1de1 net/powerdns-recursor/patches/patch-iputils.cc
--- a/net/powerdns-recursor/patches/patch-iputils.cc    Thu Sep 29 10:49:10 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-iputils.cc,v 1.3 2020/09/30 11:53:07 otis Exp $
-
-Silence the warning about defined but not used variable on
-apropriate platforms.
-
---- iputils.cc.orig    2020-09-04 17:20:52.000000000 +0000
-+++ iputils.cc
-@@ -322,7 +322,9 @@ size_t sendMsgWithOptions(int fd, const
-   msgh.msg_flags = 0;
- 
-   size_t sent = 0;
-+#ifdef MSG_FASTOPEN
-   bool firstTry = true;
-+#endif
- 
-   do {
- 
-@@ -342,8 +344,10 @@ size_t sendMsgWithOptions(int fd, const
-         return sent;
-       }
- 
-+#ifdef MSG_FASTOPEN
-       /* partial write */
-       firstTry = false;
-+#endif
-       iov.iov_len -= written;
-       iov.iov_base = reinterpret_cast<void*>(reinterpret_cast<char*>(iov.iov_base) + written);
-       written = 0;
diff -r 82e7c64b7ba4 -r 41f2576a1de1 net/powerdns-recursor/patches/patch-portsmplexer.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns-recursor/patches/patch-portsmplexer.cc       Thu Sep 29 12:47:31 2022 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-portsmplexer.cc,v 1.4 2022/09/29 12:47:31 jperkin Exp $
+
+Fix build on SunOS.
+
+--- portsmplexer.cc.orig       2022-09-19 10:31:34.000000000 +0000
++++ portsmplexer.cc
+@@ -39,9 +39,9 @@ private:
+   std::vector<port_event_t> d_pevents;
+ };
+ 
+-static FDMultiplexer* makePorts(unsigned int)
++static FDMultiplexer* makePorts(unsigned int maxEventsHint)
+ {
+-  return new PortsFDMultiplexer();
++  return new PortsFDMultiplexer(maxEventsHint);
+ }
+ 
+ static struct PortsRegisterOurselves
+@@ -94,7 +94,7 @@ void PortsFDMultiplexer::getAvailableFDs
+   timeoutspec.tv_sec = timeout / 1000;
+   timeoutspec.tv_nsec = (timeout % 1000) * 1000000;
+   unsigned int numevents = 1;
+-  int ret = port_getn(d_portfd, d_pevents.data(), min(PORT_MAX_LIST, d_pevents.size()), &numevents, &timeoutspec);
++  int ret = port_getn(d_portfd, d_pevents.data(), min(PORT_MAX_LIST, static_cast<int>(d_pevents.size())), &numevents, &timeoutspec);
+ 
+   /* port_getn has an unusual API - (ret == -1, errno == ETIME) can
+      mean partial success; you must check (*numevents) in this case
+@@ -155,7 +155,7 @@ int PortsFDMultiplexer::run(struct timev
+   timeoutspec.tv_sec = timeout / 1000;
+   timeoutspec.tv_nsec = (timeout % 1000) * 1000000;
+   unsigned int numevents = 1;
+-  int ret = port_getn(d_portfd, d_pevents.data(), min(PORT_MAX_LIST, d_pevents.size()), &numevents, &timeoutspec);
++  int ret = port_getn(d_portfd, d_pevents.data(), min(PORT_MAX_LIST, static_cast<int>(d_pevents.size())), &numevents, &timeoutspec);
+ 
+   /* port_getn has an unusual API - (ret == -1, errno == ETIME) can
+      mean partial success; you must check (*numevents) in this case
diff -r 82e7c64b7ba4 -r 41f2576a1de1 net/powerdns-recursor/patches/patch-qtype.hh
--- a/net/powerdns-recursor/patches/patch-qtype.hh      Thu Sep 29 10:49:10 2022 +0000
+++ b/net/powerdns-recursor/patches/patch-qtype.hh      Thu Sep 29 12:47:31 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-qtype.hh,v 1.1 2017/03/09 13:43:49 fhajny Exp $
+$NetBSD: patch-qtype.hh,v 1.2 2022/09/29 12:47:31 jperkin Exp $
 
 Avoid symbol pollution on SunOS.
 
---- qtype.hh.orig      2017-01-13 08:55:55.000000000 +0000
+--- qtype.hh.orig      2022-09-19 10:31:34.000000000 +0000
 +++ qtype.hh
 @@ -26,6 +26,10 @@
- #include <vector>
+ 
  #include "namespaces.hh"
  
 +#if defined(__sun) && defined(DS)



Home | Main Index | Thread Index | Old Index