[22165] trunk/dports/net/smokeping

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 20 12:03:37 PST 2007


Revision: 22165
          http://trac.macosforge.org/projects/macports/changeset/22165
Author:   markd at macports.org
Date:     2007-02-20 12:03:37 -0800 (Tue, 20 Feb 2007)

Log Message:
-----------
Change smokeping /img path so no symlink is required, ui_msg changes.

Modified Paths:
--------------
    trunk/dports/net/smokeping/Portfile
    trunk/dports/net/smokeping/files/patch-etc-config.dist

Modified: trunk/dports/net/smokeping/Portfile
===================================================================
--- trunk/dports/net/smokeping/Portfile	2007-02-20 16:31:49 UTC (rev 22164)
+++ trunk/dports/net/smokeping/Portfile	2007-02-20 20:03:37 UTC (rev 22165)
@@ -4,7 +4,7 @@
 PortGroup		perl5 1.0
 name			smokeping
 version			2.0.9
-revision		3
+revision		4
 categories		net perl
 maintainers		markd at macports.org
 description		A deluxe latency logging and graphing system.
@@ -160,23 +160,21 @@
         AddModule mod_speedycgi.c
 
 
-2) Set Apache for Smokeping by making a symlink and edit the httpd.conf to
-   enable CGI's.
+2)  Changes to httpd.conf for Smokeping.
 
-   -Open a terminal window and make symlink to /smokeping in your Apache docroot.
+   -Uncomment this line to enable the CGI script handler.
 
-        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.
-
 	AddHandler cgi-script .cgi
 
-	<Directory ${prefix}/apache2/htdocs/smokeping> 
-	   Options ExecCGI
-	</Directory>
+   -Add directives to simplify the Smokeping url and allow access to Smokeping's data directory.
 
+	Alias /smokeping \"${prefix}/var/smokeping/smokeping.cgi\"
+        <Directory \"${prefix}/var/smokeping\">
+            Allow from all
+            Options ExecCGI
+        </Directory>
 
+
 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.
 
@@ -243,7 +241,7 @@
 
 7) Check the Smokeping graphs with a web browser.
 
-   Go to http://localhost/smokeping/smokeping.cgi
+   Go to http://localhost/smokeping
 
 
 8) Add or remove targets from Smokeping.

Modified: trunk/dports/net/smokeping/files/patch-etc-config.dist
===================================================================
--- trunk/dports/net/smokeping/files/patch-etc-config.dist	2007-02-20 16:31:49 UTC (rev 22164)
+++ trunk/dports/net/smokeping/files/patch-etc-config.dist	2007-02-20 20:03:37 UTC (rev 22165)
@@ -13,7 +13,7 @@
 -smokemail = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/smokemail.dist
 -tmail = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/tmail.dist
 +sendmail = /usr/sbin/sendmail
-+imgcache = __APACHE__DOCROOT__/smokeping/img
++imgcache = __PREFIX__/var/smokeping/img
 +imgurl   = http://localhost/smokeping/img
 +datadir  = __PREFIX__/var/smokeping
 +piddir  = /var/run

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070220/ea0fed0c/attachment.html


More information about the macports-changes mailing list