mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-06 07:44:52 +01:00
sqlmap: v1.0.6 bump, pull #99
This commit is contained in:
parent
122e657398
commit
6e8597fd64
2 changed files with 51 additions and 0 deletions
1
dev-db/sqlmap/Manifest
Normal file
1
dev-db/sqlmap/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST sqlmap-1.0.6.tar.gz 6708702 SHA256 5a8b9c722df2227cbcbfde27e7ac820bd4b63eab712b0140f9ce8955fe0a738d SHA512 16764980b1adcc80a68034d7998f4b3feb505fc9eb91ed666ecb2fd9201075a9f9704f9805bbf02d21356c0bc2fb2a32e0323c9cf3216e09c054977b834bfbc7 WHIRLPOOL ff29f52eddbbd990d04143c6ceba6ae4b50ea436e1ac1c7e7a747bc5d29518ae4eade5a123d977e2db62ee7d2ff48b755208f1dc442c12bc0d833ba33791278a
|
||||
50
dev-db/sqlmap/sqlmap-1.0.6.ebuild
Normal file
50
dev-db/sqlmap/sqlmap-1.0.6.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