sqlmap: v1.2 bump

This commit is contained in:
blshkv 2018-01-03 23:26:39 +08:00
parent 5af3654a30
commit fe0b45dcf0
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 48 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST sqlmap-1.1.11.tar.gz 7410884 SHA256 c99f626f34e947dae14248bb6a7a989ec85c8909aef03ff7ff96fe4cb021b8eb SHA512 4635e499c8ec6df29fa2bc81f498a1796359f4faa62d158238dd2e0663b9733cf7dfb33d0781e753f0fd4c212b1ea90f82c2f112e04e4c0e3e7c7fb9d8f6ac4f WHIRLPOOL 68dabf1ba25f0f5b79b96a8e3f662c209343acbaa7f72a4246a5bd8c8ed9f4b8bf9c6fdece67bfe23728cfc72909567aee2f80bdb8b1f7f35894f2efd3ec5259
DIST sqlmap-1.1.12.tar.gz 7411646 SHA256 79ae71ed4161b85d3dd6b320a6c93977c7a832e934b30fceb5bc4c0a0323e5b3 SHA512 d75a38643eec04232f7dc158b2d925f011851d6d96ef80345a7a1bf505ba7230ba75ba4353beebd5add1526d9df4f64e1d05de49d91731e984dbcc5bee9dd25f WHIRLPOOL 89bc1f3a412d0da40ada5f1b767af724d34ef557e5e1b2daea245db3b53f92dd59baece30a1dd76fcb3a3ddd1cfd65c6daa52bf88b92d86da03265cd90ae0bb1
DIST sqlmap-1.2.tar.gz 7411946 SHA256 39e0ef58365a5a0413d88dfcc0d1c210b465661cb97c8e5b42c1feba791d2453 SHA512 c6e6b56359cabb129361a5cd34fae7e87ca817a8cc7339ef8f3ed1821605f996bb9b5570f14a5040640d580baf7c21296dace59f45dc4b29affd7361d0e13d82 WHIRLPOOL c5f939489ba8247aefcf62ec3f556915c681447c8e18743fc0ac1c2279a17960600751593a4ea467a963bcd8ceb8361fd11c7f4f3422b215bd43a93a4e7d1f9b

View file

@ -0,0 +1,47 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ntlm"
DEPEND=""
RDEPEND="ntlm? ( dev-python/python-ntlm[${PYTHON_USEDEP}] )"
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 "${EPREFIX}"/usr/share/${PN}/sqlmap.py /usr/bin/${PN}
}