Files
2020-08-06 08:26:38 +02:00

64 lines
2.3 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.4.8
revision 0
categories security databases python
maintainers nomaintainer
platforms darwin
supported_archs noarch
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 http://sqlmap.org/
checksums rmd160 57b33a48e985a32d97033e5d2b9a469dcf664c04 \
sha256 af789cc2d9b7cab2f71087967867b3587db9636b38bef1ffb39165a0675a6d87 \
size 6780324
worksrcdir ${name}
post-patch {
fs-traverse f ${worksrcpath} {
switch [file extension ${f}] {
.py {
reinplace "s|^#! */usr/bin/env python\$|#!${python.bin}|" ${f}
}
}
}
}
variant python27 conflicts python37 python38 description {Build for Python 2.7} {
python.default_version 27
depends_build-append \
port:py${python.version}-setuptools
}
variant python37 conflicts python27 python38 description {Build for Python 3.7} {
python.default_version 37
depends_build-append \
port:py${python.version}-setuptools
}
variant python38 conflicts python27 python37 description {Build for Python 3.8} {
python.default_version 38
depends_build-append \
port:py${python.version}-setuptools
}
if {![variant_isset python27] && ![variant_isset python37] && ![variant_isset python38]} {
default_variants +python38
}