|
|
|
|
@@ -6,7 +6,7 @@
|
|
|
|
|
%define MAJver %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
|
|
Name: bind
|
|
|
|
|
Version: 9.15.5
|
|
|
|
|
Version: 9.17.3
|
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: A DNS (Domain Name System) server
|
|
|
|
|
Group: System/Servers
|
|
|
|
|
@@ -14,7 +14,7 @@ Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: http://www.isc.org/products/BIND/
|
|
|
|
|
Source0: ftp://ftp.isc.org/isc/bind9/%{pkgver}/bind-%{pkgver}.tar.gz
|
|
|
|
|
Source0: ftp://ftp.isc.org/isc/bind9/%{pkgver}/bind-%{pkgver}.tar.xz
|
|
|
|
|
Source1: dhcp-dynamic-dns-examples.tar.bz2
|
|
|
|
|
Source2: named.service
|
|
|
|
|
Source3: named.logrotate
|
|
|
|
|
@@ -46,7 +46,8 @@ BuildRequires: jadetex
|
|
|
|
|
%endif
|
|
|
|
|
Requires: python-ply
|
|
|
|
|
Requires: python-argparse
|
|
|
|
|
Requires: %{name}-utils = %{version}-%{release}
|
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
# FIXME :
|
|
|
|
|
@@ -60,17 +61,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols.
|
|
|
|
|
BIND includes a DNS server (named), which resolves host names to IP addresses; a resolver library (routines for applications to use when interfacing with DNS); and tools for verifying that the DNS server is operating properly.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Include files and libraries needed for bind DNS development.
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
|
Summary: Shared libraries provided by bind
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
|
The libbind package contains the shared libraries provided by BIND.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
|
Summary: Include files and libraries needed for bind DNS development
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Provides: bind-devel
|
|
|
|
|
Obsoletes: bind-devel
|
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
|
The bind-devel package contains all the include files and the library required for DNS (Domain Name System) development for BIND versions 9.x.x.
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
|
Summary: Utilities for querying DNS name servers.
|
|
|
|
|
Group: Applications/Networking
|
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
|
Bind-utils contains a collection of utilities for querying DNS (Domain Name System) name servers to find out information about Internet hosts.
|
|
|
|
|
@@ -78,8 +90,12 @@ These tools will provide you with the IP addresses for given host names, as well
|
|
|
|
|
|
|
|
|
|
You should install bind-utils if you need to get information from DNS name servers.
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{pkgver}
|
|
|
|
|
#-D -T
|
|
|
|
|
#:<< _EOF
|
|
|
|
|
#%patch -p1 -b .mktemp
|
|
|
|
|
|
|
|
|
|
#pushd contrib/queryperf
|
|
|
|
|
@@ -92,6 +108,7 @@ tar xjf %{S:1}
|
|
|
|
|
#sed -i "s|/include/json/json.h|/include/json/json.h.no|" configure
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
#:<< _EOF
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-threads \
|
|
|
|
|
--enable-ipv6 \
|
|
|
|
|
@@ -145,6 +162,9 @@ cp %{S:13} %{buildroot}%{_var}/named/localhost.zone
|
|
|
|
|
cp %{S:14} %{buildroot}%{_var}/named/named.local
|
|
|
|
|
cp %{S:15} %{buildroot}%{_sysconfdir}/rndc.conf
|
|
|
|
|
|
|
|
|
|
# FIXME: workaround for test files installed in build path since 9.17.2
|
|
|
|
|
rm -rf %{buildroot}/usr/src %{buildroot}/var/autodist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
@@ -189,6 +209,9 @@ exit 0
|
|
|
|
|
%systemd_postun_with_restart named
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_sysconfdir}/bind.keys
|
|
|
|
|
@@ -198,72 +221,82 @@ exit 0
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/rndc.key
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/named.conf
|
|
|
|
|
%attr(0755,root,root) %{_sbindir}/bind-chroot.sh
|
|
|
|
|
%{_bindir}/dnssec-cds
|
|
|
|
|
#%{_bindir}/dnssec-checkds
|
|
|
|
|
#%{_bindir}/dnssec-coverage
|
|
|
|
|
%{_bindir}/dnssec-dsfromkey
|
|
|
|
|
%{_bindir}/dnssec-keyfromlabel
|
|
|
|
|
%{_bindir}/dnssec-keygen
|
|
|
|
|
%{_bindir}/dnssec-importkey
|
|
|
|
|
%{_bindir}/dnssec-revoke
|
|
|
|
|
%{_bindir}/dnssec-settime
|
|
|
|
|
%{_bindir}/dnssec-signzone
|
|
|
|
|
%{_bindir}/dnssec-verify
|
|
|
|
|
#%{_sbindir}/lwresd
|
|
|
|
|
%{_sbindir}/dns-keygen
|
|
|
|
|
%{_sbindir}/ddns-confgen
|
|
|
|
|
%{_sbindir}/dnssec-cds
|
|
|
|
|
%{_sbindir}/dnssec-checkds
|
|
|
|
|
%{_sbindir}/dnssec-coverage
|
|
|
|
|
%{_sbindir}/dnssec-dsfromkey
|
|
|
|
|
%{_sbindir}/dnssec-keyfromlabel
|
|
|
|
|
%{_sbindir}/dnssec-keygen
|
|
|
|
|
%{_sbindir}/dnssec-importkey
|
|
|
|
|
%{_sbindir}/dnssec-revoke
|
|
|
|
|
%{_sbindir}/dnssec-settime
|
|
|
|
|
%{_sbindir}/dnssec-signzone
|
|
|
|
|
%{_sbindir}/dnssec-verify
|
|
|
|
|
#%{_sbindir}/lwresd
|
|
|
|
|
%{_sbindir}/named
|
|
|
|
|
%{_bindir}/named-rrchecker
|
|
|
|
|
%attr(0755,root,root) %{_sbindir}/named-bootconf
|
|
|
|
|
%{_sbindir}/named-checkconf
|
|
|
|
|
%{_sbindir}/named-checkzone
|
|
|
|
|
%{_sbindir}/named-compilezone
|
|
|
|
|
%{_sbindir}/named-journalprint
|
|
|
|
|
%{_sbindir}/named-nzd2nzf
|
|
|
|
|
%{_bindir}/named-checkconf
|
|
|
|
|
%{_bindir}/named-checkzone
|
|
|
|
|
%{_bindir}/named-compilezone
|
|
|
|
|
%{_bindir}/named-journalprint
|
|
|
|
|
%{_bindir}/named-nzd2nzf
|
|
|
|
|
%attr(0755,root,root) %{_sbindir}/nanny.pl
|
|
|
|
|
%attr(0755,root,root) %{_sbindir}/new_key.pl
|
|
|
|
|
%{_sbindir}/rndc
|
|
|
|
|
%{_sbindir}/rndc-confgen
|
|
|
|
|
%{_sbindir}/tsig-keygen
|
|
|
|
|
%{_sbindir}/tsig-confgen
|
|
|
|
|
%attr(0755,root,root) %{_sbindir}/update_bind.pl
|
|
|
|
|
%attr(0755,root,root) %config(noreplace) %{_unitdir}/named.service
|
|
|
|
|
%{_unitdir}/named.service
|
|
|
|
|
%{_tmpfilesdir}/named.conf
|
|
|
|
|
%dir %attr(0755,named,named) %{_localstatedir}/named
|
|
|
|
|
#%dir %attr(0755,named,named) %{_localstatedir}/named/slave
|
|
|
|
|
%ifnarch arm
|
|
|
|
|
%{python27_sitelib}/isc-*.egg-info
|
|
|
|
|
%dir %{python27_sitelib}/isc
|
|
|
|
|
%{python27_sitelib}/isc/*
|
|
|
|
|
%endif
|
|
|
|
|
#%{python27_sitelib}/isc-*.egg-info
|
|
|
|
|
#%dir %{python27_sitelib}/isc
|
|
|
|
|
#%{python27_sitelib}/isc/*
|
|
|
|
|
%attr(0755,named,named) %{_var}/named/*
|
|
|
|
|
#%{_mandir}/man3/*
|
|
|
|
|
%{_mandir}/man5/named.conf.*
|
|
|
|
|
%{_mandir}/man5/rndc.conf.*
|
|
|
|
|
%{_mandir}/man8/ddns-confgen.*
|
|
|
|
|
%{_mandir}/man8/dnssec-cds.8.*
|
|
|
|
|
%{_mandir}/man8/dnssec-checkds.8*
|
|
|
|
|
%{_mandir}/man8/dnssec-coverage.8*
|
|
|
|
|
%{_mandir}/man8/dnssec-dsfromkey.*
|
|
|
|
|
%{_mandir}/man8/dnssec-keyfromlabel.*
|
|
|
|
|
%{_mandir}/man8/dnssec-importkey.8*
|
|
|
|
|
%{_mandir}/man8/dnssec-signzone.*
|
|
|
|
|
%{_mandir}/man8/dnssec-keygen.*
|
|
|
|
|
%{_mandir}/man8/dnssec-revoke.*
|
|
|
|
|
%{_mandir}/man8/dnssec-settime.*
|
|
|
|
|
%{_mandir}/man8/dnssec-verify.8*
|
|
|
|
|
%{_mandir}/man1/dnssec-cds.1*
|
|
|
|
|
#%{_mandir}/man1/dnssec-checkds.1*
|
|
|
|
|
#%{_mandir}/man1/dnssec-coverage.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-dsfromkey.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-keyfromlabel.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-importkey.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-signzone.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-keygen.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-revoke.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-settime.1*
|
|
|
|
|
%{_mandir}/man1/dnssec-verify.1*
|
|
|
|
|
%{_mandir}/man8/filter-aaaa.8*
|
|
|
|
|
#%{_mandir}/man8/lwresd.*
|
|
|
|
|
%{_mandir}/man8/named-checkconf.*
|
|
|
|
|
%{_mandir}/man8/named-checkzone.*
|
|
|
|
|
%{_mandir}/man8/named-compilezone.*
|
|
|
|
|
%{_mandir}/man8/named-journalprint.*
|
|
|
|
|
%{_mandir}/man8/named-nzd2nzf.8*
|
|
|
|
|
%{_mandir}/man1/named-checkconf.1*
|
|
|
|
|
%{_mandir}/man1/named-checkzone.1*
|
|
|
|
|
#%{_mandir}/man1/named-compilezone.1*
|
|
|
|
|
%{_mandir}/man1/named-journalprint.1*
|
|
|
|
|
%{_mandir}/man1/named-nzd2nzf.1*
|
|
|
|
|
%{_mandir}/man8/named.*
|
|
|
|
|
%{_mandir}/man8/rndc-confgen.*
|
|
|
|
|
%{_mandir}/man8/rndc.*
|
|
|
|
|
%{_mandir}/man8/tsig-keygen.8*
|
|
|
|
|
#%{_mandir}/man8/tsig-keygen.8*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/libbind9.so.*
|
|
|
|
|
%{_libdir}/libdns.so.*
|
|
|
|
|
%{_libdir}/libirs.so.*
|
|
|
|
|
%{_libdir}/libisc.so.*
|
|
|
|
|
%{_libdir}/libisccc.so.*
|
|
|
|
|
%{_libdir}/libisccfg.so.*
|
|
|
|
|
%{_libdir}/libns.so.*
|
|
|
|
|
%dir %{_libdir}/bind
|
|
|
|
|
%{_libdir}/bind/filter-aaaa.la
|
|
|
|
|
%{_libdir}/bind/filter-aaaa.so
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
#%{_bindir}/bind9-config
|
|
|
|
|
%dir %{_includedir}/dns/
|
|
|
|
|
@@ -288,7 +321,20 @@ exit 0
|
|
|
|
|
%{_includedir}/pkcs11/*
|
|
|
|
|
%dir %{_includedir}/ns/
|
|
|
|
|
%{_includedir}/ns/*
|
|
|
|
|
%{_libdir}/*
|
|
|
|
|
%{_libdir}/libbind9.la
|
|
|
|
|
%{_libdir}/libbind9.so
|
|
|
|
|
%{_libdir}/libdns.la
|
|
|
|
|
%{_libdir}/libdns.so
|
|
|
|
|
%{_libdir}/libirs.la
|
|
|
|
|
%{_libdir}/libirs.so
|
|
|
|
|
%{_libdir}/libisc.la
|
|
|
|
|
%{_libdir}/libisc.so
|
|
|
|
|
%{_libdir}/libisccc.la
|
|
|
|
|
%{_libdir}/libisccc.so
|
|
|
|
|
%{_libdir}/libisccfg.la
|
|
|
|
|
%{_libdir}/libisccfg.so
|
|
|
|
|
%{_libdir}/libns.la
|
|
|
|
|
%{_libdir}/libns.so
|
|
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
@@ -300,17 +346,47 @@ exit 0
|
|
|
|
|
#%{_bindir}/isc-config.sh
|
|
|
|
|
%{_bindir}/nslookup
|
|
|
|
|
%{_bindir}/nsupdate
|
|
|
|
|
%{_sbindir}/dnssec-keymgr
|
|
|
|
|
#%{_bindir}/dnssec-keymgr
|
|
|
|
|
#%{_sbindir}/genrandom
|
|
|
|
|
#%{_sbindir}/isc-hmac-fixup
|
|
|
|
|
%{_sbindir}/nsec3hash
|
|
|
|
|
%{_bindir}/nsec3hash
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
#%{_mandir}/man8/genrandom.*
|
|
|
|
|
#%{_mandir}/man8/isc-hmac-fixup.*
|
|
|
|
|
%{_mandir}/man8/nsec3hash.*
|
|
|
|
|
%{_mandir}/man8/dnssec-keymgr.8*
|
|
|
|
|
%{_mandir}/man1/nsec3hash.1*
|
|
|
|
|
#%{_mandir}/man1/dnssec-keymgr.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 19 2020 Automatic Build System <autodist@mambasoft.it> 9.17.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Mon Jul 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.17.2-2mamba
|
|
|
|
|
- remove old examples from default named.conf
|
|
|
|
|
|
|
|
|
|
* Sat Jul 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.17.2-1mamba
|
|
|
|
|
- update to 9.17.2
|
|
|
|
|
|
|
|
|
|
* Fri Apr 17 2020 Automatic Build System <autodist@mambasoft.it> 9.17.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Mar 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.17.0-2mamba
|
|
|
|
|
- move libraries to new libbind package
|
|
|
|
|
|
|
|
|
|
* Wed Mar 18 2020 Automatic Build System <autodist@mambasoft.it> 9.17.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Feb 20 2020 Automatic Build System <autodist@mambasoft.it> 9.16.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 9.15.8-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.15.7-1mamba
|
|
|
|
|
- update to 9.15.7
|
|
|
|
|
|
|
|
|
|
* Thu Nov 21 2019 Automatic Build System <autodist@mambasoft.it> 9.15.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Oct 17 2019 Automatic Build System <autodist@mambasoft.it> 9.15.5-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
|