[101675] trunk/dports/net/smokeping

markd at macports.org markd at macports.org
Wed Jan 16 15:43:39 PST 2013


Revision: 101675
          https://trac.macports.org/changeset/101675
Author:   markd at macports.org
Date:     2013-01-16 15:43:39 -0800 (Wed, 16 Jan 2013)
Log Message:
-----------
Update to 2.6.8; This version does not use SpeedyCGI.

Modified Paths:
--------------
    trunk/dports/net/smokeping/Portfile

Added Paths:
-----------
    trunk/dports/net/smokeping/files/patch-bin-smokeinfo.diff
    trunk/dports/net/smokeping/files/patch-bin-smokeping.diff
    trunk/dports/net/smokeping/files/patch-bin-smokeping_cgi.diff
    trunk/dports/net/smokeping/files/patch-bin-tSmoke.diff
    trunk/dports/net/smokeping/files/patch-etc-config.dist.diff

Removed Paths:
-------------
    trunk/dports/net/smokeping/files/patch-bin-smokeping.dist
    trunk/dports/net/smokeping/files/patch-bin-tSmoke.dist
    trunk/dports/net/smokeping/files/patch-etc-config.dist
    trunk/dports/net/smokeping/files/patch-htdocs-smokeping.cgi.dist

Modified: trunk/dports/net/smokeping/Portfile
===================================================================
--- trunk/dports/net/smokeping/Portfile	2013-01-16 22:57:09 UTC (rev 101674)
+++ trunk/dports/net/smokeping/Portfile	2013-01-16 23:43:39 UTC (rev 101675)
@@ -5,10 +5,9 @@
 PortGroup		perl5 1.0
 
 name			smokeping
-version			2.4.2
-revision		5
+version			2.6.8
 categories		net perl
-maintainers		markd
+maintainers		markd openmaintainer
 description		A deluxe latency logging and graphing system.
 long_description	SmokePing is a deluxe latency measurement tool. \
 			It can measure, store, and display latency, latency \
@@ -20,17 +19,20 @@
 platforms		darwin
 homepage                http://oss.oetiker.ch/smokeping/
 master_sites		http://oss.oetiker.ch/smokeping/pub/
-checksums		md5 eb8e7679fcad35e59d7c51f2328250a2
+checksums		md5 14a968daab2d17a27d41600077e3e967
 
-patchfiles		patch-bin-smokeping.dist \
-			patch-bin-tSmoke.dist \
-			patch-etc-config.dist \
-			patch-htdocs-smokeping.cgi.dist
+patchfiles		patch-etc-config.dist.diff \
+			patch-bin-smokeping.diff \
+			patch-bin-tSmoke.diff \
+			patch-bin-smokeinfo.diff \
+			patch-bin-smokeping_cgi.diff
 
 depends_lib-append	port:perl5.12 \
+			port:mod_fastcgi \
+			port:p5-fcgi \
+			port:apache2 \
 			port:rrdtool \
 			port:p5.12-libwww-perl \
-			port:p5.12-cgi-speedycgi \
 			port:p5.12-socket6 \
 			port:p5.12-net-snmp \
 			port:p5.12-net-telnet \
@@ -40,53 +42,34 @@
 			port:p5.12-io-socket-ssl \
 			port:p5.12-pathtools \
 			port:p5.12-snmp_session \
+			port:p5.12-config-grammar \
 			port:fping \
-			port:echoping \
 			port:curl
 
 set smokeroot ${prefix}/lib/smokeping
 set smokedata ${prefix}/var/smokeping
-set smokeetc ${prefix}/etc/smokeping
-set smokedoc ${prefix}/share/doc/smokeping
-set apple_apache_docroot /Library/WebServer/Documents
+set smokeetc ${prefix}/etc
 set macports_apache_docroot ${prefix}/apache2/htdocs
 
 	startupitem.create	yes
 	startupitem.name	smokeping
 	startupitem.executable	${prefix}/bin/smokeping --nodaemon
 
