From: "Richard Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/
Date: Wed, 10 May 2017 14:59:29 +0000 (UTC) [thread overview]
Message-ID: <1494428363.949c19e18b82c47f5fa91acbc5214d2a7e1c5049.zerochaos@gentoo> (raw)
commit: 949c19e18b82c47f5fa91acbc5214d2a7e1c5049
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 14:55:02 2017 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed May 10 14:59:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949c19e1
net-analyzer/metasploit: well, it installs now, doesn't run, but it installs
Package-Manager: Portage-2.3.5, Repoman-2.3.2
net-analyzer/metasploit/metadata.xml | 2 ++
net-analyzer/metasploit/metasploit-9999.ebuild | 31 +++++++++++++++++++++-----
2 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/net-analyzer/metasploit/metadata.xml b/net-analyzer/metasploit/metadata.xml
index c10c4c21830..e449553f4ec 100644
--- a/net-analyzer/metasploit/metadata.xml
+++ b/net-analyzer/metasploit/metadata.xml
@@ -8,6 +8,8 @@
</maintainer>
<use>
<flag name="development">Install dependencies needed for metasploit and exploit development</flag>
+ <flag name="nexpose">Enable the plugin to integrate with nexpose</flag>
+ <flag name="openvas">Enable the plugin to integrate <pkg>net-analyzer/openvas</pkg></flag>
<flag name="oracle">Enable restricted oracle modules which have additional deps</flag>
<flag name="pcap">Enable libpcap for packet sniffing</flag>
</use>
diff --git a/net-analyzer/metasploit/metasploit-9999.ebuild b/net-analyzer/metasploit/metasploit-9999.ebuild
index 0ebcb289020..a5e46c9add2 100644
--- a/net-analyzer/metasploit/metasploit-9999.ebuild
+++ b/net-analyzer/metasploit/metasploit-9999.ebuild
@@ -29,7 +29,7 @@ fi
DESCRIPTION="Advanced framework for developing, testing, and using vulnerability exploit code"
HOMEPAGE="http://www.metasploit.org/"
LICENSE="BSD"
-IUSE="development +java oracle +pcap test"
+IUSE="development +java nexpose openvas oracle +pcap test"
#multiple known bugs with tests reported upstream and ignored
#http://dev.metasploit.com/redmine/issues/8418 - worked around (fix user creation when possible)
@@ -50,7 +50,7 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
dev-ruby/metasm:1.0.2
>=dev-ruby/metasploit_data_models-2.0.0
dev-ruby/meterpreter_bins:0.0.22
- dev-ruby/metasploit-payloads:1.2.24
+ dev-ruby/metasploit-payloads:1.2.28
dev-ruby/metasploit_payloads-mettle:0.1.9
>=dev-ruby/metasploit-credential-2.0.0
>=dev-ruby/metasploit-concern-2.0.0
@@ -64,12 +64,21 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
>=dev-ruby/recog-2.0.14
dev-ruby/redcarpet
>=dev-ruby/rkelly-remix-0.0.6
- dev-ruby/rex-arch
+ =dev-ruby/rex-arch-0.1.4
+ dev-ruby/rex-bin_tools
+ dev-ruby/rex-core
+ dev-ruby/rex-encoder
+ dev-ruby/rex-exploitation
dev-ruby/rex-java
+ dev-ruby/rex-mime
+ dev-ruby/rex-nop
dev-ruby/rex-ole
dev-ruby/rex-powershell
dev-ruby/rex-random_identifier
dev-ruby/rex-registry
+ dev-ruby/rex-socket
+ dev-ruby/rex-sslscan
+ dev-ruby/rex-rop_builder
dev-ruby/rex-struct2
dev-ruby/rex-text
dev-ruby/rex-zip
@@ -78,13 +87,15 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
>=dev-ruby/pg-0.11
dev-ruby/packetfu:1.1.13
>=dev-ruby/rubyzip-1.1
- dev-ruby/rb-readline-r7
+ >=dev-ruby/rb-readline-0.5.4
dev-ruby/robots
dev-ruby/sshkey
dev-ruby/tzinfo:*
dev-ruby/windows_error
dev-ruby/xmlrpc
java? ( dev-ruby/rjb )
+ nexpose? ( dev-ruby/nexpose )
+ openvas? ( dev-ruby/openvas-omp )
oracle? ( dev-ruby/ruby-oci8 )
pcap? ( dev-ruby/pcaprub:*
dev-ruby/network_interface )
@@ -176,10 +187,20 @@ all_ruby_prepare() {
sed -i "/gem 'fivemat'/s/, '1.2.1'//" Gemfile || die
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
sed -i -e "/^group :pcap do/,/^end$/d" Gemfile || die
fi
+ if ! use nexpose; then
+ sed -i -e "/nexpose/d" metasploit-framework.gemspec || die
+ fi
+ #no support for nessus right now
+ #if ! use nessus; then
+ sed -i -e "/nessus/d" metasploit-framework.gemspec || die
+ #fi
+ if ! use openvas; then
+ sed -i -e "/openvas-omp/d" metasploit-framework.gemspec || die
+ fi
+ #even if we pass --without=blah bundler still calculates the deps and messes us up
if ! use development; then
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
fi
next reply other threads:[~2017-05-10 14:59 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-10 14:59 Richard Farina [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-12-13 15:11 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/ Ulrich Müller
2019-10-29 17:29 Joonas Niilola
2019-10-28 4:13 Joonas Niilola
2019-10-15 17:20 Rick Farina
2019-08-02 7:20 Mikle Kolyada
2019-07-23 3:32 Rick Farina
2019-04-09 5:53 Hans de Graaff
2019-01-16 19:23 Hans de Graaff
2018-12-20 2:16 Rick Farina
2018-12-18 21:40 Rick Farina
2018-12-07 17:17 Rick Farina
2018-12-07 15:40 Rick Farina
2018-11-21 18:21 Rick Farina
2018-07-01 6:12 Hans de Graaff
2018-06-30 9:56 Hans de Graaff
2017-05-11 20:59 Richard Farina
2017-05-09 16:31 Richard Farina
2017-05-09 3:09 Richard Farina
2017-05-09 3:09 Richard Farina
2016-07-30 18:40 Richard Farina
2016-07-30 4:07 Richard Farina
2016-07-29 20:39 Richard Farina
2016-06-13 14:41 Richard Farina
2016-06-13 4:37 Richard Farina
2016-06-13 4:37 Richard Farina
2016-01-26 21:51 Richard Farina
2016-01-26 21:20 Richard Farina
2016-01-26 20:01 Richard Farina
2016-01-26 20:01 Richard Farina
2016-01-26 19:47 Richard Farina
2015-12-09 22:06 Richard Farina
2015-11-30 16:47 Richard Farina
2015-11-30 16:47 Richard Farina
2015-11-30 16:47 Richard Farina
2015-11-07 1:18 Richard Farina
2015-11-06 19:00 Richard Farina
2015-10-24 13:20 Richard Farina
2015-10-21 14:44 Richard Farina
2015-10-21 14:44 Richard Farina
2015-10-21 14:44 Richard Farina
2015-10-09 1:26 Richard Farina
2015-10-08 21:04 Richard Farina
2015-10-08 19:27 Richard Farina
2015-09-11 20:22 Richard Farina
2015-09-06 20:39 Richard Farina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494428363.949c19e18b82c47f5fa91acbc5214d2a7e1c5049.zerochaos@gentoo \
--to=zerochaos@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox