From 87a88c19aa8131ec6939754d4c46b5afddf6bf77 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 16 Jan 2019 19:53:19 +0100 Subject: [PATCH] dev-ruby/metasploit_payloads-mettle: cleanup ruby23-only version Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-ruby/metasploit_payloads-mettle/Manifest | 1 - .../metasploit_payloads-mettle-0.1.9.ebuild | 49 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest index 834e882ff976..8b54f9125978 100644 --- a/dev-ruby/metasploit_payloads-mettle/Manifest +++ b/dev-ruby/metasploit_payloads-mettle/Manifest @@ -1,2 +1 @@ -DIST metasploit_payloads-mettle-0.1.9.gem 8368640 BLAKE2B c42ac3a1651e75c0ca313b19bb40151cb78f27057096bde70cc96ed571745466da46dffdacb9b6f64c25377447626624427db74251e7a65302e76ccddb6b594c SHA512 75573a3156551a47a6a826166d0964a0e4addff4c0fde60fb44b2fa078357153ed4e64813d4639e64e92523cb946c8b2e2153e3fc10021733482b1a083be983a DIST metasploit_payloads-mettle-0.4.2.gem 18293760 BLAKE2B 98de479bbc72fd2ac916efaa4ac64f1aaf0d7267926ee5b56bfc2ec2b91450039c0a4d9d4322174355b4b089e5f9951145d5cbf87759e2bfe4da78e5b8cceec4 SHA512 8a0f8c1ca75d7664d33392e6c0c5a3de56ddd0a5c0f97f96091041caee89e74a2f3a42277a1f0c3eb57ca68706b344f0235b8ebc92870c6b8a89fa7bc20de5f0 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 deleted file mode 100644 index bbe49b6aebf2..000000000000 --- a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby21 ruby22 ruby23" - -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.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle.bin - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle - usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle.bin - " - -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 -} -- 2.26.2