mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ruby/metasploit_payloads-mettle: cleanup ruby23-only version
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user