Update to 2.9.22.6
This commit is contained in:
parent
0205fd9154
commit
d93ad50e3f
|
@ -1 +1,2 @@
|
|||
pdns-2.9.22.tar.gz
|
||||
/pdns-2.9.22.6.tar.gz
|
||||
|
|
|
@ -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());
|
19
pdns.spec
19
pdns.spec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue