Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlmap/
Date: Sat, 02 Jul 2022 23:40:33
Message-Id: 1656805195.a301c9c26ee0ffc26c6d786752cff2db4cea00a7.sam@gentoo
1 commit: a301c9c26ee0ffc26c6d786752cff2db4cea00a7
2 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
3 AuthorDate: Sat Jun 18 11:27:39 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 23:39:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a301c9c2
7
8 dev-db/sqlmap: version bump 1.6.6
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
12 Closes: https://github.com/gentoo/gentoo/pull/25955
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 dev-db/sqlmap/Manifest | 1 +
16 dev-db/sqlmap/sqlmap-1.6.6.ebuild | 60 +++++++++++++++++++++++++++++++++++++++
17 2 files changed, 61 insertions(+)
18
19 diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest
20 index b2c2cbdfe8b5..0602a1fd1aac 100644
21 --- a/dev-db/sqlmap/Manifest
22 +++ b/dev-db/sqlmap/Manifest
23 @@ -1,3 +1,4 @@
24 DIST sqlmap-1.6.2.tar.gz 7258723 BLAKE2B cc972eda5351683904e4c9d4f7e0ab9c127c22de597397e976060808812032b2041f68ab2d737784e499a20a7ca930167427390ca178269d744ee71738e5c270 SHA512 a3057486f5096fb2a242296b4ceeb1c500246fbd322c3e52f71e72cd91d1c676ca6f7746becf887625e45d0b14443a669410b28bd6a995124a6e8006c4534976
25 DIST sqlmap-1.6.4.tar.gz 7203746 BLAKE2B 8e55805a59dbc7fa4a4be03d5edf34160858e624047dafe63d6280bfb59c83fef0bfe3f74b775adad3cbe3be312dad166c79c758fe18418d32788c22b2233d16 SHA512 304c8213ae4b1858066765fa5e6409e97ac90de46b319683e7daf6c89f610de04cac400a7044633aeb014648b7b57c880c3a2646b40049b93f84a626c12994d2
26 DIST sqlmap-1.6.5.tar.gz 7204055 BLAKE2B 0ab5ff3ab8f27e0f944c65d84e9d66627dd09c22fd59a18002481a26db804d737702acf71768dfd44f88008fe82369c155144e9df58935e7feed644394299d89 SHA512 6812ab822119c0071077d87bbc7dd032560c6b85dedd6a568e63e12f885156959a89fa67045545a1433ab0ad6f4ad1f0335980adbc54a1af654d999ac07cee6d
27 +DIST sqlmap-1.6.6.tar.gz 7204158 BLAKE2B 40e4a896855270b98c89fc0a5d6060af51ec7d24da101688dbf2ec470741129a6193330be45e3ddd8d450bdfbcf4ccdf29bac47ba9e1d27eddf76490fc0777dc SHA512 9d680754ad82db660770d29b96c74a20c271dec8feff19f57f20c726a1776c86f685e538bb33c026ec49d48fadf981eb41cf6dd970c6100dc7a0c9dcd39c43cf
28
29 diff --git a/dev-db/sqlmap/sqlmap-1.6.6.ebuild b/dev-db/sqlmap/sqlmap-1.6.6.ebuild
30 new file mode 100644
31 index 000000000000..7fe00f1370cf
32 --- /dev/null
33 +++ b/dev-db/sqlmap/sqlmap-1.6.6.ebuild
34 @@ -0,0 +1,60 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +PYTHON_COMPAT=( python3_{8..11} )
41 +PYTHON_REQ_USE="sqlite"
42 +
43 +inherit bash-completion-r1 python-single-r1 wrapper
44 +
45 +DESCRIPTION="An automatic SQL injection and database takeover tool"
46 +HOMEPAGE="https://sqlmap.org/"
47 +
48 +if [[ ${PV} == 9999 ]] ; then
49 + inherit git-r3
50 + EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap"
51 +else
52 + SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
53 + KEYWORDS="~amd64 ~x86"
54 +fi
55 +
56 +# sqlmap (GPL-2+)
57 +# ansitrm (BSD)
58 +# beautifulsoup (BSD)
59 +# bottle (MIT)
60 +# chardet (LGPL-2.1+)
61 +# clientform (BSD)
62 +# colorama (BSD)
63 +# fcrypt (BSD-2)
64 +# identitywaf (MIT)
65 +# keepalive (LGPL-2.1+)
66 +# magic (MIT)
67 +# multipartpost (LGPL-2.1+)
68 +# ordereddict (MIT)
69 +# prettyprint (BSD-2)
70 +# pydes (public-domain)
71 +# six (MIT)
72 +# socks (BSD)
73 +# termcolor (BSD)
74 +# wininetpton (public-domain)
75 +LICENSE="BSD BSD-2 GPL-2+ LGPL-2.1+ MIT public-domain"
76 +SLOT="0"
77 +
78 +RDEPEND="${PYTHON_DEPS}"
79 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
80 +
81 +DOCS=( doc/ README.md )
82 +
83 +src_install () {
84 + einstalldocs
85 +
86 + insinto /usr/share/${PN}/
87 + doins -r *
88 + python_optimize "${ED}"/usr/share/${PN}
89 +
90 + make_wrapper ${PN} \
91 + "${EPYTHON} ${EPREFIX}/usr/share/${PN}/sqlmap.py"
92 +
93 + newbashcomp "${FILESDIR}"/sqlmap.bash-completion sqlmap
94 +}