diff --git a/nsd-install.patch b/nsd-install.patch new file mode 100644 index 0000000..862ca04 --- /dev/null +++ b/nsd-install.patch @@ -0,0 +1,15 @@ +Common subdirectories: nsd-3.2.2/compat and nsd-3.2.2-fix/compat +Common subdirectories: nsd-3.2.2/contrib and nsd-3.2.2-fix/contrib +Common subdirectories: nsd-3.2.2/doc and nsd-3.2.2-fix/doc +diff -Naup nsd-3.2.2/Makefile.in nsd-3.2.2-fix/Makefile.in +--- nsd-3.2.2/Makefile.in 2009-04-03 07:56:43.000000000 -0400 ++++ nsd-3.2.2-fix/Makefile.in 2009-05-18 17:39:19.777532510 -0400 +@@ -318,7 +318,7 @@ nsd.conf.sample: $(srcdir)/nsd.conf.samp + install: all + $(INSTALL) -d $(DESTDIR)$(sbindir) + $(INSTALL) -d $(DESTDIR)$(configdir) +- $(INSTALL) -d $(DESTDIR)$(piddir) ++# $(INSTALL) -d $(DESTDIR)$(piddir) + $(INSTALL) -d $(DESTDIR)$(dbdir) + $(INSTALL) -d $(DESTDIR)$(mandir) + $(INSTALL) -d $(DESTDIR)$(mandir)/man8 diff --git a/nsd.spec b/nsd.spec index a5775f0..53cf9d1 100644 --- a/nsd.spec +++ b/nsd.spec @@ -1,13 +1,14 @@ Summary: NSD is a complete implementation of an authoritative DNS name server Name: nsd -Version: 3.2.1 -Release: 2%{?dist} +Version: 3.2.2 +Release: 1%{?dist} License: BSD Url: http://www.nlnetlabs.nl/%{name}/ Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz Source1: nsd.init Source2: nsd.cron Source3: nsd.sysconfig +Patch0: nsd-install.patch Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex, openssl-devel @@ -21,10 +22,11 @@ consult the REQUIREMENTS document which is a part of this distribution %prep %setup -q +%patch -p1 %build -%configure --enable-bind8-stats --enable-plugins --enable-checking \ - --enable-mmap --with-ssl --enable-nsec3 --enable-nsid \ +%configure --enable-bind8-stats --enable-checking \ + --with-ssl --enable-nsec3 --enable-nsid \ --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid --with-ssl \ --with-user=nsd --with-difffile=%{_localstatedir}/lib/%{name}/ixfr.db \ --with-xfrdfile=%{_localstatedir}/lib/%{name}/ixfr.state \ @@ -96,6 +98,11 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Mon May 18 2009 Paul Wouters - 3.2.2-1 +- Upgraded to 3.2.2 security release + http://www.nlnetlabs.nl/publications/NSD_vulnerability_announcement.html +- Removed obsoleted options --enable-plugins --enable-mmap + * Fri Apr 10 2009 Paul Wouters - 3.2.1-2 - Fixes to initscripts - Added --with-dbfile to point to the right place diff --git a/sources b/sources index 0ce18d5..89a9218 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -66b602a793b851ad109403d3d2654fad nsd-3.2.1.tar.gz +a0dcb0a3b3c1a8d386125eeafe403f58 nsd-3.2.2.tar.gz