summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-05-09 12:30:13 -0400
committerZero_Chaos <zerochaos@gentoo.org>2017-05-09 12:31:43 -0400
commit4e9948dc600301053bd1c092da2f858e44fb7d81 (patch)
tree53ef642e0eeb6d07a4900a7553ac0115c63db112 /net-analyzer/metasploit
parentdev-ruby/ruby_smb: is there ever an end to metasploit deps? (diff)
downloadgentoo-4e9948dc600301053bd1c092da2f858e44fb7d81.tar.gz
gentoo-4e9948dc600301053bd1c092da2f858e44fb7d81.tar.bz2
gentoo-4e9948dc600301053bd1c092da2f858e44fb7d81.zip
net-analyzer/metasploit: if I were paid for my work on metasploit I could retire
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/metasploit')
-rw-r--r--net-analyzer/metasploit/metasploit-9999.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/net-analyzer/metasploit/metasploit-9999.ebuild b/net-analyzer/metasploit/metasploit-9999.ebuild
index 79fa2dc046e6..0ebcb2890209 100644
--- a/net-analyzer/metasploit/metasploit-9999.ebuild
+++ b/net-analyzer/metasploit/metasploit-9999.ebuild
@@ -73,6 +73,7 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
dev-ruby/rex-struct2
dev-ruby/rex-text
dev-ruby/rex-zip
+ dev-ruby/ruby_smb
dev-ruby/sqlite3
>=dev-ruby/pg-0.11
dev-ruby/packetfu:1.1.13
@@ -82,6 +83,7 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
dev-ruby/sshkey
dev-ruby/tzinfo:*
dev-ruby/windows_error
+ dev-ruby/xmlrpc
java? ( dev-ruby/rjb )
oracle? ( dev-ruby/ruby-oci8 )
pcap? ( dev-ruby/pcaprub:*
@@ -171,15 +173,8 @@ all_ruby_prepare() {
#we regen this file in each_ruby_prepare
rm Gemfile.lock
#The Gemfile contains real known deps
- #add our dep on upstream rb-readline instead of bundled one
- #and then they broke it...
- #sed -i "/gem 'packetfu'/a #use upstream readline instead of bundled\ngem 'rb-readline'" Gemfile || die
sed -i "/gem 'fivemat'/s/, '1.2.1'//" Gemfile || die
- #remove the bundled readline
- #https://github.com/rapid7/metasploit-framework/pull/3105
- #this PR was closed due to numerous changes to their local fork, almost entirely for non-linux
- #but now we have to go back to bundled readline because otherwise it's broken
- #rm lib/rbreadline.rb
+ sed -i "s/1.1.13.pre/1.1.13/" metasploit-framework.gemspec || die
#now we edit the Gemfile based on use flags
#even if we pass --without=blah bundler still calculates the deps and messes us up
if ! use pcap; then