From 073e7bc6aab0007bcc2023010c1584833ccbd4b7 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 29 Nov 2004 04:08:29 +0000 Subject: - 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 (1), Dominic Mitchell (2), oliver (3), Fumihiko Kimura (4) --- net-mgmt/net-snmp-devel/files/patch-local:snmpconf | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'net-mgmt/net-snmp-devel/files/patch-local:snmpconf') 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'}) { -- cgit v1.2.3