|
@@ -1,4 +1,4 @@
|
|
|
-%{?!with_munin: %global with_munin 0}
|
|
|
+%global with_munin 1
|
|
|
|
|
|
# not ready yet
|
|
|
%{?!with_python: %global with_python 0}
|
|
@@ -11,8 +11,8 @@
|
|
|
|
|
|
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
|
|
Name: unbound
|
|
|
-Version: 1.4.14
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 1.4.17
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: BSD
|
|
|
Url: http://www.unbound.net/
|
|
|
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
|
|
@@ -20,11 +20,12 @@ Source1: unbound.init
|
|
|
Source2: unbound.conf
|
|
|
Source3: unbound.munin
|
|
|
Source4: dlv.isc.org.key
|
|
|
+Source5: root.key
|
|
|
Patch1: unbound-1.2-glob.patch
|
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
-BuildRequires: flex, ldns-devel >= 1.5.0,
|
|
|
+BuildRequires: flex, ldns-devel >= 1.6.13,
|
|
|
BuildRequires: libevent-devel
|
|
|
BuildRequires: expat-devel
|
|
|
%if %{with_python}
|
|
@@ -48,7 +49,7 @@ Requires(pre): shadow-utils
|
|
|
|
|
|
Distribution: Vine Linux
|
|
|
Vendor: Project Vine
|
|
|
-Packager: iwaim
|
|
|
+Packager: iwaim, daisuke
|
|
|
|
|
|
%description
|
|
|
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
|
@@ -64,6 +65,7 @@ as a server, but are linked into an application) are easily possible.
|
|
|
%if %{with_munin}
|
|
|
%package munin
|
|
|
Summary: Plugin for the munin / munin-node monitoring package
|
|
|
+Summary(ja): munin/munin-node モニタリングパッケージ用のプラグイン
|
|
|
Group: System Environment/Daemons
|
|
|
Requires: munin-node
|
|
|
Requires: %{name} = %{version}-%{release}, bc
|
|
@@ -135,8 +137,8 @@ for plugin in unbound_munin_hits unbound_munin_queue unbound_munin_memory unboun
|
|
|
done
|
|
|
%endif
|
|
|
|
|
|
-# install DLV key
|
|
|
-install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/unbound/
|
|
|
+# install root and DLV key
|
|
|
+install -m 0644 %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}/unbound/
|
|
|
|
|
|
# remove static library from install (fedora packaging guidelines)
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
@@ -157,6 +159,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
%attr(0755,unbound,unbound) %dir %{_localstatedir}/run/%{name}
|
|
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/unbound.conf
|
|
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dlv.isc.org.key
|
|
|
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.key
|
|
|
%{_sbindir}/*
|
|
|
%{_mandir}/*/*
|
|
|
|
|
@@ -214,6 +217,12 @@ fi
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
%changelog
|
|
|
+* Sun May 27 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.17-1
|
|
|
+- update to 1.4.17
|
|
|
+- add root.key for DNSSEC
|
|
|
+- enable munin subpackage by default
|
|
|
+- buildrequire ldns-devel >= 1.6.13
|
|
|
+
|
|
|
* Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.14-2
|
|
|
- rebuild with python-2.7.2
|
|
|
|