commit:     677d9de06a83a0702887ede9792eba9d5cf4626c
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun Sep  7 07:27:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 20 09:19:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677d9de0

dev-db/sqlmap: add 1.9.9

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/43695
Closes: https://github.com/gentoo/gentoo/pull/43695
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/sqlmap/Manifest            |  1 +
 dev-db/sqlmap/sqlmap-1.9.9.ebuild | 60 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest
index b7bd75a86fee..f35a9efd7946 100644
--- a/dev-db/sqlmap/Manifest
+++ b/dev-db/sqlmap/Manifest
@@ -1,2 +1,3 @@
 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
+DIST sqlmap-1.9.9.gh.tar.gz 7251890 BLAKE2B 
a994a73cbe4563a402feabd9aa3d8f51a484c7618484b33d2a846ce6d2a05d79e8efc3f398078f86daa0b9fce878a1b98f0d36b93645881810ef28ad5f233a8a
 SHA512 
1dfdaaeefc6d0f09713b75d977b8f2b779141f5c44f2bca69c613400c9f98bf1ec3d0bfeb832f29342628dc47ccdd7a5239eb63450eef68f162dd06e54dfe1ec

diff --git a/dev-db/sqlmap/sqlmap-1.9.9.ebuild 
b/dev-db/sqlmap/sqlmap-1.9.9.ebuild
new file mode 100644
index 000000000000..37028c14816a
--- /dev/null
+++ b/dev-db/sqlmap/sqlmap-1.9.9.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
+}

Reply via email to