|
@@ -3,7 +3,7 @@
|
|
|
Summary: Fast and lean authoritative DNS Name Server
|
|
|
Summary(ja): 高速で最小限のAuthoritative専用DNSネームサーバ
|
|
|
Name: nsd
|
|
|
-Version: 4.3.5
|
|
|
+Version: 4.3.6
|
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
Group: servers
|
|
|
Vendor: Project Vine
|
|
@@ -48,7 +48,7 @@ NSD に関する詳しい情報は REQUIREMENTS ドキュメントを参照し
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-autoreconf
|
|
|
+autoreconf -vif
|
|
|
|
|
|
|
|
|
%build
|
|
@@ -121,27 +121,6 @@ sed -i \
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
-%files
|
|
|
-%defattr(-,root,root,-)
|
|
|
-%doc doc/*
|
|
|
-%doc contrib/nsd.zones2nsd.conf
|
|
|
-%dir %{_sysconfdir}/nsd/
|
|
|
-%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.conf
|
|
|
-#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.zones
|
|
|
-%if %{with systemd}
|
|
|
-%attr(0644,root,root) %{_unitdir}/nsd.service
|
|
|
-%attr(0644,root,root) %{_unitdir}/nsd-keygen.service
|
|
|
-%attr(0644,root,root) %{_tmpfilesdir}/nsd.conf
|
|
|
-%else
|
|
|
-%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/nsd
|
|
|
-%attr(0755,root,root) %{_initrddir}/%{name}
|
|
|
-%endif
|
|
|
-%ghost %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
|
|
|
-%attr(0755,%{name},%{name}) %dir %{_localstatedir}/lib/%{name}
|
|
|
-%{_sbindir}/*
|
|
|
-%{_mandir}/*/*
|
|
|
-
|
|
|
-
|
|
|
%pre
|
|
|
getent group nsd >/dev/null || groupadd -r nsd
|
|
|
getent passwd nsd >/dev/null || \
|
|
@@ -183,7 +162,32 @@ if [ "$1" -ge "1" -a ! -x /bin/systemctl ]; then
|
|
|
fi
|
|
|
%endif
|
|
|
|
|
|
+
|
|
|
+%files
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc doc/*
|
|
|
+%doc contrib/nsd.zones2nsd.conf
|
|
|
+%dir %{_sysconfdir}/nsd/
|
|
|
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.conf
|
|
|
+#%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/nsd/nsd.zones
|
|
|
+%if %{with systemd}
|
|
|
+%attr(0644,root,root) %{_unitdir}/nsd.service
|
|
|
+%attr(0644,root,root) %{_unitdir}/nsd-keygen.service
|
|
|
+%attr(0644,root,root) %{_tmpfilesdir}/nsd.conf
|
|
|
+%else
|
|
|
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/nsd
|
|
|
+%attr(0755,root,root) %{_initrddir}/%{name}
|
|
|
+%endif
|
|
|
+%ghost %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
|
|
|
+%attr(0755,%{name},%{name}) %dir %{_localstatedir}/lib/%{name}
|
|
|
+%{_sbindir}/*
|
|
|
+%{_mandir}/*/*
|
|
|
+
|
|
|
+
|
|
|
%changelog
|
|
|
+* Tue Apr 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.6-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Tue Jan 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.5-1
|
|
|
- new upstream release.
|
|
|
|