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