Unbound RPMs
This post is outdated. Ignore it.
Unbound is a validating, recursive, and caching DNS server designed as a high performance alternative for BIND (Berkeley Internet Name Domain). Unbound will be supported by NLnet Labs.
The source is available from http://unbound.net
My RPMs for RHEL5 / CentOS5 are here:
unbound-1.0.1-1.i386.rpm
unbound-1.0.1-1.src.rpm
The spec file in the original 1.0.0 tarball did not work for me. Here’s the diff. The changes have been since incorporated in the official version 1.0.1. tarball. They are mostly kept here for historical purposes.
--- unbound.spec.orig 2008-04-25 17:47:59.000000000 +0200
+++ unbound.spec 2008-05-20 22:27:13.000000000 +0200
@@ -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 @@
# 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)



