mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
2.2 KiB
Tcl
53 lines
2.2 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-suhosin
|
|
categories-append security www
|
|
platforms darwin freebsd
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
license PHP-3.01
|
|
|
|
php.branches 5.2 5.3 5.4 5.5 5.6
|
|
|
|
if {[vercmp ${php.branch} >= 5.4]} {
|
|
version 0.9.38
|
|
checksums sha1 20af6379c0ff9879c5ed69452a6c38b7b3e76748 \
|
|
rmd160 7bcf2dcc9b50605ea5cbb772302963ebbbdf0dc1 \
|
|
sha256 c02d76c4e7ce777910a37c18181cb67fd9e90efe0107feab3de3131b5f89bcea \
|
|
size 122800
|
|
} elseif {[vercmp ${php.branch} >= 5.3]} {
|
|
version 0.9.37.1
|
|
checksums sha1 9de7a89ef7d336501a41f452fd3936ae66f63a6e \
|
|
rmd160 37cd9bd86a65c9081260a9d809b646384290cebb \
|
|
sha256 322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba \
|
|
size 134207
|
|
livecheck.type none
|
|
} else {
|
|
version 0.9.32.1
|
|
checksums sha1 93fcb1d5f96691c4c50808a14dd3d6d4bbfea451 \
|
|
rmd160 6184eef336b9d3d5c885a7d1dcbf20d97b055e8d \
|
|
sha256 d283abcbd1803eaa11bbd91cb5aae727b2bbab3a00a1de8510f85d8cc598e490 \
|
|
size 119117
|
|
livecheck.type none
|
|
}
|
|
|
|
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 https://suhosin5.suhosin.org
|
|
master_sites https://download.suhosin.org
|
|
|
|
test.run yes
|
|
|
|
default livecheck.type {regex}
|
|
livecheck.url ${homepage}/stories/download.html
|
|
livecheck.regex suhosin-(\[0-9.\]+)${extract.suffix}
|