Upstream released new version, containing fix for CVE-2015-5230
- Remove dnsdist, it is now a separate project - Enable GeoIP, MyDNS, TinyDNS, ZeroMQ and LMDB backends
This commit is contained in:
parent
9c92da8ede
commit
af35468fa3
|
@ -18,3 +18,4 @@ pdns-2.9.22.tar.gz
|
|||
/pdns-3.4.3.tar.bz2
|
||||
/pdns-3.4.4.tar.bz2
|
||||
/pdns-3.4.5.tar.bz2
|
||||
/pdns-3.4.6.tar.bz2
|
||||
|
|
78
pdns.spec
78
pdns.spec
|
@ -2,7 +2,7 @@
|
|||
%global backends %{nil}
|
||||
|
||||
Name: pdns
|
||||
Version: 3.4.5
|
||||
Version: 3.4.6
|
||||
Release: 1%{?dist}
|
||||
Summary: A modern, advanced and high performance authoritative-only nameserver
|
||||
Group: System Environment/Daemons
|
||||
|
@ -24,6 +24,7 @@ BuildRequires: boost-devel
|
|||
BuildRequires: lua-devel
|
||||
BuildRequires: cryptopp-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: zeromq-devel
|
||||
BuildRequires: mbedtls-devel
|
||||
Provides: powerdns = %{version}-%{release}
|
||||
%global backends %{backends} bind
|
||||
|
@ -119,6 +120,56 @@ BuildRequires: sqlite-devel
|
|||
%description backend-sqlite
|
||||
This package contains the SQLite backend for %{name}
|
||||
|
||||
%package backend-opendbx
|
||||
Summary: OpenDBX backend for %{name}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: opendbx-devel
|
||||
%global backends %{backends} opendbx
|
||||
|
||||
%description backend-opendbx
|
||||
This package contains the opendbx backend for %{name}
|
||||
|
||||
%package backend-geoip
|
||||
Summary: GeoIP backend for %{name}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: geoip-devel
|
||||
BuildRequires: yaml-cpp-devel
|
||||
%global backends %{backends} geoip
|
||||
|
||||
%description backend-geoip
|
||||
This package contains the GeoIP backend for %{name}
|
||||
|
||||
%package backend-mydns
|
||||
Summary: MyDNS backend for %{name}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%global backends %{backends} mydns
|
||||
|
||||
%description backend-mydns
|
||||
This package contains the MyDNS backend for %{name}
|
||||
|
||||
%package backend-tinydns
|
||||
Summary: TinyDNS backend for %{name}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: tinycdb-devel
|
||||
%global backends %{backends} tinydns
|
||||
|
||||
%description backend-tinydns
|
||||
This package contains the TinyDNS backend for %{name}
|
||||
|
||||
%package backend-lmdb
|
||||
Summary: LMDB backend for %{name}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: lmdb-devel
|
||||
%global backends %{backends} lmdb
|
||||
|
||||
%description backend-lmdb
|
||||
This package contains the LMDB backend for %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .default-config-patch
|
||||
|
@ -139,12 +190,12 @@ export CPPFLAGS="-DLDAP_DEPRECATED"
|
|||
--with-dynmodules='%{backends}' \
|
||||
--enable-cryptopp \
|
||||
--enable-tools \
|
||||
--enable-remotebackend-zeromq \
|
||||
--enable-unit-tests
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.la
|
||||
|
@ -196,6 +247,7 @@ exit 0
|
|||
%{_bindir}/pdns-zone2ldap
|
||||
%{_bindir}/zone2sql
|
||||
%{_bindir}/zone2json
|
||||
%{_bindir}/zone2lmdb
|
||||
%{_sbindir}/pdns_server
|
||||
%{_libdir}/%{name}/libbindbackend.so
|
||||
%{_mandir}/man1/pdns_control.1.gz
|
||||
|
@ -213,7 +265,6 @@ exit 0
|
|||
%{_bindir}/dnsreplay
|
||||
%{_bindir}/dnsscan
|
||||
%{_bindir}/dnsscope
|
||||
%{_bindir}/dnsdist
|
||||
%{_bindir}/dnstcpbench
|
||||
%{_bindir}/dnswasher
|
||||
%{_bindir}/nproxy
|
||||
|
@ -223,7 +274,6 @@ exit 0
|
|||
%{_mandir}/man1/dnsscope.1.gz
|
||||
%{_mandir}/man1/dnswasher.1.gz
|
||||
%{_mandir}/man1/dnstcpbench.1.gz
|
||||
%{_mandir}/man1/dnsdist.1.gz
|
||||
|
||||
%files backend-mysql
|
||||
%doc modules/gmysqlbackend/schema.mysql.sql
|
||||
|
@ -259,7 +309,27 @@ exit 0
|
|||
%doc modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
|
||||
%{_libdir}/%{name}/libgsqlite3backend.so
|
||||
|
||||
%files backend-opendbx
|
||||
%{_libdir}/%{name}/libopendbxbackend.so
|
||||
|
||||
%files backend-geoip
|
||||
%{_libdir}/%{name}/libgeoipbackend.so
|
||||
|
||||
%files backend-mydns
|
||||
%{_libdir}/%{name}/libmydnsbackend.so
|
||||
|
||||
%files backend-tinydns
|
||||
%{_libdir}/%{name}/libtinydnsbackend.so
|
||||
|
||||
%files backend-lmdb
|
||||
%{_libdir}/%{name}/liblmdbbackend.so
|
||||
|
||||
%changelog
|
||||
* Wed Sep 02 2015 Ruben Kerkhof <ruben@rubenkerkhof.com> - 3.4.6-1
|
||||
- Upstream released new version, containing fix for CVE-2015-5230
|
||||
- Remove dnsdist, it is now a separate project
|
||||
- Enable GeoIP, MyDNS, TinyDNS, ZeroMQ and LMDB backends
|
||||
|
||||
* Wed Jun 10 2015 Morten Stevens <mstevens@imt-systems.com> - 3.4.5-1
|
||||
- Update to 3.4.5
|
||||
- Added mbedtls-devel as build dep
|
||||
|
|
Loading…
Reference in New Issue