diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest index 854eb6582..1da934bb7 100644 --- a/dev-db/sqlmap/Manifest +++ b/dev-db/sqlmap/Manifest @@ -1 +1,2 @@ +DIST sqlmap-1.1.10.tar.gz 7408226 SHA256 e2dcc5d939b082fbc8f32c4ceef8c3e37f2c86a40e569b7cd34c9d94a71e6a21 SHA512 d320e349b56011d2728a76c9a45a4bfbdc09249a7e9e61013aeda1c253aff7ab50ec75dc7d9f8ced44283de0730c551e952d33152d9d12d55ab7a7c33f07d86f WHIRLPOOL 76e051147d70f4ca15766da08c30e59b9e5a31c9a885f99523594726b19400d4e8113f415a5be042ab065ea9b80ae6e50933fe00277ccb8bd9fb2bba20af06b6 DIST sqlmap-1.1.9.tar.gz 7405154 SHA256 318c7d4a5544ef147913f1c4a7c4e5e0c4f53c8c8e7d137a76afcda171acffdd SHA512 603114f9a6fe808d26402a8720ec16744b56513ca89e11db8b0daae59adaca178ca4fb772526a474137a3db705aca57de111ea2d0bd6699600aa233b50a97f4a WHIRLPOOL 6695f8407044c0427f9a39910d43404ad53414f6b8a0c7faa3f143980e9c34872677258716468446d1d44aaea207b83f42c4a570afc352f27dfd34341f3548d2 diff --git a/dev-db/sqlmap/sqlmap-1.1.10.ebuild b/dev-db/sqlmap/sqlmap-1.1.10.ebuild new file mode 100644 index 000000000..e9ff20ee2 --- /dev/null +++ b/dev-db/sqlmap/sqlmap-1.1.10.ebuild @@ -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 /usr/share/${PN}/sqlmap.py /usr/bin/${PN} +}