You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
41a5f9c013
In preparation for changing the default.
48 lines
1.8 KiB
Tcl
48 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-taint
|
|
maintainers {ryandesign @ryandesign} openmaintainer
|
|
license PHP-3.01
|
|
|
|
# Will not be made compatible with PHP 8:
|
|
# https://github.com/laruence/taint/commit/7e84d0ac776e782cde87e1f31792d8304d476162
|
|
php.branches 5.3 5.4 7.0 7.1 7.2 7.3 7.4
|
|
php.pecl yes
|
|
|
|
if {[vercmp ${php.branch} >= 7.0]} {
|
|
github.setup laruence taint 2.1.0 taint-
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
checksums rmd160 88327c16fb3a8354d31acc1c070449dd3877bb90 \
|
|
sha256 1eac052ccdf5d562219013a35a094f80159b3af21de3d084da01394f588fb1d8 \
|
|
size 18613
|
|
} else {
|
|
github.setup laruence taint 1.2.2 taint-
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
checksums rmd160 09773bed91dd5f0aa7c34be6b4a50172a1635176 \
|
|
sha256 ea38bfeb20c1ae46477db4bd5ae1ddf97b7b75abfba8c624e44dfb73643ad9ca \
|
|
size 19949
|
|
}
|
|
|
|
description detects XSS and SQL-injection vulnerabilities
|
|
|
|
long_description ${name} is a PHP extension for detecting cross-site \
|
|
scripting (XSS) and SQL-injection vulnerabilities.
|
|
|
|
if {${name} ne ${subport}} {
|
|
distname ${php.pecl.name}-${version}
|
|
|
|
configure.args --enable-taint
|
|
|
|
notes "
|
|
Use ${subport} only in a development environment, not in a production environment.
|
|
"
|
|
}
|