From fb4fd18c9f87a6fa3c2939071fc2e977a7ea8b8a Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 29 Jan 2018 19:58:18 +0100 Subject: [PATCH] dev-ruby/metasploit_payloads-mettle: cleanup Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- dev-ruby/metasploit_payloads-mettle/Manifest | 1 - .../metasploit_payloads-mettle-0.0.6.ebuild | 47 ------------------- 2 files changed, 48 deletions(-) delete mode 100644 dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.0.6.ebuild diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest index 23f3b2fc8e345..681f122e6cfc6 100644 --- a/dev-ruby/metasploit_payloads-mettle/Manifest +++ b/dev-ruby/metasploit_payloads-mettle/Manifest @@ -1,2 +1 @@ -DIST metasploit_payloads-mettle-0.0.6.gem 3259904 BLAKE2B 54d0704c5a1f7364e58b096e43269627b73e8949ab49f2abc26ff3b374e8ef5a670c43e20e532679ebc0a71efefc450680f218ce3250a5a5d1fd70d76be33b76 SHA512 c95c4774f1295e6e5953fdf2738560a2f5c3380d9a0de72dd435d475e05948cb36ca6596406c0ad7e12f7e1e7db831d6651c579458b99a252a678197874f7c34 DIST metasploit_payloads-mettle-0.1.9.gem 8368640 BLAKE2B c42ac3a1651e75c0ca313b19bb40151cb78f27057096bde70cc96ed571745466da46dffdacb9b6f64c25377447626624427db74251e7a65302e76ccddb6b594c SHA512 75573a3156551a47a6a826166d0964a0e4addff4c0fde60fb44b2fa078357153ed4e64813d4639e64e92523cb946c8b2e2153e3fc10021733482b1a083be983a 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 deleted file mode 100644 index 52ff9ae18e57e..0000000000000 --- a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.0.6.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby21 ruby22" - -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRAINSTALL="build" - -inherit ruby-fakegem - -DESCRIPTION="Compiled binaries for Metasploit's next-gen Meterpreter" -HOMEPAGE="https://rubygems.org/gems/metasploit_payloads-mettle" - -LICENSE="BSD" - -SLOT="${PV}" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -#no tests -RESTRICT="test strip" - -QA_PREBUILT=" - usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle - " - -src_install() { - ruby-ng_src_install - #tell revdep-rebuild to ignore binaries meant for the target - dodir /etc/revdep-rebuild - cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die - #These dirs contain prebuilt binaries for running on the TARGET not the HOST - SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${P}/build" - EOF -}