[21586] trunk/dports/net/smokeping/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 29 18:07:35 PST 2007
Revision: 21586
http://trac.macosforge.org/projects/macports/changeset/21586
Author: markd at macports.org
Date: 2007-01-29 18:07:34 -0800 (Mon, 29 Jan 2007)
Log Message:
-----------
ui_msg changes only.
Modified Paths:
--------------
trunk/dports/net/smokeping/Portfile
Modified: trunk/dports/net/smokeping/Portfile
===================================================================
--- trunk/dports/net/smokeping/Portfile 2007-01-29 22:39:37 UTC (rev 21585)
+++ trunk/dports/net/smokeping/Portfile 2007-01-30 02:07:34 UTC (rev 21586)
@@ -97,7 +97,7 @@
${worksrcpath}/lib/Smokeping/probes/EchoPing.pm \
${worksrcpath}/lib/Smokeping/probes/FPing.pm
- reinplace "s|/usr/share/smokeping/etc/|${prefix}/etc/smokeping|g" \
+ reinplace "s|/usr/share/smokeping/etc|${smokeetc}|g" \
${worksrcpath}/lib/Smokeping/probes/passwordchecker.pm
}
@@ -165,7 +165,7 @@
-Open a terminal window and make symlink to /smokeping in your Apache docroot.
- sudo ln -s ${prefix}/var/smokeping /<apache-docroot>/smokeping
+ sudo ln -s ${smokedata} /<apache-docroot>/smokeping
-Edit httpd.conf and uncomment this line to enable execution of CGI's, then
add the directive below.
@@ -180,7 +180,7 @@
3) Set Smokeping data directory permissions to the Apache user and group set
in httpd.conf. The default Apache user and group for OS X is www.
- sudo chown -R www:www ${prefix}/var/smokeping/
+ sudo chown -R www:www ${smokedata}/
4) Setup Smokeping logging.
@@ -224,9 +224,10 @@
-See sample configurations and examples in ${prefix}/share/doc/smokeping/.
- -Perform a config file test and correct any config file errors detected.
+ -Perform a config file test from a terminal window and correct any errors that
+ are reported.
- smokeping --test
+ smokeping --check
6) Start Smokeping and verify it is running. (Give it a minute to start)
@@ -242,5 +243,13 @@
7) Check the Smokeping graphs with a web browser.
Go to http://localhost/smokeping/smokeping.cgi
+
+
+8) Add or remove targets from Smokeping.
+
+ After adding or removing targets from ${smokeetc}/config, you must reload
+ Smokeping from a terminal window.
+
+ sudo smokeping --reload
\n"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070129/8b2b3495/attachment.html
More information about the macports-changes
mailing list