diff options
| author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2025-04-13 11:46:17 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-04-24 19:22:08 +0100 |
| commit | 0137fc54242c371e2918aaad1a1223f718b6ba1c (patch) | |
| tree | e2966a9de930449a6d2985eb0287c3ca0995ad76 | |
| parent | fe011c00001880ba19de63be4ee9c46a9a7aed7e (diff) | |
| download | gentoo-0137fc54242c371e2918aaad1a1223f718b6ba1c.tar.gz gentoo-0137fc54242c371e2918aaad1a1223f718b6ba1c.tar.bz2 gentoo-0137fc54242c371e2918aaad1a1223f718b6ba1c.zip | |
dev-db/sqlmap: add 1.9.4
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/41568
Closes: https://github.com/gentoo/gentoo/pull/41568
Signed-off-by: Sam James <sam@gentoo.org>
| -rw-r--r-- | dev-db/sqlmap/Manifest | 1 | ||||
| -rw-r--r-- | dev-db/sqlmap/sqlmap-1.9.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest index f1b9fd356cbc..227140ee5008 100644 --- a/dev-db/sqlmap/Manifest +++ b/dev-db/sqlmap/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-db/sqlmap/sqlmap-1.9.4.ebuild b/dev-db/sqlmap/sqlmap-1.9.4.ebuild new file mode 100644 index 000000000000..37028c14816a --- /dev/null +++ b/dev-db/sqlmap/sqlmap-1.9.4.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 +} |
