pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Mar 17 19:04:50 UTC 2020

Modified Files:
        pkgsrc/net/powerdns: Makefile Makefile.backend Makefile.common PLIST
            distinfo options.mk
        pkgsrc/net/powerdns-ldap: Makefile
        pkgsrc/net/powerdns-mysql: PLIST
        pkgsrc/net/powerdns-odbc: PLIST
        pkgsrc/net/powerdns-pgsql: PLIST
        pkgsrc/net/powerdns/patches: patch-configure patch-pdns_version.cc
Removed Files:
        pkgsrc/net/powerdns/patches: patch-m4_pdns__check__os.m4
            patch-pdns_dns.hh

Log Message:
powerdns: updated to 4.2.1

4.2.1
This release fixes several bugs and makes a few features more robust or intuitive. It also contains a few performance improvements for API users.

New Features
Add SLAVE-RENOTIFY zone metadata support
Add configurable timeout for inbound AXFR
Add CentOS 8 as builder target
gmysql backend, add an option to send the SSL capability flag

Improvements
API: reduce number of database connections
Register a few known RR types and remove an unknown one
bindbackend: use metadata for also-notifies as well
pdnsutil increase-serial: under SOA-EDIT=INCEPTION-EPOCH, bump as if it is EPOCH
API: optionally do not return dnssec info in domain list
Basic validation of $GENERATE parameters

Bug Fixes
LUA view: do not crash on empty IP list
API: Accept headers without spaces
Avoid database state-related SERVFAILs after a LUA error
Just before 4.2.0, some SQL-related fixes broke edit-zone and other features with the LMDB backend. This has been fixed now.
rfc2136, pdnsutil: somewhat improve duplicate record handling

4.2.0
Compared to the last release candidate, one more bug has been fixed.

The LMDB backend is incomplete in this version. Slaving zones works, loading zones with pdnsutil works, but more fine grained edits (using edit-zone, or the REST API) fail. We hope to fix this soon 
in a 4.2.x release.

For an overview of features new since 4.1.x, please see the 4.2.0 announcement blog post.

Bug Fixes
bind getAllDomains: ignore per-zone exceptions


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/powerdns/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/powerdns/Makefile.backend \
    pkgsrc/net/powerdns/options.mk
cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/powerdns/Makefile.common
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/powerdns/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/net/powerdns/distinfo
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/powerdns-ldap/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/powerdns-mysql/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/powerdns-odbc/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/powerdns-pgsql/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/powerdns/patches/patch-configure
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/net/powerdns/patches/patch-m4_pdns__check__os.m4
cvs rdiff -u -r1.5 -r0 pkgsrc/net/powerdns/patches/patch-pdns_dns.hh
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/powerdns/patches/patch-pdns_version.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/powerdns/Makefile
diff -u pkgsrc/net/powerdns/Makefile:1.48 pkgsrc/net/powerdns/Makefile:1.49
--- pkgsrc/net/powerdns/Makefile:1.48   Sat Jan 18 21:50:23 2020
+++ pkgsrc/net/powerdns/Makefile        Tue Mar 17 19:04:49 2020
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.48 2020/01/18 21:50:23 jperkin Exp $
+# $NetBSD: Makefile,v 1.49 2020/03/17 19:04:49 adam Exp $
 
-PKGREVISION= 4
 .include "Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/pdns/powerdns/}

Index: pkgsrc/net/powerdns/Makefile.backend
diff -u pkgsrc/net/powerdns/Makefile.backend:1.6 pkgsrc/net/powerdns/Makefile.backend:1.7
--- pkgsrc/net/powerdns/Makefile.backend:1.6    Thu Mar  9 13:52:34 2017
+++ pkgsrc/net/powerdns/Makefile.backend        Tue Mar 17 19:04:49 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.backend,v 1.6 2017/03/09 13:52:34 fhajny Exp $
+# $NetBSD: Makefile.backend,v 1.7 2020/03/17 19:04:49 adam Exp $
 # used by net/powerdns-geoip/Makefile
 # used by net/powerdns-ldap/Makefile
 # used by net/powerdns-mysql/Makefile
