rpms/unbound/devel sources, 1.9, 1.10 unbound.init, 1.7, 1.8 unbound.spec, 1.25, 1.26

Paul Wouters pwouters at fedoraproject.org
Wed May 20 16:15:39 UTC 2009


Author: pwouters

Update of /cvs/extras/rpms/unbound/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5169

Modified Files:
	sources unbound.init unbound.spec 
Log Message:
* Wed May 20 2009 Paul Wouters <paul at xelerance.com> - 1.2.1-6
- Fix for https://bugzilla.redhat.com/show_bug.cgi?id=499793



Index: sources
===================================================================
RCS file: /cvs/extras/rpms/unbound/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources	10 Feb 2009 15:19:33 -0000	1.9
+++ sources	20 May 2009 16:15:09 -0000	1.10
@@ -1,2 +1 @@
-2517f811ec4939c0ea602c99a6fdea23  unbound-1.2.0.tar.gz
 5437f2a1e698d8aa73ba19a60662a654  unbound-1.2.1.tar.gz


Index: unbound.init
===================================================================
RCS file: /cvs/extras/rpms/unbound/devel/unbound.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- unbound.init	9 Mar 2009 20:36:02 -0000	1.7
+++ unbound.init	20 May 2009 16:15:09 -0000	1.8
@@ -46,9 +46,19 @@ start() {
     then
 	echo -n $"Generating unbound control key and certificate: "
 	/usr/sbin/unbound-control-setup -d /etc/unbound/ > /dev/null 2> /dev/null
+	chgrp unbound /etc/unbound/unbound_*key /etc/unbound/unbound_*pem
 	[ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && \
 	    [ -x /sbin/restorecon ] && /sbin/restorecon /etc/unbound/*
 	echo
+    else
+	# old init script created these as root instead of unbound.
+	if [ -G /etc/unbound/unbound_control.key ]
+	then
+	    chgrp unbound /etc/unbound/unbound_*key /etc/unbound/unbound_*pem
+	    [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && \
+		[ -x /sbin/restorecon ] && /sbin/restorecon /etc/unbound/*
+	    echo
+	fi
     fi
 
     echo -n $"Starting unbound: "


Index: unbound.spec
===================================================================
RCS file: /cvs/extras/rpms/unbound/devel/unbound.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- unbound.spec	17 Mar 2009 05:28:45 -0000	1.25
+++ unbound.spec	20 May 2009 16:15:09 -0000	1.26
@@ -1,13 +1,14 @@
 Summary: Validating, recursive, and caching DNS(SEC) resolver
 Name: unbound
 Version: 1.2.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/unbound/
 Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
 Source1: unbound.init
 Source2: unbound.conf
 Source3: unbound.munin
+Patch0: unbound-iterator.patch
 Group: System Environment/Daemons
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: flex, openssl-devel >= 0.9.8g-12, ldns-devel >= 1.5.0, 
@@ -62,6 +63,7 @@ Contains libraries used by the unbound s
 
 %prep
 %setup -q 
+%patch0 
 
 %build
 %configure  --with-ldns= --with-libevent --with-pthreads --with-ssl \
@@ -154,6 +156,9 @@ fi
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Wed May 20 2009 Paul Wouters <paul at xelerance.com> - 1.2.1-6
+- Fix for https://bugzilla.redhat.com/show_bug.cgi?id=499793
+
 * Tue Mar 17 2009 Paul Wouters <paul at xelerance.com> - 1.2.1-5
 - Use --nocheck to avoid giving an error on missing unbound-remote certs/keys
 




More information about the fedora-extras-commits mailing list