From d609347f5e75eada64b2be1a1acaef0b762baa71 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Feb 28 2012 02:07:14 +0000 Subject: * Mon Feb 27 2012 Paul Wouters - 1.4.16-2 - Don't ghost the directory (rhbz#788805) - Patch for unbound to support unbound-control forward_zone (needed for openswan in XAUTH mode) --- diff --git a/unbound.conf b/unbound.conf index 86af420..a91ec99 100644 --- a/unbound.conf +++ b/unbound.conf @@ -514,6 +514,9 @@ remote-control: # stub-zone: # name: "example.org" # stub-host: ns.example.com. +# You can now also dynamically create and delete stub-zone's using +# unbound-control stub_add domain.com 1.2.3.4 5.6.7.8 +# unbound-control stub_remove domain.com 1.2.3.4 5.6.7.8 # Forward zones # Create entries like below, to make all queries for 'example.com' and @@ -527,3 +530,7 @@ remote-control: # forward-zone: # name: "example.org" # forward-host: fwd.example.com +# +# You can now also dynamically create and delete forward-zone's using +# unbound-control forward_add domain.com 1.2.3.4 5.6.7.8 +# unbound-control forward_remove domain.com 1.2.3.4 5.6.7.8 diff --git a/unbound.spec b/unbound.spec index cad3c00..3883afc 100644 --- a/unbound.spec +++ b/unbound.spec @@ -8,7 +8,7 @@ Summary: Validating, recursive, and caching DNS(SEC) resolver Name: unbound Version: 1.4.16 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Url: http://www.nlnetlabs.nl/unbound/ Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz @@ -21,6 +21,7 @@ Source6: dlv.isc.org.key Source7: unbound-keygen.service Source8: tmpfiles-unbound.conf Patch1: unbound-1.2-glob.patch +Patch2: unbound-trunk.patch Group: System Environment/Daemons BuildRequires: flex, openssl-devel , ldns-devel >= 1.5.0, @@ -93,6 +94,7 @@ Python modules and extensions for unbound %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure --with-ldns= --with-libevent --with-pthreads --with-ssl \ @@ -140,7 +142,7 @@ mkdir -p %{buildroot}%{_localstatedir}/run/unbound %{_unitdir}/%{name}.service %{_unitdir}/%{name}-keygen.service %attr(0755,root,root) %dir %{_sysconfdir}/%{name} -%ghost %attr(0755,unbound,unbound) %dir %{_localstatedir}/run/%{name} +%attr(0755,unbound,unbound) %dir %{_localstatedir}/run/%{name} %config(noreplace) %{_sysconfdir}/tmpfiles.d/unbound.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/unbound.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dlv.isc.org.key @@ -219,6 +221,11 @@ fi /bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || : %changelog +* Mon Feb 27 2012 Paul Wouters - 1.4.16-2 +- Don't ghost the directory (rhbz#788805) +- Patch for unbound to support unbound-control forward_zone + (needed for openswan in XAUTH mode) + * Thu Feb 02 2012 Paul Wouters - 1.4.16-1 - Upgraded to 1.4.16, which was relesed due to the soname and some DNSSEC validation failures