summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bind.spec15
1 files changed, 15 insertions, 0 deletions
diff --git a/bind.spec b/bind.spec
index a801da6..450b032 100644
--- a/bind.spec
+++ b/bind.spec
@@ -15,6 +15,7 @@
# due to extensive changes to Makefiles
%{?!PKCS11: %global PKCS11 1}
%{?!DEVEL: %global DEVEL 1}
+%{?!LMDB: %global LMDB 0}
%{?!DLZ: %global DLZ 0}
%global bind_dir /var/named
%global chroot_prefix %{bind_dir}/chroot
@@ -122,6 +123,9 @@ BuildRequires: net-tools perl(Net::DNS) perl(Net::DNS::Nameserver)
%if %{GSSTSIG}
BuildRequires: krb5-devel
%endif
+%if %{LMDB}
+BuildRequires: lmdb-devel
+%endif
# Needed to regenerate dig.1 manpage
BuildRequires: docbook-style-xsl, libxslt
@@ -465,6 +469,11 @@ libtoolize -c -f; aclocal -I libtool.m4 --force; autoconf -f
--with-gssapi=yes \
--disable-isc-spnego \
%endif
+%if %{LMDB}
+ --with-lmdb=yes \
+%else
+ --with-lmdb=no \
+%endif
--enable-fixed-rrset \
--with-docbook-xsl=%{_datadir}/sgml/docbook/xsl-stylesheets \
--enable-full-report \
@@ -950,6 +959,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/isc-hmac-fixup
%{_sbindir}/named-checkzone
%{_sbindir}/named-compilezone
+%if %{LMDB}
+%{_sbindir}/named-nzd2nzf
+%endif
%{_mandir}/man1/host.1*
%{_mandir}/man1/nsupdate.1*
%{_mandir}/man1/dig.1*
@@ -967,6 +979,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man8/isc-hmac-fixup.8*
%{_mandir}/man8/named-checkzone.8*
%{_mandir}/man8/named-compilezone.8*
+%if %{LMDB}
+%{_mandir}/man8/named-nzd2nzf.8*
+%endif
%{_sysconfdir}/trusted-key.key
%if %{DEVEL}