From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B40D413832E for ; Sat, 30 Jul 2016 04:07:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9D1F21C07E; Sat, 30 Jul 2016 04:07:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B13C21C074 for ; Sat, 30 Jul 2016 04:07:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9967F340D30 for ; Sat, 30 Jul 2016 04:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF0612445 for ; Sat, 30 Jul 2016 04:07:01 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1469851612.6305fc85cdd3d0998758528dbd864a29c0b00f00.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_payloads-mettle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/metasploit_payloads-mettle/Manifest dev-ruby/metasploit_payloads-mettle/metadata.xml dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.0.6.ebuild X-VCS-Directories: dev-ruby/metasploit_payloads-mettle/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 6305fc85cdd3d0998758528dbd864a29c0b00f00 X-VCS-Branch: master Date: Sat, 30 Jul 2016 04:07:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5484f683-f83d-46a8-a50b-18ee7db5aa4d X-Archives-Hash: 80bc56923927a84a14ccd8c6d48fd793 commit: 6305fc85cdd3d0998758528dbd864a29c0b00f00 Author: Zero_Chaos gentoo org> AuthorDate: Sat Jul 30 04:03:49 2016 +0000 Commit: Richard Farina gentoo org> CommitDate: Sat Jul 30 04:06:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6305fc85 dev-ruby/metasploit_payloads-mettle: initial ebuild, metasploit dep, absolutely doesn't make msfconsole happy Package-Manager: portage-2.3.0 dev-ruby/metasploit_payloads-mettle/Manifest | 1 + dev-ruby/metasploit_payloads-mettle/metadata.xml | 14 +++++++ .../metasploit_payloads-mettle-0.0.6.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest new file mode 100644 index 0000000..1cb185b --- /dev/null +++ b/dev-ruby/metasploit_payloads-mettle/Manifest @@ -0,0 +1 @@ +DIST metasploit_payloads-mettle-0.0.6.gem 3259904 SHA256 b9b0a5062dc27345e23fc62f26047533d153b322b1d19b5dbae60c7deb08fc23 SHA512 c95c4774f1295e6e5953fdf2738560a2f5c3380d9a0de72dd435d475e05948cb36ca6596406c0ad7e12f7e1e7db831d6651c579458b99a252a678197874f7c34 WHIRLPOOL 7261a3efa2f5d42011a1a1c697e70d31e462c4d65316bb81b88990407ed36b36af2f8298bbbd38157bfc7301d58e5b69ea3abaee9735cab3a392cb0f7617ef92 diff --git a/dev-ruby/metasploit_payloads-mettle/metadata.xml b/dev-ruby/metasploit_payloads-mettle/metadata.xml new file mode 100644 index 0000000..4bb41cf --- /dev/null +++ b/dev-ruby/metasploit_payloads-mettle/metadata.xml @@ -0,0 +1,14 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + + + rapid7/mettle + metasploit_payloads-mettle + + 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 new file mode 100644 index 0000000..d99fb51 --- /dev/null +++ b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.0.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 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 +}