# -*- 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 133517 2015-03-03 19:38:23Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           php 1.1

name                php-suhosin
version             0.9.37.1
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        http://download.suhosin.org/

checksums           sha1    9de7a89ef7d336501a41f452fd3936ae66f63a6e \
                    rmd160  37cd9bd86a65c9081260a9d809b646384290cebb \
                    sha256  322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba

test.run            yes

livecheck.type      regex
livecheck.url       http://www.suhosin.org/stories/download.html
livecheck.regex     suhosin-(\[0-9.\]+)${extract.suffix}
