# -*- 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 65796 2010-04-01 03:56:23Z snc@macports.org $

PortSystem		    1.0
PortGroup           php5extension 1.0

php5extension.setup suhosin 0.9.31
categories-append   security www
license             PHPv3.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/
extract.suffix      .tgz

checksums           md5     70df3405806ee62a952510ded002dccd \
                    sha1    6cdfbda3abfe8f5ca728588a71665db726281125 \
                    rmd160  51c8ae0713e78e6e3e96ecbbaa8d82dd3a57acea

test.run            yes

livecheck.type      regex
livecheck.url       http://www.hardened-php.net/suhosin/download.html
livecheck.regex     suhosin-(\[0-9.\]+)\\.tgz
