View | Details | Raw Unified | Return to bug 95156
Collapse All | Expand All

(-)net/smokeping/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	smokeping
8
PORTNAME=	smokeping
9
PORTVERSION=	2.0.5
9
PORTVERSION=	2.0.7
10
CATEGORIES=	net www
10
CATEGORIES=	net www
11
MASTER_SITES=	http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/
11
MASTER_SITES=	http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/
12
12
(-)net/smokeping/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (smokeping-2.0.5.tar.gz) = c965439c147012b91585c3e134225b4d
1
MD5 (smokeping-2.0.7.tar.gz) = 25e2e2285bbc67a1ad5798e0cb211ebc
2
SHA256 (smokeping-2.0.5.tar.gz) = 9cd7cf12a3183dae5c3fe6f2ad1e4f4ed7396e8f01081b6784084f934e6901f1
2
SHA256 (smokeping-2.0.7.tar.gz) = 279fe0c6cfa673e153bcd028c8e4abafa798c713c55e1dd01e316cbfa32fb67f
3
SIZE (smokeping-2.0.5.tar.gz) = 375851
3
SIZE (smokeping-2.0.7.tar.gz) = 382269
(-)net/smokeping/files/patch-bin-smokeping.dist (-3 / +3 lines)
Lines 1-5 Link Here
1
--- bin/smokeping.dist.orig	Mon Sep 26 22:15:57 2005
1
--- bin/smokeping.dist.orig	Fri Mar 31 16:23:31 2006
2
+++ bin/smokeping.dist	Thu Oct  6 10:37:31 2005
2
+++ bin/smokeping.dist	Fri Mar 31 16:27:01 2006
3
@@ -1,12 +1,11 @@
3
@@ -1,12 +1,11 @@
4
-#!/usr/sepp/bin/perl-5.8.4 -w
4
-#!/usr/sepp/bin/perl-5.8.4 -w
5
+#!%%PERL%% -w
5
+#!%%PERL%% -w
Lines 9-15 Link Here
9
-use lib qw(lib);
9
-use lib qw(lib);
10
+use lib qw(%%PREFIX%%/smokeping/lib);
10
+use lib qw(%%PREFIX%%/smokeping/lib);
11
 
11
 
12
 use Smokeping 2.000005;
12
 use Smokeping 2.000007;
13
  
13
  
14
-Smokeping::main("etc/config.dist");
14
-Smokeping::main("etc/config.dist");
15
+Smokeping::main("%%PREFIX%%/etc/smokeping/config");
15
+Smokeping::main("%%PREFIX%%/etc/smokeping/config");
(-)net/smokeping/files/patch-bin-tSmoke.dist (-4 / +4 lines)
Lines 1-5 Link Here
1
--- bin/tSmoke.dist.orig	Mon Sep 19 00:50:50 2005
1
--- bin/tSmoke.dist.orig	Fri Mar 31 16:29:45 2006
2
+++ bin/tSmoke.dist	Mon Sep 19 00:54:58 2005
2
+++ bin/tSmoke.dist	Fri Mar 31 16:33:07 2006
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-#!/usr/bin/perl
4
-#!/usr/bin/perl
5
+#!%%PERL%%
5
+#!%%PERL%%
Lines 14-20 Link Here
14
-use lib "/usr/local/rrdtool-1.0.39/lib/perl";
14
-use lib "/usr/local/rrdtool-1.0.39/lib/perl";
15
+use lib qw(%%PREFIX%%/smokeping/lib);
15
+use lib qw(%%PREFIX%%/smokeping/lib);
16
 
16
 
17
 use Smokeping 2.000001;
17
 use Smokeping 2.000007;
18
 use Net::SMTP;
18
 use Net::SMTP;
19
@@ -60,7 +59,7 @@
19
@@ -60,7 +59,7 @@
20
 use RRDs;
20
 use RRDs;
Lines 25-31 Link Here
25
 
25
 
26
 # global variables
26
 # global variables
27
 my $cfg;
27
 my $cfg;
28
@@ -479,33 +478,8 @@
28
@@ -468,33 +467,8 @@
29
 
29
 
30
 =head1 SETUP
30
 =head1 SETUP
31
 
31
 
(-)net/smokeping/files/patch-etc-config.dist (-2 / +2 lines)
Lines 1-5 Link Here
1
--- etc/config.dist.orig	Thu Jun  2 15:47:39 2005
1
--- etc/config.dist.orig	Fri Mar 31 16:34:39 2006
2
+++ etc/config.dist	Sun Sep 18 18:14:12 2005
2
+++ etc/config.dist	Fri Mar 31 16:36:42 2006
3
@@ -7,14 +7,14 @@
3
@@ -7,14 +7,14 @@
4
 owner    = Joe Random
4
 owner    = Joe Random
5
 contact  = joe@some.place.xyz
5
 contact  = joe@some.place.xyz
(-)net/smokeping/files/patch-htdocs-smokeping.cgi.dist (-3 / +29 lines)
Lines 1-5 Link Here
1
--- htdocs/smokeping.cgi.dist.orig	Mon Sep 26 22:15:57 2005
1
--- htdocs/smokeping.cgi.dist.orig	Fri Mar 31 16:37:51 2006
2
+++ htdocs/smokeping.cgi.dist	Thu Oct  6 10:40:18 2005
2
+++ htdocs/smokeping.cgi.dist	Fri Mar 31 16:40:00 2006
3
@@ -1,13 +1,12 @@
3
@@ -1,13 +1,12 @@
4
-#!/usr/sepp/bin/speedy -w
4
-#!/usr/sepp/bin/speedy -w
5
+#!%%PREFIX%%/bin/speedy -w
5
+#!%%PREFIX%%/bin/speedy -w
Lines 10-19 Link Here
10
+use lib qw(%%PREFIX%%/smokeping/lib);
10
+use lib qw(%%PREFIX%%/smokeping/lib);
11
 use CGI::Carp qw(fatalsToBrowser);
11
 use CGI::Carp qw(fatalsToBrowser);
12
 
12
 
13
 use Smokeping 2.000005;
13
 use Smokeping 2.000007;
14
 
14
 
15
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
15
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
16
+Smokeping::cgi("%%PREFIX%%/etc/smokeping/config");
16
+Smokeping::cgi("%%PREFIX%%/etc/smokeping/config");
17
 
17
 
18
 =head1 NAME
18
 =head1 NAME
19
 
20
@@ -34,23 +33,8 @@
21
 
22
 =head1 SETUP
23
 
24
-When installing SmokePing, this file has to be adjusted to fit your
25
-local system. Three paths have to be entered.
26
-
27
- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
28
-
29
-One pointing to your B<rrdtool> installation
30
-
31
- use lib qw(/home/oetiker/public_html/smokeping/lib);
32
-
33
-One pointing to the place where you have installed the SmokePing libraries
34
-
35
- use Smokeping;
36
-
37
- Smokeping::cgi("/home/oetiker/.smokeping/config");
38
-
39
-The third path is the argument to the Smokeping::cgi command. It points to
40
-the SmokePing configuration file.
41
+When installing SmokePing, this file has been adjusted to fit your
42
+local system. There should be no need for further path adjustments.
43
 
44
 =head1 COPYRIGHT

Return to bug 95156