@@ -12,6 +12,7 @@ DEPENDS+=             powerdns>=${PDNS_VERSION}:../
 DISTINFO_FILE=         ${.CURDIR}/../../net/powerdns/distinfo
 PATCHDIR=              ${.CURDIR}/../../net/powerdns/patches
 
+CONFIGURE_ARGS+=       --disable-lua-records
 CONFIGURE_ARGS+=       --disable-pdns_server
 CONFIGURE_ARGS+=       --with-modules=""
 
Index: pkgsrc/net/powerdns/options.mk
diff -u pkgsrc/net/powerdns/options.mk:1.6 pkgsrc/net/powerdns/options.mk:1.7
--- pkgsrc/net/powerdns/options.mk:1.6  Tue Jan  2 12:18:15 2018
+++ pkgsrc/net/powerdns/options.mk      Tue Mar 17 19:04:49 2020
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.6 2018/01/02 12:18:15 fhajny Exp $
+# $NetBSD: options.mk,v 1.7 2020/03/17 19:04:49 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.powerdns
-PKG_SUPPORTED_OPTIONS= bind botan pipe random remote sqlite tools zeromq
+PKG_SUPPORTED_OPTIONS= bind botan lua pipe random remote sqlite tools zeromq
 PKG_SUGGESTED_OPTIONS= bind pipe random
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=           bind pipe random remote sqlite tools
+PLIST_VARS+=           bind lua pipe random remote sqlite tools
 
 .if !empty(PKG_OPTIONS:Mbind)
 PDNS_MODULES+=         bind
@@ -18,6 +18,16 @@ PLIST.bind=          yes
 .include "../../security/botan-devel/buildlink3.mk"
 .endif
 
+.if !empty(PKG_OPTIONS:Mlua)
+.include "../../lang/lua/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+PLIST.lua=             yes
+PDNS_MODULES+=         lua
+.else
+CONFIGURE_ARGS+=       --disable-lua-records
+CONFIGURE_ARGS+=       --without-lua
+.endif
+
 .if !empty(PKG_OPTIONS:Mpipe)
 PLIST.pipe=            yes
 PDNS_MODULES+=         pipe

Index: pkgsrc/net/powerdns/Makefile.common
diff -u pkgsrc/net/powerdns/Makefile.common:1.27 pkgsrc/net/powerdns/Makefile.common:1.28
--- pkgsrc/net/powerdns/Makefile.common:1.27    Thu Apr 25 18:42:41 2019
+++ pkgsrc/net/powerdns/Makefile.common Tue Mar 17 19:04:49 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.common,v 1.27 2019/04/25 18:42:41 adam Exp $
+# $NetBSD: Makefile.common,v 1.28 2020/03/17 19:04:49 adam Exp $
 
-PDNS_VERSION=  4.1.8
+PDNS_VERSION=  4.2.1
 DISTNAME=      pdns-${PDNS_VERSION}
 CATEGORIES=    net
 MASTER_SITES=  http://downloads.powerdns.com/releases/
@@ -17,7 +17,6 @@ USE_LIBTOOL=          yes
 USE_TOOLS+=            bison flex gmake pkg-config
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-boost=${BUILDLINK_PREFIX.boost-headers}
-CONFIGURE_ARGS+=       --without-lua
 
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"

Index: pkgsrc/net/powerdns/PLIST
diff -u pkgsrc/net/powerdns/PLIST:1.12 pkgsrc/net/powerdns/PLIST:1.13
--- pkgsrc/net/powerdns/PLIST:1.12      Thu Apr 25 18:42:41 2019
+++ pkgsrc/net/powerdns/PLIST   Tue Mar 17 19:04:49 2020
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.12 2019/04/25 18:42:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2020/03/17 19:04:49 adam Exp $
 ${PLIST.tools}bin/calidns
 ${PLIST.tools}bin/dnsbulktest
 ${PLIST.tools}bin/dnsgram
+bin/dnspcap2calidns
 ${PLIST.tools}bin/dnsreplay
 ${PLIST.tools}bin/dnsscan
 ${PLIST.tools}bin/dnsscope
@@ -21,12 +22,14 @@ bin/zone2json
 bin/zone2sql
 ${PLIST.bind}lib/pdns/libbindbackend.la
 ${PLIST.sqlite}lib/pdns/libgsqlite3backend.la
