[36602] trunk/dports/www/apache20/Portfile
blair at macports.org
blair at macports.org
Wed May 7 08:10:13 PDT 2008
Revision: 36602
http://trac.macosforge.org/projects/macports/changeset/36602
Author: blair at macports.org
Date: 2008-05-07 08:10:08 -0700 (Wed, 07 May 2008)
Log Message:
-----------
Add a livecheck for apache20. Closes #15218.
Modified Paths:
--------------
trunk/dports/www/apache20/Portfile
Modified: trunk/dports/www/apache20/Portfile
===================================================================
--- trunk/dports/www/apache20/Portfile 2008-05-07 13:27:43 UTC (rev 36601)
+++ trunk/dports/www/apache20/Portfile 2008-05-07 15:10:08 UTC (rev 36602)
@@ -166,3 +166,7 @@
"\[ -r ${prefix}/apache20/logs/httpd.pid \] && ${prefix}/apache20/bin/apachectl stop > /dev/null"
startupitem.restart \
"\[ -r ${prefix}/apache20/logs/httpd.pid \] && ${prefix}/apache20/bin/apachectl restart > /dev/null"
+
+livecheck.check regex
+livecheck.url ${homepage}
+livecheck.regex {Apache (2\.0(?:\.\d+)*) Released}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080507/9aedc143/attachment.html
More information about the macports-changes
mailing list