SPECS: bind-snmp.spec (NEW), cacti-bind.spec (REMOVED) - renamed a...

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


Author: arekm                        Date: Mon Oct 10 07:23:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- renamed and splitted

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

---- Diffs:

================================================================
Index: SPECS/bind-snmp.spec
diff -u /dev/null SPECS/bind-snmp.spec:1.1
--- /dev/null	Mon Oct 10 09:23:09 2005
+++ SPECS/bind-snmp.spec	Mon Oct 10 09:23:03 2005
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Bind SNMP script
+Name:		bind-snmp
+Version:	1.1
+Release:	0.1
+License:	GPL
+Group:		Networking/Daemons
+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:	bind >= 9.0.0
+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'.
+
+%package -n net-snmp-mibs-bind
+Summary:        MIBs for BIND9
+Group:          Applications/System
+Requires:	net-snmp-mibs
+
+%description -n net-snmp-mibs-bind
+MIBs for BIND9.
+
+%package -n cacti-bind
+Summary:        BIND9 plugin for Cacti
+Group:          Applications/System
+Requires:	net-snmp-mibs-bind = %{version}-%{release}
+Requires:	cacti
+
+%description -n cacti-bind
+BIND9 plugin for Cacti.
+
+%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
+
+%files -n net-snmp-mibs-bind
+%defattr(644,root,root,755)
+%{_datadir}/snmp/mibs/*
+
+%files -n cacti-bind
+%defattr(644,root,root,755)
+%{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:23:03  arekm
+- renamed and splitted
+
+Revision 1.1  2005/10/10 07:16:57  arekm
+- new, unfinished
+
================================================================



More information about the pld-cvs-commit mailing list