+${PLIST.lua}lib/pdns/libluabackend.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
 ${PLIST.tools}man/man1/dnsgram.1
+man/man1/dnspcap2calidns.1
 ${PLIST.tools}man/man1/dnsreplay.1
 ${PLIST.tools}man/man1/dnsscan.1
 ${PLIST.tools}man/man1/dnsscope.1
@@ -45,6 +48,8 @@ ${PLIST.tools}man/man1/sdig.1
 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/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

Index: pkgsrc/net/powerdns/distinfo
diff -u pkgsrc/net/powerdns/distinfo:1.37 pkgsrc/net/powerdns/distinfo:1.38
--- pkgsrc/net/powerdns/distinfo:1.37   Thu Apr 25 18:42:41 2019
+++ pkgsrc/net/powerdns/distinfo        Tue Mar 17 19:04:49 2020
@@ -1,15 +1,13 @@
-$NetBSD: distinfo,v 1.37 2019/04/25 18:42:41 adam Exp $
+$NetBSD: distinfo,v 1.38 2020/03/17 19:04:49 adam Exp $
 
-SHA1 (pdns-4.1.8.tar.bz2) = c1b2220781ead0dbd5363f6335535e377283e85b
-RMD160 (pdns-4.1.8.tar.bz2) = 2552af0d6cb9176da6090435a362a2df5dfa987c
-SHA512 (pdns-4.1.8.tar.bz2) = 1113745cdaa8fba591c176721893fb478e976861beee0cb6c0240e5afa6b68c9afae286579036b2ed77fffe76ca1e6f103cda915f8b7b875bcdc1253931ad935
-Size (pdns-4.1.8.tar.bz2) = 1116996 bytes
-SHA1 (patch-configure) = 8218324a863217f954ba63adf242c65c1b864038
+SHA1 (pdns-4.2.1.tar.bz2) = 81a4edb44f53f3f2c36793760ce30f81429fbc97
+RMD160 (pdns-4.2.1.tar.bz2) = 0efc805e4ed45ebdaf16cd97e2e797a37e000ca3
+SHA512 (pdns-4.2.1.tar.bz2) = 40b5533c755d7c0d41cfb273b704a45a3006dafc98c79bf41cae43d9e2d03bbd7a663996a7f209c390a89c5f7161f2f6246389beef18fbac48e95907e1b7936a
+Size (pdns-4.2.1.tar.bz2) = 1252829 bytes
+SHA1 (patch-configure) = 1503efadf2d8baaaa0887b61bd4f7672ea33a043
 SHA1 (patch-ext_json11_json11.cpp) = a8ffe67156a836841aef8a6bba134a82283f381e
-SHA1 (patch-m4_pdns__check__os.m4) = c7a8d91c519ae7ca0616dfc08fa04402fca950d0
-SHA1 (patch-pdns_dns.hh) = 626eb4e29b7fcd82fbe056036c157c1e85fa49ca
 SHA1 (patch-pdns_dnsscope.cc) = b289b750686b25041c3e291fb0d3d562beb36eaf
 SHA1 (patch-pdns_iputils.cc) = fbd3bb210216bb98c3cd73b702b6dea486c51dec
 SHA1 (patch-pdns_iputils.hh) = 714277322ea721ea0439fc6aa0265bd290219e8b
 SHA1 (patch-pdns_qtype.hh) = 0f8bca4c0cafea9a5257a08077fa42b4c52127f5
-SHA1 (patch-pdns_version.cc) = be2035a37a554f64b8e6dad8f7faa112aba10f6c
+SHA1 (patch-pdns_version.cc) = 25917c329dafa34e657fa31c7a9abd99110bb4b0

Index: pkgsrc/net/powerdns-ldap/Makefile
diff -u pkgsrc/net/powerdns-ldap/Makefile:1.19 pkgsrc/net/powerdns-ldap/Makefile:1.20
--- pkgsrc/net/powerdns-ldap/Makefile:1.19      Sat Jan 18 21:50:23 2020
+++ pkgsrc/net/powerdns-ldap/Makefile   Tue Mar 17 19:04:49 2020
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.19 2020/01/18 21:50:23 jperkin Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/17 19:04:49 adam Exp $
 
