[arch-commits] Commit in sqlmap/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Dec 14 23:34:33 UTC 2020


    Date: Monday, December 14, 2020 @ 23:34:33
  Author: anthraxx
Revision: 775798

archrelease: copy trunk to community-any

Added:
  sqlmap/repos/community-any/PKGBUILD
    (from rev 775797, sqlmap/trunk/PKGBUILD)
Deleted:
  sqlmap/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-14 23:34:29 UTC (rev 775797)
+++ PKGBUILD	2020-12-14 23:34:33 UTC (rev 775798)
@@ -1,53 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Evan Teitelman <teitelmanevan at gmail dot com>
-# Contributor: fxbru <frxbru[at]gmail>
-
-pkgname=sqlmap
-pkgver=1.4.9
-pkgrel=2
-pkgdesc='Automatic SQL injection and database takeover tool'
-url='http://sqlmap.org'
-arch=('any')
-license=('GPL2')
-depends=('python' 'sh')
-optdepends=('perl: icmpsh extra tool')
-backup=('etc/sqlmap.conf')
-source=(https://github.com/sqlmapproject/sqlmap/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('e40e06cd4065a8f5f57336c0bc0226674a9be136efb6cbc19f2c1bcc386e87ce2583ebcf3a718dcfaf88a8448a7add9eca37a3bc4c5d2699b58af8d33bca9bee')
-b2sums=('1cd7beb116c7c2720935aad42695e41658d9cea203e12eae85771dd2b6a1c81e7013e0b59908203715e17af73c5101f6d5c02eb92c22349bf1b94f78350ed5ae')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python -m compileall .
-  python -O -m compileall .
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  install -d "${pkgdir}/etc"
-  install -d "${pkgdir}/usr/bin"
-  install -d "${pkgdir}/opt/${pkgname}"
-  install -d "${pkgdir}/usr/share/doc"
-
-  mv doc "${pkgdir}/usr/share/doc/${pkgname}"
-  mv sqlmap.conf "${pkgdir}/etc/sqlmap.conf"
-  ln -sf /etc/sqlmap.conf "${pkgdir}/opt/${pkgname}/sqlmap.conf"
-  cp -a --no-preserve=ownership * "${pkgdir}/opt/${pkgname}"
-
-  cat > "${pkgdir}/usr/bin/sqlmap" << EOF
-#!/bin/sh
-cd /opt/${pkgname}
-python sqlmap.py "\$@"
-EOF
-  cat > "${pkgdir}/usr/bin/sqlmapapi" << EOF
-#!/bin/sh
-cd /opt/${pkgname}
-python sqlmapapi.py "\$@"
-EOF
-
-  chmod 755 "${pkgdir}/usr/bin/sqlmap"
-  chmod 755 "${pkgdir}/usr/bin/sqlmapapi"
-}
-
-# vim: ts=2 sw=2 et:

Copied: sqlmap/repos/community-any/PKGBUILD (from rev 775797, sqlmap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-14 23:34:33 UTC (rev 775798)
@@ -0,0 +1,53 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Evan Teitelman <teitelmanevan at gmail dot com>
+# Contributor: fxbru <frxbru[at]gmail>
+
+pkgname=sqlmap
+pkgver=1.4.12
+pkgrel=1
+pkgdesc='Automatic SQL injection and database takeover tool'
+url='http://sqlmap.org'
+arch=('any')
+license=('GPL2')
+depends=('python' 'sh')
+optdepends=('perl: icmpsh extra tool')
+backup=('etc/sqlmap.conf')
+source=(https://github.com/sqlmapproject/sqlmap/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('94b01ced55b6cf8b51b26ae6cb55184f74b6b80ef7202f380c20bc3ed4bb6ace4aabe4ce026b41589129ba3b3d8aec190cc0d3d14d6ec86768f73dda99f8d780')
+b2sums=('209fef555ba676f70262203ecbf52e7ff4e66cef6607ba7b8426911031fd7b956bf38a1819cd8318ae5ac2fa7992a8dafa453d673bce531efa719ea1a7d61042')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python -m compileall .
+  python -O -m compileall .
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  install -d "${pkgdir}/etc"
+  install -d "${pkgdir}/usr/bin"
+  install -d "${pkgdir}/opt/${pkgname}"
+  install -d "${pkgdir}/usr/share/doc"
+
+  mv doc "${pkgdir}/usr/share/doc/${pkgname}"
+  mv sqlmap.conf "${pkgdir}/etc/sqlmap.conf"
+  ln -sf /etc/sqlmap.conf "${pkgdir}/opt/${pkgname}/sqlmap.conf"
+  cp -a --no-preserve=ownership * "${pkgdir}/opt/${pkgname}"
+
+  cat > "${pkgdir}/usr/bin/sqlmap" << EOF
+#!/bin/sh
+cd /opt/${pkgname}
+python sqlmap.py "\$@"
+EOF
+  cat > "${pkgdir}/usr/bin/sqlmapapi" << EOF
+#!/bin/sh
+cd /opt/${pkgname}
+python 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