pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/powerdns powerdns: Update to 4.6.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b64a81d42552
branches:  trunk
changeset: 385977:b64a81d42552
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 29 13:49:50 2022 +0000

description:
powerdns: Update to 4.6.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 many) since 4.4.1:

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

While here clean up various pkglint warnings.

diffstat:

 net/powerdns/Makefile                            |   3 +--
 net/powerdns/Makefile.backend                    |   3 +--
 net/powerdns/Makefile.common                     |   5 +++--
 net/powerdns/PLIST                               |  11 +++++------
 net/powerdns/distinfo                            |  16 ++++++++--------
 net/powerdns/options.mk                          |  19 +++++++------------
 net/powerdns/patches/patch-configure             |   4 +++-
 net/powerdns/patches/patch-ext_json11_json11.cpp |   8 ++++----
 net/powerdns/patches/patch-pdns_iputils.cc       |  12 +++++++-----
 net/powerdns/patches/patch-pdns_qtype.hh         |   8 ++++----
 10 files changed, 43 insertions(+), 46 deletions(-)

diffs (229 lines):

diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/Makefile
--- a/net/powerdns/Makefile     Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/Makefile     Thu Sep 29 13:49:50 2022 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.66 2022/04/18 19:11:53 adam Exp $
+# $NetBSD: Makefile,v 1.67 2022/09/29 13:49:50 jperkin Exp $
 
-PKGREVISION= 7
 .include "Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/pdns/powerdns/}
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/Makefile.backend
--- a/net/powerdns/Makefile.backend     Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/Makefile.backend     Thu Sep 29 13:49:50 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.backend,v 1.7 2020/03/17 19:04:49 adam Exp $
+# $NetBSD: Makefile.backend,v 1.8 2022/09/29 13:49:50 jperkin Exp $
 # used by net/powerdns-geoip/Makefile
 # used by net/powerdns-ldap/Makefile
 # used by net/powerdns-mysql/Makefile
@@ -19,6 +19,5 @@
 BUILD_DIRS=            modules
 
 # These are required by configure, but not used by the modules
-BUILDLINK_DEPMETHOD.boost-headers=     build
 BUILDLINK_DEPMETHOD.boost-libs=                build
 BUILDLINK_DEPMETHOD.openssl=           build
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/Makefile.common
--- a/net/powerdns/Makefile.common      Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/Makefile.common      Thu Sep 29 13:49:50 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile.common,v 1.34 2021/02/08 13:31:58 otis Exp $
+# $NetBSD: Makefile.common,v 1.35 2022/09/29 13:49:50 jperkin Exp $
+# used by net/powerdns/Makefile.backend
 
-PDNS_VERSION=  4.4.1
+PDNS_VERSION=  4.6.3
 DISTNAME=      pdns-${PDNS_VERSION}
 CATEGORIES=    net
 MASTER_SITES=  http://downloads.powerdns.com/releases/
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/PLIST
--- a/net/powerdns/PLIST        Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/PLIST        Thu Sep 29 13:49:50 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2020/09/24 19:09:53 otis Exp $
+@comment $NetBSD: PLIST,v 1.17 2022/09/29 13:49:50 jperkin Exp $
 ${PLIST.tools}bin/calidns
 ${PLIST.tools}bin/dnsbulktest
 ${PLIST.tools}bin/dnsgram
@@ -23,7 +23,6 @@
 ${PLIST.bind}lib/pdns/libbindbackend.la
 ${PLIST.sqlite}lib/pdns/libgsqlite3backend.la
 ${PLIST.pipe}lib/pdns/libpipebackend.la
-${PLIST.random}lib/pdns/librandombackend.la
 ${PLIST.remote}lib/pdns/libremotebackend.la
 ${PLIST.tools}man/man1/calidns.1
 man/man1/dnsbulktest.1
@@ -47,12 +46,12 @@
 man/man1/zone2json.1
 man/man1/zone2sql.1
 sbin/pdns_server
+${PLIST.sqlite}share/doc/pdns/3.4.0_to_4.0.0_schema.sqlite3.sql
+${PLIST.sqlite}share/doc/pdns/4.0.0_to_4.2.0_schema.sqlite3.sql
+${PLIST.sqlite}share/doc/pdns/4.2.0_to_4.3.0_schema.sqlite3.sql
+${PLIST.sqlite}share/doc/pdns/4.3.0_to_4.3.1_schema.sqlite3.sql
 share/doc/pdns/bind-dnssec.4.2.0_to_4.3.0_schema.sqlite3.sql
 share/doc/pdns/bind-dnssec.schema.sqlite3.sql
