diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2015-09-04 17:02:30 -0400 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2015-09-04 17:02:50 -0400 |
commit | 02bd428e62ca2cba9e41b923386b564283caa763 (patch) | |
tree | 32b4db545f0dc73d144a950f2a1383ec01375faf /dev-ruby/metasploit-payloads | |
parent | net-misc/dhcpcd: version bump (diff) | |
download | gentoo-02bd428e62ca2cba9e41b923386b564283caa763.tar.gz gentoo-02bd428e62ca2cba9e41b923386b564283caa763.tar.bz2 gentoo-02bd428e62ca2cba9e41b923386b564283caa763.zip |
net-analyzer/metasploit: add a modern version of metasploit (and a ton of deps for it)
Diffstat (limited to 'dev-ruby/metasploit-payloads')
-rw-r--r-- | dev-ruby/metasploit-payloads/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/metasploit-payloads/metadata.xml | 13 | ||||
-rw-r--r-- | dev-ruby/metasploit-payloads/metasploit-payloads-1.0.9.ebuild | 45 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-ruby/metasploit-payloads/Manifest b/dev-ruby/metasploit-payloads/Manifest new file mode 100644 index 000000000000..f16e5c662caa --- /dev/null +++ b/dev-ruby/metasploit-payloads/Manifest @@ -0,0 +1 @@ +DIST metasploit-payloads-1.0.9.gem 5248000 SHA256 bd9eec335158dd25e579c680856f8c48aa9ba081a5d51d87a05dbb1e511087a3 SHA512 4c08284d4b1d667f545d97e879b2581830f34d42560ba6d6ed7adf32312adc841d5fdd8b55ab4e06a196d1e313fb44fbb861ccac7790e50f88260e2def0a76ed WHIRLPOOL a398dcad94b38626d4bd3d9980d05a24ccdbc12bbd2e902dd4f78c9bcd2cf4a26c76645d989a00aec69d041d9203c5ff31e0b0f948028ac6cd06ae724d573950 diff --git a/dev-ruby/metasploit-payloads/metadata.xml b/dev-ruby/metasploit-payloads/metadata.xml new file mode 100644 index 000000000000..a0583bde7f26 --- /dev/null +++ b/dev-ruby/metasploit-payloads/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> +<longdescription lang="en"> +</longdescription> + <upstream> + <remote-id type="github">rapid7/metasploit-payloads</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.9.ebuild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.9.ebuild new file mode 100644 index 000000000000..5780ee6249f9 --- /dev/null +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.0.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.10.ebuild,v 1.1 2014/10/19 23:24:24 zerochaos Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +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 + +QA_PREBUILT=" + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so + usr/$(get_libdir)/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so + usr/$(get_libdir)/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} + #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 +} |