[21550] trunk/dports/net/smokeping/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jan 27 20:20:10 PST 2007
Revision: 21550
http://trac.macosforge.org/projects/macports/changeset/21550
Author: markd at macports.org
Date: 2007-01-27 20:20:09 -0800 (Sat, 27 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-28 03:52:48 UTC (rev 21549)
+++ trunk/dports/net/smokeping/Portfile 2007-01-28 04:20:09 UTC (rev 21550)
@@ -122,7 +122,8 @@
LoadModule speedycgi_module modules/mod_speedycgi.so
- -For Apple's Apache 1, manually copy mod_speedycgi.so and smokeping.cgi into place ...
+ -For Apple's Apache 1, manually copy mod_speedycgi.so and smokeping.cgi
+ into place ...
sudo cp ${prefix}/share/doc/speedycgi/mod_speedycgi.so /usr/libexec/httpd
sudo cp ${prefix}${smokedata}/smokeping.cgi /<apache-docroot>/cgi-bin
@@ -133,13 +134,15 @@
AddModule mod_speedycgi.c
-2) Set Apache for Smokeping by making a symlink and edit the httpd.conf to enable CGI's.
+2) Set Apache for Smokeping by making a symlink and edit the httpd.conf to
+ enable CGI's.
- -Open a terminal window and run this command.
+ -Open a terminal window and make symlink to /smokeping in your Apache docroot.
sudo ln -s ${prefix}/var/smokeping /<apache-docroot>/smokeping
- -Edit httpd.conf and uncomment this line to enable execution of CGI's, then add the directive below.
+ -Edit httpd.conf and uncomment this line to enable execution of CGI's, then
+ add the directive below.
AddHandler cgi-script .cgi
@@ -148,7 +151,8 @@
</Directory>
-3) Set Smokeping permissions.
+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/
@@ -161,8 +165,8 @@
* General * - owner, contact, and mailhost
* Alerts * - to, from addresses
- -Then clear the examples \(they have a leading '+'\) in the *** Targets *** section
- and set your own.
+ -Then clear the examples \(they have a leading '+'\) in the *** Targets ***
+ section and set your own.
+ My Web Server
menu = MyWebServer
@@ -195,9 +199,9 @@
sudo launchctl load -w /Library/LaunchDaemons/org.macports.smokeping.plist
ps -ax |grep smoke
- 1713 ?? Ss 0:00.16 ${prefix}/bin/smokeping \[FPing\]
- 1753 ?? Ss 0:00.18 ${prefix}/bin/speedy_backend -w ${prefix}/apache2/htdocs/smokeping/smokeping.cgi
- 1754 ?? S 0:01.56 ${prefix}/bin/speedy_backend -w ${prefix}/apache2/htdocs/smokeping/smokeping.cgi
+ 1713 Ss 0:00.16 ${prefix}/bin/smokeping \[FPing\]
+ 1753 Ss 0:00.18 ${prefix}/bin/speedy_backend -w ${prefix}/apache2/htdocs/smokeping/smokeping.cgi
+ 1754 S 0:01.56 ${prefix}/bin/speedy_backend -w ${prefix}/apache2/htdocs/smokeping/smokeping.cgi
6) Check the Smokeping graphs with a web browser.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070127/ccd8cd4a/attachment.html
More information about the macports-changes
mailing list