summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2024-08-23 17:41:07 +0200
committerSam James <sam@gentoo.org>2024-08-29 04:22:10 +0100
commitb47b965e819a2c23dd82a537c0978117c5ea6168 (patch)
treed5ae64e2c61367dd40daf4cb0e81c07b8b4966f8 /dev-db
parentdev-python/pefile: sync live (diff)
downloadgentoo-b47b965e819a2c23dd82a537c0978117c5ea6168.tar.gz
gentoo-b47b965e819a2c23dd82a537c0978117c5ea6168.tar.bz2
gentoo-b47b965e819a2c23dd82a537c0978117c5ea6168.zip
dev-db/sqlmap: add 1.8.8
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlmap/Manifest1
-rw-r--r--dev-db/sqlmap/sqlmap-1.8.8.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest
index 8f1a5b6637c7..f057804d1aa0 100644
--- a/dev-db/sqlmap/Manifest
+++ b/dev-db/sqlmap/Manifest
@@ -1,3 +1,4 @@
DIST sqlmap-1.8.5.gh.tar.gz 7245377 BLAKE2B 449a6eb42bfef68fa3a0d3ed56f67dbb1b1dbcaccd5170d7bd3b3cd4e06d992b0255564574de2920ce15db39e547ba9388aee3c9be05da8b507a8ca751493743 SHA512 ac11fdf7a3d3d3771bb56fb64def231a48efa2dc8e6122de4ad89c2c0ea4177059b44b0d83503d7c114f59fbb4b43e876f195e72c6afd3de32b09bed0a97f1ec
DIST sqlmap-1.8.6.gh.tar.gz 7245375 BLAKE2B 7223e87ddb682c05e9d76cbb4407790c62146e005335ad45aec65a7445f56cd0e5ebc25a853bc199c44f2e7c98823040afca0b60da7ad5a30b7ffe0791704265 SHA512 d709b2885b19d4b69dab1f76bacdb2d07fe1f29cf24f221a7004387a296d399f934c6f3281ead45ed0e4901fd2924eda9c4202898e6a1aa69c6c5212ab0e6f30
DIST sqlmap-1.8.7.gh.tar.gz 7249305 BLAKE2B 105881fe1889ff3a04dd6cf6b57cdd1a6b35e5533d858e9dcfe721b280591e9a9b6c41c5ba05e6de27d996330dc73d2d05571502cf0728fe27678de21613632d SHA512 938e60c13b08d10006de7feee6d9e10d7f156a2529a36b3c6c487389d06850f9a21a774909e21e9e9db74c8d337525b2c1ef6c59dfcd5c1fca8d0f156639810e
+DIST sqlmap-1.8.8.gh.tar.gz 7249385 BLAKE2B 69f8c8f3deaa8867b6a7101a70f81d71de94571fceed6c078ac0af8fe00df73ba7aed1a66b3232a1ec0e151d3fe045109f99fadaa254a11b6d43d86ba5751646 SHA512 717b0e15f4794eb349f58a7c8ffca3329cdcb42654a4ade9f8ca0bf7b4d70f2241d5216fcf7b35b71b6e15d4ff72841792706bb654f5fcf31e2d80c4557997ee
diff --git a/dev-db/sqlmap/sqlmap-1.8.8.ebuild b/dev-db/sqlmap/sqlmap-1.8.8.ebuild
new file mode 100644
index 000000000000..529820752d51
--- /dev/null
+++ b/dev-db/sqlmap/sqlmap-1.8.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 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
+}