summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/metasploit-payloads')
-rw-r--r--dev-ruby/metasploit-payloads/Manifest1
-rw-r--r--dev-ruby/metasploit-payloads/metasploit-payloads-1.0.21.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/metasploit-payloads/Manifest b/dev-ruby/metasploit-payloads/Manifest
index 3f4e6fee8350..5216b758352c 100644
--- a/dev-ruby/metasploit-payloads/Manifest
+++ b/dev-ruby/metasploit-payloads/Manifest
@@ -1,3 +1,4 @@
DIST metasploit-payloads-1.0.15.gem 5249536 SHA256 8d186c3bcf8a4537b9a96301e8cc0d847335d3cfa87ca5b2e88a6b2980eab240 SHA512 58afa5c4bc191a05e3ec009d94d40f2d9fc5a025962088845db14aefc410340fdc7b1e30f17c75936495a43fc99576d188960bc5755dbec434d7428fbbdd495a WHIRLPOOL d136642c1de9b18e652c421ad3b9fd859b8d8850dd539d66d4c8b410e09064d7872bc06c505b01d5389d1e2ebe22ed6b3c88aa3a0f08a1578f204201c24b3438
DIST metasploit-payloads-1.0.19.gem 11816448 SHA256 ba5d9fa68f0efe13c52b20e2ce267099e788a446be2b275438910d666afc8633 SHA512 7551501619eb24ac38c7e8ecb4f037026ca360621f52d98703c3953cbfcd78192b6183c5c2cb3ae4b3a13484354b8652b9976ea2d9274278f9be23ac4f0aebd2 WHIRLPOOL 554fd259db13df063a884fce342275eb21b4d2843526e15de07e9466158606602fa83e3a9169ec06118f4b6a22013ebf522605708c48dcdf96648653bfbe0794
+DIST metasploit-payloads-1.0.21.gem 11830784 SHA256 0489f9abe13d367098061639dfc2585d975d8373a9f2be78bbaef0b363f24b2c SHA512 2d505e9d60a2080d2ceaf46c13369d45d4b746008629d132096e4c0a427d2d4acd99f50fc4b1f22e51b3f146de961fd570678f4356199e4bf3669f2e1d36686c WHIRLPOOL 2aa30fd80bfe7be6213438635c736591ad6e0f030a020226e8d49e4773028c158aa88aa2e1a8660851285d8ad1e1e8b7c39dab709ff4384373cf670f6ac948fe
DIST metasploit-payloads-1.0.22.gem 11831296 SHA256 812ee8df875940be9b3740fb87e6af0c0a1b545aba9c11334ad913cda275ddfb SHA512 d15eeec398d17332b4123a1028ba072f735a655d8e071df783c8bddc665df017920c49466036abb9d78c49373507a3fbca9df8fdd3c950894a9c2b43b07f8e14 WHIRLPOOL 31adb5ea479782bf9028b45f9d74a51778a940318f17cc39cdaab8588a8249f88d5a0892b083252ae615ab22a037b8a67b5a4f3848529e2a7c75e61b6f42dd05
diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.21.ebuild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.21.ebuild
new file mode 100644
index 000000000000..cdc773d5c325
--- /dev/null
+++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.21.ebuild
@@ -0,0 +1,45 @@
+# 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="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Compiled binaries for Metasploit's Meterpreter"
+HOMEPAGE="https://rubygems.org/gems/metasploit-payloads"
+
+LICENSE="BSD"
+
+SLOT="${PV}"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+#no tests
+RESTRICT="test strip"
+
+QA_PREBUILT="
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so
+ usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x86/libndkstager.so
+ "
+
+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/${PN}-${SLOT}/data/android/libs"
+ EOF
+}