![](https://seccdn.libravatar.org/avatar/af22e20b6884acbc89be6d7736c43e92.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package pdns checked in at Mon Oct 23 18:56:10 CEST 2006. -------- --- pdns/pdns.changes 2006-05-04 15:59:09.000000000 +0200 +++ /mounts/work_src_done/STABLE/pdns/pdns.changes 2006-10-23 18:26:17.000000000 +0200 @@ -1,0 +2,17 @@ +Thu Oct 19 18:48:38 CEST 2006 - mrueckert@suse.de + +- this is a sync to the buildservice package in server:dns: +- remove .la files + +------------------------------------------------------------------- +Fri Oct 13 12:00:00 CEST 2006 - mrueckert@suse.de + +- added opendbxbackend_2.9.20-3.diff: + updates the opendbx backend to the latest version + +------------------------------------------------------------------- +Fri May 19 12:00:00 CEST 2006 - mrueckert@suse.de + +- disable the recursor as we use the newer external package. + +------------------------------------------------------------------- @@ -6,0 +24,16 @@ +Sun Mar 26 12:00:00 CEST 2006 - mrueckert@suse.de + +- fixed Requires for the subpackages + +------------------------------------------------------------------- +Sat Mar 25 12:00:00 CEST 2006 - mrueckert@suse.de + +- update to 2.9.20: + Besides adding OpenDBX, this release is mostly about fixing + problems and speeding up the recursor. +- disabled static support +- removed rm for the .a files +- splitted of the backends that pull in new dependencies +- removed patch. applied upstream. + +------------------------------------------------------------------- Old: ---- pdns-2.9.19-fix.patch pdns-2.9.19.tar.bz2 New: ---- README.opendbx opendbxbackend_2.9.20-3.diff pdns-2.9.20.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdns.spec ++++++ --- /var/tmp/diff_new_pack.NoeyHw/_old 2006-10-23 18:55:53.000000000 +0200 +++ /var/tmp/diff_new_pack.NoeyHw/_new 2006-10-23 18:55:53.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package pdns (Version 2.9.19) +# spec file for package pdns (Version 2.9.20) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,20 +11,42 @@ # norootforbuild Name: pdns -BuildRequires: boost-devel docbook-toys docbook-utils docbook-xsl-stylesheets gcc-c++ mysql-devel openldap2 openldap2-devel -Version: 2.9.19 -Release: 13 -Url: http://www.powerdns.com +Version: 2.9.20 +Release: 1 +# Group: Productivity/Networking/DNS/Servers -License: GPL -Summary: Modern, advanced and high performance authoritative-only nameserver +License: GNU General Public License (GPL) - all versions +# +%define home %{_var}/lib/pdns +%define _localstatedir %{_var}/run/pdns +%define with_recursor 0 +# +%if 0%{?opensuse_bs} +%define with_opendbx 1 +%define with_xdb 1 +%endif +# +BuildRequires: boost-devel docbook-toys docbook-utils docbook-xsl-stylesheets gcc-c++ mysql-devel openldap2 openldap2-devel postgresql-devel sqlite2-devel +# we add opendbx-backend-sqlite2 as we pull in sqlite2 anyway and we need one installed backend +%if 0%{?with_opendbx} +BuildRequires: opendbx-backend-sqlite2 opendbx-devel +%endif +%if 0%{?with_xdb} +BuildRequires: tdb-devel +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd +# +URL: http://www.powerdns.com/ Source: %{name}-%{version}.tar.bz2 Source1: rcpdns -Patch: pdns-%{version}-fix.patch -Patch2: pdns-%{version}-CVE-2006-2069.patch -Autoreqprov: on -PreReq: %insserv_prereq %fillup_prereq -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch: pdns-2.9.19-CVE-2006-2069.patch +%if 0%{?with_opendbx} +Source2: README.opendbx +Patch1: http://www.linuxnetworks.de/pdnsodbx/download/opendbxbackend_2.9.20-3.diff +%endif +# +Summary: Modern, advanced and high performance authoritative-only nameserver %description The PowerDNS Nameserver is a modern, advanced and high performance @@ -38,46 +60,195 @@ -------- http://www.powerdns.com +%if %with_recursor +%package -n pdns-recursor +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: Modern, advanced and high performance recursing/non authoritative nameserver + +%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. + + + +Authors: +-------- + http://www.powerdns.com + +%endif +%package backend-mysql +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: MySQL backend for pdns + +%description backend-mysql +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 MySQL backend for pdns. + + + +Authors: +-------- + http://www.powerdns.com + +%package backend-postgresql +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: PostgreSQL backend for pdns + +%description backend-postgresql +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 PostgreSQL backend for pdns. + + + +Authors: +-------- + http://www.powerdns.com + +%package backend-sqlite2 +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: SQLite 2 backend for pdns + +%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. + + + +Authors: +-------- + http://www.powerdns.com + +%package backend-ldap +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: LDAP backend for pdns + +%description backend-ldap +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 LDAP backend for pdns. + + + +Authors: +-------- + http://www.powerdns.com + +%if 0%{?with_opendbx} +%package backend-opendbx +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: OpenDBX backend for pdns + +%description backend-opendbx +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 OpenDBX backend for pdns. + + + +Authors: +-------- + http://www.powerdns.com + +%endif +%if 0%{?with_xdb} +%package backend-xdb +Group: Productivity/Networking/DNS/Servers +Requires: %{name} = %{version} +Summary: Samba TDB backend for pdns + +%description backend-xdb +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. + + + +Authors: +-------- + http://www.powerdns.com + +%endif %prep %setup %patch -%patch2 +%if 0%{?with_opendbx} +%patch1 -p1 +%{__cp} %{S:2} README.opendbx +%endif %build -aclocal -libtoolize --force --copy -automake --foreign -autoconf -export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED" -export CXXFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED" -./configure\ - --prefix=/usr\ - --sysconfdir=/etc\ - --libdir=/usr/%{_lib}/pdns \ - --mandir=/usr/share/man\ - --with-dynmodules="gmysql ldap pdns pipe" \ - --with-mysql=/usr \ - --with-mysql-lib=/usr/%{_lib} \ +export CFLAGS="%{optflags} -DLDAP_DEPRECATED" +export CXXFLAGS="$CFLAGS" +%configure \ + --disable-static \ + --sysconfdir=%{_sysconfdir}/%{name} \ + --libdir=%{_libdir}/%{name} \ + --with-sqlite-lib=%{_libdir} \ + --with-pgsql-lib=%{_libdir} \ + --with-mysql-lib=%{_libdir} \ + --with-modules="" \ + --with-dynmodules="gmysql gpgsql gsqlite ldap pdns pipe geo \ +%if 0%{?with_opendbx} + opendbx \ +%endif +%if 0%{?with_xdb} + xdb\ +%endif + " \ +%if %with_recursor --enable-recursor -make -cd pdns/docs -db2html -o html pdns.sgml -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; -cd html -ln -s book1.html index.html +%else + --disable-recursor # we have an external package for that. +%endif +%{__make} +pushd pdns/docs + db2html -o html pdns.sgml + find . -type d -exec chmod 755 {} \; + find . -type f -exec chmod 644 {} \; + %{__ln_s} book1.html html/index.html +popd %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install -rm $RPM_BUILD_ROOT/usr/%{_lib}/pdns/*.a -mv $RPM_BUILD_ROOT/etc/pdns.conf-dist $RPM_BUILD_ROOT/etc/pdns.conf -mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/pdns -ln -sf ../../etc/init.d/pdns $RPM_BUILD_ROOT/usr/sbin/rcpdns +%makeinstall +%{__install} -Dd -m 0755 %{buildroot}{%{home},%{_localstatedir}} +%{__mv} %{buildroot}%{_sysconfdir}/%{name}/pdns.conf{-dist,} +%{__install} -D -m 0755 %{S:1} %{buildroot}/etc/init.d/%{name} +%{__ln_s} -f ../../etc/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} +%{__rm} -rfv %{buildroot}%{_libdir}/pdns/*.la %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} + +%pre +/usr/sbin/groupadd -r pdns &>/dev/null || : +/usr/sbin/useradd -o -g pdns -s /bin/false -r -c "pdns" -d %{home} pdns &>/dev/null || : %post %{fillup_and_insserv pdns} @@ -90,19 +261,83 @@ %insserv_cleanup %files -%defattr (-, root, root) -%doc ChangeLog HACKING INSTALL README TODO +%defattr (-,root,root,-) +%doc ChangeLog HACKING INSTALL README* TODO %doc pdns/docs/html -%config /etc/init.d/pdns -%config(noreplace) /etc/pdns* -/usr/%{_lib}/pdns -/usr/bin/* -/usr/sbin/* -%doc /usr/share/man/man?/*.* +/etc/init.d/%{name} +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf +%{_bindir}/pdns_control +%{_bindir}/zone2ldap +%{_bindir}/zone2sql +%{_sbindir}/rcpdns +%{_sbindir}/pdns_server +%{_mandir}/man8/pdns_control.8.gz +%{_mandir}/man8/pdns_server.8.gz +%{_mandir}/man8/zone2sql.8.gz +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/libpdnsbackend.so* +%{_libdir}/%{name}/libpipebackend.so* +%{_libdir}/%{name}/libgeobackend.so* +%dir %{home} +%dir %{_localstatedir} +%if %with_recursor + +%files -n pdns-recursor +%defattr (-,root,root,-) +%{_sbindir}/pdns_recursor +%endif + +%files backend-mysql +%defattr (-,root,root,-) +%{_libdir}/%{name}/libgmysqlbackend.so* + +%files backend-postgresql +%defattr (-,root,root,-) +%{_libdir}/%{name}/libgpgsqlbackend.so* + +%files backend-sqlite2 +%defattr (-,root,root,-) +%{_libdir}/%{name}/libgsqlitebackend.so* + +%files backend-ldap +%defattr (-,root,root,-) +%{_libdir}/%{name}/libldapbackend.so* +%if 0%{?with_opendbx} + +%files backend-opendbx +%defattr (-,root,root,-) +%{_libdir}/%{name}/libopendbxbackend.so* +%endif +%if 0%{?with_xdb} + +%files backend-xdb +%defattr (-,root,root,-) +%{_bindir}/xdb-fill +%{_libdir}/%{name}/libxdbbackend.so* +%endif %changelog -n pdns +* Thu Oct 19 2006 - mrueckert@suse.de +- this is a sync to the buildservice package in server:dns: +- remove .la files +* Fri Oct 13 2006 - mrueckert@suse.de +- added opendbxbackend_2.9.20-3.diff: + updates the opendbx backend to the latest version +* Fri May 19 2006 - mrueckert@suse.de +- disable the recursor as we use the newer external package. * Thu May 04 2006 - nadvornik@suse.cz - fixed crash on malformed packets CVE-2006-2069 [#170542] +* Sun Mar 26 2006 - mrueckert@suse.de +- fixed Requires for the subpackages +* Sat Mar 25 2006 - mrueckert@suse.de +- update to 2.9.20: + Besides adding OpenDBX, this release is mostly about fixing + problems and speeding up the recursor. +- disabled static support +- removed rm for the .a files +- splitted of the backends that pull in new dependencies +- removed patch. applied upstream. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 01 2005 - nadvornik@suse.cz ++++++ opendbxbackend_2.9.20-3.diff ++++++ ++++ 1038 lines (skipped) ++++++ pdns-2.9.19.tar.bz2 -> pdns-2.9.20.tar.bz2 ++++++ ++++ 6443 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org