-PKGREVISION= 1
 .include "../../net/powerdns/Makefile.backend"
 
 PKGNAME=               ${DISTNAME:S/pdns/powerdns-ldap/}

Index: pkgsrc/net/powerdns-mysql/PLIST
diff -u pkgsrc/net/powerdns-mysql/PLIST:1.6 pkgsrc/net/powerdns-mysql/PLIST:1.7
--- pkgsrc/net/powerdns-mysql/PLIST:1.6 Tue Jan  2 12:18:15 2018
+++ pkgsrc/net/powerdns-mysql/PLIST     Tue Mar 17 19:04:49 2020
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.6 2018/01/02 12:18:15 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/03/17 19:04:49 adam Exp $
 lib/pdns/libgmysqlbackend.la
 share/doc/pdns/3.4.0_to_4.1.0_schema.mysql.sql
+share/doc/pdns/4.1.0_to_4.2.0_schema.mysql.sql
 share/doc/pdns/dnssec-3.x_to_3.4.0_schema.mysql.sql
 share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.mysql.sql
 share/doc/pdns/schema.mysql.sql

Index: pkgsrc/net/powerdns-odbc/PLIST
diff -u pkgsrc/net/powerdns-odbc/PLIST:1.2 pkgsrc/net/powerdns-odbc/PLIST:1.3
--- pkgsrc/net/powerdns-odbc/PLIST:1.2  Tue Jan  2 12:18:15 2018
+++ pkgsrc/net/powerdns-odbc/PLIST      Tue Mar 17 19:04:49 2020
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/02 12:18:15 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/03/17 19:04:49 adam Exp $
 lib/pdns/libgodbcbackend.la
+share/doc/pdns/4.0.0_to_4.2.0_schema.mssql.sql
 share/doc/pdns/schema.mssql.sql

Index: pkgsrc/net/powerdns-pgsql/PLIST
diff -u pkgsrc/net/powerdns-pgsql/PLIST:1.5 pkgsrc/net/powerdns-pgsql/PLIST:1.6
--- pkgsrc/net/powerdns-pgsql/PLIST:1.5 Tue Jan  2 12:18:16 2018
+++ pkgsrc/net/powerdns-pgsql/PLIST     Tue Mar 17 19:04:50 2020
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2018/01/02 12:18:16 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/03/17 19:04:50 adam Exp $
 lib/pdns/libgpgsqlbackend.la
 share/doc/pdns/3.4.0_to_4.1.0_schema.pgsql.sql
+share/doc/pdns/4.1.0_to_4.2.0_schema.pgsql.sql
 share/doc/pdns/dnssec-3.x_to_3.4.0_schema.pgsql.sql
 share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
 share/doc/pdns/schema.pgsql.sql

Index: pkgsrc/net/powerdns/patches/patch-configure
diff -u pkgsrc/net/powerdns/patches/patch-configure:1.8 pkgsrc/net/powerdns/patches/patch-configure:1.9
--- pkgsrc/net/powerdns/patches/patch-configure:1.8     Fri Feb  2 10:03:05 2018
+++ pkgsrc/net/powerdns/patches/patch-configure Tue Mar 17 19:04:49 2020
@@ -1,40 +1,22 @@
-$NetBSD: patch-configure,v 1.8 2018/02/02 10:03:05 jperkin Exp $
+$NetBSD: patch-configure,v 1.9 2020/03/17 19:04:49 adam Exp $
 
-Regen after excluding -latomic test on NetBSD.
+Do not add default compiler flags.
 Leave pkgsrc to handle security features.
 
---- configure.orig     2017-11-30 09:43:31.000000000 +0000
+--- configure.orig     2019-11-29 19:23:06.000000000 +0000
 +++ configure
