# -*- 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 55802 2009-08-19 13:20:59Z snc@macports.org $

PortSystem		    1.0
PortGroup           php5extension 1.0

php5extension.setup suhosin 0.9.29

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     e3c599e7e344e981f935b2dab90592c1 \
                    sha1    2fa7c716a32e71fbb577fc3a9feaf46d783a501b \
                    rmd160  3fb1f291af7777858ca0091e5ea6da400f5069b5

test.run            yes

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