Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
smokeping
> smokeping-2.3.6_remove_use_lib.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File smokeping-2.3.6_remove_use_lib.patch of Package smokeping (Revision 20)
Currently displaying revision
20
,
show latest
--- htdocs/smokeping.cgi.dist.orig 2008-02-17 15:12:29.000000000 +0100 +++ htdocs/smokeping.cgi.dist 2008-02-17 15:13:09.000000000 +0100 @@ -1,13 +1,11 @@ #!/usr/sepp/bin/speedy -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.003006; -Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); +Smokeping::cgi("/etc/smokeping/config"); =head1 NAME --- bin/smokeping.dist.orig 2008-02-17 15:12:40.000000000 +0100 +++ bin/smokeping.dist 2008-02-17 15:13:25.000000000 +0100 @@ -1,12 +1,11 @@ #!/usr/sepp/bin/perl-5.8.4 -w # -*-perl-*- -use lib qw(/usr/pack/rrdtool-1.2.23-mo/lib/perl); use lib qw(lib); use Smokeping 2.003006; -Smokeping::main("etc/config.dist"); +Smokeping::cgi("/etc/smokeping/config"); =head1 NAME --- bin/tSmoke.dist.orig 2008-02-17 15:12:49.000000000 +0100 +++ bin/tSmoke.dist 2008-02-17 15:14:29.000000000 +0100 @@ -50,8 +50,6 @@ # -- 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.003006; use Net::SMTP; @@ -60,7 +58,7 @@ use RRDs; # Point to your Smokeping config file -my $cfgfile = "etc/config.dist"; +my $cfgfile = "/etc/smokeping/config"; # global variables my $cfg;