SHA256
1
0
forked from pool/nsd

- 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:
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,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
# package are under the same license as the package itself.
#
@@ -11,7 +11,7 @@
# norootforbuild
Name: nsd
Version: 3.0.5
Version: 3.2.8
Release: 0
#
License: GPL
@@ -29,11 +29,10 @@ PreReq: %insserv_prereq %fillup_prereq pwdutils
%define dbfile %{zonesdir}/nsd.db
#
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
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
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
@@ -46,7 +45,6 @@ Authors:
%prep
%setup
%patch0
%build
%configure \
@@ -69,6 +67,7 @@ Authors:
for i in %{buildroot}%{configdir}/*.sample ; do
%{__cp} -v $i ${i%%.sample} ;
done
chmod -Rv o= %{buildroot}%{configdir}/
#
%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{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/nsdc.8*
%{_mandir}/man8/zonec.8*
#
%config %attr(-,root,%{name}) %{configdir}
#
%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}/ixfr.db
%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