mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-07 00:05:47 +03:00
dev-db/sqlmap: add 1.9.2
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/40605 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
3e10fb1e51
commit
90d09b503b
@@ -1,2 +1,3 @@
|
||||
DIST sqlmap-1.8.11.gh.tar.gz 7251649 BLAKE2B c7c85f59c84a45e38058bbb15fd7b579f6ff3775aa4fcf0a96ad2a44e7f9fa19f00feb30744006ebf92e1f7551f87c70a20cefa895b8d0068574eb8b0e88252a SHA512 37b275c96038a3023fb1b2e69ec96390a021e7f8b292952a2328cd9891ff4fbf7f284e6af003e1677fa2972dfc44d620d7fc2cfa5ae42ca47b7df64cce9d04ad
|
||||
DIST sqlmap-1.9.2.gh.tar.gz 7251313 BLAKE2B 73e7eeb1c9f3983588b68b1c15f7f7193b8c6118217d0c4d8600dc1c004478319d68f3b3ee2b518e6ef02372381eae17affc68dd3cf99f70d0c81b9011c17b53 SHA512 2faed909e5fe70d7dea1b7cb636baa40bf3c2a90df6ef86908d7059cd31f0ef51c854ec37da811210b2603989f236f22de7e766e83f0c5bc42f6061035a4d505
|
||||
DIST sqlmap-1.9.gh.tar.gz 7251286 BLAKE2B d09e8854a8f3e49b2c071cc79046ad8b2e80912acedbe83bf2b7bc838f30d3f84a3564fc1c03840b76bf0868ecaed289823a46eb16938a4fe0a0c1beef8e04ec SHA512 f92565d12931aa38f1c29634417a1f4a81d1686b7d3816157cdc524eb7f93555a5a706cc519c31baf7bf1631319e49ee695ff4006c336ffe5208e97eba8086ba
|
||||
|
||||
60
dev-db/sqlmap/sqlmap-1.9.2.ebuild
Normal file
60
dev-db/sqlmap/sqlmap-1.9.2.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit bash-completion-r1 python-single-r1 wrapper
|
||||
|
||||
DESCRIPTION="An automatic SQL injection and database takeover tool"
|
||||
HOMEPAGE="https://sqlmap.org/"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap"
|
||||
else
|
||||
SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
# sqlmap (GPL-2+)
|
||||
# ansitrm (BSD)
|
||||
# beautifulsoup (BSD)
|
||||
# bottle (MIT)
|
||||
# chardet (LGPL-2.1+)
|
||||
# clientform (BSD)
|
||||
# colorama (BSD)
|
||||
# fcrypt (BSD-2)
|
||||
# identitywaf (MIT)
|
||||
# keepalive (LGPL-2.1+)
|
||||
# magic (MIT)
|
||||
# multipartpost (LGPL-2.1+)
|
||||
# ordereddict (MIT)
|
||||
# prettyprint (BSD-2)
|
||||
# pydes (public-domain)
|
||||
# six (MIT)
|
||||
# socks (BSD)
|
||||
# termcolor (BSD)
|
||||
# wininetpton (public-domain)
|
||||
LICENSE="BSD BSD-2 GPL-2+ LGPL-2.1+ MIT public-domain"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DOCS=( doc/ README.md )
|
||||
|
||||
src_install () {
|
||||
einstalldocs
|
||||
|
||||
insinto /usr/share/${PN}/
|
||||
doins -r *
|
||||
python_optimize "${ED}"/usr/share/${PN}
|
||||
|
||||
make_wrapper ${PN} \
|
||||
"${EPYTHON} ${EPREFIX}/usr/share/${PN}/sqlmap.py"
|
||||
|
||||
newbashcomp "${FILESDIR}"/sqlmap.bash-completion sqlmap
|
||||
}
|
||||
Reference in New Issue
Block a user