From: Pieter Lexis Date: Wed, 13 May 2015 17:00:59 +0000 (+0200) Subject: Add geoip backend to centos7 rpm X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~78^2~9^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ae595c9d941bb18b60f0e823f636928ef51be1b;p=thirdparty%2Fpdns.git Add geoip backend to centos7 rpm --- diff --git a/build-scripts/build-auth-rpm b/build-scripts/build-auth-rpm index d4086f9b27..9e9eac161b 100755 --- a/build-scripts/build-auth-rpm +++ b/build-scripts/build-auth-rpm @@ -364,6 +364,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description backend-remote This package contains the remote backend for %{name} +%package backend-geoip +Summary: Geo backend for %{name} +Group: System Environment/Daemons +Requires: %{name}%{?_isa} = %{version}-%{release} +BuildRequires: yaml-cpp-devel +%global backends %{backends} geoip + +%description backend-geoip +This package contains the geoip backend for %{name} +It allows different answers to DNS queries coming from different +IP address ranges or based on the geoipgraphic location + %package backend-geo Summary: Geo backend for %{name} Group: System Environment/Daemons @@ -522,6 +534,9 @@ exit 0 %files backend-remote %{_libdir}/%{name}/libremotebackend.so +%files backend-geoip +%{_libdir}/%{name}/libgeoipbackend.so + %files backend-geo %doc modules/geobackend/README %{_libdir}/%{name}/libgeobackend.so