[53435] trunk/dports/security/suhosin/Portfile

snc at macports.org snc at macports.org
Sun Jul 5 21:20:15 PDT 2009


Revision: 53435
          http://trac.macports.org/changeset/53435
Author:   snc at macports.org
Date:     2009-07-05 21:20:14 -0700 (Sun, 05 Jul 2009)
Log Message:
-----------
diminish to stub, use php5-suhosin instead

Modified Paths:
--------------
    trunk/dports/security/suhosin/Portfile

Modified: trunk/dports/security/suhosin/Portfile
===================================================================
--- trunk/dports/security/suhosin/Portfile	2009-07-06 04:12:58 UTC (rev 53434)
+++ trunk/dports/security/suhosin/Portfile	2009-07-06 04:20:14 UTC (rev 53435)
@@ -5,40 +5,26 @@
 
 name                suhosin
 version             0.9.27
+revision            1
 categories          security www
 maintainers         snc openmaintainer
-description         Advanced protection extension for PHP
+description         stub package: please use php5-suhosin instead.
 homepage            http://www.hardended-php.net/suhosin/
-long_description    Suhosin is an advanced protection system for PHP\
-                    installations. It was designed to protect servers and users\
-                    from known and unknown flaws in PHP applications and the\
-                    PHP core. Suhosin is binary compatible to normal PHP\
-                    installations, which means it is compatible to 3rd party\
-                    binary extensions like ZendOptimizer.
+long_description    ${description}
 
 platforms           darwin freebsd
-depends_build       path:bin/phpize:php5
+depends_build       port:php5-suhosin
 
 master_sites        http://download.suhosin.org/
-extract.suffix      .tgz
+distname
 
-checksums           md5 9aae02bc2d2bcf9b8bd97cd22f56a8b8\
-                    sha1 3033bd3840c75786179cf8240f63d97b5f6accbf\
-                    rmd160 46bf47daf0dab05359da62fde8a76ba7c43b3dbc
+use_configure       no
 
-pre-configure {
-    system "cd ${worksrcpath} && phpize"
-}
+build {}
 
-use_parallel_build  yes
-
-test.run            yes
-
-destroot.destdir    INSTALL_ROOT=${destroot}
-post-destroot {
-    xinstall -m 644 ${worksrcpath}/suhosin.ini ${destroot}${prefix}/etc/suhosin.ini
+destroot {
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
 }
 
-livecheck.check     regex
-livecheck.url       http://www.hardened-php.net/suhosin/download.html
-livecheck.regex     ${name}-(\[0-9.\]+)\\.tgz
+livecheck.check     none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090705/322510b1/attachment.html>


More information about the macports-changes mailing list