From: Wouter Wijngaards Date: Thu, 22 May 2008 08:34:11 +0000 (+0000) Subject: rpm spec updated. X-Git-Tag: release-1.0.1~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bbe7a2e0bab52a24f03347ebf81e0371b4be6ec;p=thirdparty%2Funbound.git rpm spec updated. git-svn-id: file:///svn/unbound/trunk@1089 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/contrib/unbound.spec b/contrib/unbound.spec index 64c9f7b5c..61bf707d6 100644 --- a/contrib/unbound.spec +++ b/contrib/unbound.spec @@ -1,11 +1,11 @@ Summary: Validating, recursive, and caching DNS resolver Name: unbound -Version: 0.12 +Version: 1.0.0 Release: 1%{?dist} License: BSD Url: http://www.nlnetlabs.nl/unbound/ Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz -Source1: unbound.init +#Source1: unbound.init Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex, openssl-devel @@ -32,17 +32,18 @@ The source code is under a BSD License. # This is a build using libldns builtin version, the resulting binaries # do not require libldns and this package does not have version dependencies. # Could be smaller using a dependency on libldns (use --with-ldns=). -%configure --enable-debug --with-conf-file=%{_localstatedir}/%{name}/unbound.conf --disable-static --disable-rpath +%configure --with-conf-file=%{_localstatedir}/%{name}/unbound.conf --disable-rpath %build -%{__make} %{?_smp_mflags} +#%{__make} %{?_smp_mflags} +make %install rm -rf %{buildroot} %{__make} DESTDIR=%{buildroot} install install -d 0700 %{buildroot}%{_localstatedir}/%{name} install -d 0755 %{buildroot}%{_initrddir} -install -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/unbound +install -m 0755 contrib/unbound.init %{buildroot}%{_initrddir}/unbound # add symbolic link from /etc/unbound.conf -> /var/unbound/unbound.conf ln -s %{_localstatedir}/unbound/unbound.conf %{buildroot}%{_sysconfdir}/unbound.conf # remove static library from install (fedora packaging guidelines) @@ -91,6 +92,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Thu May 22 2008 Wouter Wijngaards - 1.0.0 +- contrib changes from Patrick Vande Walle. + * Thu Apr 25 2008 Wouter Wijngaards - 0.12 - Using parts from ports collection entry by Jaap Akkerhuis. - Using Fedoraproject wiki guidelines. diff --git a/doc/Changelog b/doc/Changelog index 5b3aebc88..28c75eeda 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +22 May 2008: Wouter + - contrib unbound.spec from Patrick Vande Walle. + 19 May 2008: Wouter - fedora 9, check in6_pktinfo define in configure. - CREDITS fixup of history.