From 0ae595c9d941bb18b60f0e823f636928ef51be1b Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 13 May 2015 19:00:59 +0200 Subject: [PATCH] Add geoip backend to centos7 rpm --- build-scripts/build-auth-rpm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.47.2