Enable backend: GeoIP, MyDNS, TinyDNS

This commit is contained in:
Morten Stevens 2014-10-02 11:24:48 +02:00
parent 862a5d89fb
commit b3a20f32fd
1 changed files with 43 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: pdns
Version: 3.4.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A modern, advanced and high performance authoritative-only nameserver
Group: System Environment/Daemons
License: GPLv2
@ -130,6 +130,36 @@ BuildRequires: opendbx-devel
%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}
%prep
%setup -q
%patch0 -p1 -b .default-config-patch
@ -264,7 +294,19 @@ exit 0
%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
%changelog
* Thu Oct 02 2014 Morten Stevens <mstevens@imt-systems.com> - 3.4.0-2
- Enable backend: GeoIP, MyDNS, TinyDNS
* Tue Sep 30 2014 Morten Stevens <mstevens@imt-systems.com> - 3.4.0-1
- Update to 3.4.0