Hello community, here is the log from the commit of package pdns for openSUSE:Factory checked in at 2018-05-24 23:24:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pdns (Old) and /work/SRC/openSUSE:Factory/.pdns.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns" Thu May 24 23:24:26 2018 rev:54 rq:606956 version:4.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/pdns/pdns.changes 2018-04-17 11:17:38.502062042 +0200 +++ /work/SRC/openSUSE:Factory/.pdns.new/pdns.changes 2018-05-24 23:24:29.094206350 +0200 @@ -1,0 +2,32 @@ +Fri May 11 13:34:23 UTC 2018 - [email protected] + +- Update to 4.1.2 + - Improvements + * API: increase serial after dnssec related updates + * Auth: lower ‘packet too short’ loglevel + * Make check-zone error on rows that have content but shouldn’t + * Auth: avoid an isane amount of new backend connections during an axfr + * Report unparseable data in stoul invalid_argument exception + * Backport: recheck serial when axfr is done + * Backport: add tcp support for alias + - Bug Fixes + * Auth: allocate new statements after reconnecting to postgresql + * Auth-bindbackend: only compare ips in ismaster() (Kees Monshouwer) + * Rather than crash, sheepishly report no file/linenum + * Document undocumented config vars + * Backport #6276 (auth 4.1.x): prevent cname + other data with dnsupdate + - misc + * Move includes around to avoid boost L conflict + * Backport: update edns option code list + * Auth: link dnspcap2protobuf against librt when needed + * Fix a warning on botan >= 2.5.0 + * Auth 4.1.x: unbreak build + * Dnsreplay: bail out on a too small outgoing buffer (CVE-2018-1046 bsc#1092540) + +------------------------------------------------------------------- +Mon Apr 23 18:22:25 UTC 2018 - [email protected] + +- add patch for upstream issue #6228 + https://patch-diff.githubusercontent.com/raw/PowerDNS/pdns/pull/6370.patch + +------------------------------------------------------------------- Old: ---- pdns-4.1.1.tar.bz2 pdns-4.1.1.tar.bz2.sig New: ---- 6370.patch pdns-4.1.2.tar.bz2 pdns-4.1.2.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdns.spec ++++++ --- /var/tmp/diff_new_pack.9yPubc/_old 2018-05-24 23:24:29.658185826 +0200 +++ /var/tmp/diff_new_pack.9yPubc/_new 2018-05-24 23:24:29.658185826 +0200 @@ -1,7 +1,7 @@ # # spec file for package pdns # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ Name: pdns -Version: 4.1.1 +Version: 4.1.2 Release: 0 # %define pkg_name pdns -%define pkg_version 4.1.1 +%define pkg_version 4.1.2 # %if 0%{?suse_version} > 1230 || 0%{?rhel_version} > 600 || 0%{?centos_version} > 600 || 0%{?fedora_version} >= 20 || 0%{?el7}%{?fc20}%{?fc21}%{?fc22}%{?fc23}%{?fc24}%{?fc25} %bcond_without systemd @@ -142,8 +142,9 @@ Source1: rcpdns Source2: README.opendbx Patch: pdns-4.0.3_allow_dacoverride_in_capset.patch +Patch1: 6370.patch Summary: Authoritative-only nameserver -License: GPL-2.0 +License: GPL-2.0-only Group: Productivity/Networking/DNS/Servers %description @@ -279,6 +280,7 @@ %prep %setup -n %{name}-%{pkg_version} %patch -p1 +%patch1 -p1 %if %{with pdns_opendbx} cp %{S:2} README.opendbx %endif ++++++ 6370.patch ++++++ Based on: https://github.com/PowerDNS/pdns/pull/6370 >From 8b0f2ac7e3992089e9e805f848c1cd6e54b4a975 Mon Sep 17 00:00:00 2001 From: Charles-Henri Bruyand <[email protected]> Date: Mon, 19 Mar 2018 19:47:25 +0100 Subject: [PATCH] auth: fix regression while handling user-defined axfr filters return values, and a typo in a documentation example --- docs/modes-of-operation.rst | 6 +++--- pdns/lua-auth4.cc | 11 +++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/pdns/lua-auth4.cc b/pdns/lua-auth4.cc index db9bb0ab37..f7a3414ad1 100644 --- a/pdns/lua-auth4.cc +++ b/pdns/lua-auth4.cc @@ -113,10 +113,17 @@ bool AuthLua4::axfrfilter(const ComboAddress& remote, const DNSName& zone, const ret = d_axfr_filter(remote, zone, in); rcode = std::get<0>(ret); - if (rcode < 0) + if (rcode < 0) { + // no modification, handle normally return false; - else if (rcode == 1) + } + else if (rcode == 0) { + // replace the matching record by the filtered record(s) + } + else if (rcode == 1) { + // append the filtered record(s) after the matching record out.push_back(in); + } else throw PDNSException("Cannot understand return code "+std::to_string(rcode)+" in axfr filter response"); ++++++ pdns-4.1.1.tar.bz2 -> pdns-4.1.2.tar.bz2 ++++++ ++++ 3949 lines of diff (skipped)
