pkgsrc/net/p5-SNMP/patches/patch-ab
wrstuden 302a9a2a43 Update to version 3.1.0.
Also added support for regression testing. make test in package
directory will run test suite. snmpd and snmptrapd need to already
running, and t/startagent.pl needs to have correct values for
SNMP v1 access.
2001-01-30 22:03:38 +00:00

16 lines
785 B
Text

$NetBSD: patch-ab,v 1.1 2001/01/30 22:03:39 wrstuden Exp $
--- t/mibload.t.orig Mon Jan 29 10:19:18 2001
+++ t/mibload.t Mon Jan 29 10:24:02 2001
@@ -33,9 +33,9 @@
@mibdir = ("/usr/mibs");
@mibfile = ("/usr/mibs/IPV6-TCP-MIB.txt", "/usr/mibs/snmp-proxy-mib.txt");
} else {
- $mibfile1 = "/usr/local/share/snmp/mibs/TCP-MIB.txt";
- @mibdir = ('/usr/local/share/snmp/mibs/');
- @mibfile = ('/usr/local/share/snmp/mibs/IPV6-TCP-MIB.txt');
+ $mibfile1 = "$ENV{'PREFIX'}/share/snmp/mibs/TCP-MIB.txt";
+ @mibdir = ("$ENV{'PREFIX'}/share/snmp/mibs/");
+ @mibfile = ("$ENV{'PREFIX'}/share/snmp/mibs/IPV6-TCP-MIB.txt");
}
######################################################################
# See if we can find a mib to use, return of 0 means the file wasn't