Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, net-analyzer/w3af/files/, net-analyzer/w3af/
Date: Tue, 04 Dec 2018 16:57:57
Message-Id: 1543942275.d7b94381c92da4017de867251c2681ad2e79e4d3.mgorny@gentoo
1 commit: d7b94381c92da4017de867251c2681ad2e79e4d3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 4 16:51:15 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 16:51:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b94381
7
8 net-analyzer/w3af: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/480160
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-analyzer/w3af/Manifest | 2 -
14 net-analyzer/w3af/files/w3af_console | 3 --
15 net-analyzer/w3af/files/w3af_gui | 3 --
16 net-analyzer/w3af/metadata.xml | 10 -----
17 net-analyzer/w3af/w3af-1.1-r1.ebuild | 70 ---------------------------------
18 net-analyzer/w3af/w3af-1.5.ebuild | 76 ------------------------------------
19 profiles/package.mask | 5 ---
20 7 files changed, 169 deletions(-)
21
22 diff --git a/net-analyzer/w3af/Manifest b/net-analyzer/w3af/Manifest
23 deleted file mode 100644
24 index e78c7b1496f..00000000000
25 --- a/net-analyzer/w3af/Manifest
26 +++ /dev/null
27 @@ -1,2 +0,0 @@
28 -DIST w3af-1.1.tar.bz2 39994121 BLAKE2B e7f2fbb26360149dcffbd70b3cd2bb66a44019fc31962f9e7ce73e4dc417b8b44b656cb44d2f0f0c6fd51d6900865d3d3f839a27796b533e81d2ec003b9392f2 SHA512 9a6c7d474d61f9039c150b44d4c6027451d58e925e47083262105f62b0fca718373103015e3f5bbed1cb89a40c9c057d3d54ce0c533ad3cc90e8ff24e193f868
29 -DIST w3af-1.5.tar.gz 31147412 BLAKE2B 1ef8d22143925f7958539179b01ec1a4ae3e10a71c62cabc9b4644de56fc050312ce23df339a28451040a7c31262177d47a8280e6ce979ec93db5ea26880e512 SHA512 5b0b83e36b35883bd78fe990e9e5f0c955e49a22421d8eee4ec877cda842e79c8af0b490f0927ea253bdd60b957fbacf7ad1116e2c3d93023f160691aa50ce7e
30
31 diff --git a/net-analyzer/w3af/files/w3af_console b/net-analyzer/w3af/files/w3af_console
32 deleted file mode 100644
33 index 93212cefb23..00000000000
34 --- a/net-analyzer/w3af/files/w3af_console
35 +++ /dev/null
36 @@ -1,3 +0,0 @@
37 -#!/bin/sh
38 -cd /usr/lib/w3af
39 -./w3af_console $*
40
41 diff --git a/net-analyzer/w3af/files/w3af_gui b/net-analyzer/w3af/files/w3af_gui
42 deleted file mode 100644
43 index 41f4802e3ae..00000000000
44 --- a/net-analyzer/w3af/files/w3af_gui
45 +++ /dev/null
46 @@ -1,3 +0,0 @@
47 -#!/bin/sh
48 -cd /usr/lib/w3af
49 -./w3af_gui $*
50
51 diff --git a/net-analyzer/w3af/metadata.xml b/net-analyzer/w3af/metadata.xml
52 deleted file mode 100644
53 index 573e0af1030..00000000000
54 --- a/net-analyzer/w3af/metadata.xml
55 +++ /dev/null
56 @@ -1,10 +0,0 @@
57 -<?xml version="1.0" encoding="UTF-8"?>
58 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
59 -<pkgmetadata>
60 - <!-- maintainer-needed -->
61 - <upstream>
62 - <remote-id type="github">andresriancho/w3af</remote-id>
63 - <remote-id type="sourceforge">w3af</remote-id>
64 - </upstream>
65 -</pkgmetadata>
66 -
67
68 diff --git a/net-analyzer/w3af/w3af-1.1-r1.ebuild b/net-analyzer/w3af/w3af-1.1-r1.ebuild
69 deleted file mode 100644
70 index a2a89f6c86f..00000000000
71 --- a/net-analyzer/w3af/w3af-1.1-r1.ebuild
72 +++ /dev/null
73 @@ -1,70 +0,0 @@
74 -# Copyright 1999-2017 Gentoo Foundation
75 -# Distributed under the terms of the GNU General Public License v2
76 -
77 -EAPI=5
78 -
79 -PYTHON_COMPAT=( python2_7 )
80 -PYTHON_REQ_USE="sqlite"
81 -
82 -inherit multilib python-single-r1 versionator
83 -
84 -MY_P=${PN}-"$(replace_version_separator 2 '-')"
85 -
86 -DESCRIPTION="Web Application Attack and Audit Framework"
87 -HOMEPAGE="http://w3af.sourceforge.net/"
88 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
89 -
90 -LICENSE="GPL-2"
91 -SLOT="0"
92 -KEYWORDS="amd64 x86"
93 -IUSE="doc gtk"
94 -
95 -RDEPEND="${PYTHON_DEPS}
96 - >=dev-python/fpconst-0.7.2[${PYTHON_USEDEP}]
97 - dev-python/lxml[${PYTHON_USEDEP}]
98 - dev-python/nltk[${PYTHON_USEDEP}]
99 - dev-python/pybloomfiltermmap[${PYTHON_USEDEP}]
100 - dev-python/pyopenssl[${PYTHON_USEDEP}]
101 - dev-python/pyPdf[${PYTHON_USEDEP}]
102 - dev-python/python-cluster[${PYTHON_USEDEP}]
103 - dev-python/pyyaml[${PYTHON_USEDEP}]
104 - dev-python/simplejson[${PYTHON_USEDEP}]
105 - dev-python/soappy[${PYTHON_USEDEP}]
106 - dev-python/pysvn[${PYTHON_USEDEP}]
107 - || (
108 - net-analyzer/gnu-netcat
109 - net-analyzer/netcat
110 - net-analyzer/netcat6
111 - )
112 - >=net-analyzer/scapy-2
113 - gtk? (
114 - media-gfx/graphviz
115 - >dev-python/pygtk-2.0
116 - dev-python/pygtksourceview
117 - )"
118 -
119 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
120 -
121 -S=${WORKDIR}/${PN}
122 -
123 -src_prepare(){
124 - rm -r extlib/{cluster,fpconst-0.7.2,pyPdf,SOAPpy,yaml} || die
125 - sed -i 's,extlib.pyPdf.,,' core/data/parsers/pdfParser.py || die
126 - rm readme/{GPL,INSTALL} || die
127 - rm plugins/attack/payloads/code/netcat || die #bug 349780
128 - esvn_clean
129 -}
130 -
131 -src_install() {
132 - insinto /usr/$(get_libdir)/w3af
133 - doins -r core extlib locales plugins profiles scripts tools w3af_gui w3af_console
134 - fperms +x /usr/$(get_libdir)/w3af/w3af_{gui,console}
135 - dobin "${FILESDIR}"/w3af_console
136 - use gtk && dobin "${FILESDIR}"/w3af_gui
137 - #use flag doc is here because doc is bigger than 3 Mb
138 - if use doc ; then
139 - insinto /usr/share/doc/${PF}/
140 - doins -r readme/*
141 - fi
142 - python_fix_shebang "${ED}"usr/$(get_libdir)/${PN}
143 -}
144
145 diff --git a/net-analyzer/w3af/w3af-1.5.ebuild b/net-analyzer/w3af/w3af-1.5.ebuild
146 deleted file mode 100644
147 index 857b058864f..00000000000
148 --- a/net-analyzer/w3af/w3af-1.5.ebuild
149 +++ /dev/null
150 @@ -1,76 +0,0 @@
151 -# Copyright 1999-2017 Gentoo Foundation
152 -# Distributed under the terms of the GNU General Public License v2
153 -
154 -EAPI=5
155 -
156 -PYTHON_COMPAT=( python2_7 )
157 -PYTHON_REQ_USE="sqlite"
158 -
159 -inherit multilib python-single-r1
160 -
161 -DESCRIPTION="Web Application Attack and Audit Framework"
162 -HOMEPAGE="http://w3af.sourceforge.net/"
163 -SRC_URI="https://github.com/andresriancho/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
164 -
165 -LICENSE="GPL-2"
166 -SLOT="0"
167 -KEYWORDS=""
168 -IUSE="doc gtk"
169 -
170 -#w3af seems to ship sqlmap? maybe we should split this out...
171 -
172 -QA_PREBUILT="
173 - usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/mysql/linux/32/lib_mysqludf_sys.so
174 - usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/mysql/linux/64/lib_mysqludf_sys.so
175 - usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.2/lib_postgresqludf_sys.so
176 - usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.3/lib_postgresqludf_sys.so
177 - usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.4/lib_postgresqludf_sys.so
178 - usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/9.0/lib_postgresqludf_sys.so"
179 -
180 -RDEPEND="${PYTHON_DEPS}
181 - >=dev-python/fpconst-0.7.2[${PYTHON_USEDEP}]
182 - dev-python/lxml[${PYTHON_USEDEP}]
183 - dev-python/nltk[${PYTHON_USEDEP}]
184 - dev-python/pybloomfiltermmap[${PYTHON_USEDEP}]
185 - dev-python/pyopenssl[${PYTHON_USEDEP}]
186 - dev-python/pyPdf[${PYTHON_USEDEP}]
187 - dev-python/python-cluster[${PYTHON_USEDEP}]
188 - dev-python/pyyaml[${PYTHON_USEDEP}]
189 - dev-python/simplejson[${PYTHON_USEDEP}]
190 - dev-python/soappy[${PYTHON_USEDEP}]
191 - dev-python/pysvn[${PYTHON_USEDEP}]
192 - || (
193 - net-analyzer/gnu-netcat
194 - net-analyzer/netcat
195 - net-analyzer/netcat6
196 - )
197 - >=net-analyzer/scapy-2
198 - gtk? (
199 - media-gfx/graphviz
200 - >dev-python/pygtk-2.0
201 - dev-python/pygtksourceview
202 - )"
203 -
204 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
205 -
206 -src_prepare(){
207 - rm doc/{GPL,INSTALL} || die
208 -}
209 -
210 -src_install() {
211 - insinto /usr/$(get_libdir)/${PN}
212 - doins -r core locales plugins profiles scripts tools w3af_gui w3af_console
213 - fperms +x /usr/$(get_libdir)/${PN}/${PN}_{gui,console}
214 - dobin "${FILESDIR}"/${PN}_console
215 - if use gtk ; then
216 - dobin "${FILESDIR}"/${PN}_gui
217 - else
218 - rm "${ED}"/usr/$(get_libdir)/${PN}/w3af_gui
219 - fi
220 - #use flag doc is here because doc is bigger than 3 Mb
221 - if use doc ; then
222 - insinto /usr/share/doc/${PF}/
223 - doins -r doc/*
224 - fi
225 - python_fix_shebang "${ED}"usr/$(get_libdir)/${PN}
226 -}
227
228 diff --git a/profiles/package.mask b/profiles/package.mask
229 index 01454212afb..ef5b906132d 100644
230 --- a/profiles/package.mask
231 +++ b/profiles/package.mask
232 @@ -380,11 +380,6 @@ dev-lua/lua-openssl
233 # month.
234 net-misc/tlsdate
235
236 -# Pacho Ramos <pacho@g.o> (04 Nov 2018)
237 -# Hard to bump (#480160), uses get_libdir at global scope (#593400). Removal
238 -# in a month.
239 -net-analyzer/w3af
240 -
241 # Andreas Sturmlechner <asturm@g.o> (03 Nov 2018)
242 # Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
243 # See tracker: https://bugs.gentoo.org/670222