Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
smokeping
> smokeping-2.2.2_remove_use_lib.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File smokeping-2.2.2_remove_use_lib.patch of Package smokeping (Revision 24)
Currently displaying revision
24
,
show latest
Index: bin/smokeping.dist =================================================================== --- bin/smokeping.dist.orig 2007-08-31 22:38:33.000000000 +0200 +++ bin/smokeping.dist 2007-08-31 22:39:33.593350308 +0200 @@ -1,12 +1,9 @@ #!/usr/bin/perl -w # -*-perl-*- -use lib qw(/usr/pack/rrdtool-1.2.23-mo/lib/perl); -use lib qw(lib); - use Smokeping 2.002002; - -Smokeping::main("etc/config.dist"); + +Smokeping::main("/etc/smokeping/config"); =head1 NAME Index: bin/tSmoke.dist =================================================================== --- bin/tSmoke.dist.orig 2007-08-30 17:07:38.000000000 +0200 +++ bin/tSmoke.dist 2007-08-31 22:38:37.989996041 +0200 @@ -50,8 +50,6 @@ use strict; # -- Getopt::Long # # Point the lib variables to your implementation -use lib qw(lib); -use lib "/usr/local/rrdtool-1.0.39/lib/perl"; use Smokeping 2.002002; use Net::SMTP; @@ -60,7 +58,7 @@ use Pod::Usage; use RRDs; # Point to your Smokeping config file -my $cfgfile = "etc/config.dist"; +my $cfgfile = "/etc/smokeping/config"; # global variables my $cfg; Index: htdocs/smokeping.cgi.dist =================================================================== --- htdocs/smokeping.cgi.dist.orig 2007-08-31 22:38:33.000000000 +0200 +++ htdocs/smokeping.cgi.dist 2007-08-31 22:40:43.521568691 +0200 @@ -1,13 +1,11 @@ #!/usr/bin/perl -w # -*-perl-*- -use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); -use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib); use CGI::Carp qw(fatalsToBrowser); use Smokeping 2.002002; -Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); +Smokeping::cgi("/etc/smokeping/config"); =head1 NAME