commit: c29ec68f322c76cf0b1fc6c6d23dc49ce58e2755 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Fri Aug 8 06:11:34 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Aug 8 08:53:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29ec68f
dev-db/sqlmap: add 1.9.8 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/43382 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-db/sqlmap/Manifest | 1 + dev-db/sqlmap/sqlmap-1.9.8.ebuild | 60 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest index 1586d32d59ab..19ec7f41aed3 100644 --- a/dev-db/sqlmap/Manifest +++ b/dev-db/sqlmap/Manifest @@ -1,3 +1,4 @@ DIST sqlmap-1.9.3.gh.tar.gz 7253425 BLAKE2B 492679d90ed7ea2499ffbe17eac1175a504bfc7b2dbebdb07809bae68f733e6018c9d5846d3586e7c5465750344c9826f40b70ea625f02b6c06c98bd0abfc725 SHA512 75f0e820c67fb8c09fd9669b3928a399f7fd1b1b5be056321cfc0083000ec4dab7b577fc029b9f21ec5f500c9e1f421060a4ab296d73602449780a82e793cb93 DIST sqlmap-1.9.4.gh.tar.gz 7253852 BLAKE2B 2cc368c540cc62d1c6fe87ffeae3c2f77549557bd55bed034ca25e086ca5d511f155afa09d148ca63e793304ca5d2815bbf1bace18f59c98b3dfd9f8f52bd6ca SHA512 bb3d3e0d9068cfdf921f7be5e74c63b361bf62bf20af3374e090d250ed9d0a6ba31b24fc62fdea044318330d8267554f3d0f0923de46030a227b08deeaaa346a DIST sqlmap-1.9.5.gh.tar.gz 7253936 BLAKE2B fed5aac1e4a287d36615acf77bd5bd4ae60bb0b1f70a779135de911c6f5b38427c57fe4a467a2cb472ba9d6d0abffd67f4c0cc3c4f7c7e8b94f40506837586d8 SHA512 1cf2687cdef1d78ed47926f536fb67133ecc8468e305527ff79b280b7e692b70ba4208391057930132ec07aec6cfe1c157f60ee1cb4aefc5fc053f2d22d16ffe +DIST sqlmap-1.9.8.gh.tar.gz 7252317 BLAKE2B 256c2f289aa572af97f5e439b9fe3b30f79f038ae1b94eff4ae6e2c3fdd728df9d2930524c411b9c1408f54b4ab8ddb1cd21636708ff98dbab82f9ca04a0c3b2 SHA512 4c7ec03f91aabcd4829a8fa5e54f7361109c4c3c43773a18cb432b5e9737389e886e152091d2962b82057713ddec2a5b9add947b4d0958a9e0e196853caf704d diff --git a/dev-db/sqlmap/sqlmap-1.9.8.ebuild b/dev-db/sqlmap/sqlmap-1.9.8.ebuild new file mode 100644 index 000000000000..37028c14816a --- /dev/null +++ b/dev-db/sqlmap/sqlmap-1.9.8.ebuild @@ -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 +}
