Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/metasploit/
Date: Mon, 28 Oct 2019 04:13:35
Message-Id: 1572235988.9edccb79be99fb590b1919fbdabec8f543d2ed9b.juippis@gentoo
1 commit: 9edccb79be99fb590b1919fbdabec8f543d2ed9b
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 28 04:13:08 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 28 04:13:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9edccb79
7
8 net-analyzer/metasploit: drop 'openvas' USE
9
10 Package-Manager: Portage-2.3.78, Repoman-2.3.17
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 net-analyzer/metasploit/metadata.xml | 1 -
14 net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild | 6 +-----
15 net-analyzer/metasploit/metasploit-9999.ebuild | 6 +-----
16 3 files changed, 2 insertions(+), 11 deletions(-)
17
18 diff --git a/net-analyzer/metasploit/metadata.xml b/net-analyzer/metasploit/metadata.xml
19 index e449553f4ec..1edaa58c665 100644
20 --- a/net-analyzer/metasploit/metadata.xml
21 +++ b/net-analyzer/metasploit/metadata.xml
22 @@ -9,7 +9,6 @@
23 <use>
24 <flag name="development">Install dependencies needed for metasploit and exploit development</flag>
25 <flag name="nexpose">Enable the plugin to integrate with nexpose</flag>
26 - <flag name="openvas">Enable the plugin to integrate <pkg>net-analyzer/openvas</pkg></flag>
27 <flag name="oracle">Enable restricted oracle modules which have additional deps</flag>
28 <flag name="pcap">Enable libpcap for packet sniffing</flag>
29 </use>
30
31 diff --git a/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild b/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
32 index 6a54bb42043..e24648b0588 100644
33 --- a/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
34 +++ b/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
35 @@ -27,7 +27,7 @@ fi
36 DESCRIPTION="Advanced framework for developing, testing, and using vulnerability exploit code"
37 HOMEPAGE="http://www.metasploit.org/"
38 LICENSE="BSD"
39 -IUSE="development +java nexpose openvas oracle +pcap test"
40 +IUSE="development +java nexpose oracle +pcap test"
41
42 #multiple known bugs with tests reported upstream and ignored
43 #http://dev.metasploit.com/redmine/issues/8418 - worked around (fix user creation when possible)
44 @@ -101,7 +101,6 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
45 dev-ruby/xmlrpc
46 java? ( dev-ruby/rjb )
47 nexpose? ( dev-ruby/nexpose )
48 - openvas? ( dev-ruby/openvas-omp )
49 oracle? ( dev-ruby/ruby-oci8 )
50 pcap? ( dev-ruby/pcaprub:*
51 dev-ruby/network_interface )
52 @@ -216,9 +215,6 @@ all_ruby_prepare() {
53 #if ! use nessus; then
54 sed -i -e "/nessus/d" metasploit-framework.gemspec || die
55 #fi
56 - if ! use openvas; then
57 - sed -i -e "/openvas-omp/d" metasploit-framework.gemspec || die
58 - fi
59 #even if we pass --without=blah bundler still calculates the deps and messes us up
60 if ! use development; then
61 sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
62
63 diff --git a/net-analyzer/metasploit/metasploit-9999.ebuild b/net-analyzer/metasploit/metasploit-9999.ebuild
64 index 407b7303e0f..08d45194b38 100644
65 --- a/net-analyzer/metasploit/metasploit-9999.ebuild
66 +++ b/net-analyzer/metasploit/metasploit-9999.ebuild
67 @@ -27,7 +27,7 @@ fi
68 DESCRIPTION="Advanced framework for developing, testing, and using vulnerability exploit code"
69 HOMEPAGE="http://www.metasploit.org/"
70 LICENSE="BSD"
71 -IUSE="development +java nexpose openvas oracle +pcap test"
72 +IUSE="development +java nexpose oracle +pcap test"
73
74 #multiple known bugs with tests reported upstream and ignored
75 #http://dev.metasploit.com/redmine/issues/8418 - worked around (fix user creation when possible)
76 @@ -100,7 +100,6 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
77 dev-ruby/xmlrpc
78 java? ( dev-ruby/rjb )
79 nexpose? ( dev-ruby/nexpose )
80 - openvas? ( dev-ruby/openvas-omp )
81 oracle? ( dev-ruby/ruby-oci8 )
82 pcap? ( dev-ruby/pcaprub:*
83 dev-ruby/network_interface )
84 @@ -215,9 +214,6 @@ all_ruby_prepare() {
85 #if ! use nessus; then
86 sed -i -e "/nessus/d" metasploit-framework.gemspec || die
87 #fi
88 - if ! use openvas; then
89 - sed -i -e "/openvas-omp/d" metasploit-framework.gemspec || die
90 - fi
91 #even if we pass --without=blah bundler still calculates the deps and messes us up
92 if ! use development; then
93 sed -i -e "/^group :development do/,/^end$/d" Gemfile || die