dev-ruby/metasploit-payloads: bump for metasploit
authorZero_Chaos <zerochaos@gentoo.org>
Tue, 9 May 2017 02:34:30 +0000 (22:34 -0400)
committerZero_Chaos <zerochaos@gentoo.org>
Tue, 9 May 2017 03:08:53 +0000 (23:08 -0400)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-ruby/metasploit-payloads/Manifest
dev-ruby/metasploit-payloads/metasploit-payloads-1.1.11.ebuild
dev-ruby/metasploit-payloads/metasploit-payloads-1.1.13.ebuild
dev-ruby/metasploit-payloads/metasploit-payloads-1.2.24.ebuild [new file with mode: 0644]

index cccffedabdf6988e217fd9db1c57dc2e1e32447d..1101ead5b7ca7fbd6bb91fc1c52a1b9b3fcbad74 100644 (file)
@@ -1,2 +1,3 @@
 DIST metasploit-payloads-1.1.11.gem 11979264 SHA256 d239ffe29f36bf15aa7c7b26a8632f0f246b20a0c221044eb3f1cf2180ceb4c0 SHA512 b04d59f119c85ad24e4e628eb29b5173019503c674a51421daf6a85d3642fde2ac098bbcf3c405eb25da8d93dcb9f30567ee9bd941d236efc5e385a28e21994d WHIRLPOOL 63b751602152c50625f4fbc097cc2dd07a81e8b187398238f36129466046a181bd854be6a1b977243cf30e2bc144778d4e494ac82ce963b966e7f8281f193814
 DIST metasploit-payloads-1.1.13.gem 11979776 SHA256 0b7e0d2f05a83c8defd371a2b8031f90fcbef086ad2eefcfd62344aa5d8a9626 SHA512 8f071354febdd3d44967dafd46f4e9eacd3e490065339af8051e5c84b2150a78560eb44eacf79f6e1ead01fb600962f0a0922e588d29f87fae9b9d1038f641a7 WHIRLPOOL 680b3e16cceac03808d8bb3f0c0a10a4bec64d61be5abc295aa381f9611deee39400c1ac22f8dc954233dd44801cf78421150a35d7ca02238dfee4aa02641741
+DIST metasploit-payloads-1.2.24.gem 13022720 SHA256 93f207da86d05322da68b7d2673059442ef385be07955449a617bfd40074fd04 SHA512 d27072c039b8cd6b438417d1c3fccc1c4559b82c07101ee90dfdb74c958861e57113e73a2351ac2a73ab36fe2b3157319910d8743363cdbcdedc5117636fd982 WHIRLPOOL 728c3cf44d6b0bea6dad4fbb013d7464b2ce9b6db1440eeb2c70c244c2f74cf15eef4815c6ea9c17d38f2b4d339ded06a77df60603d312247e984cddcc1ca02e
index 77d71d22a21f6bd811fcf496a77fbb8a11ee9fb3..e4d06b94ad0633b0e3d1c29ff789e8d155d2cde6 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22"
 
 RUBY_FAKEGEM_TASK_DOC=""
 
index 77d71d22a21f6bd811fcf496a77fbb8a11ee9fb3..e4d06b94ad0633b0e3d1c29ff789e8d155d2cde6 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby21 ruby22"
 
 RUBY_FAKEGEM_TASK_DOC=""
 
diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.2.24.ebuild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.2.24.ebuild
new file mode 100644 (file)
index 0000000..a918c8a
--- /dev/null
@@ -0,0 +1,44 @@
+# 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="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
+}