-${PLIST.sqlite}share/doc/pdns/4.3.0_to_4.3.1_schema.sqlite3.sql
-${PLIST.sqlite}share/doc/pdns/4.2.0_to_4.3.0_schema.sqlite3.sql
-${PLIST.sqlite}share/doc/pdns/3.4.0_to_4.0.0_schema.sqlite3.sql
-${PLIST.sqlite}share/doc/pdns/4.0.0_to_4.2.0_schema.sqlite3.sql
 ${PLIST.sqlite}share/doc/pdns/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
 ${PLIST.sqlite}share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
 ${PLIST.sqlite}share/doc/pdns/schema.sqlite3.sql
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/distinfo
--- a/net/powerdns/distinfo     Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/distinfo     Thu Sep 29 13:49:50 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.46 2021/10/26 11:06:31 nia Exp $
+$NetBSD: distinfo,v 1.47 2022/09/29 13:49:50 jperkin Exp $
 
-BLAKE2s (pdns-4.4.1.tar.bz2) = 27ea63c252535fef1c0810f6fe4f717c56f1d3d434ba01860d580e6fef8764f8
-SHA512 (pdns-4.4.1.tar.bz2) = a6f31972f77ded8ecfb523e8810dd90e5b7aa628746fee2a9a0daae2a7935800f111ce8617ffd71d5ce3881947d4ffc36c9cb37996a7bcc514536bb4abe1f79e
-Size (pdns-4.4.1.tar.bz2) = 1276990 bytes
-SHA1 (patch-configure) = 691b4f804f9e72eb18ec895a7b0e685789c78034
-SHA1 (patch-ext_json11_json11.cpp) = a8ffe67156a836841aef8a6bba134a82283f381e
+BLAKE2s (pdns-4.6.3.tar.bz2) = 3eaac487fc3f1ea86da62427b62498a38c96eb4be26fbd913fc22fab6b816dcb
+SHA512 (pdns-4.6.3.tar.bz2) = ea44a0c929e36bf9002d8db7bf1e06ec372a08b31b60c74bbc3ea5600073fb745151f33798a0a4bd151ce17ad7efb07be30f7ddcf620d5bdaab6de4f37f4296f
+Size (pdns-4.6.3.tar.bz2) = 1302651 bytes
+SHA1 (patch-configure) = 2635c2e5c22c419850703e3f5e5ed73ed116c339
+SHA1 (patch-ext_json11_json11.cpp) = 3f8f4518ebd807a064e83572385ea5456fc7e81f
 SHA1 (patch-pdns_dnsscope.cc) = b289b750686b25041c3e291fb0d3d562beb36eaf
-SHA1 (patch-pdns_iputils.cc) = fbd3bb210216bb98c3cd73b702b6dea486c51dec
-SHA1 (patch-pdns_qtype.hh) = 0f8bca4c0cafea9a5257a08077fa42b4c52127f5
+SHA1 (patch-pdns_iputils.cc) = 06b58c59034454b2c6788f28d412215ca801c5cf
+SHA1 (patch-pdns_qtype.hh) = 7bf40a1ace0525c6611967985fe45951eb57957e
 SHA1 (patch-pdns_version.cc) = 25917c329dafa34e657fa31c7a9abd99110bb4b0
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/options.mk
--- a/net/powerdns/options.mk   Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/options.mk   Thu Sep 29 13:49:50 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.9 2022/04/01 08:07:28 wiz Exp $
+# $NetBSD: options.mk,v 1.10 2022/09/29 13:49:50 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.powerdns
-PKG_SUPPORTED_OPTIONS= bind botan luarecords pipe random remote sqlite tools zeromq
-PKG_SUGGESTED_OPTIONS= bind luarecords pipe random
+PKG_SUPPORTED_OPTIONS= bind botan luarecords pipe remote sqlite tools zeromq
+PKG_SUGGESTED_OPTIONS= bind luarecords pipe
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=           bind luarecords pipe random remote sqlite tools
+PLIST_VARS+=           bind pipe remote sqlite tools
 
 .if !empty(PKG_OPTIONS:Mbind)
 PDNS_MODULES+=         bind
@@ -29,11 +29,6 @@
 PDNS_MODULES+=         pipe
 .endif
 
-.if !empty(PKG_OPTIONS:Mrandom)
-PLIST.random=          yes
-PDNS_MODULES+=         random
-.endif
-
 .if !empty(PKG_OPTIONS:Mremote)
 PLIST.remote=          yes
 PDNS_MODULES+=         remote
@@ -51,11 +46,11 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mzeromq)
-.  if empty(PKG_OPTIONS:Mremote)
-PKG_FAIL_REASON+=      "The 'zeromq' option requires the 'remote' option enabled."
-.  else
+.  if !empty(PKG_OPTIONS:Mremote)
 CONFIGURE_ARGS+=       --enable-remotebackend-zeromq=yes
 .include "../../net/zeromq/buildlink3.mk"
