1 |
commit: 15fe687020a64cb7c7eed32ff0b6e29127e685cc |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 07:50:46 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 08:05:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15fe6870 |
7 |
|
8 |
dev-ruby/metasploit-*: remove masked metasploit packages |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/metasploit-concern/Manifest | 1 - |
13 |
dev-ruby/metasploit-concern/metadata.xml | 11 ---- |
14 |
.../metasploit-concern-2.0.5.ebuild | 26 -------- |
15 |
dev-ruby/metasploit-credential/Manifest | 1 - |
16 |
dev-ruby/metasploit-credential/metadata.xml | 11 ---- |
17 |
.../metasploit-credential-2.0.14.ebuild | 28 --------- |
18 |
dev-ruby/metasploit-model/Manifest | 1 - |
19 |
dev-ruby/metasploit-model/metadata.xml | 14 ----- |
20 |
.../metasploit-model/metasploit-model-2.0.4.ebuild | 72 ---------------------- |
21 |
dev-ruby/metasploit-payloads/Manifest | 1 - |
22 |
dev-ruby/metasploit-payloads/metadata.xml | 12 ---- |
23 |
.../metasploit-payloads-1.3.53.ebuild | 44 ------------- |
24 |
dev-ruby/metasploit_data_models/Manifest | 1 - |
25 |
dev-ruby/metasploit_data_models/metadata.xml | 11 ---- |
26 |
.../metasploit_data_models-2.0.16.ebuild | 64 ------------------- |
27 |
dev-ruby/metasploit_payloads-mettle/Manifest | 1 - |
28 |
dev-ruby/metasploit_payloads-mettle/metadata.xml | 12 ---- |
29 |
.../metasploit_payloads-mettle-0.4.2.ebuild | 65 ------------------- |
30 |
18 files changed, 376 deletions(-) |
31 |
|
32 |
diff --git a/dev-ruby/metasploit-concern/Manifest b/dev-ruby/metasploit-concern/Manifest |
33 |
deleted file mode 100644 |
34 |
index 814c8de7c8d..00000000000 |
35 |
--- a/dev-ruby/metasploit-concern/Manifest |
36 |
+++ /dev/null |
37 |
@@ -1 +0,0 @@ |
38 |
-DIST metasploit-concern-2.0.5.gem 18944 BLAKE2B 090dccb8e43426da0f51604b3257e717989d35e1430597734743df4447735cbf1dcc2e31124ae7012d6a945828dc55f80f095cf6b89584341fc5059f1275e2b8 SHA512 1d8025dd075475fcae1c663789154f7fc8dbb334f9a069a1c1a21f4b101e9b85dc7cdfc6097bbfa9387463d3050e7a715e68a0b09ebfa66aa27ccaa74a1ffe91 |
39 |
|
40 |
diff --git a/dev-ruby/metasploit-concern/metadata.xml b/dev-ruby/metasploit-concern/metadata.xml |
41 |
deleted file mode 100644 |
42 |
index 0f151a8a9f1..00000000000 |
43 |
--- a/dev-ruby/metasploit-concern/metadata.xml |
44 |
+++ /dev/null |
45 |
@@ -1,11 +0,0 @@ |
46 |
-<?xml version="1.0" encoding="UTF-8"?> |
47 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
48 |
-<pkgmetadata> |
49 |
- <maintainer type="person"> |
50 |
- <email>zerochaos@g.o</email> |
51 |
- <name>Rick Farina</name> |
52 |
- </maintainer> |
53 |
- <upstream> |
54 |
- <remote-id type="github">rapid7/metasploit-concern</remote-id> |
55 |
- </upstream> |
56 |
-</pkgmetadata> |
57 |
|
58 |
diff --git a/dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild b/dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild |
59 |
deleted file mode 100644 |
60 |
index 55b15f02b57..00000000000 |
61 |
--- a/dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild |
62 |
+++ /dev/null |
63 |
@@ -1,26 +0,0 @@ |
64 |
-# Copyright 1999-2018 Gentoo Authors |
65 |
-# Distributed under the terms of the GNU General Public License v2 |
66 |
- |
67 |
-EAPI=6 |
68 |
-USE_RUBY="ruby24" |
69 |
- |
70 |
-RUBY_FAKEGEM_EXTRAINSTALL="app spec" |
71 |
- |
72 |
-inherit ruby-fakegem eapi7-ver |
73 |
- |
74 |
-DESCRIPTION="Metasploit concern allows you to define concerns in app/concerns. " |
75 |
-HOMEPAGE="https://github.com/rapid7/metasploit-concern" |
76 |
-SRC_URI="https://rubygems.org/gems/${P}.gem" |
77 |
- |
78 |
-LICENSE="BSD" |
79 |
-SLOT="$(ver_cut 1-2)" |
80 |
-KEYWORDS="~amd64 ~arm ~x86" |
81 |
-#IUSE="development test" |
82 |
-RESTRICT=test |
83 |
-IUSE="" |
84 |
- |
85 |
-RDEPEND="${RDEPEND} !dev-ruby/metasploit-concern:0" |
86 |
- |
87 |
-ruby_add_rdepend ">=dev-ruby/railties-4.2.6:4.2 |
88 |
- >=dev-ruby/activesupport-4.2.6:4.2 |
89 |
- >=dev-ruby/activemodel-2.4.6:4.2" |
90 |
|
91 |
diff --git a/dev-ruby/metasploit-credential/Manifest b/dev-ruby/metasploit-credential/Manifest |
92 |
deleted file mode 100644 |
93 |
index 5aaeab0850d..00000000000 |
94 |
--- a/dev-ruby/metasploit-credential/Manifest |
95 |
+++ /dev/null |
96 |
@@ -1 +0,0 @@ |
97 |
-DIST metasploit-credential-2.0.14.gem 110592 BLAKE2B 09f3eee0f288ab26695177b014b98dc871f6f009f34aaad4fbd7dfcda8acc63f75524fe7d181b1dccca863cc83eb50f249e0c07cbb0f07e9c79856a4389cdcd9 SHA512 66670fc89dc61d6d32577c9b46dc6ddfab15b9c0118ba15cc7398e10ec8de63cd7150fbfaddbd01a573ead6d98619dd9c19a5835be58baaa1fc4a9c777839b00 |
98 |
|
99 |
diff --git a/dev-ruby/metasploit-credential/metadata.xml b/dev-ruby/metasploit-credential/metadata.xml |
100 |
deleted file mode 100644 |
101 |
index 98a26fb7079..00000000000 |
102 |
--- a/dev-ruby/metasploit-credential/metadata.xml |
103 |
+++ /dev/null |
104 |
@@ -1,11 +0,0 @@ |
105 |
-<?xml version="1.0" encoding="UTF-8"?> |
106 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
107 |
-<pkgmetadata> |
108 |
- <maintainer type="person"> |
109 |
- <email>zerochaos@g.o</email> |
110 |
- <name>Rick Farina</name> |
111 |
- </maintainer> |
112 |
- <upstream> |
113 |
- <remote-id type="github">rapid7/metasploit-credential</remote-id> |
114 |
- </upstream> |
115 |
-</pkgmetadata> |
116 |
|
117 |
diff --git a/dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild b/dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild |
118 |
deleted file mode 100644 |
119 |
index 5220d95e600..00000000000 |
120 |
--- a/dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild |
121 |
+++ /dev/null |
122 |
@@ -1,28 +0,0 @@ |
123 |
-# Copyright 1999-2018 Gentoo Authors |
124 |
-# Distributed under the terms of the GNU General Public License v2 |
125 |
- |
126 |
-EAPI=6 |
127 |
-USE_RUBY="ruby24" |
128 |
- |
129 |
-RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
130 |
- |
131 |
-inherit ruby-fakegem |
132 |
- |
133 |
-RUBY_FAKEGEM_EXTRAINSTALL="app config db spec" |
134 |
- |
135 |
-DESCRIPTION="Code for modeling and managing credentials in Metasploit" |
136 |
-HOMEPAGE="https://github.com/rapid7/metasploit-credential" |
137 |
- |
138 |
-LICENSE="BSD" |
139 |
-SLOT="${PV}" |
140 |
-KEYWORDS="~amd64 ~arm ~x86" |
141 |
-IUSE="" |
142 |
-RESTRICT=test |
143 |
- |
144 |
-ruby_add_rdepend "dev-ruby/metasploit-concern:2.0 |
145 |
- <=dev-ruby/metasploit_data_models-3.0.0:* |
146 |
- >=dev-ruby/metasploit-model-1.0.0 |
147 |
- dev-ruby/rubyzip:1 |
148 |
- dev-ruby/rubyntlm |
149 |
- >=dev-ruby/railties-4.2.6:4.2 |
150 |
- dev-ruby/pg:*" |
151 |
|
152 |
diff --git a/dev-ruby/metasploit-model/Manifest b/dev-ruby/metasploit-model/Manifest |
153 |
deleted file mode 100644 |
154 |
index 733c984f3fa..00000000000 |
155 |
--- a/dev-ruby/metasploit-model/Manifest |
156 |
+++ /dev/null |
157 |
@@ -1 +0,0 @@ |
158 |
-DIST metasploit-model-2.0.4.gem 81408 BLAKE2B 5a4be9e61649710470618d4334279054cbefc1027a1d4674b6be0c6a4c632219fd2dc3ac5f9f56dc9018712e5cbcbe191d5749ed2ed10cf98f884a06e41ec736 SHA512 70f6d948227bc99f877c3b5631a964087c0ebfdb091f128c72bc5da276bf57a5055aea5cdda4dc66e1fb177606afec9b7b3ee4076211f43928a2defb93294ac5 |
159 |
|
160 |
diff --git a/dev-ruby/metasploit-model/metadata.xml b/dev-ruby/metasploit-model/metadata.xml |
161 |
deleted file mode 100644 |
162 |
index 3534a5dd3a9..00000000000 |
163 |
--- a/dev-ruby/metasploit-model/metadata.xml |
164 |
+++ /dev/null |
165 |
@@ -1,14 +0,0 @@ |
166 |
-<?xml version="1.0" encoding="UTF-8"?> |
167 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
168 |
-<pkgmetadata> |
169 |
- <maintainer type="person"> |
170 |
- <email>zerochaos@g.o</email> |
171 |
- <name>Rick Farina</name> |
172 |
- </maintainer> |
173 |
-<longdescription lang="en"> |
174 |
-Common code, such as validators and mixins, that are shared between ActiveModels in metasploit-framework and ActiveRecords in metasploit_data_models |
175 |
-</longdescription> |
176 |
- <upstream> |
177 |
- <remote-id type="github">rapid7/metasploit-model</remote-id> |
178 |
- </upstream> |
179 |
-</pkgmetadata> |
180 |
|
181 |
diff --git a/dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild b/dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild |
182 |
deleted file mode 100644 |
183 |
index 8ef919bb103..00000000000 |
184 |
--- a/dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,72 +0,0 @@ |
187 |
-# Copyright 1999-2018 Gentoo Authors |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
- |
190 |
-EAPI=6 |
191 |
-USE_RUBY="ruby24" |
192 |
- |
193 |
-inherit ruby-fakegem eapi7-ver |
194 |
- |
195 |
-RUBY_FAKEGEM_EXTRAINSTALL="app config script spec" |
196 |
- |
197 |
-DESCRIPTION="Common code, such as validators and mixins" |
198 |
-HOMEPAGE="https://github.com/rapid7/metasploit-model" |
199 |
-SRC_URI="https://rubygems.org/gems/${P}.gem" |
200 |
- |
201 |
-LICENSE="BSD" |
202 |
-SLOT="$(ver_cut 1-2)" |
203 |
-KEYWORDS="~amd64 ~arm ~x86" |
204 |
-#IUSE="development test" |
205 |
-RESTRICT=test |
206 |
-IUSE="" |
207 |
- |
208 |
-RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0" |
209 |
- |
210 |
-ruby_add_rdepend ">=dev-ruby/railties-4.2.6:4.2 |
211 |
- >=dev-ruby/activesupport-4.2.6:4.2 |
212 |
- >=dev-ruby/activemodel-4.2.6:4.2" |
213 |
-# development? ( dev-ruby/bundler |
214 |
-# dev-ruby/rake |
215 |
-# dev-ruby/i18n |
216 |
-# dev-ruby/multi_json |
217 |
-# dev-ruby/builder |
218 |
-# dev-ruby/erubis |
219 |
-# dev-ruby/journey |
220 |
-# dev-ruby/rack |
221 |
-# dev-ruby/rack-cache |
222 |
-# dev-ruby/rack-test |
223 |
-# dev-ruby/hike |
224 |
-# dev-ruby/tilt |
225 |
-# dev-ruby/sprockets:* |
226 |
-# dev-ruby/actionpack:4.0 |
227 |
-# dev-ruby/json |
228 |
-# dev-ruby/rack-ssl:* |
229 |
-# dev-ruby/rdoc |
230 |
-# dev-ruby/thor |
231 |
-# dev-ruby/redcarpet |
232 |
-# <dev-ruby/yard-0.8.7.4 )" |
233 |
- |
234 |
-ruby_add_bdepend "dev-ruby/bundler" |
235 |
- |
236 |
-all_ruby_prepare() { |
237 |
- [ -f Gemfile.lock ] && rm Gemfile.lock |
238 |
- #For now, we don't support development or testing at all |
239 |
- #if ! use development; then |
240 |
- sed -i -e "/^group :development do/,/^end$/d" Gemfile || die |
241 |
- sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die |
242 |
- sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec || die |
243 |
- #fi |
244 |
- #if ! use test; then |
245 |
- sed -i -e "/^group :test do/,/^end$/d" Gemfile || die |
246 |
- #fi |
247 |
- #if ! use test && ! use development; then |
248 |
- sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die |
249 |
- #fi |
250 |
-} |
251 |
- |
252 |
-each_ruby_prepare() { |
253 |
- if [ -f Gemfile ] |
254 |
- then |
255 |
- BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die |
256 |
- BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die |
257 |
- fi |
258 |
-} |
259 |
|
260 |
diff --git a/dev-ruby/metasploit-payloads/Manifest b/dev-ruby/metasploit-payloads/Manifest |
261 |
deleted file mode 100644 |
262 |
index 0fc3f30ac7e..00000000000 |
263 |
--- a/dev-ruby/metasploit-payloads/Manifest |
264 |
+++ /dev/null |
265 |
@@ -1 +0,0 @@ |
266 |
-DIST metasploit-payloads-1.3.53.gem 12161024 BLAKE2B a98c24faeba68cc00240324235bfc887c31dde4240ee37a1decd38c0738a0ffdad9dbe2b3e6026dc99c4299e38025d3aa13a39589b948950d83ac9f69b6baa49 SHA512 698f91348ebcb2e0a74b506f391fa7eded7c5974821d283ce4890a8c63472db891c8837ef2f67fbe27996e72ec09ecbb4c32721311d57ab6633e5ed2fd426769 |
267 |
|
268 |
diff --git a/dev-ruby/metasploit-payloads/metadata.xml b/dev-ruby/metasploit-payloads/metadata.xml |
269 |
deleted file mode 100644 |
270 |
index a08ccf4f366..00000000000 |
271 |
--- a/dev-ruby/metasploit-payloads/metadata.xml |
272 |
+++ /dev/null |
273 |
@@ -1,12 +0,0 @@ |
274 |
-<?xml version="1.0" encoding="UTF-8"?> |
275 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
276 |
-<pkgmetadata> |
277 |
- <maintainer type="person"> |
278 |
- <email>zerochaos@g.o</email> |
279 |
- <name>Rick Farina</name> |
280 |
- </maintainer> |
281 |
- <upstream> |
282 |
- <remote-id type="github">rapid7/metasploit-payloads</remote-id> |
283 |
- <remote-id type="rubygems">metasploit-payloads</remote-id> |
284 |
- </upstream> |
285 |
-</pkgmetadata> |
286 |
|
287 |
diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild |
288 |
deleted file mode 100644 |
289 |
index 66b34890ecd..00000000000 |
290 |
--- a/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild |
291 |
+++ /dev/null |
292 |
@@ -1,44 +0,0 @@ |
293 |
-# Copyright 1999-2018 Gentoo Authors |
294 |
-# Distributed under the terms of the GNU General Public License v2 |
295 |
- |
296 |
-EAPI=6 |
297 |
- |
298 |
-USE_RUBY="ruby24" |
299 |
- |
300 |
-RUBY_FAKEGEM_TASK_DOC="" |
301 |
- |
302 |
-RUBY_FAKEGEM_EXTRAINSTALL="data" |
303 |
- |
304 |
-inherit ruby-fakegem |
305 |
- |
306 |
-DESCRIPTION="Compiled binaries for Metasploit's Meterpreter" |
307 |
-HOMEPAGE="https://rubygems.org/gems/metasploit-payloads" |
308 |
- |
309 |
-LICENSE="BSD" |
310 |
- |
311 |
-SLOT="${PV}" |
312 |
-KEYWORDS="~amd64 ~arm ~x86" |
313 |
-IUSE="" |
314 |
- |
315 |
-#no tests |
316 |
-RESTRICT="test strip" |
317 |
- |
318 |
-QA_PREBUILT=" |
319 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin |
320 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso |
321 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso |
322 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso |
323 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so |
324 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so |
325 |
- usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x86/libndkstager.so |
326 |
- " |
327 |
- |
328 |
-src_install() { |
329 |
- ruby-ng_src_install |
330 |
- #tell revdep-rebuild to ignore binaries meant for the target |
331 |
- dodir /etc/revdep-rebuild |
332 |
- cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die |
333 |
- #These dirs contain prebuilt binaries for running on the TARGET not the HOST |
334 |
- SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs" |
335 |
- EOF |
336 |
-} |
337 |
|
338 |
diff --git a/dev-ruby/metasploit_data_models/Manifest b/dev-ruby/metasploit_data_models/Manifest |
339 |
deleted file mode 100644 |
340 |
index d78bf8f0847..00000000000 |
341 |
--- a/dev-ruby/metasploit_data_models/Manifest |
342 |
+++ /dev/null |
343 |
@@ -1 +0,0 @@ |
344 |
-DIST metasploit_data_models-2.0.16.gem 182272 BLAKE2B 918c57e62552e2b3288ca24e8ff7abeb30b0b6221906890c7b2e15c674356de6861a10500735d5a912b0deefb6b378b64111bd18770c65b10dcdbc911e6439d6 SHA512 bf2c2c162d23750eceeb315b9a5ba9e8b80bf4ace9e32f8c1e97c35939338d026d640675b3e5eaf61c6897007db07e186d4d5be944dc3bca16c138f1f6ae6ada |
345 |
|
346 |
diff --git a/dev-ruby/metasploit_data_models/metadata.xml b/dev-ruby/metasploit_data_models/metadata.xml |
347 |
deleted file mode 100644 |
348 |
index 50c640c0543..00000000000 |
349 |
--- a/dev-ruby/metasploit_data_models/metadata.xml |
350 |
+++ /dev/null |
351 |
@@ -1,11 +0,0 @@ |
352 |
-<?xml version="1.0" encoding="UTF-8"?> |
353 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
354 |
-<pkgmetadata> |
355 |
- <maintainer type="person"> |
356 |
- <email>zerochaos@g.o</email> |
357 |
- <name>Rick Farina</name> |
358 |
- </maintainer> |
359 |
- <upstream> |
360 |
- <remote-id type="github">rapid7/metasploit_data_models</remote-id> |
361 |
- </upstream> |
362 |
-</pkgmetadata> |
363 |
|
364 |
diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild |
365 |
deleted file mode 100644 |
366 |
index b08faf31eb4..00000000000 |
367 |
--- a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild |
368 |
+++ /dev/null |
369 |
@@ -1,64 +0,0 @@ |
370 |
-# Copyright 1999-2018 Gentoo Authors |
371 |
-# Distributed under the terms of the GNU General Public License v2 |
372 |
- |
373 |
-EAPI=6 |
374 |
-USE_RUBY="ruby24" |
375 |
- |
376 |
-inherit ruby-fakegem |
377 |
- |
378 |
-RUBY_FAKEGEM_EXTRAINSTALL="app config db script spec" |
379 |
-RUBY_FAKEGEM_GEMSPEC="${PN}".gemspec |
380 |
-DESCRIPTION="The database layer for Metasploit" |
381 |
-HOMEPAGE="https://github.com/rapid7/metasploit_data_models" |
382 |
-SRC_URI="https://rubygems.org/gems/${P}.gem" |
383 |
- |
384 |
-LICENSE="BSD" |
385 |
-SLOT="${PV}" |
386 |
-KEYWORDS="~amd64 ~arm ~x86" |
387 |
-RESTRICT=test |
388 |
-#IUSE="development test" |
389 |
-IUSE="" |
390 |
- |
391 |
-RDEPEND="${RDEPEND} !dev-ruby/metasploit_data_models:0" |
392 |
- |
393 |
-ruby_add_rdepend " |
394 |
- >=dev-ruby/activerecord-4.2.6:4.2[postgres] |
395 |
- >=dev-ruby/activesupport-4.2.6:4.2 |
396 |
- dev-ruby/pg:* |
397 |
- dev-ruby/postgres_ext |
398 |
- >=dev-ruby/railties-4.2.6:4.2 |
399 |
- >=dev-ruby/recog-2.0.0:* |
400 |
- dev-ruby/arel-helpers |
401 |
- >=dev-ruby/metasploit-concern-2.0.0 |
402 |
- >=dev-ruby/metasploit-model-2.0.0 |
403 |
- <dev-ruby/thor-2.0" |
404 |
- |
405 |
-ruby_add_bdepend "dev-ruby/bundler" |
406 |
- |
407 |
-all_ruby_prepare() { |
408 |
- [ -f Gemfile.lock ] && rm Gemfile.lock |
409 |
- #if ! use development; then |
410 |
- sed -i -e "/^group :development do/,/^end$/d" Gemfile || die |
411 |
- sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die |
412 |
- #fi |
413 |
- #if ! use test; then |
414 |
- sed -i -e "/^group :test do/,/^end$/d" Gemfile || die |
415 |
- #fi |
416 |
- #if ! use test && ! use development; then |
417 |
- sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die |
418 |
- #fi |
419 |
- #use the stable version of pg |
420 |
- sed -i "s/'pg', \"0.20.0\"/'pg', '0.21.0'/" metasploit_data_models.gemspec || die |
421 |
-} |
422 |
- |
423 |
-each_ruby_prepare() { |
424 |
- if [ -f Gemfile ] |
425 |
- then |
426 |
- BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die |
427 |
- BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die |
428 |
- fi |
429 |
-} |
430 |
- |
431 |
-all_ruby_install() { |
432 |
- ruby_fakegem_binwrapper mdm_console mdm_console-${SLOT} |
433 |
-} |
434 |
|
435 |
diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest |
436 |
deleted file mode 100644 |
437 |
index 8b54f912597..00000000000 |
438 |
--- a/dev-ruby/metasploit_payloads-mettle/Manifest |
439 |
+++ /dev/null |
440 |
@@ -1 +0,0 @@ |
441 |
-DIST metasploit_payloads-mettle-0.4.2.gem 18293760 BLAKE2B 98de479bbc72fd2ac916efaa4ac64f1aaf0d7267926ee5b56bfc2ec2b91450039c0a4d9d4322174355b4b089e5f9951145d5cbf87759e2bfe4da78e5b8cceec4 SHA512 8a0f8c1ca75d7664d33392e6c0c5a3de56ddd0a5c0f97f96091041caee89e74a2f3a42277a1f0c3eb57ca68706b344f0235b8ebc92870c6b8a89fa7bc20de5f0 |
442 |
|
443 |
diff --git a/dev-ruby/metasploit_payloads-mettle/metadata.xml b/dev-ruby/metasploit_payloads-mettle/metadata.xml |
444 |
deleted file mode 100644 |
445 |
index af9237fca3f..00000000000 |
446 |
--- a/dev-ruby/metasploit_payloads-mettle/metadata.xml |
447 |
+++ /dev/null |
448 |
@@ -1,12 +0,0 @@ |
449 |
-<?xml version="1.0" encoding="UTF-8"?> |
450 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
451 |
-<pkgmetadata> |
452 |
- <maintainer type="person"> |
453 |
- <email>zerochaos@g.o</email> |
454 |
- <name>Rick Farina</name> |
455 |
- </maintainer> |
456 |
- <upstream> |
457 |
- <remote-id type="github">rapid7/mettle</remote-id> |
458 |
- <remote-id type="rubygems">metasploit_payloads-mettle</remote-id> |
459 |
- </upstream> |
460 |
-</pkgmetadata> |
461 |
|
462 |
diff --git a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild |
463 |
deleted file mode 100644 |
464 |
index 9dcb6f6f00c..00000000000 |
465 |
--- a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild |
466 |
+++ /dev/null |
467 |
@@ -1,65 +0,0 @@ |
468 |
-# Copyright 1999-2018 Gentoo Authors |
469 |
-# Distributed under the terms of the GNU General Public License v2 |
470 |
- |
471 |
-EAPI=6 |
472 |
- |
473 |
-USE_RUBY="ruby24" |
474 |
- |
475 |
-RUBY_FAKEGEM_TASK_DOC="" |
476 |
- |
477 |
-RUBY_FAKEGEM_EXTRAINSTALL="build" |
478 |
- |
479 |
-inherit ruby-fakegem |
480 |
- |
481 |
-DESCRIPTION="Compiled binaries for Metasploit's next-gen Meterpreter" |
482 |
-HOMEPAGE="https://rubygems.org/gems/metasploit_payloads-mettle" |
483 |
- |
484 |
-LICENSE="BSD" |
485 |
- |
486 |
-SLOT="${PV}" |
487 |
-KEYWORDS="~amd64 ~arm ~x86" |
488 |
-IUSE="" |
489 |
- |
490 |
-#no tests |
491 |
-RESTRICT="test strip" |
492 |
- |
493 |
-QA_PREBUILT=" |
494 |
- usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle |
495 |
- usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle.bin |
496 |
- usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle |
497 |
- usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle.bin |
498 |
- usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle |
499 |
- usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle.bin |
500 |
- usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle |
501 |
- usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle.bin |
502 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle |
503 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle.bin |
504 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/sniffer |
505 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/sniffer.bin |
506 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle |
507 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle.bin |
508 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/sniffer |
509 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/sniffer.bin |
510 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle |
511 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle.bin |
512 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/sniffer |
513 |
- usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/sniffer.bin |
514 |
- usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle |
515 |
- usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle.bin |
516 |
- usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle |
517 |
- usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle.bin |
518 |
- usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle |
519 |
- usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle.bin |
520 |
- usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle |
521 |
- usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle.bin |
522 |
- " |
523 |
- |
524 |
-src_install() { |
525 |
- ruby-ng_src_install |
526 |
- #tell revdep-rebuild to ignore binaries meant for the target |
527 |
- dodir /etc/revdep-rebuild |
528 |
- cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die |
529 |
- #These dirs contain prebuilt binaries for running on the TARGET not the HOST |
530 |
- SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${P}/build" |
531 |
- EOF |
532 |
-} |