remove old examples from default named.conf [release 9.17.2-2mamba;Mon Jul 06 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:47:29 +01:00
parent 179a275d2c
commit 0b07842a30
3 changed files with 60 additions and 57 deletions

View File

@ -1,8 +1,8 @@
// generated by named-bootconf.pl
// sample configuration from openmamba package
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
pid-file "/run/named/named.pid";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
@ -30,12 +30,6 @@ zone "localhost" IN {
allow-update { none; };
};
#zone "in-qinet.it" IN {
# type master;
# file "in-qinet.zone";
# allow-update { localhost; };
#};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";

105
bind.spec
View File

@ -6,8 +6,8 @@
%define MAJver %(echo %version | cut -d. -f 1-2)
Name: bind
Version: 9.17.1
Release: 1mamba
Version: 9.17.2
Release: 2mamba
Summary: A DNS (Domain Name System) server
Group: System/Servers
Vendor: openmamba
@ -162,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}"
@ -218,68 +221,67 @@ 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
%{python27_sitelib}/isc-*.egg-info
%dir %{python27_sitelib}/isc
%{python27_sitelib}/isc/*
#%{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 -n lib%{name}
%defattr(-,root,root)
@ -290,8 +292,9 @@ exit 0
%{_libdir}/libisccc.so.*
%{_libdir}/libisccfg.so.*
%{_libdir}/libns.so.*
%dir %{_libdir}/named
%{_libdir}/named/filter-aaaa.so
%dir %{_libdir}/bind
%{_libdir}/bind/filter-aaaa.la
%{_libdir}/bind/filter-aaaa.so
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -350,17 +353,23 @@ 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
* 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

View File

@ -1,6 +1,6 @@
/var/log/named.log {
missingok
postrotate
/bin/kill -HUP `cat /var/run/named.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /run/named/named.pid 2> /dev/null` 2> /dev/null || true
endscript
}