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

Levente Polyak anthraxx at archlinux.org
Mon Dec 11 23:16:56 UTC 2017


    Date: Monday, December 11, 2017 @ 23:16:56
  Author: anthraxx
Revision: 273918

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-11 23:16:46 UTC (rev 273917)
+++ PKGBUILD	2017-12-11 23:16:56 UTC (rev 273918)
@@ -1,52 +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.1.11
-pkgrel=1
-pkgdesc='Automatic SQL injection and database takeover tool'
-url='http://sqlmap.org'
-arch=('any')
-license=('GPL2')
-depends=('python2' 'sh')
-backup=('etc/sqlmap.conf')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sqlmapproject/sqlmap/archive/${pkgver}.tar.gz)
-sha256sums=('c99f626f34e947dae14248bb6a7a989ec85c8909aef03ff7ff96fe4cb021b8eb')
-sha512sums=('4635e499c8ec6df29fa2bc81f498a1796359f4faa62d158238dd2e0663b9733cf7dfb33d0781e753f0fd4c212b1ea90f82c2f112e04e4c0e3e7c7fb9d8f6ac4f')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python2 -m compileall .
-  python2 -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}
-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:

Copied: sqlmap/repos/community-any/PKGBUILD (from rev 273917, sqlmap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-11 23:16:56 UTC (rev 273918)
@@ -0,0 +1,52 @@
+# 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.1.12
+pkgrel=1
+pkgdesc='Automatic SQL injection and database takeover tool'
+url='http://sqlmap.org'
+arch=('any')
+license=('GPL2')
+depends=('python2' 'sh')
+backup=('etc/sqlmap.conf')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sqlmapproject/sqlmap/archive/${pkgver}.tar.gz)
+sha256sums=('79ae71ed4161b85d3dd6b320a6c93977c7a832e934b30fceb5bc4c0a0323e5b3')
+sha512sums=('d75a38643eec04232f7dc158b2d925f011851d6d96ef80345a7a1bf505ba7230ba75ba4353beebd5add1526d9df4f64e1d05de49d91731e984dbcc5bee9dd25f')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python2 -m compileall .
+  python2 -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}
+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