# -*- 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$

PortSystem		    1.0
PortGroup           php5extension 1.0

php5extension.setup suhosin 0.9.32.1
categories-append   security www
license             PHP-3.01
maintainers         snc openmaintainer
description         Advanced protection extension for PHP
homepage            http://www.hardened-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.

platforms           darwin freebsd

master_sites        http://download.suhosin.org/

checksums           rmd160  6184eef336b9d3d5c885a7d1dcbf20d97b055e8d \
                    sha256  d283abcbd1803eaa11bbd91cb5aae727b2bbab3a00a1de8510f85d8cc598e490

test.run            yes

livecheck.type      regex
livecheck.url       http://www.hardened-php.net/suhosin/download.html
livecheck.regex     suhosin-(\\d+(\\.\\d+)+)