[85092] trunk/dports/www/mod_security2/Portfile

pixilla at macports.org pixilla at macports.org
Sun Oct 9 10:56:04 PDT 2011


Revision: 85092
          http://trac.macports.org/changeset/85092
Author:   pixilla at macports.org
Date:     2011-10-09 10:56:03 -0700 (Sun, 09 Oct 2011)
Log Message:
-----------
www/mod_security2:
- Update to version 2.6.2.
- Fix livecheck.
- Fix notes.

Modified Paths:
--------------
    trunk/dports/www/mod_security2/Portfile

Modified: trunk/dports/www/mod_security2/Portfile
===================================================================
--- trunk/dports/www/mod_security2/Portfile	2011-10-09 17:53:08 UTC (rev 85091)
+++ trunk/dports/www/mod_security2/Portfile	2011-10-09 17:56:03 UTC (rev 85092)
@@ -3,7 +3,8 @@
 
 PortSystem          1.0
 name                mod_security2
-version             2.6.0
+set name_package    modsecurity-apache
+version             2.6.2
 categories          www security
 platforms           darwin
 maintainers         pixilla openmaintainer
@@ -14,7 +15,7 @@
                     umbrella - shielding applications from attacks.
 homepage            http://www.modsecurity.org
 master_sites        sourceforge:mod-security
-distname            modsecurity-apache_${version}
+distname            ${name_package}_${version}
 worksrcdir          ${distname}
 
 depends_lib         port:apache2 \
@@ -22,8 +23,8 @@
                     port:lua \
                     port:curl
 
-checksums           sha1    280061a6cb49c955d7371b9526193f68a12ae2ac \
-                    rmd160  a9d34e17d80007f394087da5bd92c6047f48d343
+checksums           rmd160  9e75dbb790cc9f2b48a6d38beb5bd4c8755e013e \
+                    sha256  99eb400cb35a2a7cfd8069774bf39197e577a57d2c5126036c67f661268f3e5a
 
 configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
                     --with-pcre=${prefix}/bin/pcre-config \
@@ -50,9 +51,12 @@
                         ${destroot}${prefix}/share/doc/${name}
 }
 
+livecheck.type      regex
+livecheck.regex     "(?!${name_package}).*${name_package}_((?!${extract.suffix}).*)${extract.suffix}"
+
 notes "
 
-# Now edit ${prefix}/apache2/httpd.conf and add the following lines at the end of the LoadModules section:
+# Now edit ${prefix}/apache2/conf/httpd.conf and add the following lines at the end of the LoadModules section:
     LoadFile ${prefix}/lib/libxml2.dylib
     LoadFile ${prefix}/lib/liblua.dylib
     LoadModule security2_module modules/mod_security2.so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111009/e9b41ea6/attachment.html>


More information about the macports-changes mailing list