+.  else
+PKG_FAIL_REASON+=      "The 'zeromq' option requires the 'remote' option enabled."
 .  endif
 .else
 CONFIGURE_ARGS+=       --enable-remotebackend-zeromq=no
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/patches/patch-configure
--- a/net/powerdns/patches/patch-configure      Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/patches/patch-configure      Thu Sep 29 13:49:50 2022 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-configure,v 1.11 2020/12/21 00:26:51 otis Exp $
+$NetBSD: patch-configure,v 1.12 2022/09/29 13:49:50 jperkin Exp $
+
+Shell portability.
 
 --- configure.orig     2020-12-17 14:49:10.000000000 +0000
 +++ configure
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/patches/patch-ext_json11_json11.cpp
--- a/net/powerdns/patches/patch-ext_json11_json11.cpp  Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/patches/patch-ext_json11_json11.cpp  Thu Sep 29 13:49:50 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-ext_json11_json11.cpp,v 1.1 2017/03/24 15:14:14 joerg Exp $
+$NetBSD: patch-ext_json11_json11.cpp,v 1.2 2022/09/29 13:49:50 jperkin Exp $
 
 Clang rejects ordering relations for nullptr, so introduce a template
 indirection.
 
---- ext/json11/json11.cpp.orig 2017-03-24 11:51:24.440658307 +0000
+--- ext/json11/json11.cpp.orig 2020-09-29 15:26:41.000000000 +0000
 +++ ext/json11/json11.cpp
-@@ -132,6 +133,13 @@ void Json::dump(string &out) const {
+@@ -146,6 +146,13 @@ void Json::dump(string &out) const {
   * Value wrappers
   */
  
@@ -19,7 +19,7 @@
  template <Json::Type tag, typename T>
  class Value : public JsonValue {
  protected:
-@@ -150,7 +158,7 @@ protected:
+@@ -164,7 +171,7 @@ protected:
          return m_value == static_cast<const Value<tag, T> *>(other)->m_value;
      }
      bool less(const JsonValue * other) const override {
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/patches/patch-pdns_iputils.cc
--- a/net/powerdns/patches/patch-pdns_iputils.cc        Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/patches/patch-pdns_iputils.cc        Thu Sep 29 13:49:50 2022 +0000
@@ -1,9 +1,11 @@
-$NetBSD: patch-pdns_iputils.cc,v 1.1 2018/04/01 20:28:21 joerg Exp $
+$NetBSD: patch-pdns_iputils.cc,v 1.2 2022/09/29 13:49:50 jperkin Exp $
+
+Fix build on NetBSD?
 
---- pdns/iputils.cc.orig       2018-04-01 17:24:16.523211468 +0000
+--- pdns/iputils.cc.orig       2022-07-11 13:54:25.000000000 +0000
 +++ pdns/iputils.cc
-@@ -150,14 +150,14 @@ bool HarvestDestinationAddress(const str
-   for (cmsg = CMSG_FIRSTHDR(msgh); cmsg != NULL; cmsg = CMSG_NXTHDR(const_cast<struct msghdr*>(msgh), const_cast<struct cmsghdr*>(cmsg))) {
+@@ -228,14 +228,14 @@ bool HarvestDestinationAddress(const str
+   for (cmsg = CMSG_FIRSTHDR(msgh); cmsg != nullptr; cmsg = CMSG_NXTHDR(const_cast<struct msghdr*>(msgh), const_cast<struct cmsghdr*>(cmsg))) {
  #if defined(IP_PKTINFO)
       if ((cmsg->cmsg_level == IPPROTO_IP) && (cmsg->cmsg_type == IP_PKTINFO)) {
 -        struct in_pktinfo *i = (struct in_pktinfo *) CMSG_DATA(cmsg);
@@ -19,7 +21,7 @@
        destination->sin4.sin_addr = *i;
        destination->sin4.sin_family = AF_INET;      
        return true;
-@@ -165,7 +165,7 @@ bool HarvestDestinationAddress(const str
+@@ -243,7 +243,7 @@ bool HarvestDestinationAddress(const str
  #endif
  
      if ((cmsg->cmsg_level == IPPROTO_IPV6) && (cmsg->cmsg_type == IPV6_PKTINFO)) {
diff -r b1f99a657a1c -r b64a81d42552 net/powerdns/patches/patch-pdns_qtype.hh
--- a/net/powerdns/patches/patch-pdns_qtype.hh  Thu Sep 29 12:49:32 2022 +0000
+++ b/net/powerdns/patches/patch-pdns_qtype.hh  Thu Sep 29 13:49:50 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-pdns_qtype.hh,v 1.1 2017/03/09 13:32:54 fhajny Exp $
+$NetBSD: patch-pdns_qtype.hh,v 1.2 2022/09/29 13:49:50 jperkin Exp $
 
 Avoid symbol pollution on SunOS.
 
---- pdns/qtype.hh.orig 2017-01-17 08:43:49.000000000 +0000
+--- pdns/qtype.hh.orig 2022-07-11 13:54:25.000000000 +0000
 +++ pdns/qtype.hh
-@@ -26,6 +26,10 @@
- #include <vector>
+@@ -22,6 +22,10 @@
+ #pragma once
  #include "namespaces.hh"
  
 +#if defined(__sun) && defined(DS)



Home | Main Index | Thread Index | Old Index