commit:     9edccb79be99fb590b1919fbdabec8f543d2ed9b
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 04:13:08 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 04:13:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9edccb79

net-analyzer/metasploit: drop 'openvas' USE

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-analyzer/metasploit/metadata.xml                 | 1 -
 net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild | 6 +-----
 net-analyzer/metasploit/metasploit-9999.ebuild       | 6 +-----
 3 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/net-analyzer/metasploit/metadata.xml 
b/net-analyzer/metasploit/metadata.xml
index e449553f4ec..1edaa58c665 100644
--- a/net-analyzer/metasploit/metadata.xml
+++ b/net-analyzer/metasploit/metadata.xml
@@ -9,7 +9,6 @@
        <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-4.17.21-r6.ebuild 
b/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
index 6a54bb42043..e24648b0588 100644
--- a/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
+++ b/net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
@@ -27,7 +27,7 @@ fi
 DESCRIPTION="Advanced framework for developing, testing, and using 
vulnerability exploit code"
 HOMEPAGE="http://www.metasploit.org/";
 LICENSE="BSD"
-IUSE="development +java nexpose openvas oracle +pcap test"
+IUSE="development +java nexpose 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)
@@ -101,7 +101,6 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
        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 )
@@ -216,9 +215,6 @@ all_ruby_prepare() {
        #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

diff --git a/net-analyzer/metasploit/metasploit-9999.ebuild 
b/net-analyzer/metasploit/metasploit-9999.ebuild
index 407b7303e0f..08d45194b38 100644
--- a/net-analyzer/metasploit/metasploit-9999.ebuild
+++ b/net-analyzer/metasploit/metasploit-9999.ebuild
@@ -27,7 +27,7 @@ fi
 DESCRIPTION="Advanced framework for developing, testing, and using 
vulnerability exploit code"
 HOMEPAGE="http://www.metasploit.org/";
 LICENSE="BSD"
-IUSE="development +java nexpose openvas oracle +pcap test"
+IUSE="development +java nexpose 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)
@@ -100,7 +100,6 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
        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 )
@@ -215,9 +214,6 @@ all_ruby_prepare() {
        #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

Reply via email to