Compare commits

..

21 Commits

Author SHA1 Message Date
08c42e0110 automatic version update by autodist [release 9.15.8-1mamba;Wed Jan 22 2020] 2024-01-05 20:47:29 +01:00
c3114459b7 update to 9.15.7 [release 9.15.7-1mamba;Thu Jan 16 2020] 2024-01-05 20:47:29 +01:00
43ac44b6c4 automatic version update by autodist [release 9.15.6-1mamba;Thu Nov 21 2019] 2024-01-05 20:47:29 +01:00
74af9f9299 automatic version update by autodist [release 9.15.5-1mamba;Thu Oct 17 2019] 2024-01-05 20:47:29 +01:00
12ca9ca14f automatic version update by autodist [release 9.15.4-1mamba;Thu Sep 19 2019] 2024-01-05 20:47:28 +01:00
6a4581f741 automatic version update by autodist [release 9.15.3-1mamba;Wed Aug 28 2019] 2024-01-05 20:47:28 +01:00
6284f3dd8c add named.conf in tmpfilesdir to create /run/named [release 9.15.2-2mamba;Fri Aug 16 2019] 2024-01-05 20:47:28 +01:00
9cafce56ce automatic version update by autodist [release 9.15.2-1mamba;Thu Jul 18 2019] 2024-01-05 20:47:28 +01:00
5616accd7c automatic version update by autodist [release 9.15.1-1mamba;Thu Jun 20 2019] 2024-01-05 20:47:28 +01:00
7ff305931b automatic version update by autodist [release 9.15.0-1mamba;Thu May 16 2019] 2024-01-05 20:47:28 +01:00
1cd045a022 automatic version update by autodist [release 9.14.1-1mamba;Thu Apr 25 2019] 2024-01-05 20:47:28 +01:00
9c4ff75c60 automatic version update by autodist [release 9.14.0-1mamba;Fri Mar 22 2019] 2024-01-05 20:47:28 +01:00
6e8c3792fd automatic version update by autodist [release 9.13.7-1mamba;Fri Feb 22 2019] 2024-01-05 20:47:28 +01:00
e078998f6a automatic version update by autodist [release 9.13.6-1mamba;Fri Feb 08 2019] 2024-01-05 20:47:28 +01:00
d42754889a automatic version update by autodist [release 9.13.3-1mamba;Sat Sep 22 2018] 2024-01-05 20:47:28 +01:00
21a2e04f27 automatic version update by autodist [release 9.13.2-1mamba;Wed Jul 11 2018] 2024-01-05 20:47:28 +01:00
e211f97d91 automatic version update by autodist [release 9.13.1-1mamba;Sun Jun 17 2018] 2024-01-05 20:47:28 +01:00
6469c1dec1 automatic version update by autodist [release 9.12.1.P2-1mamba;Sat May 19 2018] 2024-01-05 20:47:28 +01:00
0e2c1d5011 automatic version update by autodist [release 9.12.1-1mamba;Wed Mar 14 2018] 2024-01-05 20:47:28 +01:00
9a35e781c4 automatic version update by autodist [release 9.12.0-1mamba;Wed Feb 07 2018] 2024-01-05 20:47:28 +01:00
f69731152f automatic version update by autodist [release 9.11.2.P1-1mamba;Wed Jan 17 2018] 2024-01-05 20:47:28 +01:00
2 changed files with 100 additions and 18 deletions

117
bind.spec
View File

