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

Levente Polyak anthraxx at archlinux.org
Wed Aug 8 22:43:13 UTC 2018


    Date: Wednesday, August 8, 2018 @ 22:43:13
  Author: anthraxx
Revision: 370459

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-08 22:43:07 UTC (rev 370458)
+++ PKGBUILD	2018-08-08 22:43:13 UTC (rev 370459)
@@ -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.2.7
-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=('86c54ff93fe59d426bbf2b364e50d23c030023bcdd3c8088bfb7e14757473ed2')
-sha512sums=('3bd09fbd6b19fab6f2cdb511f077dbf93b1f15d2abb322a59e0b8b238d807b8a589e5f3dc2fed4267a365ddaf1c41bc6670843bc6db47d5883832f56ad645453')
-
-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 370458, sqlmap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-08 22:43:13 UTC (rev 370459)
@@ -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.2.8
+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=('d7157df8ee39d6a90d0c9be726c9bbcad1a6fa856bec53283a4b93500b081f4e')
+sha512sums=('3463d29bca00b9b79d2b6ee89d7ff6a5f4053047b41cadaa697b20d5922fdae3166dd17a36f347b755894de498260a4db0a1fe314dc37a94875c7f8868c9a6ac')
+
+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