- update to 3.2.8

see /usr/share/doc/packages/nsd/ChangeLog

OBS-URL: https://build.opensuse.org/package/show/server:dns/nsd?expand=0&rev=15
This commit is contained in:
Marcus Rückert 2011-04-12 02:25:25 +00:00 committed by Git OBS Bridge
parent 299ec3d139
commit 375314e8cb
7 changed files with 20 additions and 58 deletions

View File

@ -1,18 +0,0 @@
Index: zonec.c
===================================================================
--- zonec.c.orig
+++ zonec.c
@@ -20,7 +20,13 @@
#include <strings.h>
#endif
#include <unistd.h>
+#if !defined(__USE_XOPEN)
+#define __USE_XOPEN /* glibc2 needs this */
#include <time.h>
+#undef __USE_XOPEN
+#else
+#include <time.h>
+#endif
#include <netinet/in.h>

View File

@ -1,13 +0,0 @@
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -182,7 +182,7 @@ AC_DEFUN([CHECK_SSL], [
else
AC_MSG_RESULT(found in $ssldir)
HAVE_SSL=yes
- LDFLAGS="$LDFLAGS -L$ssldir/lib";
+ LDFLAGS="$LDFLAGS";
AC_CHECK_LIB(crypto, HMAC_CTX_init,, [
AC_MSG_ERROR([OpenSSL found in $ssldir, but version 0.9.7 or higher is required])
])

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7c7d4c3da3e5a81357b4e189ec8a5b7ace1a2ed70dd52aef4946c6c0a320937
size 789687

View File

@ -1,13 +0,0 @@
Index: nsd.c
===================================================================
--- nsd.c.orig
+++ nsd.c
@@ -555,7 +555,7 @@ main (int argc, char *argv[])
if(nsd.options->pidfile) nsd.pidfile = nsd.options->pidfile;
else nsd.pidfile = PIDFILE;
}
- if(nsd.identity == hostname || nsd.identity == IDENTITY)
+ if(!strcmp(nsd.identity, hostname) || !strcmp(nsd.identity, IDENTITY))
{
if(nsd.options->identity) nsd.identity = nsd.options->identity;
}

3
nsd-3.2.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5701cf6c3abbc7ade00d28b7ad52f7ff79d8f7ae81bb4781e825296dcfc7aef1
size 790021

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 12 02:24:10 UTC 2011 - mrueckert@suse.de
- update to 3.2.8
see /usr/share/doc/packages/nsd/ChangeLog
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 1 16:29:48 UTC 2010 - suse-tux@gmx.de Wed Sep 1 16:29:48 UTC 2010 - suse-tux@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package nsd (Version 3.0.5) # spec file for package nsd
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -11,7 +11,7 @@
# norootforbuild # norootforbuild
Name: nsd Name: nsd
Version: 3.0.5 Version: 3.2.8
Release: 0 Release: 0
# #
License: GPL License: GPL
@ -29,11 +29,10 @@ PreReq: %insserv_prereq %fillup_prereq pwdutils
%define dbfile %{zonesdir}/nsd.db %define dbfile %{zonesdir}/nsd.db
# #
Url: http://open.nlnetlabs.nl/nsd/ Url: http://open.nlnetlabs.nl/nsd/
Source: http://open.nlnetlabs.nl/downloads/nsd/nsd-%{version}.tar.gz Source: http://open.nlnetlabs.nl/downloads/nsd/nsd-%{version}.tar.bz2
Source1: %{name}.init Source1: %{name}.init
Patch0: nsd-3.0.5_strcmp.patch
# #
Summary: NSD is an authoritative only, high performance, simple and open source name server. Summary: An authoritative only, high performance, simple and open source name server
%description %description
NSD is a complete implementation of an authoritative DNS name server. For NSD is a complete implementation of an authoritative DNS name server. For
further information about what NSD is and what NSD is not please consult the further information about what NSD is and what NSD is not please consult the
@ -46,7 +45,6 @@ Authors:
%prep %prep
%setup %setup
%patch0
%build %build
%configure \ %configure \
@ -69,6 +67,7 @@ Authors:
for i in %{buildroot}%{configdir}/*.sample ; do for i in %{buildroot}%{configdir}/*.sample ; do
%{__cp} -v $i ${i%%.sample} ; %{__cp} -v $i ${i%%.sample} ;
done done
chmod -Rv o= %{buildroot}%{configdir}/
# #
%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name}
%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
@ -118,13 +117,14 @@ touch %{buildroot}%{home}/{nsd.db,ixfr.db,xfrd.state} %{buildroot}/var/log/nsd.l
%{_mandir}/man8/nsd.8* %{_mandir}/man8/nsd.8*
%{_mandir}/man8/nsdc.8* %{_mandir}/man8/nsdc.8*
%{_mandir}/man8/zonec.8* %{_mandir}/man8/zonec.8*
#
%config %attr(-,root,%{name}) %{configdir}
#
%dir %attr(750,%{name},%{name}) %{home} %dir %attr(750,%{name},%{name}) %{home}
%dir %attr(750,root,%{name}) %{configdir}
%config(noreplace) %attr(640,root,%{name}) %{configdir}/nsd.conf
%ghost %config %attr(640,%{name},%{name}) %{home}/nsd.db %ghost %config %attr(640,%{name},%{name}) %{home}/nsd.db
%ghost %config %attr(640,%{name},%{name}) %{home}/ixfr.db %ghost %config %attr(640,%{name},%{name}) %{home}/ixfr.db
%ghost %config %attr(640,%{name},%{name}) %{home}/xfrd.state %ghost %config %attr(640,%{name},%{name}) %{home}/xfrd.state
%attr(640,root,%{name}) %{configdir}/*.sample #
%config %attr(640,%{name},%{name}) /var/log/nsd.log %ghost %attr(640,%{name},%{name}) /var/log/nsd.log
%changelog %changelog