Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
smokeping
> smokeping-2.3.0_remove_use_lib.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File smokeping-2.3.0_remove_use_lib.patch of Package smokeping (Revision 24)
Currently displaying revision
24
,
show latest
--- htdocs/smokeping.cgi.dist.orig 2008-02-13 13:01:50.000000000 +0100 +++ htdocs/smokeping.cgi.dist 2008-02-13 13:03:52.000000000 +0100 @@ -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.003000; -Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); +Smokeping::cgi("/etc/smokeping/config"); =head1 NAME --- bin/smokeping.dist.orig 2008-02-13 13:01:50.000000000 +0100 +++ bin/smokeping.dist 2008-02-13 13:03:12.000000000 +0100 @@ -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.003000; -Smokeping::main("etc/config.dist"); +Smokeping::main("/etc/smokeping/config"); =head1 NAME --- bin/tSmoke.dist.orig 2008-01-23 16:07:05.000000000 +0100 +++ bin/tSmoke.dist 2008-02-13 13:01:54.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.003000; 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;