diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2023-04-07 11:10:31 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-09 19:31:16 +0100 |
commit | 5625fa5babc9a0eeb2993a9f427a2f8d925c12c8 (patch) | |
tree | 50c3e0715a00115759c6c23569be76c3a062ee9f /dev-db | |
parent | sys-apps/less: add 632_beta (unkeyworded) (diff) | |
download | gentoo-5625fa5babc9a0eeb2993a9f427a2f8d925c12c8.tar.gz gentoo-5625fa5babc9a0eeb2993a9f427a2f8d925c12c8.tar.bz2 gentoo-5625fa5babc9a0eeb2993a9f427a2f8d925c12c8.zip |
dev-db/sqlmap: add 1.7.4
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/30512
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/sqlmap/Manifest | 1 | ||||
-rw-r--r-- | dev-db/sqlmap/sqlmap-1.7.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest index 6b985f05281a..015850a475e4 100644 --- a/dev-db/sqlmap/Manifest +++ b/dev-db/sqlmap/Manifest @@ -1,2 +1,3 @@ DIST sqlmap-1.7.2.gh.tar.gz 7208613 BLAKE2B 69c8f6ba75b884ef13a693857a864df973a7f38f796b3489adea3ef1fbfaf01a2181b0f22af124b8efa22c29d0f988fa3bb1050b33e84aa029bb97a6c2f0e949 SHA512 a26da178ba151d8c34574dee30f4247ec16002b719fbb0ecd56dc074c9806daa81ed0d414421641d98b354663ff1685596c5f276f6e4812dae266dbab84a8286 DIST sqlmap-1.7.3.gh.tar.gz 7210615 BLAKE2B b20f95f8426a0ac1f4cbd09974bac5132b97b19227be036c2d290e121084e3841d80771834631cb2120f5968541e05ce9496abf317f208c759bd9bc8af396a9d SHA512 4e372ec66c104de01324355a5c7383373f9756057381d77ceaabc673c3d9f1e03b7aa253dd14f32f322926ddbd542401fa2ce65c4fc29dd37772901ea58a3813 +DIST sqlmap-1.7.4.gh.tar.gz 7213833 BLAKE2B 888d1756c92d44ac7ea746aea2bb3017ae81ada266a9534838f453e66be88930e695266e9f8673a4e673b1fcc61515f8d72e834d077bd66df244fd6bf5e20d52 SHA512 01446720f8b8c5b962a5a8f3b67228f1f9e145ac8736b005a4d825c30088667f4b307332d2baa4e8d4d4cbb8b96be00d2006f81f2892bb694c7d9dbf317721c0 diff --git a/dev-db/sqlmap/sqlmap-1.7.4.ebuild b/dev-db/sqlmap/sqlmap-1.7.4.ebuild new file mode 100644 index 000000000000..550ec7d5d4b0 --- /dev/null +++ b/dev-db/sqlmap/sqlmap-1.7.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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 +} |