|
@@ -9,9 +9,9 @@
|
|
%define sname bind
|
|
%define sname bind
|
|
%define pname bind
|
|
%define pname bind
|
|
# example: 9.9.13.P1
|
|
# example: 9.9.13.P1
|
|
-%define pversion 9.11.31
|
|
+%define pversion 9.16.20
|
|
# example: 9.9.13-P1
|
|
# example: 9.9.13-P1
|
|
-%define sversion 9.11.31
|
|
+%define sversion 9.16.20
|
|
%define bind_epoch 1
|
|
%define bind_epoch 1
|
|
# fixed <BTS:VineLinux:1139>
|
|
# fixed <BTS:VineLinux:1139>
|
|
%define old_bind_version 1:9.9.2p2-1vl7
|
|
%define old_bind_version 1:9.9.2p2-1vl7
|
|
@@ -34,7 +34,7 @@ Packager: daisuke
|
|
|
|
|
|
License: ISC and BSD and Public Domain
|
|
License: ISC and BSD and Public Domain
|
|
URL: http://www.isc.org/bind.html
|
|
URL: http://www.isc.org/bind.html
|
|
-Source: https://downloads.isc.org/isc/bind9/%{sversion}/bind-%{sversion}.tar.gz
|
|
+Source: https://downloads.isc.org/isc/bind9/%{sversion}/bind-%{sversion}.tar.xz
|
|
Source1: bind-manpages.tar.bz2
|
|
Source1: bind-manpages.tar.bz2
|
|
Source2: named.sysconfig
|
|
Source2: named.sysconfig
|
|
Source3: named.init
|
|
Source3: named.init
|
|
@@ -60,6 +60,7 @@ BuildRequires: libcap-devel
|
|
%if %{with readline}
|
|
%if %{with readline}
|
|
BuildRequires: readline-devel
|
|
BuildRequires: readline-devel
|
|
%endif
|
|
%endif
|
|
|
|
+BuildRequires: libuv-devel
|
|
Requires: %{pname}-libs = %{bind_epoch}:%{version}-%{release}
|
|
Requires: %{pname}-libs = %{bind_epoch}:%{version}-%{release}
|
|
Requires(pre): %{pname}-utils = %{bind_epoch}:%{version}-%{release}
|
|
Requires(pre): %{pname}-utils = %{bind_epoch}:%{version}-%{release}
|
|
Requires(pre): shadow-utils
|
|
Requires(pre): shadow-utils
|
|
@@ -213,10 +214,9 @@ install -c -m 755 %SOURCE3 %{buildroot}%{_sysconfdir}/rc.d/init.d/named
|
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/named
|
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/named
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-chmod +x %{buildroot}%{_libdir}/*.so.*
|
|
|
|
-
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot} ${RPM_BUILD_DIR}/%{name}-%{version}
|
|
rm -rf %{buildroot} ${RPM_BUILD_DIR}/%{name}-%{version}
|
|
|
|
|
|
@@ -269,7 +269,6 @@ fi
|
|
exit 0
|
|
exit 0
|
|
|
|
|
|
%postun
|
|
%postun
|
|
-/sbin/ldconfig
|
|
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
# Package upgrade, not uninstall
|
|
# Package upgrade, not uninstall
|
|
%systemd_postun_with_restart named.service
|
|
%systemd_postun_with_restart named.service
|
|
@@ -282,13 +281,9 @@ exit 0
|
|
|
|
|
|
%triggerpostun -- bind < 8.2.2_P5-15
|
|
%triggerpostun -- bind < 8.2.2_P5-15
|
|
/sbin/chkconfig --add named
|
|
/sbin/chkconfig --add named
|
|
-/sbin/ldconfig
|
|
|
|
|
|
|
|
%triggerpostun -- bind-current < 1:9.9.4-1
|
|
%triggerpostun -- bind-current < 1:9.9.4-1
|
|
/sbin/chkconfig --add named
|
|
/sbin/chkconfig --add named
|
|
-/sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
@@ -315,7 +310,6 @@ exit 0
|
|
%attr(-,named,named) %dir %{_var}/named/data
|
|
%attr(-,named,named) %dir %{_var}/named/data
|
|
|
|
|
|
%{_sbindir}/dnssec*
|
|
%{_sbindir}/dnssec*
|
|
-%{_sbindir}/lwresd
|
|
|
|
%{_sbindir}/named
|
|
%{_sbindir}/named
|
|
%{_sbindir}/named-check*
|
|
%{_sbindir}/named-check*
|
|
%{_sbindir}/named-compilezone
|
|
%{_sbindir}/named-compilezone
|
|
@@ -323,12 +317,13 @@ exit 0
|
|
%{_sbindir}/dns-keygen
|
|
%{_sbindir}/dns-keygen
|
|
%{_bindir}/arpaname
|
|
%{_bindir}/arpaname
|
|
%{_sbindir}/ddns-confgen
|
|
%{_sbindir}/ddns-confgen
|
|
-%{_sbindir}/genrandom
|
|
|
|
-%{_sbindir}/isc-hmac-fixup
|
|
|
|
%{_sbindir}/named-journalprint
|
|
%{_sbindir}/named-journalprint
|
|
%{_sbindir}/nsec3hash
|
|
%{_sbindir}/nsec3hash
|
|
%{_sbindir}/tsig-keygen
|
|
%{_sbindir}/tsig-keygen
|
|
|
|
|
|
|
|
+%dir %{_libdir}/named
|
|
|
|
+%{_libdir}/named/*
|
|
|
|
+
|
|
%if %{with python}
|
|
%if %{with python}
|
|
%{python_sitelib}/*
|
|
%{python_sitelib}/*
|
|
%endif
|
|
%endif
|
|
@@ -339,22 +334,20 @@ exit 0
|
|
%{_mandir}/man5/rndc.conf.5*
|
|
%{_mandir}/man5/rndc.conf.5*
|
|
%{_mandir}/man8/rndc.8*
|
|
%{_mandir}/man8/rndc.8*
|
|
%{_mandir}/man8/named.8*
|
|
%{_mandir}/man8/named.8*
|
|
-%{_mandir}/man8/lwresd.8*
|
|
|
|
%{_mandir}/man8/dnssec*.8*
|
|
%{_mandir}/man8/dnssec*.8*
|
|
|
|
+%{_mandir}/man8/filter-aaaa*.8*
|
|
%{_mandir}/man8/named-checkconf.8*
|
|
%{_mandir}/man8/named-checkconf.8*
|
|
%{_mandir}/man8/named-checkzone.8*
|
|
%{_mandir}/man8/named-checkzone.8*
|
|
%{_mandir}/man8/named-compilezone.8*
|
|
%{_mandir}/man8/named-compilezone.8*
|
|
%{_mandir}/man8/rndc-confgen.8*
|
|
%{_mandir}/man8/rndc-confgen.8*
|
|
%{_mandir}/man8/ddns-confgen.8*
|
|
%{_mandir}/man8/ddns-confgen.8*
|
|
-%{_mandir}/man8/genrandom.8*
|
|
|
|
-%{_mandir}/man8/isc-hmac-fixup.8*
|
|
|
|
%{_mandir}/man8/named-journalprint.8*
|
|
%{_mandir}/man8/named-journalprint.8*
|
|
%{_mandir}/man8/nsec3hash.8*
|
|
%{_mandir}/man8/nsec3hash.8*
|
|
%{_mandir}/man8/tsig-keygen.8*
|
|
%{_mandir}/man8/tsig-keygen.8*
|
|
|
|
|
|
%files libs
|
|
%files libs
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_libdir}/*.so.*
|
|
+%{_libdir}/*-%{version}.so
|
|
|
|
|
|
%files utils
|
|
%files utils
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -378,15 +371,15 @@ exit 0
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
|
|
+%exclude %{_libdir}/*-%{version}.so
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.a
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
-%{_mandir}/man3/*
|
|
+
|
|
-%{_mandir}/man1/bind9-config.1*
|
|
|
|
-%{_mandir}/man1/isc-config.sh.1*
|
|
|
|
-%{_bindir}/bind9-config
|
|
|
|
-%{_bindir}/isc-config.sh
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Aug 31 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.16.20-1
|
|
|
|
+- updated to 9.16.20.
|
|
|
|
+
|
|
* Fri May 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.11.31-1
|
|
* Fri May 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.11.31-1
|
|
- updated to 9.11.31.
|
|
- updated to 9.11.31.
|
|
|
|
|