]> git.pld-linux.org Git - packages/bind.git/blobdiff - bind.spec
Up to 9.18.2.
[packages/bind.git] / bind.spec
index fcbae43024a933b8d97446cf34d3c79e89d04ecf..148a047dbe09875090503585605dddcc8141a73f 100644 (file)
--- a/bind.spec
+++ b/bind.spec
@@ -7,6 +7,7 @@
 %bcond_without kerberos5       # GSS-API support
 %bcond_without ssl             # OpenSSL support
 %bcond_without lmdb            # LMDB storage support for addzone zones
+%bcond_without doh             # DNS over HTTPS support
 %bcond_with    static_libs     # static libraries
 %bcond_with    system_tests    # system tests (require root to configure localhost IPs)
 %bcond_with    tests           # unit tests
@@ -23,7 +24,7 @@
 %bcond_without epoll           # disable epoll support
 %endif
 
-%define                ver     9.18.0
+%define                ver     9.18.2
 %if 0
 %define                pverdot .P0
 %define                pverdir -P0
@@ -43,24 +44,21 @@ Summary(uk.UTF-8):  BIND - cервер системи доменних імен (
 Summary(zh_CN.UTF-8):  Internet 域名服务器
 Name:          bind
 Version:       %{ver}%{pverdot}
-Release:       3
+Release:       1
 Epoch:         7
 License:       MPL 2.0
 Group:         Networking/Daemons
 Source0:       ftp://ftp.isc.org/isc/bind9/%{ver}%{pverdir}/%{name}-%{ver}%{pverdir}.tar.xz
-# Source0-md5: 0e6fe85e3f2d252f5cec9cb98e82bc15
+# Source0-md5: e14b700dc7709af6bbc9e6bfdf8cb36b
 Source1:       named.init
 Source2:       named.sysconfig
 Source3:       named.logrotate
 Source4:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source4-md5: 35b1dfaa12615c9802126ee833e0e7f7
-# formerly http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt (dead URL now)
-Source5:       dnszone-schema.txt
-# Source5-md5: 49fe799c6eca54ae227b22d57ebc1145
 Source6:       %{name}-hip.tar.gz
 # Source6-md5: 62a8a67f51ff8db9fe815205416a1f62
 Source7:       https://www.internic.net/domain/named.root
-# Source7-md5: e7b0c887f185b606e0afeb2a5512de90
+# Source7-md5: fabc15905a0ffdd081ff67213a268289
 Source8:       %{name}-127.0.0.zone
 Source9:       %{name}-localhost.zone
 Source10:      %{name}-named.conf
@@ -90,6 +88,7 @@ BuildRequires:        libuv-devel >= 1.37.0
 BuildRequires: libxml2-devel >= 1:2.6.0
 %{?with_lmdb:BuildRequires:    lmdb-devel}
 %{?with_geoip:BuildRequires:   libmaxminddb-devel}
+%{?with_doh:BuildRequires:     nghttp2-devel >= 1.6.0}
 %{?with_ssl:BuildRequires:     openssl-devel >= 1.0.0}
 BuildRequires: pkgconfig
 BuildRequires: python3-devel >= 1:3.2
@@ -98,6 +97,8 @@ BuildRequires:        readline-devel
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(macros) >= 1.647
 BuildRequires: sphinx-pdg
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRequires: zlib-devel
 %if %{with dnstap}
 BuildRequires: fstrm-devel
@@ -201,6 +202,20 @@ BIND (Berkeley Internet Name Domain) є реалізацією протокол
 Конфігураційні файли, ща настроюють BIND на роботу в режимі простого
 кешируючого серверу, включені в пакет caching-nameserver.
 
+%package plugins
+Summary:       Plugins for Bind DNS name server
+Summary(pl.UTF-8):     Wtyczki dla serwera nazw DNS Bind
+Group:         Networking/Utilities
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description plugins
+Plugins for extending of query processing functionality of Bind DNS name
+server.
+
+%description plugins -l pl.UTF-8
+Wtyczki rozszerzające funkcjonalność przetwarzania zapytań przez serwer
+nazw DNS Bind.
+
 %package utils
 Summary:       DNS utils - host, dig, dnsquery, nslookup
 Summary(de.UTF-8):     DNS-Utils - Host, Dig, Dnsquery, Nslookup
@@ -281,6 +296,7 @@ Group:              Libraries
 Requires:      json-c >= 0.11
 Requires:      libuv >= 1.37.0
 Requires:      libxml2 >= 1:2.6.0
+%{?with_doh:Requires:  nghttp2-libs >= 1.6.0}
 
 %description libs
 The bind-libs package contains all libraries required for running BIND
@@ -379,6 +395,7 @@ BIND.
        CFLAGS="-D_GNU_SOURCE=1 %{rpmcflags} %{rpmcppflags}" \
        LDFLAGS="%{rpmldflags}" \
        %{?with_dnstap:--enable-dnstap} \
+       %{!?with_doh:--disable-doh} \
        %{!?with_epoll:--disable-epoll --disable-devpoll} \
        --enable-full-report \
        --enable-largefile \
@@ -538,6 +555,8 @@ fi
 
 %attr(770,root,named) %dir %{_var}/run/named
 
+%files plugins
+%defattr(644,root,root,755)
 %dir %{_libdir}/bind
 %attr(755,root,root) %{_libdir}/bind/filter-a.so
 %attr(755,root,root) %{_libdir}/bind/filter-aaaa.so
@@ -623,9 +642,3 @@ fi
 %{_libdir}/libisccfg.a
 %{_libdir}/libns.a
 %endif
-
-%if %{with ldap}
-%files -n openldap-schema-bind
-%defattr(644,root,root,755)
-%{_datadir}/openldap/schema/dnszone.schema
-%endif
This page took 0.035743 seconds and 4 git commands to generate.