sqlmap: v1.2.5 bump

This commit is contained in:
blshkv 2018-05-07 13:37:36 +08:00
parent e12b0655f7
commit a96ccee435
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.2.3.tar.gz 7415074 BLAKE2B a255080ae4707dffc4716f0fc5a056ebea2d8436c93e742e62eeb36b38a53d56d040861a6fd5771e8df0206f7a611116b4562b650313501006892d546272812e SHA512 29b13f72702919f61156b2d3e8604298425ff9e4cd8c0557c74b8f32c4e5deb3af62a10343ed9ef6baf1baec4103a2613dc883312114321848ce0b2e90832e88
DIST sqlmap-1.2.4.tar.gz 7412604 BLAKE2B 6b8b6be96d2e948e925069843bd82eab044a8db986412def6a49e78c8f398d73306f94ec7678856734c1ae7513462131f3cc7862961db4e9356141fe7f5b417b SHA512 e16e04cdb1d313d56379fb897543051c317273459121876ff8ef868ec8e20f2629541e325c0946d2546ea22218af7a3b5512e067c46e92dadf9cefe5f8580335
DIST sqlmap-1.2.5.tar.gz 7416584 BLAKE2B c28c6e66ded45039fc71fe1f4c5ceffe46039b7179596480dc908f2b515b22fd47ef98c759212492f5cdc7768149d8652ef012a4100b9854c668881177bd7b7c SHA512 0f802708621136ce75bd3f3000aab7722eaaca581f4bf82060c4ec202c5e1a11624fc57cf97e6e0e9518355e0a9414f95b702d27dd949c7dec0f5c4b3f1ff3e9

View file

@ -0,0 +1,47 @@
# Copyright 1999-2018 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}
}