commit:     7a6a74ba3c8b309f4b3e9eb60196768f0edfef3f
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 01:22:12 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed May 10 14:58:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6a74ba

dev-ruby/metasploit-payloads: bump

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-ruby/metasploit-payloads/Manifest              |  1 +
 .../metasploit-payloads-1.2.28.ebuild              | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-ruby/metasploit-payloads/Manifest 
b/dev-ruby/metasploit-payloads/Manifest
index 1101ead5b7c..6ef23e1b6bd 100644
--- a/dev-ruby/metasploit-payloads/Manifest
+++ b/dev-ruby/metasploit-payloads/Manifest
@@ -1,3 +1,4 @@
 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
+DIST metasploit-payloads-1.2.28.gem 11547648 SHA256 
df0420545144a485c89e341ba38b8a5b24100653de406025e0ec47b4d4f326e5 SHA512 
73a392df7f2eb082099da2017357d6a3231ee6266781d94be37067cf86c9b8e21d91b5cfdb1f810728a42dc748a9c4729d5f97926a88547af8d658e105a5dcb5
 WHIRLPOOL 
4fffb8e472a9780cc1a530f965c38e806c33040e3f3231ba1b3833fb930c914a4a996ae9fadc63131892406d3c6762fa880c14053e40c38664e781d3d6d765ff

diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.2.28.ebuild 
b/dev-ruby/metasploit-payloads/metasploit-payloads-1.2.28.ebuild
new file mode 100644
index 00000000000..a918c8a6c41
--- /dev/null
+++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.2.28.ebuild
@@ -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
+}

Reply via email to