* Fri Apr 12 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-5
- Fix cron job syntax (rhbz#951725) - Use install -a to prevent .rpmnew files that are identical to originals
This commit is contained in:
parent
938672c248
commit
92f8605409
@ -1,3 +1,3 @@
|
|||||||
# Look to see if the DNSSEC Root key got rolled, if so check trust and update
|
# Look to see if the DNSSEC Root key got rolled, if so check trust and update
|
||||||
|
|
||||||
10 3 1 unbound /usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
|
10 3 1 * * unbound /usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem
|
||||||
|
18
unbound.spec
18
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: 4%{?dist}
|
Release: 5%{?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
|
||||||
@ -126,11 +126,11 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie"
|
|||||||
%install
|
%install
|
||||||
%{__make} DESTDIR=%{buildroot} install
|
%{__make} DESTDIR=%{buildroot} install
|
||||||
install -d 0755 %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
|
install -d 0755 %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
|
||||||
install -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/unbound.service
|
install -a -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/unbound.service
|
||||||
install -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/unbound-keygen.service
|
install -a -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/unbound-keygen.service
|
||||||
install -p -m 0755 %{SOURCE2} %{buildroot}%{_sysconfdir}/unbound
|
install -a -p -m 0755 %{SOURCE2} %{buildroot}%{_sysconfdir}/unbound
|
||||||
install -p -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/unbound
|
install -a -p -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/unbound
|
||||||
install -p -m 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/sysconfig/unbound
|
install -a -p -m 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/sysconfig/unbound
|
||||||
install -p -m 0644 %{SOURCE16} .
|
install -p -m 0644 %{SOURCE16} .
|
||||||
install -d 0755 %{buildroot}%{_sysconfdir}/cron.d
|
install -d 0755 %{buildroot}%{_sysconfdir}/cron.d
|
||||||
install -p -m 0644 %{SOURCE15} %{buildroot}%{_sysconfdir}/cron.d/unbound-anchor
|
install -p -m 0644 %{SOURCE15} %{buildroot}%{_sysconfdir}/cron.d/unbound-anchor
|
||||||
@ -139,7 +139,7 @@ install -p -m 0644 %{SOURCE15} %{buildroot}%{_sysconfdir}/cron.d/unbound-ancho
|
|||||||
install -d 0755 %{buildroot}%{_sysconfdir}/munin/plugin-conf.d
|
install -d 0755 %{buildroot}%{_sysconfdir}/munin/plugin-conf.d
|
||||||
install -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/unbound
|
install -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/unbound
|
||||||
install -d 0755 %{buildroot}%{_datadir}/munin/plugins/
|
install -d 0755 %{buildroot}%{_datadir}/munin/plugins/
|
||||||
install -p -m 0755 %{SOURCE4} %{buildroot}%{_datadir}/munin/plugins/unbound
|
install -a -p -m 0755 %{SOURCE4} %{buildroot}%{_datadir}/munin/plugins/unbound
|
||||||
for plugin in unbound_munin_hits unbound_munin_queue unbound_munin_memory unbound_munin_by_type unbound_munin_by_class unbound_munin_by_opcode unbound_munin_by_rcode unbound_munin_by_flags unbound_munin_histogram; do
|
for plugin in unbound_munin_hits unbound_munin_queue unbound_munin_memory unbound_munin_by_type unbound_munin_by_class unbound_munin_by_opcode unbound_munin_by_rcode unbound_munin_by_flags unbound_munin_histogram; do
|
||||||
ln -s unbound %{buildroot}%{_datadir}/munin/plugins/$plugin
|
ln -s unbound %{buildroot}%{_datadir}/munin/plugins/$plugin
|
||||||
done
|
done
|
||||||
@ -280,6 +280,10 @@ chown unbound.unbound %{_sharedstatedir}/%{name}/root.key
|
|||||||
/bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 12 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-5
|
||||||
|
- Fix cron job syntax (rhbz#951725)
|
||||||
|
- Use install -a to prevent .rpmnew files that are identical to originals
|
||||||
|
|
||||||
* Mon Apr 8 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-4
|
* Mon Apr 8 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-4
|
||||||
- Updated to 1.4.20
|
- Updated to 1.4.20
|
||||||
- Build with full RELRO (not use -z,relro but with -z,relo,-z,now)
|
- Build with full RELRO (not use -z,relro but with -z,relo,-z,now)
|
||||||
|
Loading…
Reference in New Issue
Block a user