aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-local:mib2c
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-11-29 04:08:29 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-11-29 04:08:29 +0000
commit073e7bc6aab0007bcc2023010c1584833ccbd4b7 (patch)
tree5cd85bbc837231a3a8e2582bc048cd987a899022 /net-mgmt/net-snmp/files/patch-local:mib2c
parent30989780244d5c762154e7153838f7e5c1f99192 (diff)
downloadports-073e7bc6aab0007bcc2023010c1584833ccbd4b7.tar.gz
ports-073e7bc6aab0007bcc2023010c1584833ccbd4b7.zip
- Upgrade to 5.2.
- Fix build problem on current (1) - Fix module availability problem on current (2) - Disable perl completely with WITHOUT_PERL knob (3) - Install sample file and improve pkg-message and pkg-plist (4) PR: ports/71071 (1), ports/71522 (2), ports/71315 (3), ports/72779 (4) Submitted by: Matthew Thyer <thyerm@powerband.net.au> (1), Dominic Mitchell <dom@happygiraffe.net> (2), oliver (3), Fumihiko Kimura <jfkimura@yahoo.co.jp> (4)
Notes
Notes: svn path=/head/; revision=122733
Diffstat (limited to 'net-mgmt/net-snmp/files/patch-local:mib2c')
-rw-r--r--net-mgmt/net-snmp/files/patch-local:mib2c15
1 files changed, 8 insertions, 7 deletions
diff --git a/net-mgmt/net-snmp/files/patch-local:mib2c b/net-mgmt/net-snmp/files/patch-local:mib2c
index 6609d77609c9..a0a2ce336f86 100644
--- a/net-mgmt/net-snmp/files/patch-local:mib2c
+++ b/net-mgmt/net-snmp/files/patch-local:mib2c
@@ -1,20 +1,21 @@
---- local/mib2c.orig Fri Nov 14 02:28:39 2003
-+++ local/mib2c Wed Feb 4 09:05:44 2004
+--- local/mib2c.orig Fri Sep 10 21:30:15 2004
++++ local/mib2c Mon Oct 25 08:38:30 2004
@@ -1,5 +1,4 @@
-#!/usr/bin/perl
-#!/usr/bin/perl -w
+#!%%PERL%%
#
- # $Id: mib2c,v 5.36 2003/11/14 01:28:39 rstory Exp $
-@@ -56,8 +55,8 @@
+ # $Id: mib2c,v 5.57 2004/09/10 12:30:15 dts12 Exp $
+@@ -60,8 +59,9 @@
if($ENV{MIB2C_DIR}) {
- push @def_search_dirs, $ENV{MIB2C_DIR};
+ push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR});
}
-push @def_search_dirs, "/usr/local/share/snmp/";
--
+-push @def_search_dirs, "/usr/local/share/snmp/mib2c-data";
+push @def_search_dirs, "%%PREFIX%%/share/snmp/";
+push @def_search_dirs, "%%PREFIX%%/etc/snmp/";
++push @def_search_dirs, "%%PREFIX%%/share/snmp/mib2c-data";
+ push @def_search_dirs, "./mib2c-conf.d";
sub usage {
- print "$0 [-h] [-c configfile] [-f prefix] mibNode\n\n";