[pdns] Enable backend: GeoIP, MyDNS, TinyDNS

Morten Stevens mstevens at fedoraproject.org
Thu Oct 2 09:25:09 UTC 2014


commit b3a20f32fda7aeb3917d175adadad7262c400171
Author: Morten Stevens <mstevens at imt-systems.com>
Date:   Thu Oct 2 11:24:48 2014 +0200

    Enable backend: GeoIP, MyDNS, TinyDNS

 pdns.spec |   44 +++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 43 insertions(+), 1 deletions(-)
---
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 <mstevens at imt-systems.com> - 3.4.0-2
+- Enable backend: GeoIP, MyDNS, TinyDNS
+
 * Tue Sep 30 2014 Morten Stevens <mstevens at imt-systems.com> - 3.4.0-1
 - Update to 3.4.0
 


More information about the scm-commits mailing list