Hello community, here is the log from the commit of package pdns for openSUSE:Factory checked in at 2014-08-03 15:36:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2012-11-21 17:04:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pdns.new/pdns.changes 2014-08-03 15:36:55.000000000 +0200 @@ -1,0 +2,123 @@ +Sun Jul 20 20:46:57 UTC 2014 - p.drouand@gmail.com + +- Use systemd instead of sysvinit for openSUSE > 12.2 +- Remove redundant %clean section + +------------------------------------------------------------------- +Tue Jun 10 17:04:23 UTC 2014 - mrueckert@suse.de + +- forgot to remove the --enable-tools at the top. + +------------------------------------------------------------------- +Tue Jun 10 11:59:12 UTC 2014 - mrueckert@suse.de + +- only enable the tools on distros newer than sle 11: + the boost version seems to be too old. + +------------------------------------------------------------------- +Sun Jun 8 22:28:06 UTC 2014 - mrueckert@suse.de + +- update to version 3.3.1 + Update notes http://doc.powerdns.com/html/from3.3to3.3.1.html + + - direct-dnskey is no longer experimental, thanks Kees Monshouwer + & co for extensive testing (commit e4b36a4). + - Handle signals during poll (commit 5dde2c6). + - commit 7538e56: Fix zone2{sql,json} exit codes + - commit 7593c40: geobackend: fix possible nullptr deref + - commit 3506cc6: gpsqlbackend: don't append empty dbname=/user= + values to connect string + - gpgsql queries were simplified through the use of casting + (commit 9a6e39c). + - commit a7aa9be: Replace hardcoded make with variable + - commit e4fe901: make sure to run PKG_PROG_PKG_CONFIG before the + first PKG_* usage + - commit 29bf169: fix hmac-md5 TSIG key lookup + - commit c4e348b: fix 64+ character TSIG keys + - commit 00a7b25: Fix comparison between signed and unsigned by + using uint32_t for inception on INCEPTION-EPOCH + - commit d3f6432: fix building on os x 10.9, thanks Martijn + Bakker. + - We now allow building against Lua 5.2 (commit bef3000, commit + 2bdd03b, commit 88d9e99). + - commit fa1f845: autodetect MySQL 5.5+ connection charset + - When misconfigured using 'right' timezones, a bug in (g)libc + gmtime breaks our signatures. Fixed in commit e4faf74 by Kees + Monshouwer by implementing our own gmtime_r. + - When sending SERVFAIL due to a CNAME loop, don't uselessly + include the CNAMEs (commit dfd1b82). + - Build fixes for platforms with 'weird' types (like s390/s390x): + commit c669f7c (details), commit 07b904e and commit 2400764. + - Support for += syntax for options, commit 98dd325 and others. + - commit f8f29f4: nproxy: Add missing chdir("/") after chroot() + - commit 2e6e9ad: fix for "missing" libmysqlclient on RHEL/CentOS + based systems + - pdnssec check-zone improvements in commit 5205892, commit + edb255f, commit 0dde9d0, commit 07ee700, commit 79a3091, commit + 08f3452, commit bcf9daf, commit c9a3dd7, commit 6ebfd08, commit + fd53bd0, commit 7eaa83a, commit e319467, , + - NSEC/NSEC3 fixes in commit 3191709, commit f75293f, commit + cd30e94, commit 74baf86, commit 1fa8b2b + - The webserver could crash when the ring buffers were resized, + fixed in commit 3dfb45f. + - commit 213ec4a: add constraints for name to pg schema + - commit f104427: make domainmetadata queries case insensitive + - commit 78fc378: no label compression for name in TSIG records + - commit 15d6ffb: pdnssec now outputs ZSK DNSKEY records if + experimental-direct-dnskey support is enabled (renamed to + direct-dnskey before release!) + - commit ad67d0e: drop cryptopp from static build as + libcryptopp.a is broken on Debian 7, which is what we build on + - commit 7632dd8: support polarssl 1.3 externally. + - Remotebackend was fully updated in various commits. + - commit 82def39: SOA-EDIT: fix INCEPTION-INCREMENT handling + - commit a3a546c: add innodb-read-committed option to gmysql + settings. + - commit 9c56e16: actually notice timeout during AXFR retrieve, + thanks hkraal +- pass V=1 to make calls so we actually see the compiler cmdlines +- enable http support for remotebackend. new buildrequires: + curl-devel +- prepare lmdb backend for 13.2 and newer +- remove pdns-3.1_lib_lua.patch, solved differently upstream. +- enabled tools building +- removed custom hack to build pdns tools + +------------------------------------------------------------------- +Thu Nov 7 03:08:18 UTC 2013 - jamesp@vicidial.com + +- update to version 3.3 + This a stability, bugfix and conformity update to 3.2. It + improves interoperability with various validators, either through + bugfixes or by catering to their needs beyond the specifications. + + Please follow the upgrate notes on + http://doc.powerdns.com/html/from3.2to3.3.html +- Removed dnsreplay and ChangeLog as it was removed in the source +- Added pdnssec and zone2ldap man pages + +------------------------------------------------------------------- +Mon Jan 21 15:40:43 UTC 2013 - mrueckert@suse.de + +- update to version 3.2 + This is a stability and conformity update to 3.1. It mostly makes + our DNSSEC implementation more robust, and improves + interoperability with various validators. 3.2 has received very + extensive testing on a lot of edge cases, verifying output both + against common validators and compared against other + authoritative servers. + + Please follow the upgrate notes on + http://doc.powerdns.com/from3.1to3.2.html + + For the details see: + http://rtfm.powerdns.com/changelog.html#changelog-auth-3-2 +- dropped qsqlite backend. dropped upstream dropped the sqlite2 + support. +- fixed building of the sqlite3 backend. +- use system botan if possible. +- refreshed polarssl patch + old name: pdns-3.0.rc1_polarssl.patch + new name: pdns-3.2_polarssl.patch + +------------------------------------------------------------------- Old: ---- pdns-3.0.rc1_polarssl.patch pdns-3.1.tar.gz pdns-3.1_lib_lua.patch New: ---- pdns-3.2_polarssl.patch pdns-3.3.1.tar.gz pdns.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdns.spec ++++++ --- /var/tmp/diff_new_pack.HYm5zo/_old 2014-08-03 15:36:56.000000000 +0200 +++ /var/tmp/diff_new_pack.HYm5zo/_new 2014-08-03 15:36:56.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pdns # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,31 +15,49 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%if 0%{?suse_version} > 1220 +%define with_systemd 1 +%else +%define with_systemd 0 +%endif Name: pdns -Version: 3.1.0 +Version: 3.3.1 Release: 0 # # %define pkg_name pdns -%define pkg_version 3.1 +%define pkg_version 3.3.1 %define polarssl_version 1.1.2 %define home %{_var}/lib/pdns %define _localstatedir %{_var}/run/pdns # -%if 0%{?suse_version} < 1110 -%define with_pdns_sqlite2 1 -%else + +%if 0%{?suse_version} > 1100 %define with_pdns_sqlite3 1 %endif %define with_pdns_lua 1 %define with_pdns_mongo 0 %define with_pdns_mydns 1 %define with_pdns_tinydns 0 +%if 0%{?suse_version} > 1200 +%define with_pdns_botan 1 +%endif +%if 0%{?suse_version} >= 1320 +%define with_pdns_lmdb 0 +%endif +%if 0%{?suse_version} > 1110 +%define with_pdns_tools 1 +%endif # BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: Botan-devel +%if 0%{?with_pdns_botan} +BuildRequires: Botan-devel >= 1.10 +%endif +BuildRequires: automake +BuildRequires: autoconf BuildRequires: boost-devel +BuildRequires: curl-devel BuildRequires: docbook-toys BuildRequires: docbook-utils BuildRequires: docbook-xsl-stylesheets @@ -53,6 +71,9 @@ BuildRequires: lua-devel %endif %endif +%if 0%{?with_pdns_lmdb} +BuildRequires: lmdb-devel +%endif %if 0%{?with_pdns_tinydns} # FIXME: Could not find libcdb/tinycdb %endif @@ -65,17 +86,7 @@ BuildRequires: postgresql-devel BuildRequires: pwdutils # we add opendbx-backend-sqlite2 as we pull in sqlite2 anyway and we need one installed backend -%if 0%{?with_pdns_sqlite3} BuildRequires: sqlite-devel >= 3 -%endif -# -%if 0%{?with_pdns_sqlite2} -%if 0%{?sles_version} == 9 -BuildRequires: sqlite-devel -%else -BuildRequires: sqlite2-devel -%endif -%endif # %if 0%{?with_pdns_opendbx} BuildRequires: opendbx-backend-pgsql @@ -84,22 +95,26 @@ %if 0%{?with_pdns_xdb} BuildRequires: tdb-devel %endif +%if %{with_systemd} +BuildRequires: systemd +%{?systemd_requires} +%else PreReq: %fillup_prereq PreReq: %insserv_prereq +%endif PreReq: pwdutils # Url: http://www.powerdns.com/ Source: %{name}-%{pkg_version}.tar.gz Source1: rcpdns Source2: README.opendbx +Source3: %{name}.service # PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch: pdns-3.0.rc1_polarssl.patch -Patch1: pdns-3.1_lib_lua.patch +Patch: pdns-3.2_polarssl.patch # Summary: Modern, advanced and high performance authoritative-only nameserver License: GPL-2.0 Group: Productivity/Networking/DNS/Servers - %description The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -111,7 +126,6 @@ # Summary: MySQL backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-mysql The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -126,7 +140,6 @@ # Summary: MyDNS backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-mydns The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -142,7 +155,6 @@ # Summary: PostgreSQL backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-postgresql The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -151,30 +163,12 @@ This package holds the PostgreSQL backend for pdns. -%if 0%{?with_pdns_sqlite2} -%package backend-sqlite2 -Requires: %{name} = %{version} -# -Summary: SQLite 2 backend for pdns -Group: Productivity/Networking/DNS/Servers - -%description backend-sqlite2 -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 SQLite 2 backend for pdns. - -%endif - %if 0%{?with_pdns_sqlite3} %package backend-sqlite3 Requires: %{name} = %{version} # Summary: SQLite 3 backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-sqlite3 The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -182,7 +176,6 @@ interfaces with almost any database. This package holds the SQLite 3 backend for pdns. - %endif %package backend-ldap @@ -190,7 +183,6 @@ # Summary: LDAP backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-ldap The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -205,7 +197,6 @@ # Summary: OpenDBX backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-opendbx The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -222,7 +213,6 @@ # Summary: Lua backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-lua The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -233,13 +223,13 @@ %endif + %if 0%{?with_pdns_xdb} %package backend-xdb Requires: %{name} = %{version} # Summary: Samba TDB backend for pdns Group: Productivity/Networking/DNS/Servers - %description backend-xdb The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms @@ -250,13 +240,27 @@ %endif +%if 0%{?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 0%{?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. @@ -266,7 +270,6 @@ %prep %setup -n %{name}-%{pkg_version} %patch -%patch1 %if 0%{?with_pdns_opendbx} cp %{S:2} README.opendbx %endif @@ -284,14 +287,15 @@ export LIBS="-pie" # "mysql" backend is legacy crap. dont build it! %configure \ - --disable-static \ --with-pic \ +%if 0%{?with_pdns_botan} + --enable-botan1.10 \ +%endif --sysconfdir=%{_sysconfdir}/%{pkg_name} \ --libdir=%{_libdir}/%{pkg_name} \ - --with-sqlite-lib=%{_libdir} \ - --with-sqlite3-lib=%{_libdir} \ --with-pgsql-lib=%{_libdir} \ --with-mysql-lib=%{_libdir} \ + --enable-remotebackend-http \ --with-modules="" \ %if 0%{?with_pdns_lua} --with-lua \ @@ -302,6 +306,9 @@ gmysql \ gpgsql \ ldap \ +%if 0%{?with_pdns_lmdb} + lmdb \ +%endif %if 0%{?with_pdns_lua} lua \ %endif @@ -317,9 +324,6 @@ %if 0%{?with_pdns_sqlite3} gsqlite3 \ %endif -%if 0%{?with_pdns_sqlite2} - gsqlite \ -%endif %if 0%{?with_pdns_opendbx} opendbx \ %endif @@ -337,24 +341,14 @@ oracle \ %endif "\ -%if 0%{?with_pdns_recursor} - --enable-recursor -%else - --disable-recursor # we have an external package for that. +%if 0%{?with_pdns_tools} + --enable-tools \ %endif + --disable-static pushd pdns/ext/polarssl-%{polarssl_version}/library - make OFLAGS="%{optflags}" static shared -popd -make -%if 0%{?build_debugging_tools} -pushd pdns -for i in $(awk -F= '/EXTRA_PROGRAMS/ {print $2}' Makefile.am ) ; do - if ! [ $(echo $i | grep -c 'pdns' 2>&1) ] ; then - make $i ; - fi -done + make V=1 OFLAGS="%{optflags}" static shared popd -%endif +make V=1 # pushd pdns/docs # db2html -o html pdns.sgml @@ -364,56 +358,84 @@ # popd %install -%makeinstall -%if 0%{?build_debugging_tools} -pushd pdns -for i in $(awk -F= '/EXTRA_PROGRAMS/ {print $2}' Makefile.am ) ; do - if ! [ $(echo $i | grep -c 'pdns' 2>&1) ] ; then - install -D -m 0755 $i %{buildroot}%{_sbindir}/$i ; - fi -done -popd -%endif +make install DESTDIR="%{buildroot}" V=1 install -Dd -m 0755 %{buildroot}{%{home},%{_var}} mv %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf{-dist,} +%if %{with_systemd} +install -D -m 0755 %{SOURCE3} %{buildroot}%{_unitdir}/%{pkg_name}.service +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 -%clean -rm -rf %{buildroot} - %pre /usr/sbin/groupadd -r pdns &>/dev/null || : /usr/sbin/useradd -g pdns -s /bin/false -r -c "pdns" -d %{home} pdns &>/dev/null || : +%if %{with_systemd} +%service_add_pre %{name}.service +%endif %post +%if %{with_systemd} +%service_add_post %{name}.service +%else %{fillup_and_insserv pdns} +%endif %preun +%if %{with_systemd} +%service_del_preun %{name}.service +%else %stop_on_removal pdns +%endif %postun +%if %{with_systemd} +%service_del_postun %{name}.service +%else %restart_on_update pdns %insserv_cleanup +%endif %files %defattr (-,root,root,-) -%doc ChangeLog HACKING README* TODO +%doc HACKING README* TODO #doc pdns/docs/html +%if %{with_systemd} +%{_unitdir}/%{name}.service +%else %{_sysconfdir}/init.d/%{pkg_name} +%endif %dir %attr(750,root,pdns) %{_sysconfdir}/%{pkg_name} %config(noreplace) %attr(640,root,pdns) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf +%if 0%{?with_pdns_tools} +%{_bindir}/dnsbulktest +%{_bindir}/dnsreplay +%{_bindir}/dnsscan +%{_bindir}/dnsscope +%{_bindir}/dnstcpbench +%{_bindir}/dnswasher +%{_bindir}/nproxy +%{_bindir}/nsec3dig +%{_mandir}/man1/dnstcpbench.1* +%{_mandir}/man8/dnsreplay.8* +%{_mandir}/man8/dnsscope.8* +%{_mandir}/man8/dnswasher.8* +%endif %{_bindir}/pdns_control %{_bindir}/zone2ldap %{_bindir}/zone2sql -%{_bindir}/dnsreplay +%{_bindir}/zone2json %{_bindir}/pdnssec %{_sbindir}/rcpdns %{_sbindir}/pdns_server -%{_mandir}/man8/pdns_control.8.gz -%{_mandir}/man8/pdns_server.8.gz -%{_mandir}/man8/zone2sql.8.gz +%{_mandir}/man8/pdns_control.8* +%{_mandir}/man8/pdns_server.8* +%{_mandir}/man8/zone2sql.8* +%{_mandir}/man8/pdnssec.8* +%{_mandir}/man8/zone2ldap.8* %dir %{_libdir}/%{pkg_name} %{_libdir}/%{pkg_name}/libpipebackend.so* %{_libdir}/%{pkg_name}/libgeobackend.so* @@ -445,12 +467,6 @@ %defattr (-,root,root,-) %{_libdir}/%{pkg_name}/libgpgsqlbackend.so* -%if 0%{?with_pdns_sqlite2} -%files backend-sqlite2 -%defattr (-,root,root,-) -%{_libdir}/%{pkg_name}/libgsqlitebackend.so* -%endif - %if 0%{?with_pdns_sqlite3} %files backend-sqlite3 %defattr (-,root,root,-) @@ -474,4 +490,11 @@ %{_libdir}/%{pkg_name}/libxdbbackend.so* %endif +%if 0%{?with_pdns_lmdb} +%files backend-lmdb +%defattr (-,root,root,-) +%{_libdir}/%{pkg_name}/liblmdbbackend.so* +%endif + + %changelog ++++++ pdns-3.0.rc1_polarssl.patch -> pdns-3.2_polarssl.patch ++++++ --- /work/SRC/openSUSE:Factory/pdns/pdns-3.0.rc1_polarssl.patch 2012-05-23 09:07:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pdns.new/pdns-3.2_polarssl.patch 2014-08-03 15:36:55.000000000 +0200 @@ -14,51 +14,8 @@ # CFLAGS += -D_BSD_EXTENSION # To compile as a shared library: --# CFLAGS += -fPIC +-CFLAGS += -fPIC +CFLAGS += -fPIC -DPIC SONAME=libpolarssl.so.0 -@@ -37,7 +37,7 @@ OBJS= aes.o arc4.o asn1parse.o \ - x509parse.o xtea.o - - --.SILENT: -+#.SILENT: - - all: static - -@@ -46,27 +46,26 @@ static: libpolarssl.a - shared: libpolarssl.$(DLEXT) - - libpolarssl.a: $(OBJS) -- echo " AR $@" -+# echo " AR $@" - $(AR) r $@ $(OBJS) -- echo " RL $@" -+# echo " RL $@" - $(AR) s $@ - - libpolarssl.so: libpolarssl.a -- echo " LD $@" -+# echo " LD $@" - $(CC) ${LDFLAGS} -shared -Wl,-soname,$(SONAME) -o $@ $(OBJS) - - libpolarssl.dylib: libpolarssl.a -- echo " LD $@" -+# echo " LD $@" - $(CC) ${LDFLAGS} -dynamiclib -o $@ $(OBJS) - - libpolarssl.dll: libpolarssl.a -- echo " LD $@" -+# echo " LD $@" - $(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS) -lws2_32 -lwinmm -lgdi32 - - .c.o: -- echo " CC $<" -+# echo " CC $<" - $(CC) $(CFLAGS) $(OFLAGS) -c $< - - clean: - rm -f *.o libpolarssl.* -- ++++++ pdns-3.1.tar.gz -> pdns-3.3.1.tar.gz ++++++ ++++ 100191 lines of diff (skipped) ++++++ pdns.service ++++++ [Unit] Description=PowerDNS Authoritative Server After=network.target mysqld.service postgresql.service slapd.service [Service] Type=forking ExecStart=/usr/sbin/pdns_server --daemon ExecStop=/usr/bin/pdns_control quit Restart=on-failure RestartSec=2 PrivateTmp=true [Install] WantedBy=multi-user.target -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org