[arch-commits] Commit in sqlmap/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Oct 6 23:07:08 UTC 2018
Date: Saturday, October 6, 2018 @ 23:07:07
Author: anthraxx
Revision: 390938
archrelease: copy trunk to community-any
Added:
sqlmap/repos/community-any/PKGBUILD
(from rev 390937, sqlmap/trunk/PKGBUILD)
Deleted:
sqlmap/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-06 23:06:55 UTC (rev 390937)
+++ PKGBUILD 2018-10-06 23:07:07 UTC (rev 390938)
@@ -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.9
-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=('52e09b5dbcf94afad019bca68a3ba7f4a62c3ce304338578ea9049287de33a86')
-sha512sums=('0632b923f7fab2d40ef5b44cf960483759df7eab55a76f048b4841e71e769da6976248fd719fff87a8d044ac24081e72bbc2fdba777babd2dcb7eae26332a5ef')
-
-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 390937, sqlmap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-06 23:07:07 UTC (rev 390938)
@@ -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.10
+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=('7e3a6c3843ecdd95a2d3a6bf4d863e432ed043909ed5c3db2dddf21e2a47c47b')
+sha512sums=('d3836ae6967568be127714b33b404a5a8d22f30e6165a88f53a5ede90334b424597ff5f5afff260da4001e90f89b02ec358a6ee3324a358b27baa9aa59c3121a')
+
+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