]> git.pld-linux.org Git - packages/bind.git/blobdiff - bind.spec
- separate subpackage for plugins
[packages/bind.git] / bind.spec
index d52ddca7411fbd8c87991aa816846c93feebd5d0..b8e6a08c2769987cd46aca643dc52df1a99a7de3 100644 (file)
--- a/bind.spec
+++ b/bind.spec
@@ -23,7 +23,7 @@
 %bcond_without epoll           # disable epoll support
 %endif
 
-%define                ver     9.18.0
+%define                ver     9.18.1
 %if 0
 %define                pverdot .P0
 %define                pverdir -P0
@@ -48,7 +48,7 @@ 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: d7072b2d774077f37bff51580b3a577b
 Source1:       named.init
 Source2:       named.sysconfig
 Source3:       named.logrotate
@@ -60,13 +60,14 @@ Source5:    dnszone-schema.txt
 Source6:       %{name}-hip.tar.gz
 # Source6-md5: 62a8a67f51ff8db9fe815205416a1f62
 Source7:       https://www.internic.net/domain/named.root
-# Source7-md5: e7b0c887f185b606e0afeb2a5512de90
+# Source7-md5: 544504d19e2b71c259d2a09d231533aa
 Source8:       %{name}-127.0.0.zone
 Source9:       %{name}-localhost.zone
 Source10:      %{name}-named.conf
 Source11:      %{name}.tmpfiles
 Source12:      named.service
 
+Patch3:                jemalloc.patch
 Patch4:                %{name}-ac-libs.patch
 Patch5:                %{name}-edns-client-subnet.patch
 URL:           https://www.isc.org/software/bind
@@ -76,6 +77,7 @@ BuildRequires:        bison
 %{?with_tests:BuildRequires:   cmocka-devel >= 1.0.0}
 BuildRequires: flex
 %{?with_kerberos5:BuildRequires:       heimdal-devel}
+BuildRequires: jemalloc-devel
 BuildRequires: json-c-devel >= 0.11
 BuildRequires: libatomic-devel
 BuildRequires: libcap-devel
@@ -199,6 +201,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
@@ -363,6 +379,7 @@ BIND.
 %prep
 %setup -q %{?with_hip:-a6} -n %{name}-%{ver}%{pverdir}
 
+%patch3 -p1
 %patch4 -p1
 %{?with_hip:%{__mv} bind-hip/hip_55.[ch] lib/dns/rdata/generic}
 %{?with_edns_cli:%patch5 -p0}
@@ -381,6 +398,7 @@ BIND.
        --enable-largefile \
        %{?with_static_libs:--enable-static} \
        %{?with_kerberos5:--with-gssapi} \
+       --with-jemalloc=yes \
        --with-libidn2 \
        --with-libxml2 \
        %{?with_ssl:--with-openssl} \
@@ -534,6 +552,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
This page took 0.042787 seconds and 4 git commands to generate.