Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_payloads-mettle/
Date: Tue, 09 Apr 2019 05:53:57
Message-Id: 1554789183.87a88c19aa8131ec6939754d4c46b5afddf6bf77.graaff@gentoo
1 commit: 87a88c19aa8131ec6939754d4c46b5afddf6bf77
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 18:53:19 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 9 05:53:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a88c19
7
8 dev-ruby/metasploit_payloads-mettle: cleanup ruby23-only version
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ruby/metasploit_payloads-mettle/Manifest | 1 -
14 .../metasploit_payloads-mettle-0.1.9.ebuild | 49 ----------------------
15 2 files changed, 50 deletions(-)
16
17 diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest
18 index 834e882ff97..8b54f912597 100644
19 --- a/dev-ruby/metasploit_payloads-mettle/Manifest
20 +++ b/dev-ruby/metasploit_payloads-mettle/Manifest
21 @@ -1,2 +1 @@
22 -DIST metasploit_payloads-mettle-0.1.9.gem 8368640 BLAKE2B c42ac3a1651e75c0ca313b19bb40151cb78f27057096bde70cc96ed571745466da46dffdacb9b6f64c25377447626624427db74251e7a65302e76ccddb6b594c SHA512 75573a3156551a47a6a826166d0964a0e4addff4c0fde60fb44b2fa078357153ed4e64813d4639e64e92523cb946c8b2e2153e3fc10021733482b1a083be983a
23 DIST metasploit_payloads-mettle-0.4.2.gem 18293760 BLAKE2B 98de479bbc72fd2ac916efaa4ac64f1aaf0d7267926ee5b56bfc2ec2b91450039c0a4d9d4322174355b4b089e5f9951145d5cbf87759e2bfe4da78e5b8cceec4 SHA512 8a0f8c1ca75d7664d33392e6c0c5a3de56ddd0a5c0f97f96091041caee89e74a2f3a42277a1f0c3eb57ca68706b344f0235b8ebc92870c6b8a89fa7bc20de5f0
24
25 diff --git a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild
26 deleted file mode 100644
27 index bbe49b6aebf..00000000000
28 --- a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild
29 +++ /dev/null
30 @@ -1,49 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -USE_RUBY="ruby21 ruby22 ruby23"
37 -
38 -RUBY_FAKEGEM_TASK_DOC=""
39 -
40 -RUBY_FAKEGEM_EXTRAINSTALL="build"
41 -
42 -inherit ruby-fakegem
43 -
44 -DESCRIPTION="Compiled binaries for Metasploit's next-gen Meterpreter"
45 -HOMEPAGE="https://rubygems.org/gems/metasploit_payloads-mettle"
46 -
47 -LICENSE="BSD"
48 -
49 -SLOT="${PV}"
50 -KEYWORDS="~amd64 ~arm ~x86"
51 -IUSE=""
52 -
53 -#no tests
54 -RESTRICT="test strip"
55 -
56 -QA_PREBUILT="
57 - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle.bin
58 - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle.bin
59 - usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle.bin
60 - usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle.bin
61 - usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle.bin
62 - usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle.bin
63 - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle.bin
64 - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle.bin
65 - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle.bin
66 - usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle.bin
67 - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle
68 - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle.bin
69 - "
70 -
71 -src_install() {
72 - ruby-ng_src_install
73 - #tell revdep-rebuild to ignore binaries meant for the target
74 - dodir /etc/revdep-rebuild
75 - cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die
76 - #These dirs contain prebuilt binaries for running on the TARGET not the HOST
77 - SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${P}/build"
78 - EOF
79 -}