[arch-commits] Commit in sqlmap/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu May 5 19:31:16 UTC 2016


    Date: Thursday, May 5, 2016 @ 21:31:15
  Author: anthraxx
Revision: 173860

upgpkg: sqlmap 1.0.5-1

Modified:
  sqlmap/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-05 19:21:01 UTC (rev 173859)
+++ PKGBUILD	2016-05-05 19:31:15 UTC (rev 173860)
@@ -3,7 +3,7 @@
 # Contributor: fxbru <frxbru[at]gmail>
 
 pkgname=sqlmap
-pkgver=1.0.4
+pkgver=1.0.5
 pkgrel=1
 pkgdesc='Automatic SQL injection and database takeover tool'
 url='http://sqlmap.org'
@@ -12,7 +12,7 @@
 depends=('python2' 'sh')
 backup=('etc/sqlmap.conf')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sqlmapproject/sqlmap/archive/${pkgver}.tar.gz)
-sha512sums=('80f0d271fb324da6c25f8e3e0a545d813c2db3878d9dbf40b325dbac17b02f1a73a13f252880f87fcebb6aed80887fff4fdc21bd58af6dae1a78b07567766ca9')
+sha512sums=('95be668009f2104a8799fa7b157132cc3d9b2cf08852138f4962d451af9e5173ea27afa6c2680904c637c341d830156a6c0ea38b8a08b82d53e7cf6e90cf42cc')
 
 build() {
   cd ${pkgname}-${pkgver}
@@ -38,7 +38,14 @@
 cd /opt/${pkgname}
 python2 sqlmap.py "\$@"
 EOF
+  cat > "${pkgdir}/usr/bin/sqlmapapi" << EOF
+#!/bin/sh
+cd /opt/${pkgname}
+python2 sqlmapapi.py "\$@"
+EOF
+
   chmod 755 "${pkgdir}/usr/bin/sqlmap"
+  chmod 755 "${pkgdir}/usr/bin/sqlmapapi"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list