* move root.anchor to /var/lib/unbound
This commit is contained in:
parent
b9ddae3b26
commit
6d7184e9c8
@ -14,7 +14,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: 1%{?dist}
|
Release: 2%{?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
|
||||||
@ -154,8 +154,10 @@ install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d/
|
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d/
|
||||||
install -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/tmpfiles.d/unbound.conf
|
install -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/tmpfiles.d/unbound.conf
|
||||||
|
|
||||||
# install root and DLV key
|
# 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
|
||||||
install -m 0644 %{SOURCE5} %{SOURCE6} %{SOURCE13} %{buildroot}%{_sysconfdir}/unbound/
|
install -m 0644 %{SOURCE5} %{SOURCE6} %{SOURCE13} %{buildroot}%{_sysconfdir}/unbound/
|
||||||
|
install -m 0644 %{SOURCE13} %{buildroot}%{_libdir}/unbound/
|
||||||
|
|
||||||
# remove static library from install (fedora packaging guidelines)
|
# remove static library from install (fedora packaging guidelines)
|
||||||
rm %{buildroot}%{_libdir}/*.la
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
@ -228,6 +230,7 @@ ln -s %{_mandir}/man8/unbound-control.8 %{buildroot}/%{_mandir}/man8/unbound-con
|
|||||||
%{_libdir}/libunbound.so.*
|
%{_libdir}/libunbound.so.*
|
||||||
%{_sysconfdir}/%{name}/icannbundle.pem
|
%{_sysconfdir}/%{name}/icannbundle.pem
|
||||||
%{_sysconfdir}/cron.monthly/unbound-anchor
|
%{_sysconfdir}/cron.monthly/unbound-anchor
|
||||||
|
%attr(0644,root,root) %config(noreplace) %{_libdir}/%{name}/root.anchor
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.anchor
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.anchor
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.key
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{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
|
||||||
@ -273,7 +276,7 @@ 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
|
||||||
* Thu Mar 21 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-1
|
* Thu Mar 21 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-2
|
||||||
- Updated to 1.4.20
|
- Updated to 1.4.20
|
||||||
- Removed patch for rhbz#888759 merged in upstream
|
- Removed patch for rhbz#888759 merged in upstream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user