Update to 2.9.22.6

This commit is contained in:
Morten Stevens 2013-02-10 23:56:07 +01:00
parent 0205fd9154
commit d93ad50e3f
4 changed files with 12 additions and 23 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
pdns-2.9.22.tar.gz
/pdns-2.9.22.6.tar.gz

View File

@ -1,13 +0,0 @@
diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc
index 909ba4b..1fbfaf0 100644
--- a/pdns/common_startup.cc
+++ b/pdns/common_startup.cc
@@ -244,6 +244,8 @@ void *qthread(void *number)
numreceived4++;
else
numreceived6++;
+ if(P->d.qr)
+ continue;
S.ringAccount("queries", P->qdomain+"/"+P->qtype.getName());
S.ringAccount("remotes",P->getRemote());

View File

@ -1,14 +1,13 @@
Summary: A modern, advanced and high performance authoritative-only nameserver
Name: pdns
Version: 2.9.22
Release: 6%{?dist}
License: GPLv2
Version: 2.9.22.6
Release: 1%{?dist}
Summary: A modern, advanced and high performance authoritative-only nameserver
Group: System Environment/Daemons
License: GPLv2
URL: http://powerdns.com
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
Patch0: pdns-default-config.patch
Patch1: pdns-fixinit.patch
Patch2: pdns-cve-2012-0206.patch
Requires(pre): shadow-utils
Requires(post): /sbin/chkconfig
@ -16,7 +15,7 @@ Requires(preun): /sbin/service, /sbin/chkconfig
Requires(postun): /sbin/service
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: boost-devel
BuildRequires: boost141-devel
BuildRequires: chrpath
Provides: powerdns = %{version}-%{release}
@ -80,14 +79,13 @@ This package contains the ldap backend for %{name}
%description backend-sqlite
This package contains the SQLite backend for %{name}
%prep
%setup -q
%patch0 -p1 -b .default-config-patch
%patch1 -p1 -b .fixinit
%patch2 -p1 -b .cve-2012-0206
%build
CXXFLAGS="-I/usr/include/boost141"
export CPPFLAGS="-DLDAP_DEPRECATED %{optflags}"
%configure \
@ -188,8 +186,11 @@ fi
%doc pdns/COPYING
%{_libdir}/%{name}/libgsqlite3backend.so
%changelog
* Sun Feb 10 2013 Morten Stevens <mstevens@imt-systems.com> - 2.9.22.6-1
- Update to 2.9.22.6
- Rebuild for Boost 1.41
* Thu Nov 01 2012 Morten Stevens <mstevens@imt-systems.com> - 2.9.22-6
- Added condrestart option
- Spec improvements

View File

@ -1 +1 @@
8a6ff842733aca885577eb54e983a1ff pdns-2.9.22.tar.gz
ff97ba980b322adb61c3e9c9e9c4adef pdns-2.9.22.6.tar.gz