rpms/unbound/devel unbound.munin,1.1,1.2 unbound.spec,1.2,1.3
Paul Wouters
pwouters at fedoraproject.org
Sat Nov 15 06:46:08 UTC 2008
Author: pwouters
Update of /cvs/extras/rpms/unbound/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19043
Modified Files:
unbound.munin unbound.spec
Log Message:
added munin capabilities to unbound
Index: unbound.munin
===================================================================
RCS file: /cvs/extras/rpms/unbound/devel/unbound.munin,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- unbound.munin 15 Nov 2008 06:09:06 -0000 1.1
+++ unbound.munin 15 Nov 2008 06:45:37 -0000 1.2
@@ -4,7 +4,7 @@
#
[unbound*]
user root
-env.statefile /var/lib/unbound/plugin-state/unbound-state
+env.statefile /var/lib/munin/plugin-state/unbound-state
env.unbound_conf /etc/unbound/unbound.conf
env.unbound_control /usr/sbin/unbound-control
env.spoof_warn 1000
Index: unbound.spec
===================================================================
RCS file: /cvs/extras/rpms/unbound/devel/unbound.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- unbound.spec 15 Nov 2008 05:46:07 -0000 1.2
+++ unbound.spec 15 Nov 2008 06:45:37 -0000 1.3
@@ -7,6 +7,7 @@
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
Source1: unbound.init
Source2: unbound.conf
+Source3: unbound.munin
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: flex, openssl-devel, ldns-devel >= 1.4.0, libevent-devel
@@ -30,6 +31,15 @@
DNSSEC (secure DNS) validation and stub-resolvers (that do not run
as a server, but are linked into an application) are easily possible.
+%package munin
+Summary: Plugin for the munin / munin-node monitoring package
+Group: System Environment/Daemons
+Requires: munin-node
+Requires: %{name} = %{version}-%{release}
+
+%description munin
+Plugin for the munin / munin-node monitoring package
+
%package devel
Summary: Development package that includes the unbound header files
Group: Development/Libraries
@@ -68,6 +78,10 @@
install -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/unbound
#overwrite stock unbound.conf with our own
install -m 0755 %{SOURCE2} %{buildroot}%{_localstatedir}/lib/%{name}
+install -d 0755 %{buildroot}%{_sysconfdir}/munin/plugin-conf.d
+install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/unbound
+install -d 0755 %{buildroot}%{_datadir}/munin/plugins/
+install -m 0755 contrib/unbound_munin_ %{buildroot}%{_datadir}/munin/plugins/unbound
# add symbolic link from /etc/unbound.conf -> /var/unbound/unbound.conf
@@ -108,6 +122,11 @@
%{_sbindir}/*
%{_mandir}/*/*
+%files munin
+%defattr(-,root,root,-)
+%{_sysconfdir}/munin/plugin-conf.d/unbound
+%{_datadir}/munin/plugins/unbound
+
%files devel
%defattr(-,root,root,-)
%{_libdir}/libunbound.so
@@ -148,8 +167,10 @@
%changelog
* Fri Nov 14 2008 Paul Wouters <paul at xelerance.com> - 1.1.0-1
- Updated to version 1.1.0
-- Update unbound.conf's statistics options to work properly
- for munin
+- Updated unbound.conf's statistics options and remote-control
+ to work properly for munin
+- Added unbound-munin package
+- Generate unbound remote-control key/certs on first startup
- Required ldns is now 1.4.0
* Wed Oct 22 2008 Paul Wouters <paul at xelerance.com> - 1.0.2-5
More information about the fedora-extras-commits
mailing list