-@@ -5569,9 +5569,14 @@ else
- fi
- 
+@@ -3721,8 +3721,8 @@ case $host_os in *\ *) host_os=`echo "$h
  
--  case "$host" in
--  mips* | powerpc-* )
--    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
-+  case "$host_os" in
-+  netbsd*)
-+    : # no -latomic
-+    ;;
-+  *)
-+    case "$host" in
-+    mips* | powerpc-* )
-+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
- $as_echo_n "checking whether the linker accepts -latomic... " >&6; }
-     LDFLAGS="-latomic $LDFLAGS"
-     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -5593,7 +5598,9 @@ else
- 
- fi
- rm -f core conftest.err conftest.$ac_objext \
--    conftest$ac_exeext conftest.$ac_ext
-+      conftest$ac_exeext conftest.$ac_ext
-+      ;;
-+    esac
-     ;;
-   esac
  
-@@ -6797,7 +6804,7 @@ rm -f core conftest.err conftest.$ac_obj
+ # Add some default CFLAGS and CXXFLAGS, can be appended to using the environment variables
+-CFLAGS="-Wall -g -O2 $CFLAGS"
+-CXXFLAGS="-Wall -g -O2 $CXXFLAGS"
++CFLAGS="-Wall $CFLAGS"
++CXXFLAGS="-Wall $CXXFLAGS"
+ 
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+@@ -7884,7 +7884,7 @@ rm -f core conftest.err conftest.$ac_obj
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__fstack_protector" >&5
  $as_echo "$gl_cv_warn_cxx__fstack_protector" >&6; }
@@ -43,7 +25,7 @@ Leave pkgsrc to handle security features
  
          CFLAGS="-fstack-protector $CFLAGS"
          CXXFLAGS="-fstack-protector $CXXFLAGS"
-@@ -20586,7 +20593,7 @@ fi
+@@ -22723,7 +22723,7 @@ fi
  
    if test "x$PG_CONFIG" != "x" -o "x$PGSQL_LIBS" = "x"; then :
  
@@ -52,7 +34,7 @@ Leave pkgsrc to handle security features
  
        # Extract the first word of "pg_config", so it can be a program name with args.
  set dummy pg_config; ac_word=$2
-@@ -20630,7 +20637,7 @@ fi
+@@ -22767,7 +22767,7 @@ fi
  
  
  fi

Index: pkgsrc/net/powerdns/patches/patch-pdns_version.cc
diff -u pkgsrc/net/powerdns/patches/patch-pdns_version.cc:1.1 pkgsrc/net/powerdns/patches/patch-pdns_version.cc:1.2
--- pkgsrc/net/powerdns/patches/patch-pdns_version.cc:1.1       Sat Jan 13 15:30:54 2018
+++ pkgsrc/net/powerdns/patches/patch-pdns_version.cc   Tue Mar 17 19:04:49 2020
@@ -1,20 +1,15 @@
-$NetBSD: patch-pdns_version.cc,v 1.1 2018/01/13 15:30:54 adam Exp $
+$NetBSD: patch-pdns_version.cc,v 1.2 2020/03/17 19:04:49 adam Exp $
 
-Do not store configure arguments; they have references to the build directory.
+Do not store configure args, as they contain workdir references.
 
---- pdns/version.cc.orig       2018-01-13 15:13:31.000000000 +0000
+--- pdns/version.cc.orig       2020-02-29 22:23:50.000000000 +0000
 +++ pdns/version.cc
-@@ -117,13 +117,6 @@ void showBuildConfiguration()
+@@ -145,7 +145,7 @@ void showBuildConfiguration()
    // Auth only
-   theL()<<Logger::Warning<<"Built-in modules: "<<PDNS_MODULES<<endl;
+   g_log<<Logger::Warning<<"Built-in modules: "<<PDNS_MODULES<<endl;
  #endif
 -#ifdef PDNS_CONFIG_ARGS
--#define double_escape(s) #s
--#define escape_quotes(s) double_escape(s)
--  theL()<<Logger::Warning<<"Configured with: "<<escape_quotes(PDNS_CONFIG_ARGS)<<endl;
--#undef escape_quotes
--#undef double_escape
--#endif
- }
- 
- string fullVersionString()
++#if 0
+ #define double_escape(s) #s
+ #define escape_quotes(s) double_escape(s)
+   g_log<<Logger::Warning<<"Configured with: "<<escape_quotes(PDNS_CONFIG_ARGS)<<endl;



Home | Main Index | Thread Index | Old Index