* bump version, use more common root.key (not root.anchor)
This commit is contained in:
parent
6d2a1ea7ef
commit
6ac27d6e17
12
unbound.spec
12
unbound.spec
@ -11,7 +11,7 @@
|
|||||||
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
||||||
Name: unbound
|
Name: unbound
|
||||||
Version: 1.4.20
|
Version: 1.4.20
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: http://www.nlnetlabs.nl/unbound/
|
Url: http://www.nlnetlabs.nl/unbound/
|
||||||
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
|
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
|
||||||
@ -118,7 +118,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie"
|
|||||||
--with-pythonmodule --with-pyunbound \
|
--with-pythonmodule --with-pyunbound \
|
||||||
%endif
|
%endif
|
||||||
--enable-sha2 --disable-gost --disable-ecdsa \
|
--enable-sha2 --disable-gost --disable-ecdsa \
|
||||||
--with-rootkey-file=%{_sharedstatedir}/unbound/root.anchor
|
--with-rootkey-file=%{_sharedstatedir}/unbound/root.key
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
%{__make} %{?_smp_mflags} streamtcp
|
%{__make} %{?_smp_mflags} streamtcp
|
||||||
@ -155,7 +155,7 @@ install -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/tmpfiles.d/unbound.conf
|
|||||||
# install root and DLV key - we keep a copy of the root key in old location,
|
# install root and DLV key - we keep a copy of the root key in old location,
|
||||||
# in case user has changed the configuration and we wouldn't update it there
|
# in case user has changed the configuration and we wouldn't update it there
|
||||||
install -m 0644 %{SOURCE5} %{SOURCE6} %{buildroot}%{_sysconfdir}/unbound/
|
install -m 0644 %{SOURCE5} %{SOURCE6} %{buildroot}%{_sysconfdir}/unbound/
|
||||||
install -m 0644 %{SOURCE13} %{buildroot}%{_sharedstatedir}/unbound/
|
install -m 0644 %{SOURCE13} %{buildroot}%{_sharedstatedir}/unbound/root.key
|
||||||
|
|
||||||
# remove static library from install (fedora packaging guidelines)
|
# remove static library from install (fedora packaging guidelines)
|
||||||
rm %{buildroot}%{_libdir}/*.la
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
@ -232,7 +232,7 @@ echo ".so man8/unbound-control.8" > %{buildroot}/%{_mandir}/man8/unbound-control
|
|||||||
%{_sysconfdir}/%{name}/icannbundle.pem
|
%{_sysconfdir}/%{name}/icannbundle.pem
|
||||||
%attr(0644,root,root) %{_sysconfdir}/cron.d/unbound-anchor
|
%attr(0644,root,root) %{_sysconfdir}/cron.d/unbound-anchor
|
||||||
%dir %attr(0755,unbound,unbound) %{_sharedstatedir}/%{name}
|
%dir %attr(0755,unbound,unbound) %{_sharedstatedir}/%{name}
|
||||||
%attr(0644,unbound,unbound) %config(noreplace) %{_sharedstatedir}/%{name}/root.anchor
|
%attr(0644,unbound,unbound) %config(noreplace) %{_sharedstatedir}/%{name}/root.key
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dlv.isc.org.key
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dlv.isc.org.key
|
||||||
# just left for backwards compat with user changed unbound.conf files - format is different!
|
# just left for backwards compat with user changed unbound.conf files - format is different!
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.key
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.key
|
||||||
@ -278,8 +278,8 @@ exit 0
|
|||||||
/bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue May 21 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-9
|
* Sat May 25 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-10
|
||||||
- Use /var/lib/unbound/root.anchor (more consistent with other distros)
|
- Use /var/lib/unbound/root.key (more consistent with other distros)
|
||||||
- Enable round-robin (with noths() patch)
|
- Enable round-robin (with noths() patch)
|
||||||
- Enable minimal responses
|
- Enable minimal responses
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user