summaryrefslogtreecommitdiff
path: root/dev-ruby/metasploit_payloads-mettle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/metasploit_payloads-mettle
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/metasploit_payloads-mettle')
-rw-r--r--dev-ruby/metasploit_payloads-mettle/Manifest6
-rw-r--r--dev-ruby/metasploit_payloads-mettle/metadata.xml12
-rw-r--r--dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.0.6.ebuild47
-rw-r--r--dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild49
4 files changed, 114 insertions, 0 deletions
diff --git a/dev-ruby/metasploit_payloads-mettle/Manifest b/dev-ruby/metasploit_payloads-mettle/Manifest
new file mode 100644
index 000000000000..074a63e13810
--- /dev/null
+++ b/dev-ruby/metasploit_payloads-mettle/Manifest
@@ -0,0 +1,6 @@
+DIST metasploit_payloads-mettle-0.0.6.gem 3259904 SHA256 b9b0a5062dc27345e23fc62f26047533d153b322b1d19b5dbae60c7deb08fc23 SHA512 c95c4774f1295e6e5953fdf2738560a2f5c3380d9a0de72dd435d475e05948cb36ca6596406c0ad7e12f7e1e7db831d6651c579458b99a252a678197874f7c34 WHIRLPOOL 7261a3efa2f5d42011a1a1c697e70d31e462c4d65316bb81b88990407ed36b36af2f8298bbbd38157bfc7301d58e5b69ea3abaee9735cab3a392cb0f7617ef92
+DIST metasploit_payloads-mettle-0.1.9.gem 8368640 SHA256 a16117e77db77b5750ad8166432cf926c9aa1b7f05de66dae8b813683f961115 SHA512 75573a3156551a47a6a826166d0964a0e4addff4c0fde60fb44b2fa078357153ed4e64813d4639e64e92523cb946c8b2e2153e3fc10021733482b1a083be983a WHIRLPOOL 8c80cd7a6c894fbad636804ef11f04ab73ff2e7a1c6221be1856e55ae5a63a5962e000e1ce3beedf8c8948881f9dc95028783212df41bbeb95426c13a0ec8054
+EBUILD metasploit_payloads-mettle-0.0.6.ebuild 1501 SHA256 ba741f0cd30ec89852ab6a4e14e5340d081fcc9d29dca6944493f744bad9ddba SHA512 ddcbf78360ec4e614986457cf81ddab974764d8b2c374bcf741582ba8dabe14ab8b19a637c4f21a89dc69169117c36637973c9b2fd04b85fb02167fda29e4c4d WHIRLPOOL 7d7d5e6a7574bd3fdbca1f3b769ef07b2aef7c5a2c7879b7910225f3a4adf42b3550821bdea681a6e2875c6fc0daebca3ba365881cbeaa727814ed88f1d1634e
+EBUILD metasploit_payloads-mettle-0.1.9.ebuild 1684 SHA256 5fecb6cc9b2728cb7e0695aaf9a6221a0ea2ab57b486d016556220ed7080c97e SHA512 8728c3103983bc6f561a5555ccfa0b9ecf666e2951f73ecd35d9eef830fc092b7cf122b0ce14b989dd0f2192936285bca57f1f13cd8ad9096e18c7cb56d66a97 WHIRLPOOL 3edd895e0d856a2a0f0619c35ff79ce443183814b1121a3e6bdffe975288a4af13c4be12791c783644f0a50542a9448a93f9a52ebf5da1e82b36b3a43ee7382c
+MISC ChangeLog 422 SHA256 43bba6e53af6b331865db9a6cd93340eec8614c65b123148ab11bb2953b7aa13 SHA512 7080c04d90ed807aac9c77016ed4e68b5a529213ef24b9668e1f2a3818032c87dd2695c5cedfe4353fa813a7155fddc51e3e56be9d078644866e4319d3a800bd WHIRLPOOL e50e86d4027d6dd37766ad14038f8c9462777b9d98cc129b605cb8f061fa0b2a4a1f80865987ba34cf73af1fc3b56ecda0797772803bd1815d0b3fdd08d9773c
+MISC metadata.xml 405 SHA256 5de9f380758b30af325abf71a8f18f8baad8c851af54d9abf539fed7b235b808 SHA512 fefa2f08d4ee78ae1d3d057588d8c015c6133c3231f0dc3ea0be3ec080114fc9227684a6e268a2ceabe88f6bc0360088b6aecff54346ac5f5f5d45e13504c2c0 WHIRLPOOL b974a7c79c7491ac95846a1be7f525a10beb659a67e7de7708bbfad68f32d3cff3e2bc1fbcea9958aef173aea1ba8c5df204dc226499a0f38299d0f48ca0e2fd
diff --git a/dev-ruby/metasploit_payloads-mettle/metadata.xml b/dev-ruby/metasploit_payloads-mettle/metadata.xml
new file mode 100644
index 000000000000..af9237fca3f1
--- /dev/null
+++ b/dev-ruby/metasploit_payloads-mettle/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rapid7/mettle</remote-id>
+ <remote-id type="rubygems">metasploit_payloads-mettle</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..52ff9ae18e57
--- /dev/null
+++ b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.0.6.ebuild
@@ -0,0 +1,47 @@
+# 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
+}
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
new file mode 100644
index 000000000000..bbe49b6aebf2
--- /dev/null
+++ b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.1.9.ebuild
@@ -0,0 +1,49 @@
+# 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
+}