mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
sqlmap: v1.1 bump
This commit is contained in:
parent
75d887bdb0
commit
6dddff853e
2 changed files with 51 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST sqlmap-1.0.12.tar.gz 6737151 SHA256 f7bfb6fa11d51a8700c4826d3db21ed355f00d66bdbbb0eefeaf9b5a960709d6 SHA512 077836bc24c14755728b09c5eb1ea05fdd556e992d55daeff677b1aacb736de706fb4908468fdc50e8c6d9a6a1515fbeefb28aef9db4711a625bcb70e42ad8cf WHIRLPOOL 9df85ec5b87b47576fc1e646c0a223372c098acf34918bacb6b6054b7dda088a32793bb77270343015cafb88fc95514fd8b1b32173c3aed67698d4bad9cf4e9c
|
||||
DIST sqlmap-1.1.tar.gz 6738404 SHA256 4c719d9a22a1f7d2b0c93c3762f4c1f89f6d04e9c3dbc2bd643c5012b38c2059 SHA512 44d1bcf966c0cd01eecb3540e4aaf15375d0f40d3054b0a914816ef557a33b1490c4431beef3f521841bc29771e6ca541cecb1434d2ea74a0b6b96a9edb6e239 WHIRLPOOL b2dedcbeaed33e4a04f91f3d7e8c920878097a2fb6791208b7b8e74d2c2b20d92b0a4f67a24d755e59cffbb3f064fe1fd191beb739fd6014d6e97e4ee8508f63
|
||||
|
|
|
|||
50
dev-db/sqlmap/sqlmap-1.1.ebuild
Normal file
50
dev-db/sqlmap/sqlmap-1.1.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Automatic SQL injection and database takeover tool "
|
||||
HOMEPAGE="http://sqlmap.org"
|
||||
SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap.git"
|
||||
#EGIT_COMMIT="e7aaea2b8eac8680a737416b5df059a4ac9a4630"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ntlm"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="ntlm? ( dev-python/python-ntlm )"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/${PN}/udf/mysql/linux/32/lib_mysqludf_sys.so
|
||||
usr/share/${PN}/udf/mysql/linux/64/lib_mysqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so
|
||||
usr/share/${PN}/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so"
|
||||
|
||||
src_install () {
|
||||
# fix broken tarball
|
||||
find ./ -name .git | xargs rm -rf
|
||||
# Don't forget to disable the revision check since we removed the SVN files
|
||||
sed -i -e 's/= getRevisionNumber()/= "Unknown revision"/' lib/core/settings.py
|
||||
|
||||
dodoc -r doc/*
|
||||
rm -rf doc/
|
||||
dodir /usr/share/${PN}/
|
||||
|
||||
cp -R * "${ED}"/usr/share/${PN}/
|
||||
python_fix_shebang "${ED}"/usr/share/${PN}
|
||||
dosym /usr/share/${PN}/sqlmap.py /usr/bin/${PN}
|
||||
}
|
||||
Loading…
Reference in a new issue