From e887fc27ceb861b6983699819a074388c6faa447 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Mon, 8 Mar 2021 18:11:19 -0700 Subject: [PATCH] sqlmap: update to 1.5.3. Moved package from /usr/share to /usr/libexec to conform better. --- srcpkgs/sqlmap/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/sqlmap/template b/srcpkgs/sqlmap/template index 2ab71edfb7..3bb7fbfdb6 100644 --- a/srcpkgs/sqlmap/template +++ b/srcpkgs/sqlmap/template @@ -1,6 +1,6 @@ # Template file for 'sqlmap' pkgname=sqlmap -version=1.5.2 +version=1.5.3 revision=1 pycompile_dirs="usr/share/sqlmap" depends="python3" @@ -9,18 +9,18 @@ maintainer="Andrew Benson " license="GPL-2.0-or-later" homepage="http://sqlmap.org" distfiles="https://github.com/sqlmapproject/sqlmap/archive/${version}.tar.gz" -checksum=d567aee3390b39f64215ec7ae53f6b654c28b136b5d2e18629e00b94eb233d06 +checksum=5cdd29b4a86913962ab1eecc1f59bd32a038d1573f70edb1760bf88f01347526 python_version=3 do_install() { - vmkdir usr/share/${pkgname} + vmkdir usr/libexec/${pkgname} for dir in data extra lib plugins tamper thirdparty sqlmap.py sqlmapapi.py; do - vcopy $dir usr/share/${pkgname} + vcopy $dir usr/libexec/${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/ + ln -sf /usr/libexec/${pkgname}/sqlmap.py ${DESTDIR}/usr/bin/ + ln -sf /usr/libexec/${pkgname}/sqlmapapi.py ${DESTDIR}/usr/bin/ vsconf sqlmap.conf }