Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: sqlmap-1.3.9 #14360

Merged
merged 1 commit into from Oct 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 27 additions & 0 deletions srcpkgs/sqlmap/template
@@ -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
}