commit:     834ab934fa4d2c2d0a5afc28055285538168702c
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Sun May 11 15:06:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 21:10:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834ab934

dev-db/sqlmap: add 1.9.5

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

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

diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest
index 227140ee5008..728fcd1989f4 100644
--- a/dev-db/sqlmap/Manifest
+++ b/dev-db/sqlmap/Manifest
@@ -1,3 +1,4 @@
 DIST sqlmap-1.9.2.gh.tar.gz 7251313 BLAKE2B 
73e7eeb1c9f3983588b68b1c15f7f7193b8c6118217d0c4d8600dc1c004478319d68f3b3ee2b518e6ef02372381eae17affc68dd3cf99f70d0c81b9011c17b53
 SHA512 
2faed909e5fe70d7dea1b7cb636baa40bf3c2a90df6ef86908d7059cd31f0ef51c854ec37da811210b2603989f236f22de7e766e83f0c5bc42f6061035a4d505
 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

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