@@ -6,7 +6,7 @@
%define MAJver %(echo %version | cut -d. -f 1-2)
Name: bind
Version: 9.11.2
Version: 9.15.8
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
@@ -28,6 +28,7 @@ Source12: bind-named.conf
Source13: bind-localhost.zone
Source14: bind-named.local
Source15: bind-rndc.conf
Source16: named-tmpfilesdir.conf
Patch: %{name}-9.3.4-mktemp.patch
License: BSD
## AUTOBUILDREQ-BEGIN
@@ -88,13 +89,16 @@ You should install bind-utils if you need to get information from DNS name serve
tar xjf %{S:1}
# Fix detection of jsoncpp
sed "s|/include/json/json.h|/include/json/json.h.no|" configure
#sed -i "s|/include/json/json.h|/include/json/json.h.no|" configure
%build
%configure \
--enable-threads \
--enable-ipv6 \
LIBS="-ltermcap" \
%ifarch arm
CFLAGS="%{optflags} -march=armv7-a" \
%endif
%if "%{_host}" != "%{_build}"
--enable-epoll \
--with-python \
@@ -109,9 +113,11 @@ sed "s|/include/json/json.h|/include/json/json.h.no|" configure
mkdir -p %{buildroot}/etc/{rc.d/init.d,logrotate.d}
mkdir -p %{buildroot}/etc/sysconfig
mkdir -p %{buildroot}%{_var}/named
mkdir -p %{buildroot}%{_var}/run/named
#mkdir -p %{buildroot}%{_var}/run/named
mkdir -p %{buildroot}%{_var}/named/slave
install -D -m0644 %{SOURCE16} %{buildroot}%{_tmpfilesdir}/named.conf
%makeinstall
touch %{buildroot}%{_sysconfdir}/rndc.key
@@ -119,7 +125,7 @@ cp contrib/scripts/named-bootconf.sh \
%{buildroot}%{_sbindir}/named-bootconf
cp contrib/scripts/nanny.pl %{buildroot}%{_sbindir}
#cp contrib/queryperf/queryperf %{buildroot}%{_sbindir}
cp contrib/queryperf/README ./README.queryperf
#cp contrib/queryperf/README ./README.queryperf
install -D -m0644 %{S:2} %{buildroot}%{_unitdir}/named.service
@@ -164,6 +170,8 @@ key "rndckey" {
_EOF
fi
%tmpfiles_create named.conf
%systemd_post named
if [ $1 -ge 1 ]; then
# clean old sysv broken links
@@ -192,6 +200,7 @@ exit 0
%attr(0755,root,root) %{_sbindir}/bind-chroot.sh
%{_sbindir}/dns-keygen
%{_sbindir}/ddns-confgen
%{_sbindir}/dnssec-cds
%{_sbindir}/dnssec-checkds
%{_sbindir}/dnssec-coverage
%{_sbindir}/dnssec-dsfromkey
@@ -202,7 +211,7 @@ exit 0
%{_sbindir}/dnssec-settime
%{_sbindir}/dnssec-signzone
%{_sbindir}/dnssec-verify
%{_sbindir}/lwresd
#%{_sbindir}/lwresd
%{_sbindir}/named
%{_bindir}/named-rrchecker
%attr(0755,root,root) %{_sbindir}/named-bootconf
@@ -218,17 +227,20 @@ exit 0
%{_sbindir}/tsig-keygen
%attr(0755,root,root) %{_sbindir}/update_bind.pl
%attr(0755,root,root) %config(noreplace) %{_unitdir}/named.service
%{_tmpfilesdir}/named.conf
%dir %attr(0755,named,named) %{_localstatedir}/named
%dir %attr(0755,named,named) %{_localstatedir}/named/slave
%dir %attr(0755,named,named) %{_localstatedir}/run/named
#%dir %attr(0755,named,named) %{_localstatedir}/named/slave
%ifnarch arm
%{python27_sitelib}/isc-*.egg-info
%dir %{python27_sitelib}/isc
%{python27_sitelib}/isc/*
%endif
%attr(0755,named,named) %{_var}/named/*
%{_mandir}/man3/*
#%{_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.*
@@ -239,7 +251,8 @@ exit 0
%{_mandir}/man8/dnssec-revoke.*
%{_mandir}/man8/dnssec-settime.*
%{_mandir}/man8/dnssec-verify.8*
%{_mandir}/man8/lwresd.*
%{_mandir}/man8/filter-aaaa.8*
#%{_mandir}/man8/lwresd.*
%{_mandir}/man8/named-checkconf.*
%{_mandir}/man8/named-checkzone.*
%{_mandir}/man8/named-compilezone.*
@@ -252,7 +265,7 @@ exit 0
%files devel
%defattr(-,root,root)
%{_bindir}/bind9-config
#%{_bindir}/bind9-config
%dir %{_includedir}/dns/
%{_includedir}/dns/*
%dir %{_includedir}/irs/
@@ -263,8 +276,8 @@ exit 0
%{_includedir}/isccc/*
%dir %{_includedir}/isccfg/
%{_includedir}/isccfg/*
%dir %{_includedir}/lwres/
%{_includedir}/lwres/*
#%dir %{_includedir}/lwres/
#%{_includedir}/lwres/*
%dir %{_includedir}/dst/
%{_includedir}/dst/*
%dir %{_includedir}/bind9/
@@ -273,6 +286,8 @@ exit 0
%{_includedir}/pk11/*
%dir %{_includedir}/pkcs11/
%{_includedir}/pkcs11/*
%dir %{_includedir}/ns/
%{_includedir}/ns/*
%{_libdir}/*
%files utils
@@ -282,20 +297,86 @@ exit 0
%{_bindir}/dig
%{_bindir}/mdig
%{_bindir}/host
%{_bindir}/isc-config.sh
#%{_bindir}/isc-config.sh
%{_bindir}/nslookup
%{_bindir}/nsupdate
%{_sbindir}/dnssec-keymgr
%{_sbindir}/genrandom
%{_sbindir}/isc-hmac-fixup
#%{_sbindir}/genrandom
#%{_sbindir}/isc-hmac-fixup
%{_sbindir}/nsec3hash
%{_mandir}/man1/*
%{_mandir}/man8/genrandom.*
%{_mandir}/man8/isc-hmac-fixup.*
#%{_mandir}/man8/genrandom.*
#%{_mandir}/man8/isc-hmac-fixup.*
%{_mandir}/man8/nsec3hash.*
%{_mandir}/man8/dnssec-keymgr.8*
%changelog
* 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
* Thu Sep 19 2019 Automatic Build System <autodist@mambasoft.it> 9.15.4-1mamba
- automatic version update by autodist
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 9.15.3-1mamba
- automatic version update by autodist
* Fri Aug 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 9.15.2-2mamba
- add named.conf in tmpfilesdir to create /run/named
* Thu Jul 18 2019 Automatic Build System <autodist@mambasoft.it> 9.15.2-1mamba
- automatic version update by autodist
* Thu Jun 20 2019 Automatic Build System <autodist@mambasoft.it> 9.15.1-1mamba
- automatic version update by autodist
* Thu May 16 2019 Automatic Build System <autodist@mambasoft.it> 9.15.0-1mamba
- automatic version update by autodist
* Thu Apr 25 2019 Automatic Build System <autodist@mambasoft.it> 9.14.1-1mamba
- automatic version update by autodist
* Fri Mar 22 2019 Automatic Build System <autodist@mambasoft.it> 9.14.0-1mamba
- automatic version update by autodist
* Fri Feb 22 2019 Automatic Build System <autodist@mambasoft.it> 9.13.7-1mamba
- automatic version update by autodist
* Fri Feb 08 2019 Automatic Build System <autodist@mambasoft.it> 9.13.6-1mamba
- automatic version update by autodist
* Wed Dec 19 2018 Automatic Build System <autodist@mambasoft.it> 9.13.5-1mamba
- automatic version update by autodist
* Sat Sep 22 2018 Automatic Build System <autodist@mambasoft.it> 9.13.3-1mamba
- automatic version update by autodist
* Wed Jul 11 2018 Automatic Build System <autodist@mambasoft.it> 9.13.2-1mamba
- automatic version update by autodist
* Sun Jun 17 2018 Automatic Build System <autodist@mambasoft.it> 9.13.1-1mamba
- automatic version update by autodist
* Sat May 19 2018 Automatic Build System <autodist@mambasoft.it> 9.12.1.P2-1mamba
- automatic version update by autodist
* Wed Mar 14 2018 Automatic Build System <autodist@mambasoft.it> 9.12.1-1mamba
- automatic version update by autodist
* Wed Feb 07 2018 Automatic Build System <autodist@mambasoft.it> 9.12.0-1mamba
- automatic version update by autodist
* Wed Jan 17 2018 Automatic Build System <autodist@mambasoft.it> 9.11.2.P1-1mamba
- automatic version update by autodist
* Sun Jul 30 2017 Automatic Build System <autodist@mambasoft.it> 9.11.2-1mamba
- automatic version update by autodist

1
named-tmpfilesdir.conf Normal file
View File

@@ -0,0 +1 @@
d /run/named 755 named named