From b3a20f32fda7aeb3917d175adadad7262c400171 Mon Sep 17 00:00:00 2001 From: Morten Stevens Date: Thu, 2 Oct 2014 11:24:48 +0200 Subject: [PATCH] Enable backend: GeoIP, MyDNS, TinyDNS --- pdns.spec | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/pdns.spec b/pdns.spec index 0315901..4d3351e 100644 --- a/pdns.spec +++ b/pdns.spec @@ -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 - 3.4.0-2 +- Enable backend: GeoIP, MyDNS, TinyDNS + * Tue Sep 30 2014 Morten Stevens - 3.4.0-1 - Update to 3.4.0