[55136] trunk/dports/net/smokeping/Portfile
markd at macports.org
markd at macports.org
Thu Aug 6 18:50:59 PDT 2009
Revision: 55136
http://trac.macports.org/changeset/55136
Author: markd at macports.org
Date: 2009-08-06 18:50:59 -0700 (Thu, 06 Aug 2009)
Log Message:
-----------
Correct the ui_msg to work for 10.5 and later.
Modified Paths:
--------------
trunk/dports/net/smokeping/Portfile
Modified: trunk/dports/net/smokeping/Portfile
===================================================================
--- trunk/dports/net/smokeping/Portfile 2009-08-07 01:47:42 UTC (rev 55135)
+++ trunk/dports/net/smokeping/Portfile 2009-08-07 01:50:59 UTC (rev 55136)
@@ -55,11 +55,10 @@
startupitem.name smokeping
startupitem.executable ${prefix}/bin/smokeping --nodaemon
-variant apple_apache {
-# This variant is for using Smokeping with Apple's built-in Apache. The 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 Apache 1, and
-# therefore necessary for Smokeping to work with Apple's Apache.
+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
@@ -147,16 +146,15 @@
LoadModule speedycgi_module modules/mod_speedycgi.so
- -For Apple's Apache 1, manually copy mod_speedycgi.so and smokeping.cgi
+ -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/httpd
+ 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/httpd/httpd.conf.
+ ... and add the lines below to /etc/apache2/httpd.conf.
- LoadModule speedycgi_module libexec/mod_speedycgi.so
- AddModule mod_speedycgi.c
+ LoadModule speedycgi_module libexec/apache2/mod_speedycgi.so
2) Changes to httpd.conf for Smokeping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090806/14741449/attachment.html>
More information about the macports-changes
mailing list