From f775d77be80d208f1c65048c66eb34a78878fab0 Mon Sep 17 00:00:00 2001 From: blshkv Date: Wed, 4 Apr 2018 07:26:18 +0800 Subject: [PATCH] sqlmap: v1.2.4 bump --- dev-db/sqlmap/Manifest | 1 + dev-db/sqlmap/sqlmap-1.2.4.ebuild | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-db/sqlmap/sqlmap-1.2.4.ebuild diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest index 310271a1a..8cad7cf72 100644 --- a/dev-db/sqlmap/Manifest +++ b/dev-db/sqlmap/Manifest @@ -1 +1,2 @@ DIST sqlmap-1.2.3.tar.gz 7415074 BLAKE2B a255080ae4707dffc4716f0fc5a056ebea2d8436c93e742e62eeb36b38a53d56d040861a6fd5771e8df0206f7a611116b4562b650313501006892d546272812e SHA512 29b13f72702919f61156b2d3e8604298425ff9e4cd8c0557c74b8f32c4e5deb3af62a10343ed9ef6baf1baec4103a2613dc883312114321848ce0b2e90832e88 +DIST sqlmap-1.2.4.tar.gz 7412604 BLAKE2B 6b8b6be96d2e948e925069843bd82eab044a8db986412def6a49e78c8f398d73306f94ec7678856734c1ae7513462131f3cc7862961db4e9356141fe7f5b417b SHA512 e16e04cdb1d313d56379fb897543051c317273459121876ff8ef868ec8e20f2629541e325c0946d2546ea22218af7a3b5512e067c46e92dadf9cefe5f8580335 diff --git a/dev-db/sqlmap/sqlmap-1.2.4.ebuild b/dev-db/sqlmap/sqlmap-1.2.4.ebuild new file mode 100644 index 000000000..b8434886b --- /dev/null +++ b/dev-db/sqlmap/sqlmap-1.2.4.ebuild @@ -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} +}