Hello community, here is the log from the commit of package pdns for openSUSE:Factory checked in at 2016-09-30 15:27:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pdns (Old) and /work/SRC/openSUSE:Factory/.pdns.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns" Changes: -------- --- /work/SRC/openSUSE:Factory/pdns/pdns.changes 2016-06-07 23:48:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pdns.new/pdns.changes 2016-09-30 15:27:28.000000000 +0200 @@ -1,0 +2,39 @@ +Sat Jul 30 12:38:43 UTC 2016 - mich...@stroeder.com + +- update to 4.0.1 + +Bug fixes + - #4126 Wait for the connection to the carbon server to be established + - #4206 Don't try to deallocate empty PG statements + - #4245 Send the correct response when queried for an NSEC directly (Kees Monshouwer) + - #4252 Don't include bind files if length <= 2 or > sizeof(filename) + - #4255 Catch runtime_error when parsing a broken MNAME + +Improvements + - #4044 Make DNSPacket return a ComboAddress for local and remote (Aki Tuomi) + - #4056 OpenSSL 1.1.0 support (Christian Hofstaedtler) + - #4169 Fix typos in a logmessage and exception (Christian Hofsteadtler) + - #4183 pdnsutil: Remove checking of ctime and always diff the changes (Hannu Ylitalo) + - #4192 dnsreplay: Only add Client Subnet stamp when asked + - #4250 Use toLogString() for ringAccount (Kees Monshouwer) + +Additions + - #4133 Add limits to the size of received {A,I}XFR (CVE-2016-6172) + - #4142 Add used filedescriptor statistic (Kees Monshouwer) + +------------------------------------------------------------------- +Mon Jul 11 15:17:37 UTC 2016 - mrueck...@suse.de + +- update to 4.0.0 + https://blog.powerdns.com/2016/07/11/powerdns-authoritative-server-4-0-0-released/ + https://blog.powerdns.com/2016/07/11/welcome-to-powerdns-4-0-0/ +- packaging changes: + - remotebackend split out now + - enabled experimental_gss_tsig support + - enabled protobuf based stats support + - no more xdb and lmdb backend + - added odbc backend where supported +- drop pdns-3.4.0-no_date_time.patch: replaced with + --enable-reproducible + +------------------------------------------------------------------- Old: ---- pdns-3.4.0-no_date_time.patch pdns-3.4.9.tar.bz2 pdns.service pdns.tmpfiles series New: ---- pdns-4.0.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdns.spec ++++++ --- /var/tmp/diff_new_pack.CgoDfN/_old 2016-09-30 15:27:29.000000000 +0200 +++ /var/tmp/diff_new_pack.CgoDfN/_new 2016-09-30 15:27:29.000000000 +0200 @@ -17,46 +17,43 @@ Name: pdns -Version: 3.4.9 +Version: 4.0.1 Release: 0 # %define pkg_name pdns -%define pkg_version 3.4.9 -%define polarssl_version 1.3.2 +%define pkg_version 4.0.1 # -%define home %{_var}/lib/pdns -%if 0%{?suse_version} > 1220 +%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 -%define _localstatedir /run/pdns %else %bcond_with systemd -%define _localstatedir %{_var}/run/pdns %endif -%{!?_tmpfilesdir: %global _tmpfilesdir /usr/lib/tmpfiles.d } + +%if 0%{?fedora_version} >= 24 || 0%{?fc24}%{?fc25} +%bcond_with systemd_separetedlibs +%else +%bcond_without systemd_separetedlibs +%endif # %bcond_without pdns_lua -%bcond_with pdns_mongo %bcond_without pdns_mydns +%bcond_with pdns_experimental_gss_tsig +%bcond_without pdns_odbc %bcond_without pdns_sqlite3 %bcond_with pdns_tinydns -%if 0%{?suse_version} >= 1320 -%bcond_without pdns_lmdb -%bcond_with pdns_intree_polarssl -%else -%bcond_with pdns_lmdb -%bcond_without pdns_intree_polarssl -%endif -%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315 +%if (0%{?suse_version} > 1230 && 0%{?suse_version} != 1315) || 0%{?is_opensuse} %bcond_without pdns_geoip %else %bcond_with pdns_geoip %endif -%if 0%{?suse_version} > 1200 && 0%{?suse_version} != 1315 +%if 0%{?suse_version} && ! ( 0%{?suse_version} == 1315 && ! 0%{?is_opensuse} ) +%bcond_without pdns_protobuf %bcond_without pdns_botan %else +%bcond_with pdns_protobuf %bcond_with pdns_botan %endif -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} > 1110 || 0%{?rhel_version} > 600 || 0%{?centos_version} > 600 || 0%{?fedora_version} >= 22 || 0%{?fc22}%{?fc23}%{?fc24}%{?fc25} %bcond_without pdns_tools %bcond_without pdns_pkcs11 %bcond_without pdns_zeromq @@ -81,30 +78,40 @@ BuildRequires: GeoIP-devel BuildRequires: yaml-cpp-devel %endif +%if %{with pdns_experimental_gss_tsig} +BuildRequires: pkgconfig(gss) +BuildRequires: pkgconfig(krb5) +BuildRequires: pkgconfig(krb5-gssapi) +%endif BuildRequires: gcc-c++ BuildRequires: gdbm-devel BuildRequires: libtool +# unused atm BuildRequires: libedit-devel +BuildRequires: libsodium-devel %if %{with pdns_lua} BuildRequires: lua-devel %endif -%if %{with pdns_lmdb} -BuildRequires: lmdb-devel -%endif %if %{with pdns_tinydns} # FIXME: Could not find libcdb/tinycdb %endif -%if %{with pdns_mongo} -# FIXME: needs mongo devel package -%endif BuildRequires: mysql-devel +%if 0%{?suse_version} BuildRequires: openldap2-devel -BuildRequires: pkg-config +%else +BuildRequires: openldap-devel +%endif BuildRequires: postgresql-devel #BuildRequires: ragel +%if %{with pdns_protobuf} +BuildRequires: protobuf-devel +%endif BuildRequires: sqlite-devel >= 3 %if %{with pdns_sqlite3} BuildRequires: sqlite-devel >= 3 %endif +%if %{with pdns_odbc} +BuildRequires: unixODBC-devel +%endif # %if %{with pdns_opendbx} BuildRequires: opendbx-backend-pgsql @@ -114,33 +121,25 @@ %if %{with pdns_pkcs11} BuildRequires: pkgconfig(p11-kit-1) %endif -%if ! %{with pdns_intree_polarssl} -BuildRequires: polarssl-devel >= 1.1 -%endif -%if %{with pdns_xdb} -BuildRequires: tdb-devel -%endif %if %{with pdns_zeromq} BuildRequires: zeromq-devel %endif %if %{with systemd} -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) +%if %{with systemd_separetedlibs} +BuildRequires: pkgconfig(libsystemd-daemon) +%endif %{?systemd_requires} %else PreReq: %fillup_prereq PreReq: %insserv_prereq %endif -PreReq: pwdutils +PreReq: pdns-common # Url: http://www.powerdns.com/ Source: http://downloads.powerdns.com/releases/pdns-%{pkg_version}.tar.bz2 Source1: rcpdns Source2: README.opendbx -Source3: %{name}.service -Source4: pdns.tmpfiles -Source5: series -# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch: pdns-3.4.0-no_date_time.patch Summary: Modern, advanced and high performance authoritative-only nameserver License: GPL-2.0 Group: Productivity/Networking/DNS/Servers @@ -196,6 +195,22 @@ This package holds the PostgreSQL backend for pdns. +%if %{with pdns_odbc} +%package backend-godbc +Requires: %{name} = %{version} +# +Summary: ODBC backend for pdns +Group: Productivity/Networking/DNS/Servers + +%description backend-godbc +The PowerDNS Nameserver is a modern, advanced and high performance +authoritative-only nameserver. It is written from scratch and conforms +to all relevant DNS standards documents. Furthermore, PowerDNS +interfaces with almost any database. + +This package holds the ODBC backend for pdns. +%endif + %if %{with pdns_sqlite3} %package backend-sqlite3 Requires: %{name} = %{version} @@ -260,22 +275,19 @@ %endif -%if %{with pdns_xdb} -%package backend-xdb +%package backend-remote Requires: %{name} = %{version} # -Summary: Samba TDB backend for pdns +Summary: Remote backend for pdns Group: Productivity/Networking/DNS/Servers -%description backend-xdb +%description backend-remote The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database. -This package holds the Samba TDB backend for pdns. - -%endif +This package holds the remote backend for pdns. %if %{with pdns_geoip} %package backend-geoip @@ -293,50 +305,15 @@ This package holds the GeoIP backend for pdns. %endif -%if %{with pdns_lmdb} -%package backend-lmdb -Requires: %{name} = %{version} -# -Summary: LMDB backend for pdns -Group: Productivity/Networking/DNS/Servers - -%description backend-lmdb -The PowerDNS Nameserver is a modern, advanced and high performance -authoritative-only nameserver. It is written from scratch and conforms -to all relevant DNS standards documents. Furthermore, PowerDNS -interfaces with almost any database. - -This package holds the LMDB backend for pdns. -%endif - -%if %{with pdns_recursor} -%package -n pdns-recursor -Requires: %{name} = %{version} -# -Summary: Modern, advanced and high performance recursing/non authoritative nameserver -Group: Productivity/Networking/DNS/Servers - -%description -n pdns-recursor -PowerDNS Recursor is a non authoritative/recursing DNS server. Use this -package if you need a dns cache for your network. - -%endif - %prep %setup -n %{name}-%{pkg_version} -%patch -p1 %if %{with pdns_opendbx} cp %{S:2} README.opendbx %endif -cp modules/geobackend/README README.geobackend -# module-dir=/usr/local/lib -perl -p -i.back -e 's|module-dir=.*|module-dir=%{_libdir}/%{pkg_name}|g' pdns/pdns.conf-dist -diff -urN pdns/pdns.conf-dist{.back,} ||: -rm -v pdns/pdns.conf-dist.back %build -touch NEWS AUTHORS COPYING -#autoreconf -fiv +# touch NEWS AUTHORS COPYING +# autoreconf -fiv # set $LD for now. this fixes the configure check for relro,now. export LD="$(which ld)" export CFLAGS="%{optflags} -DLDAP_DEPRECATED" @@ -348,13 +325,16 @@ --with-socketdir=%{_localstatedir} \ --localstatedir=%{_localstatedir} \ --with-pic \ + --enable-libsodium \ + --enable-reproducible \ +%if %{with dnsdist_protobuf} + --with-protobuf \ +%endif %if %{with pdns_botan} --enable-botan1.10 \ %endif -%if %{with pdns_intree_polarssl} - --without-system-polarssl \ -%else - --with-system-polarssl \ +%if %{with pdns_experimental_gss_tsig} + --enable-experimental-gss-tsig \ %endif --sysconfdir=%{_sysconfdir}/%{pkg_name} \ --libdir=%{_libdir} \ @@ -363,6 +343,14 @@ %if %{with pdns_pkcs11} --enable-experimental-pkcs11 \ %endif +%if %{with sanitizer} + --enable-asan \ + --enable-msan \ + --enable-tsan \ + --enable-lsan \ + --enable-ubsan \ +%endif + --enable-malloc-trace \ %if %{with pdns_zeromq} --enable-remotebackend-zeromq \ %endif @@ -371,75 +359,62 @@ --with-lua \ %endif --with-dynmodules="\ - pipe \ bind \ - random \ - geo \ - gmysql \ - gpgsql \ - ldap \ %if %{with pdns_geoip} geoip \ %endif -%if %{with pdns_lmdb} - lmdb \ + gmysql \ +%if %{with pdns_odbc} + godbc \ %endif +%if %{with pdns_oracle} + goracle \ +%endif + gpgsql \ +%if %{with pdns_sqlite3} + gsqlite3 \ +%endif + ldap \ %if %{with pdns_lua} lua \ %endif -%if %{with pdns_mongo} - mongodb \ -%endif %if %{with pdns_mydns} mydns \ %endif -%if %{with pdns_tinydns} - tinydns \ -%endif -%if %{with pdns_sqlite3} - gsqlite3 \ -%endif %if %{with pdns_opendbx} opendbx \ %endif -%if %{with pdns_xdb} - xdb \ -%endif -%if %{with pdns_db2} - db2 \ -%endif -%if %{with pdns_odbc} - odbc \ -%endif %if %{with pdns_oracle} - goracle \ oracle \ %endif + pipe \ + random \ + remote \ +%if %{with pdns_tinydns} + tinydns \ +%endif "\ %if %{with pdns_tools} --enable-tools \ %endif --disable-static -make +make %{?_smp_mflags} %install -make install DESTDIR="%{buildroot}" -install -Dd -m 0755 %{buildroot}{%{home},%{_var}} +make %{?_smp_mflags} install DESTDIR="%{buildroot}" + mv %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf{-dist,} -mkdir -p %{buildroot}%{_localstatedir} + %if %{with systemd} -install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{pkg_name}.service -install -D -m 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/pdns.conf ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{pkg_name} %else install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name} ln -s -f ../..%{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name} %endif + rm -rfv %{buildroot}%{_libdir}/pdns/*.la # install -m 0644 AUTHORS NEWS NOTICE COPYING README* %{buildroot}%{_datadir}/doc/packages/%{name}/ -# no longer ship dnsdist here -> separate upstream source and package now -#rm -v %{buildroot}%{_bindir}/dnsdist %{buildroot}%{_mandir}/man1/dnsdist.1* %pre /usr/sbin/groupadd -r pdns >/dev/null 2>&1 || : @@ -450,7 +425,6 @@ %post %if %{with systemd} -%{?tmpfiles_create:%{tmpfiles_create}} %service_add_post %{name}.service %else %{fillup_and_insserv pdns} @@ -482,15 +456,12 @@ %exclude %{_datadir}/doc/packages/%{name}/*.sql %if %{with systemd} %{_unitdir}/%{name}.service -%{_tmpfilesdir}/pdns.conf +%{_unitdir}/%{name}@.service %else %{_sysconfdir}/init.d/%{pkg_name} %endif %{_sbindir}/rcpdns -%dir %attr(750,root,pdns) %{_sysconfdir}/%{pkg_name} -%attr(700,pdns,pdns) %dir %ghost %{_localstatedir} %config(noreplace) %attr(640,root,pdns) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf -%if %{with pdns_tools} %{_bindir}/dnsbulktest %{_bindir}/dnsreplay %{_bindir}/dnsscan @@ -500,32 +471,46 @@ %{_bindir}/nproxy %{_bindir}/nsec3dig %{_bindir}/saxfr +%{_bindir}/calidns +%{_bindir}/dnsgram +%{_bindir}/dumresp +%{_bindir}/ixplore +%{_bindir}/sdig +%{_bindir}/pdns_control +%{_bindir}/pdns_notify +%{_bindir}/pdnsutil +%{_bindir}/stubquery +%{_bindir}/zone2sql +%{_bindir}/zone2json +%{_sbindir}/pdns_server +%if %{with pdns_protobuf} +%{_bindir}/dnspcap2protobuf +%{_mandir}/man1/dnspcap2protobuf.1.gz +%endif +%{_mandir}/man1/dnsbulktest.1* +%{_mandir}/man1/dnsgram.1* +%{_mandir}/man1/dnsscan.1* +%{_mandir}/man1/ixplore.1* +%{_mandir}/man1/nsec3dig.1* +%{_mandir}/man1/saxfr.1* +%{_mandir}/man1/sdig.1* %{_mandir}/man1/dnstcpbench.1* %{_mandir}/man1/dnsreplay.1* %{_mandir}/man1/dnsscope.1* %{_mandir}/man1/dnswasher.1* -%endif -%{_sbindir}/pdns_server -%{_bindir}/pdns_control -%{_bindir}/pdnssec -%{_bindir}/zone2sql -%{_bindir}/zone2json %{_mandir}/man1/pdns_control.1* +%{_mandir}/man1/pdns_notify.1* %{_mandir}/man1/pdns_server.1* -%{_mandir}/man1/pdnssec.1* +%{_mandir}/man1/pdnsutil.1* +%{_mandir}/man1/zone2json.1* %{_mandir}/man1/zone2sql.1* +%{_mandir}/man1/calidns.1* +%{_mandir}/man1/dumresp.1* +%{_mandir}/man1/nproxy.1* %dir %{_libdir}/%{pkg_name} %{_libdir}/%{pkg_name}/libpipebackend.so* %{_libdir}/%{pkg_name}/libbindbackend.so* %{_libdir}/%{pkg_name}/librandombackend.so* -%{_libdir}/%{pkg_name}/libgeobackend.so* -%dir %attr(750,pdns,pdns) %{home} - -%if %{with pdns_recursor} -%files -n pdns-recursor -%defattr (-,root,root,-) -%{_sbindir}/pdns_recursor -%endif %files backend-mysql %defattr (-,root,root,-) @@ -568,18 +553,10 @@ %{_libdir}/%{pkg_name}/libopendbxbackend.so* %endif -%if %{with pdns_xdb} -%files backend-xdb -%defattr (-,root,root,-) -%{_bindir}/xdb-fill -%{_libdir}/%{pkg_name}/libxdbbackend.so* -%endif - -%if %{with pdns_lmdb} -%files backend-lmdb +%if %{with pdns_odbc} +%files backend-godbc %defattr (-,root,root,-) -%{_bindir}/zone2lmdb -%{_libdir}/%{pkg_name}/liblmdbbackend.so* +%{_libdir}/%{pkg_name}/libgodbcbackend.so* %endif %if %{with pdns_geoip} @@ -588,4 +565,8 @@ %{_libdir}/%{pkg_name}/libgeoipbackend.so* %endif +%files backend-remote +%defattr (-,root,root,-) +%{_libdir}/%{pkg_name}/libremotebackend.so + %changelog ++++++ pdns-3.4.9.tar.bz2 -> pdns-4.0.1.tar.bz2 ++++++ ++++ 267253 lines of diff (skipped)