summaryrefslogtreecommitdiff
path: root/net-mgmt/cricket/files/patch-ac
blob: 2bdff6c439ff200bcb0e951cc41edfb5ade06e00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
*** util/generate-statics.orig	Sun Jan  9 09:29:20 2000
--- util/generate-statics	Sun Feb 13 20:47:27 2000
***************
*** 1,4 ****
! #!/usr/local/bin/perl -w
  # -*- perl -*-
  
  # Cricket: a configuration, polling and data display wrapper for RRD files
--- 1,4 ----
! #!%%PATHPERLBIN%% -w
  # -*- perl -*-
  
  # Cricket: a configuration, polling and data display wrapper for RRD files
***************
*** 20,30 ****
  #    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  
  BEGIN {
! 	$gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".";
  
  	# You need to update this to point to the URL
  	# you use to access Cricket.
! 	$gBaseURL = "http://localhost/~cricket/grapher.cgi";
  }
  
  use lib "$gInstallRoot/../lib";
--- 20,32 ----
  #    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  
  BEGIN {
! #	$gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . ".";
! 	$gInstallRoot = '%%PREFIX%%/cricket';
  
  	# You need to update this to point to the URL
  	# you use to access Cricket.
! #	$gBaseURL = "http://localhost/~cricket/grapher.cgi";
! 	$gBaseURL = "http://localhost/cgi-bin/grapher.cgi";
  }
  
  use lib "$gInstallRoot/../lib";