summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-07-22 23:32:02 -0400
committerRick Farina <zerochaos@gentoo.org>2019-07-22 23:32:02 -0400
commitdbf6c0ffeaea1819b30e9b2e9dce34a4beb558cf (patch)
tree6d3ec20f1a8ab8b0943ac6bb792d68dec7129ca0 /net-analyzer
parentdev-libs/libebml: arm64 stable (bug #689692) (diff)
downloadgentoo-dbf6c0ffeaea1819b30e9b2e9dce34a4beb558cf.tar.gz
gentoo-dbf6c0ffeaea1819b30e9b2e9dce34a4beb558cf.tar.bz2
gentoo-dbf6c0ffeaea1819b30e9b2e9dce34a4beb558cf.zip
net-analyzer/metasploit: fix magic dep
somehow this fails without faraday despite not directly needing it. maybe it's the fault of activesupport but I'm not really sure. it's needed, now it's there. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/metasploit/metasploit-4.17.21-r5.ebuild (renamed from net-analyzer/metasploit/metasploit-4.17.21-r4.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-analyzer/metasploit/metasploit-4.17.21-r4.ebuild b/net-analyzer/metasploit/metasploit-4.17.21-r5.ebuild
index d749f104d93e..9f8d3a0601f9 100644
--- a/net-analyzer/metasploit/metasploit-4.17.21-r4.ebuild
+++ b/net-analyzer/metasploit/metasploit-4.17.21-r5.ebuild
@@ -45,6 +45,7 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
dev-ruby/bundler
dev-ruby/dnsruby
dev-ruby/faker
+ dev-ruby/faraday
dev-ruby/filesize:*
dev-ruby/jsobfu:*
dev-ruby/json:*
@@ -239,6 +240,10 @@ all_ruby_prepare() {
#https://bugs.gentoo.org/show_bug.cgi?id=584522 no tzinfo-data by choice in gentoo
sed -i '/tzinfo-data/d' metasploit-framework.gemspec
+ #fails without faraday in Gemfile.lock
+ #despite activesupport(?) needing it, it doesn't end up there :-(
+ sed -i "/'activesupport'/a \ \ spec.add_runtime_dependency 'faraday'" metasploit-framework.gemspec
+
#let's bogart msfupdate
rm msfupdate
echo "#!/bin/sh" > msfupdate