packages: net-snmp/net-snmp.spec, net-snmp/net-snmpd.init, net-snmp/net-snm...

baggins baggins at pld-linux.org
Fri Aug 20 12:35:27 CEST 2010


Author: baggins                      Date: Fri Aug 20 10:35:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4
- added SNMPD_INITLIST option

---- Files affected:
packages/net-snmp:
   net-snmp.spec (1.164 -> 1.165) , net-snmpd.init (1.21 -> 1.22) , net-snmpd.sysconfig (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.164 packages/net-snmp/net-snmp.spec:1.165
--- packages/net-snmp/net-snmp.spec:1.164	Fri Jul  9 13:20:11 2010
+++ packages/net-snmp/net-snmp.spec	Fri Aug 20 12:35:22 2010
@@ -30,7 +30,7 @@
 Summary(uk.UTF-8):	Набір утиліт для протоколу SNMP від UC-Davis
 Name:		net-snmp
 Version:	5.5
-Release:	3
+Release:	4
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -804,6 +804,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.165  2010/08/20 10:35:22  baggins
+- rel 4
+- added SNMPD_INITLIST option
+
 Revision 1.164  2010/07/09 11:20:11  arekm
 - release 3
 

================================================================
Index: packages/net-snmp/net-snmpd.init
diff -u packages/net-snmp/net-snmpd.init:1.21 packages/net-snmp/net-snmpd.init:1.22
--- packages/net-snmp/net-snmpd.init:1.21	Mon Apr 20 07:48:53 2009
+++ packages/net-snmp/net-snmpd.init	Fri Aug 20 12:35:22 2010
@@ -47,6 +47,7 @@
 	msg_starting "snmpd"
 	daemon /usr/bin/setsid /usr/sbin/snmpd \
 		$([ -n "$CONF_FILE" ] && echo "-C -c $CONF_FILE") \
+		$([ -n "$SNMPD_INITLIST" ] && echo "-I \"$SNMPD_INITLIST\"") \
 		$(is_yes "$LOG_WARNINGS_MESSAGES_TO_SYSLOG" && echo "-LSid" ) \
 		-p /var/run/snmpd.pid $SNMPD_LISTEN_ADDRS </dev/null
 	RETVAL=$?

================================================================
Index: packages/net-snmp/net-snmpd.sysconfig
diff -u packages/net-snmp/net-snmpd.sysconfig:1.3 packages/net-snmp/net-snmpd.sysconfig:1.4
--- packages/net-snmp/net-snmpd.sysconfig:1.3	Wed Feb 20 19:51:28 2008
+++ packages/net-snmp/net-snmpd.sysconfig	Fri Aug 20 12:35:22 2010
@@ -13,3 +13,7 @@
 
 # Addresses snmpd should listen too. See snmpd(8)
 #SNMPD_LISTEN_ADDRS="udp:127.0.0.1"
+
+# Module names that should (not) be loaded, see '-I' snmpd option
+# for example we don't want diskio inside vserver (no /proc/diskstats or /proc partitions)
+#SNMPD_INITLIST="-diskio"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp.spec?r1=1.164&r2=1.165&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmpd.init?r1=1.21&r2=1.22&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmpd.sysconfig?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list