mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: sqlmap-1.3.9
This commit is contained in:
parent
758d72b060
commit
aab86aadd3
1 changed files with 27 additions and 0 deletions
27
srcpkgs/sqlmap/template
Normal file
27
srcpkgs/sqlmap/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'sqlmap'
|
||||||
|
pkgname=sqlmap
|
||||||
|
version=1.3.9
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
pycompile_dirs="usr/share/sqlmap"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Automatic SQL injection and database takeover tool"
|
||||||
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="http://sqlmap.org"
|
||||||
|
distfiles="https://github.com/sqlmapproject/sqlmap/archive/${version}.tar.gz"
|
||||||
|
checksum=44669d0ca2568d7595877d80ab1a36fe6f683a4382a1779459c7db5a7accd14a
|
||||||
|
pycompile_version="$py3_ver"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/share/${pkgname}
|
||||||
|
for dir in data extra lib plugins tamper thirdparty sqlmap.py sqlmapapi.py; do
|
||||||
|
vcopy $dir usr/share/${pkgname}
|
||||||
|
done
|
||||||
|
|
||||||
|
vmkdir usr/bin
|
||||||
|
ln -sf /usr/share/${pkgname}/sqlmap.py ${DESTDIR}/usr/bin/
|
||||||
|
ln -sf /usr/share/${pkgname}/sqlmapapi.py ${DESTDIR}/usr/bin/
|
||||||
|
|
||||||
|
vsconf sqlmap.conf
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue