# -*- 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 117630 2014-03-06 07:09:53Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           php5extension 1.0

php5extension.setup suhosin 0.9.35
categories-append   security www
license             PHP-3.01
maintainers         ryandesign 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           rmd160  2b7b98c00ce531ecc0207e01d4966d68920b2d67 \
                    sha256  19de2eb1b6060bd09fda18bb2402dbcc14bd55aa366a482f37a55501b9980f21

test.run            yes

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