# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 136884 2015-05-29 05:00:39Z ryandesign@macports.org $ PortSystem 1.0 PortGroup php 1.1 name php-suhosin version 0.9.38 categories-append security www platforms darwin freebsd maintainers ryandesign openmaintainer license PHP-3.01 php.branches 5.3 5.4 5.5 5.6 description Advanced protection extension for PHP 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. homepage http://suhosin.org/ master_sites https://download.suhosin.org/ checksums sha1 20af6379c0ff9879c5ed69452a6c38b7b3e76748 \ rmd160 7bcf2dcc9b50605ea5cbb772302963ebbbdf0dc1 \ sha256 c02d76c4e7ce777910a37c18181cb67fd9e90efe0107feab3de3131b5f89bcea test.run yes if {${subport} ne ${name}} { if {[vercmp ${php.branch} 5.4] < 0} { version 0.9.37.1 checksums sha1 9de7a89ef7d336501a41f452fd3936ae66f63a6e \ rmd160 37cd9bd86a65c9081260a9d809b646384290cebb \ sha256 322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba } } livecheck.type regex livecheck.url http://www.suhosin.org/stories/download.html livecheck.regex suhosin-(\[0-9.\]+)${extract.suffix}