SPECS: cacti-bind.spec (NEW) - new, unfinished

arekm arekm at pld-linux.org
Mon Oct 10 09:17:03 CEST 2005


Author: arekm                        Date: Mon Oct 10 07:17:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, unfinished

---- Files affected:
SPECS:
   cacti-bind.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/cacti-bind.spec
diff -u /dev/null SPECS/cacti-bind.spec:1.1
--- /dev/null	Mon Oct 10 09:17:03 2005
+++ SPECS/cacti-bind.spec	Mon Oct 10 09:16:57 2005
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Bind Stats Plugin for Cacti
+Name:		cacti-bind
+Version:	1.1
+Release:	0.1
+License:	GPL
+Group:		Applications/WWW
+Source0:	http://www.bayour.com/bind9-snmp/bind9-snmp_%{version}.tgz
+# Source0-md5:	834c7e296e9d5ba28d870629a618715f
+URL:		http://www.bayour.com/bind9-snmp/
+BuildRequires:	rpm-perlprov
+Requires:	cacti
+Requires:	net-snmp
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		webadminroot /usr/share/cacti
+
+%description
+This is a pass-through script for SNMP that gives all the Bind9
+statistics that can be (is) retreived with 'rndc status'.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{webadminroot}/resource/snmp_queries
+install -d $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{snmp,cron.d}
+
+install etc/snmp/* $RPM_BUILD_ROOT%{_sysconfdir}/snmp
+install usr/share/cacti/resource/snmp_queries/* $RPM_BUILD_ROOT%{webadminroot}/resource/snmp_queries
+install usr/share/snmp/mibs/* $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/*.pl
+%{_datadir}/snmp/mibs/*
+%{webadminroot}/resource/snmp_queries/*.xml
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/10 07:16:57  arekm
+- new, unfinished
+
================================================================



More information about the pld-cvs-commit mailing list