summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-local:snmpconf
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-devel/files/patch-local:snmpconf
parentProject is now under the Apache 2.0 license, which is included in the (diff)
- 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-devel/files/patch-local:snmpconf')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-local:snmpconf44
1 files changed, 22 insertions, 22 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-local:snmpconf b/net-mgmt/net-snmp-devel/files/patch-local:snmpconf
index 584e473e27d2..5b3623782df9 100644
--- a/net-mgmt/net-snmp-devel/files/patch-local:snmpconf
+++ b/net-mgmt/net-snmp-devel/files/patch-local:snmpconf
@@ -1,30 +1,30 @@
---- local/snmpconf.orig Tue Apr 20 23:20:51 2004
-+++ local/snmpconf Thu Jun 24 23:12:06 2004
+--- local/snmpconf.orig Sat Oct 9 01:01:37 2004
++++ local/snmpconf Mon Oct 25 08:42:23 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!%%PERL%% -w
#
# A simple configuration file builder based on questions listed in
-@@ -21,7 +21,7 @@
- $opts{'c'} = "$ENV{SNMPSHAREPATH}/snmpconf-data";
+@@ -32,7 +32,7 @@
+ $opts{'c'} = "$ENV{SNMPSHAREPATH}/snmpconf-data";
+ }
+ else {
+- $opts{'c'} = "/usr/local/share/snmp/snmpconf-data";
++ $opts{'c'} = "%%PREFIX%%/share/snmp/snmpconf-data";
+ }
+
+ # default config file path
+@@ -40,7 +40,7 @@
+ $confpath = "$ENV{SNMPCONFPATH}";
+ }
+ else {
+- $confpath = "/usr/local/share/snmp";
++ $confpath = "%%PREFIX%%/share/snmp";
+ }
}
- else {
-- $opts{'c'} = "/usr/local/share/snmp/snmpconf-data";
-+ $opts{'c'} = "%%PREFIX%%/share/snmp/snmpconf-data";
- }
-
- # default config file path
-@@ -29,7 +29,7 @@
- $confpath = "$ENV{SNMPCONFPATH}";
- }
- else {
-- $confpath = "/usr/local/share/snmp";
-+ $confpath = "%%PREFIX%%/share/snmp";
- }
-
- # home environment variable
-@@ -84,7 +84,7 @@
+ else
+@@ -128,7 +128,7 @@
#
# Find existing files to possibly read in.
#
@@ -33,7 +33,7 @@
push @searchpath, $opts{I} if ($opts{I});
foreach my $i (@searchpath) {
debug("searching $i\n");
-@@ -183,7 +183,7 @@
+@@ -227,7 +227,7 @@
if ($opts{'i'} || $opts{'I'}) {
$opts{'I'} = "$confpath" if (!$opts{'I'});
@@ -42,7 +42,7 @@
print "\nCould not create $opts{'I'} directory: $!\n";
print ("File $didfile{$i} left in current directory\n");
}
-@@ -198,7 +198,7 @@
+@@ -242,7 +242,7 @@
}
}
} elsif ($opts{'p'}) {