[packages] net-snmp: Refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@16593 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx
2009-06-27 21:50:05 +00:00
parent 392c95443d
commit 214b4277aa
7 changed files with 58 additions and 65 deletions

View File

@ -1,5 +1,5 @@
--- net-snmp-5.1.2.orig/EXAMPLE.conf.def
+++ net-snmp-5.1.2/EXAMPLE.conf.def
--- a/EXAMPLE.conf.def
+++ b/EXAMPLE.conf.def
@@ -6,7 +6,7 @@
###############################################################################
#
@ -55,7 +55,7 @@
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
@@ -100,8 +106,8 @@
@@ -100,8 +106,8 @@ access MyRWGroup "" any noaut
# value of an object whose value is given here will fail with an error
# status of notWritable.
@ -66,7 +66,7 @@
# Example output of snmpwalk:
# % snmpwalk -v 1 -c public localhost system
@@ -135,13 +141,13 @@
@@ -135,13 +141,13 @@ syscontact Me <me@somewhere.org>
#
# Make sure mountd is running
@ -83,7 +83,7 @@
# A snmpwalk of the prTable would look something like this:
#
@@ -199,7 +205,7 @@
@@ -199,7 +205,7 @@ proc sendmail 10 1
# ARGS: optional arguments to be passed to the program
# a simple hello world
@ -92,7 +92,7 @@
# Run a shell script containing:
#
@@ -250,7 +256,7 @@
@@ -250,7 +256,7 @@ exec echotest /bin/echo hello world
# Check the / partition and make sure it contains at least 10 megs.
@ -101,7 +101,7 @@
# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.DISKMIBNUM
# enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0
@@ -279,7 +285,7 @@
@@ -279,7 +285,7 @@ disk / 10000
# 15MAX: Similar, but for 15 min average.
# Check for loads:
@ -110,7 +110,7 @@
# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.LOADAVEMIBNUM
# enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1
@@ -365,7 +371,7 @@
@@ -365,7 +371,7 @@ load 12 14 14
# (commented out here since it requires that you place the
# script in the right location. (its not installed by default))
@ -119,8 +119,8 @@
# % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.255
# enterprises.ucdavis.255.1 = "life the universe and everything"
--- net-snmp-5.1.2.orig/EXAMPLE-trap.conf
+++ net-snmp-5.1.2/EXAMPLE-trap.conf
--- /dev/null
+++ b/EXAMPLE-trap.conf
@@ -0,0 +1,18 @@
+###############################################################################
+#