]> granicus.if.org Git - pdns/commitdiff
Add LMDB backend to centos-7
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 24 Jun 2019 12:16:33 +0000 (14:16 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 1 Jul 2019 08:34:24 +0000 (10:34 +0200)
(cherry picked from commit d0d9195b07dfefd04de778b8c69a94c8fa68f317)

builder-support/specs/pdns.spec

index 181aeab45b0807f59e83669cae304b18a2fbc4c3..d8d760034577ab7350643833c75cbc1374045fea 100644 (file)
@@ -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