-variant apple_apache description {Use Apple's built-in Apache } {
-# This variant doesn't do anything in the Smokeping port, but it triggers the
-# same variant name in p5-cgi-speedycgi, which is necessary for SpeedyCGI to
-# work with Apple's Apache.
-}
 
-use_configure		no
-build {}
-
 post-patch {
-if { [variant_isset apple_apache] } {
-	reinplace "s|__APACHE__DOCROOT__|${apple_apache_docroot}|g" \
+	reinplace "s|__PREFIX__|${prefix}|g" \
+		${worksrcpath}/bin/smokeping \
+		${worksrcpath}/bin/tSmoke \
+		${worksrcpath}/bin/smokeinfo \
+		${worksrcpath}/bin/smokeping_cgi \
 		${worksrcpath}/etc/config.dist
-} else {
-	reinplace "s|__APACHE__DOCROOT__|${macports_apache_docroot}|g" \
-		${worksrcpath}/etc/config.dist
-}
 
-	eval reinplace "s|__PREFIX__|${prefix}|g" \
-		[glob ${worksrcpath}/bin/*.dist] \
-		[glob ${worksrcpath}/etc/*.dist] \
-		[glob ${worksrcpath}/htdocs/*.dist]
+	reinplace "s|__PERL5__ARCHLIB__|${perl5.archlib}|g" \
+                ${worksrcpath}/bin/smokeping \
+                ${worksrcpath}/bin/tSmoke \
+                ${worksrcpath}/bin/smokeinfo \
+                ${worksrcpath}/bin/smokeping_cgi
 
-	eval reinplace "s|__PERL5__ARCHLIB__|${perl5.archlib}|g" \
-                [glob ${worksrcpath}/bin/*.dist] \
-                [glob ${worksrcpath}/htdocs/*.dist]
-
-	eval reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|g" \
-                [glob ${worksrcpath}/bin/*.dist] \
-                [glob ${worksrcpath}/etc/*.dist] \
-                [glob ${worksrcpath}/htdocs/*.dist]
-
 	reinplace "s|/usr/bin/|${prefix}/bin/|g" \
 		${worksrcpath}/lib/Smokeping.pm \
 		${worksrcpath}/lib/Smokeping/Examples.pm \
@@ -95,68 +78,30 @@
 		${worksrcpath}/lib/Smokeping/probes/SSH.pm \
 		${worksrcpath}/lib/Smokeping/probes/FPing6.pm \
 		${worksrcpath}/lib/Smokeping/probes/EchoPing.pm \
-		${worksrcpath}/lib/Smokeping/probes/FPing.pm
+		${worksrcpath}/lib/Smokeping/probes/FPing.pm \
 
 	reinplace "s|/usr/share/smokeping/etc|${smokeetc}|g" \
 		${worksrcpath}/lib/Smokeping/probes/passwordchecker.pm
 }
 
-destroot {
-# bin
-	xinstall -m 755 -d ${destroot}${prefix}/bin
-	xinstall -m 755 ${worksrcpath}/bin/smokeping.dist ${destroot}${prefix}/bin/smokeping
-	xinstall -m 755 ${worksrcpath}/bin/tSmoke.dist ${destroot}${prefix}/bin/tSmoke
+post-destroot {
 
-# doc
-	xinstall -m 755 -d ${destroot}${smokedoc}
-	system "cp -R ${worksrcpath}/doc/ ${destroot}${smokedoc}"
-	file copy ${worksrcpath}/README ${destroot}${smokedoc}
-	file copy ${worksrcpath}/TODO ${destroot}${smokedoc}
+# Create and retain the data directory
 
-# etc
-# Leave the config.dist filename for users to remove so upgrades won't destroy the config file.
-	xinstall -m 755 -d ${destroot}${smokeetc}
-	eval xinstall -m 640 [glob ${worksrcpath}/etc/*.dist] ${destroot}${smokeetc}
-
-# lib
-	system "cp -R ${worksrcpath}/lib/ ${destroot}${smokeroot}"
-
-# Smokeping data directory that needs to be symlinked to Apache docroot
-	xinstall -m 755 -d ${destroot}${smokedata}
-
-# Smokeping log directory
-	xinstall -m 755 -d ${destroot}${smokedata}/log
-
-# htdocs
-        xinstall -m 755 ${worksrcpath}/htdocs/smokeping.cgi.dist \
-                ${destroot}${smokedata}/smokeping.cgi
-        xinstall -m 755 -d ${destroot}${smokedata}/cropper
-        system "cp -R ${worksrcpath}/htdocs/cropper/ ${destroot}${smokedata}/cropper"
-
-# Retain these empty directories
-	destroot.keepdirs ${destroot}${smokedata}/log
+       xinstall -m 755 -d ${destroot}${smokedata}/log
+       destroot.keepdirs ${destroot}${smokedata}/log
 }
 
 post-activate {
 ui_msg "\n  #### To complete the Smokeping installation ####
 
-1) Enable SpeedyCGI (installed as a dependency of Smokeping) for Apache.
+1) Enable mod_fastcgi (installed as a dependency of Smokeping) for MacPorts Apache 2.
 
-   -For MacPorts Apache 2, add the line below to ${prefix}/apache2/conf/httpd.conf.
+   -Rdd the line below to ${prefix}/apache2/conf/httpd.conf.
 
-	LoadModule speedycgi_module modules/mod_speedycgi.so
+	LoadModule fastcgi_module modules/mod_fastcgi.so
 
-   -For Apple's Apache 2, manually copy mod_speedycgi.so and smokeping.cgi
-    into place ...
 
-	sudo cp ${prefix}/share/doc/speedycgi/mod_speedycgi.so /usr/libexec/apache2
-	sudo cp ${prefix}${smokedata}/smokeping.cgi /Library/WebServer/CGI-Executables
-
-   ... and add the lines below to /etc/apache2/httpd.conf.
-
-	LoadModule speedycgi_module libexec/apache2/mod_speedycgi.so
-
-
 2)  Changes to httpd.conf for Smokeping.
 
    -Uncomment this line to enable the CGI script handler.

Added: trunk/dports/net/smokeping/files/patch-bin-smokeinfo.diff
===================================================================
--- trunk/dports/net/smokeping/files/patch-bin-smokeinfo.diff	                        (rev 0)
+++ trunk/dports/net/smokeping/files/patch-bin-smokeinfo.diff	2013-01-16 23:43:39 UTC (rev 101675)
@@ -0,0 +1,13 @@
+--- bin/smokeinfo.orig	2011-10-05 02:51:46.000000000 -0700
++++ bin/smokeinfo	2013-01-16 12:19:13.000000000 -0800
+@@ -4,8 +4,8 @@
+ 
+ use FindBin;
+ # PERL5LIB
+-use lib "$FindBin::Bin/../thirdparty/lib/perl5";
+-use lib "$FindBin::Bin/../lib";
++use lib "__PERL5__ARCHLIB__/auto/RRDs";
++use lib "__PREFIX__/lib/smokeping/lib";
+ 
+ use Smokeping::Info;
+ use Getopt::Long 2.25 qw(:config no_ignore_case);

Added: trunk/dports/net/smokeping/files/patch-bin-smokeping.diff
===================================================================
--- trunk/dports/net/smokeping/files/patch-bin-smokeping.diff	                        (rev 0)
+++ trunk/dports/net/smokeping/files/patch-bin-smokeping.diff	2013-01-16 23:43:39 UTC (rev 101675)
@@ -0,0 +1,41 @@
+--- bin/smokeping.orig	2011-10-05 02:51:46.000000000 -0700
++++ bin/smokeping	2013-01-16 12:12:20.000000000 -0800
+@@ -6,12 +6,12 @@
+ 
+ use FindBin;
+ # PERL5LIB
+-use lib "$FindBin::Bin/../thirdparty/lib/perl5";
+-use lib "$FindBin::Bin/../lib";
++use lib "__PERL5__ARCHLIB__/auto/RRDs";
++use lib "__PREFIX__/lib/smokeping";
+ 
+ use Smokeping;
+  
+-Smokeping::main("$FindBin::Bin/../etc/config");
++Smokeping::main("__PREFIX__/etc/smokeping/config");
+ 
+ =head1 NAME
+ 
+@@ -131,22 +131,7 @@
+ 
+ =head1 SETUP
+ 
+-When installing SmokePing, this file has to be adjusted to fit your
+-local system. Three paths have to be entered.
+ 
+-One pointing to your B<rrdtool> installation
+-
+- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
+-
+-One pointing to the place where you have installed the SmokePing libraries
+-
+- use lib qw(/home/oetiker/public_html/smokeping/lib);
+-
+-The third path is the argument to the Smokeping::main command. It points to
+-the SmokePing configuration file.
+-
+- use Smokeping;
+- Smokeping::main("/home/oetiker/.smokeping/config");
+ 
+ =head1 COPYRIGHT
+ 

Deleted: trunk/dports/net/smokeping/files/patch-bin-smokeping.dist
===================================================================
--- trunk/dports/net/smokeping/files/patch-bin-smokeping.dist	2013-01-16 22:57:09 UTC (rev 101674)
+++ trunk/dports/net/smokeping/files/patch-bin-smokeping.dist	2013-01-16 23:43:39 UTC (rev 101675)
@@ -1,43 +0,0 @@
---- bin/smokeping.dist.orig	2008-07-24 10:37:05.000000000 -0700
-+++ bin/smokeping.dist	2009-02-03 17:45:16.000000000 -0800
-@@ -1,13 +1,13 @@
- #!/usr/bin/perl -w
- # -*-perl-*-
- 
--use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
--use lib qw(lib);
-+use lib qw(__PERL5__ARCHLIB__/auto/RRDs);
-+use lib qw(__PREFIX__/lib/smokeping);
- use strict;
- use warnings;
- use Smokeping 2.004002;
-  
--Smokeping::main("etc/config.dist");
-+Smokeping::main("__PREFIX__/etc/smokeping/config");
- 
- =head1 NAME
- 
-@@ -127,22 +127,7 @@
- 
- =head1 SETUP
- 
--When installing SmokePing, this file has to be adjusted to fit your
--local system. Three paths have to be entered.
--
--One pointing to your B<rrdtool> installation
--
-- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
--
--One pointing to the place where you have installed the SmokePing libraries
--
-- use lib qw(/home/oetiker/public_html/smokeping/lib);
--
--The third path is the argument to the Smokeping::main command. It points to
--the SmokePing configuration file.
--
-- use Smokeping;
-- Smokeping::main("/home/oetiker/.smokeping/config");
-+WARNING!!!! Paths for this file are set by MacPorts so they should not be modified.
- 
- =head1 COPYRIGHT
- 

Added: trunk/dports/net/smokeping/files/patch-bin-smokeping_cgi.diff
===================================================================
--- trunk/dports/net/smokeping/files/patch-bin-smokeping_cgi.diff	                        (rev 0)
+++ trunk/dports/net/smokeping/files/patch-bin-smokeping_cgi.diff	2013-01-16 23:43:39 UTC (rev 101675)
@@ -0,0 +1,13 @@
+--- bin/smokeping_cgi.orig	2011-10-05 02:51:46.000000000 -0700
++++ bin/smokeping_cgi	2013-01-16 12:19:48.000000000 -0800
+@@ -6,8 +6,8 @@
+ 
+ use FindBin;
+ # PERL5LIB
+-use lib "$FindBin::Bin/../thirdparty/lib/perl5";
+-use lib "$FindBin::Bin/../lib";
++use lib "__PERL5__ARCHLIB__/auto/RRDs";
++use lib "__PREFIX__/lib/smokeping/lib";
+ 
+ # don't bother with zombies
+ $SIG{CHLD} = 'IGNORE';

Added: trunk/dports/net/smokeping/files/patch-bin-tSmoke.diff
===================================================================
--- trunk/dports/net/smokeping/files/patch-bin-tSmoke.diff	                        (rev 0)
+++ trunk/dports/net/smokeping/files/patch-bin-tSmoke.diff	2013-01-16 23:43:39 UTC (rev 101675)
@@ -0,0 +1,56 @@
+--- bin/tSmoke.orig	2011-10-05 02:51:46.000000000 -0700
++++ bin/tSmoke	2013-01-16 12:15:36.000000000 -0800
+@@ -53,8 +53,8 @@
+ # Point the lib variables to your implementation
+ use FindBin;
+ # PERL5LIB
+-use lib "$FindBin::Bin/../thirdparty/lib/perl5";
+-use lib "$FindBin::Bin/../lib";
++use lib "__PERL5__ARCHLIB__/auto/RRDs";
++use lib "__PREFIX__/lib/smokeping/lib";
+ 
+ use Smokeping;
+ use Net::SMTP;
+@@ -63,7 +63,7 @@
+ use RRDs;
+ 
+ # Point to your Smokeping config file
+-my $cfgfile = "etc/config.dist";
++my $cfgfile = "__PREFIX__/etc/smokeping/config";
+ 
+ # global variables
+ my $cfg;
+@@ -484,33 +484,6 @@
+ 
+ =head1 SETUP
+ 
+-When installing tSmoke, some variables must be adjusted to fit your local system.
+-
+-We need to use the following B<libraries>:
+-
+-=over
+-
+-=item Smokeping
+-
+-=item RRDTool Perl bindings
+-
+-=item Getopt::Long
+-
+-=back
+-
+-Set up your libraries:
+-
+- use lib "/usr/local/smokeping/lib";
+- use lib "/usr/local/rrdtool-1.0.39/lib/perl";
+-
+-Point to your Smokeping B<config> file
+-
+- my $cfgfile = "/usr/local/smokeping/etc/config";
+-
+-Modify the Smokeping config file to include a path for tmail in the
+-General section:
+-
+- tmail = /usr/local/smokeping/etc/tmail
+ 
+ =head1 COPYRIGHT
+ 

Deleted: trunk/dports/net/smokeping/files/patch-bin-tSmoke.dist
===================================================================
--- trunk/dports/net/smokeping/files/patch-bin-tSmoke.dist	2013-01-16 22:57:09 UTC (rev 101674)
+++ trunk/dports/net/smokeping/files/patch-bin-tSmoke.dist	2013-01-16 23:43:39 UTC (rev 101675)
@@ -1,57 +0,0 @@
---- bin/tSmoke.dist.orig	2008-07-24 10:37:05.000000000 -0700
-+++ bin/tSmoke.dist	2009-02-03 17:51:31.000000000 -0800
-@@ -51,8 +51,8 @@
- # -- Getopt::Long
- #
- # Point the lib variables to your implementation
--use lib qw(lib);
--use lib qw(/usr/local/rrdtool-1.0.39/lib/perl);
-+use lib qw(__PREFIX__/lib/smokeping/lib);
-+use lib qw(__PERL5__ARCHLIB__/auto/RRDs);
- 
- use Smokeping 2.004002;
- use Net::SMTP;
-@@ -61,7 +61,7 @@
- use RRDs;
- 
- # Point to your Smokeping config file
--my $cfgfile = "etc/config.dist";
-+my $cfgfile = "__PREFIX__/etc/smokeping/config";
- 
- # global variables
- my $cfg;
-@@ -482,33 +482,7 @@
- 
- =head1 SETUP
- 
--When installing tSmoke, some variables must be adjusted to fit your local system.
--
--We need to use the following B<libraries>:
--
--=over
--
--=item Smokeping
--
--=item RRDTool Perl bindings
--
--=item Getopt::Long
--
--=back
--
--Set up your libraries:
--
-- use lib "/usr/local/smokeping/lib";
-- use lib "/usr/local/rrdtool-1.0.39/lib/perl";
--
--Point to your Smokeping B<config> file
--
-- my $cfgfile = "/usr/local/smokeping/etc/config";
--
--Modify the Smokeping config file to include a path for tmail in the
--General section:
--
-- tmail = /usr/local/smokeping/etc/tmail
-+Paths for this file are set by MacPorts so they should not be modified.
- 
- =head1 COPYRIGHT
- 

Deleted: trunk/dports/net/smokeping/files/patch-etc-config.dist
===================================================================
--- trunk/dports/net/smokeping/files/patch-etc-config.dist	2013-01-16 22:57:09 UTC (rev 101674)
+++ trunk/dports/net/smokeping/files/patch-etc-config.dist	2013-01-16 23:43:39 UTC (rev 101675)
@@ -1,53 +0,0 @@
---- etc/config.dist	2008-01-21 06:02:04.000000000 -0800
-+++ etc/config.dist.org	2008-02-04 10:29:48.000000000 -0800
-@@ -3,19 +3,19 @@
- owner    = Peter Random
- contact  = some at address.nowhere
- mailhost = my.mail.host
--sendmail = /usr/lib/sendmail
-+sendmail = /usr/sbin/sendmail
- # NOTE: do not put the Image Cache below cgi-bin
- # since all files under cgi-bin will be executed ... this is not
- # good for images.
--imgcache = /home/oetiker/public_html/smokeping-ms/cache
--imgurl   = cache
--datadir  = /tmp/smokeping-ms/data
--piddir  = /tmp/smokeping-ms/var
--cgiurl   = http://some.url/smokeping.cgi
--smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist
--tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist
-+imgcache = __PREFIX__/var/smokeping
-+imgurl   = http://myhost.mycompany.com/smokeping
-+datadir  = __PREFIX__/var/smokeping
-+piddir  = /var/run
-+cgiurl   = http://myhost.mycompany.com/smokeping/smokeping.cgi
-+smokemail = __PREFIX__/etc/smokeping/smokemail
-+tmail = __PREFIX__/etc/smokeping/tmail
- # specify this to get syslog logging
--syslogfacility = local0
-+syslogfacility = local1
- # each probe is now run in its own process
- # disable this to revert to the old behaviour
- # concurrentprobes = no
-@@ -47,7 +47,7 @@
- 
- *** Presentation ***
- 
--template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist
-+template = __PREFIX__/etc/smokeping/basepage.html
- 
- + charts
- 
-@@ -105,10 +105,10 @@
- 
- + FPing
- 
--binary = /usr/sbin/fping
-+binary = __PREFIX__/sbin/fping
- 
- *** Slaves ***
--secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist
-+secrets=__PREFIX__/etc/smokeping/smokeping_secrets.dist
- +boomer
- display_name=boomer
- color=0000ff

Added: trunk/dports/net/smokeping/files/patch-etc-config.dist.diff
===================================================================
--- trunk/dports/net/smokeping/files/patch-etc-config.dist.diff	                        (rev 0)
+++ trunk/dports/net/smokeping/files/patch-etc-config.dist.diff	2013-01-16 23:43:39 UTC (rev 101675)
@@ -0,0 +1,48 @@
+--- etc/config.dist.orig.dist	2012-02-06 21:47:29.000000000 -0800
++++ etc/config.dist	2013-01-16 12:27:29.000000000 -0800
+@@ -7,15 +7,15 @@
+ # NOTE: do not put the Image Cache below cgi-bin
+ # since all files under cgi-bin will be executed ... this is not
+ # good for images.
+-imgcache = /tmp/smokeping-31631-build/cache
+-imgurl   = cache
+-datadir  = /tmp/smokeping-31631-build/data
+-piddir  = /tmp/smokeping-31631-build/var
+-cgiurl   = http://some.url/smokeping.cgi
+-smokemail = /tmp/smokeping-31631-build/etc/smokemail.dist
+-tmail = /tmp/smokeping-31631-build/etc/tmail.dist
++imgcache = __PREFIX__/var/smokeping
++imgurl   = http://myhost.mycompany.com/smokeping
++datadir  = __PREFIX__/var/smokeping
++piddir  = /var/run
++cgiurl   = http://myhost.mycompany.com/smokeping/smokeping.cgi
++smokemail = __PREFIX__/etc/smokeping/smokemail
++tmail = __PREFIX__/etc/smokeping/tmail
+ # specify this to get syslog logging
+-syslogfacility = local0
++syslogfacility = local1
+ # each probe is now run in its own process
+ # disable this to revert to the old behaviour
+ # concurrentprobes = no
+@@ -47,7 +47,7 @@
+ 
+ *** Presentation ***
+ 
+-template = /tmp/smokeping-31631-build/etc/basepage.html.dist
++template = __PREFIX__/etc/smokeping/basepage.html
+ 
+ + charts
+ 
+@@ -105,10 +105,10 @@
+ 
+ + FPing
+ 
+-binary = /usr/sbin/fping
++binary = __PREFIX__/sbin/fping
+ 
+ *** Slaves ***
+-secrets=/tmp/smokeping-31631-build/etc/smokeping_secrets.dist
++secrets=__PREFIX__/etc/smokeping/smokeping_secrets.dist
+ +boomer
+ display_name=boomer
+ color=0000ff

Deleted: trunk/dports/net/smokeping/files/patch-htdocs-smokeping.cgi.dist
===================================================================
--- trunk/dports/net/smokeping/files/patch-htdocs-smokeping.cgi.dist	2013-01-16 22:57:09 UTC (rev 101674)
+++ trunk/dports/net/smokeping/files/patch-htdocs-smokeping.cgi.dist	2013-01-16 23:43:39 UTC (rev 101675)
@@ -1,49 +0,0 @@
---- htdocs/smokeping.cgi.dist.org	2008-07-24 10:37:05.000000000 -0700
-+++ htdocs/smokeping.cgi.dist	2009-04-23 14:30:24.000000000 -0700
-@@ -1,17 +1,17 @@
--#!/usr/bin/speedy
-+#!__PREFIX__/bin/speedy
- # -*-perl-*-
- 
- use strict;
- use warnings;
- 
--use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
--use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib);
-+use lib qw(__PERL5__ARCHLIB__/auto/RRDs);
-+use lib qw(__PREFIX__/lib/smokeping);
- 
- use CGI::Carp qw(fatalsToBrowser);
- 
- use Smokeping 2.004002;
- 
--Smokeping::cgi("/home/oetiker/checkouts/smokeping/trunk/software/etc/config.dist");
-+Smokeping::cgi("__PREFIX__/etc/smokeping/config");
- 
- =head1 NAME
- 
-@@ -38,23 +38,7 @@
- 
- =head1 SETUP
- 
--When installing SmokePing, this file has to be adjusted to fit your
--local system. Three paths have to be entered.
--
-- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
--
--One pointing to your B<rrdtool> installation
--
-- use lib qw(/home/oetiker/public_html/smokeping/lib);
--
--One pointing to the place where you have installed the SmokePing libraries
--
-- use Smokeping;
--
-- Smokeping::cgi("/home/oetiker/.smokeping/config");
--
--The third path is the argument to the Smokeping::cgi command. It points to
--the SmokePing configuration file.
-+WARNING!!! Paths for this file are set by MacPorts so they should not be modified.
- 
- =head1 COPYRIGHT
- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130116/4264edac/attachment.html>


More information about the macports-changes mailing list