From d0d9195b07dfefd04de778b8c69a94c8fa68f317 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 24 Jun 2019 14:16:33 +0200 Subject: [PATCH] Add LMDB backend to centos-7 --- builder-support/specs/pdns.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index 181aeab45..d8d760034 100644 --- a/builder-support/specs/pdns.spec +++ b/builder-support/specs/pdns.spec @@ -175,6 +175,16 @@ 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-lmdb +Summary: LMDB backend for %{name} +Group: System Environment/Daemons +Requires: %{name}%{?_isa} = %{version}-%{release} +BuildRequires: lmdb-devel +%global backends %{backends} lmdb + +%description backend-lmdb +This package contains the lmdb backend for %{name} + %package backend-tinydns Summary: TinyDNS backend for %{name} Group: System Environment/Daemons @@ -408,6 +418,9 @@ fi %files backend-geoip %{_libdir}/%{name}/libgeoipbackend.so +%files backend-lmdb +%{_libdir}/%{name}/liblmdbbackend.so + %files backend-tinydns %{_libdir}/%{name}/libtinydnsbackend.so -- 2.40.0