Files
Vadym-Valdis Yudaiev 27f392ed2f sqlmap: update to 1.10.6
2026-06-22 22:47:29 +03:00

87 lines
2.9 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 python 1.0
name sqlmap
version 1.10.6
revision 0
categories security databases python
maintainers {judaew @judaew} openmaintainer
supported_archs noarch
platforms {darwin any}
license GPL-2+
description Automatic SQL injection and database takeover tool
long_description \
sqlmap is an open source penetration testing tool that automates the \
process of detecting and exploiting SQL injection flaws and taking over of \
database servers. It comes with a powerful detection engine, many niche \
features for the ultimate penetration tester, and a broad range of \
switches including database fingerprinting, over data fetching from the \
database, accessing the underlying file system, and executing commands on \
the operating system via out-of-band connections.
homepage https://sqlmap.org/
checksums rmd160 fecf54d99ff464a5f59ee37b38e9e66db3ab4320 \
sha256 f1dc30ef6bba635586dc5cb7b1bf113d5a1621a3d6eae356844ecc96209b322b \
size 7230175
patchfiles patch-cmd-usage-string.diff
post-patch {
fs-traverse f ${worksrcpath} {
switch [file extension ${f}] {
.py {
reinplace "s|^#! */usr/bin/env python\$|#!${python.bin}|" ${f}
}
}
}
}
variant python27 conflicts python310 python311 python312 python313 python314 \
description {Build for Python 2.7} {
python.default_version 27
}
variant python310 conflicts python27 python311 python312 python313 python314 \
description {Build for Python 3.10} {
python.default_version 310
}
variant python311 conflicts python27 python310 python312 python313 python314 \
description {Build for Python 3.11} {
python.default_version 311
}
variant python312 conflicts python27 python310 python311 python313 python314 \
description {Build for Python 3.12} {
python.default_version 312
}
variant python313 conflicts python27 python310 python311 python312 python314 \
description {Build for Python 3.13} {
python.default_version 313
}
variant python314 conflicts python27 python310 python311 python312 python313 \
description {Build for Python 3.14} {
python.default_version 314
}
depends_build-append \
port:py${python.version}-setuptools
if {![variant_isset python27] && \
![variant_isset python310] && ![variant_isset python311] && \
![variant_isset python312] && ![variant_isset python313] && \
![variant_isset python314]} {
default_variants +python314
}
post-destroot {
ln -s ${frameworks_dir}/Python.framework/Versions/[string index ${python.version} 0].[string range ${python.version} 1 end]/bin/${name} \
${destroot}${prefix}/bin/${name}
}