packages: cacti-template-mail_statistics/cacti-template-mail_statistics.spe...

glen glen at pld-linux.org
Mon Dec 27 17:09:11 CET 2010


Author: glen                         Date: Mon Dec 27 16:09:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use "pass", not "extend"

---- Files affected:
packages/cacti-template-mail_statistics:
   cacti-template-mail_statistics.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/cacti-template-mail_statistics/cacti-template-mail_statistics.spec
diff -u packages/cacti-template-mail_statistics/cacti-template-mail_statistics.spec:1.3 packages/cacti-template-mail_statistics/cacti-template-mail_statistics.spec:1.4
--- packages/cacti-template-mail_statistics/cacti-template-mail_statistics.spec:1.3	Thu Oct 21 17:48:59 2010
+++ packages/cacti-template-mail_statistics/cacti-template-mail_statistics.spec	Mon Dec 27 17:09:06 2010
@@ -61,14 +61,14 @@
 
 %post -n net-snmp-agent-mail_statistics
 if ! grep -qF %{snmpoid} %{snmpdconfdir}/snmpd.local.conf; then
-	echo "extend %{snmpoid} cacti_postfix %{agentscript} /var/log/maillog %{dbfile} %{snmpoid}" >> %{snmpdconfdir}/snmpd.local.conf
+	echo "pass %{snmpoid} cacti_postfix %{agentscript} /var/log/maillog %{dbfile} %{snmpoid}" >> %{snmpdconfdir}/snmpd.local.conf
 	%service -q snmpd reload
 fi
 
 %preun -n net-snmp-agent-mail_statistics
 if [ "$1" = 0 ]; then
 	if [ -f %{snmpdconfdir}/snmpd.local.conf ]; then
-		%{__sed} -i -e "/extend %(echo %{snmpoid} | sed -e 's,\.,\\.,g')/d" %{snmpdconfdir}/snmpd.local.conf
+		%{__sed} -i -e "/pass %(echo %{snmpoid} | sed -e 's,\.,\\.,g')/d" %{snmpdconfdir}/snmpd.local.conf
 		%service -q snmpd reload
 	fi
 fi
@@ -88,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/12/27 16:09:06  glen
+- use "pass", not "extend"
+
 Revision 1.3  2010/10/21 15:48:59  glen
 - renamed to be more generic: mail_statistics
 - increase cache time (but be lower than 5m cacti poll interval)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-mail_statistics/cacti-template-mail_statistics.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list