net-analyzer/metasploit: Assign RESTRICT only once.
authorUlrich Müller <ulm@gentoo.org>
Fri, 13 Dec 2019 15:11:01 +0000 (16:11 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 13 Dec 2019 15:11:19 +0000 (16:11 +0100)
Closes: https://bugs.gentoo.org/699202
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
net-analyzer/metasploit/metasploit-4.17.21-r6.ebuild
net-analyzer/metasploit/metasploit-9999.ebuild

index 7b2bcb7d0de24e311c2f9a62f8912a4d002cf850..f06d33d3ee270b4caed9ccd50def23b537db8c33 100644 (file)
@@ -31,7 +31,7 @@ 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)
-RESTRICT="test"
+RESTRICT="strip test"
 
 #grep spec.add_runtime_dependency metasploit-framework.gemspec | sort
 RUBY_COMMON_DEPEND="virtual/ruby-ssl
@@ -128,8 +128,6 @@ COMMON_DEPEND="dev-db/postgresql[server]
 RDEPEND+=" ${COMMON_DEPEND}
        >=app-eselect/eselect-metasploit-0.16"
 
-RESTRICT+=" strip"
-
 QA_PREBUILT="
        usr/lib*/${PN}${SLOT}/data/templates/template_x86_linux.bin
        usr/lib*/${PN}${SLOT}/data/templates/template_armle_linux.bin
index 6a64282832d58ff9d8e1fd77c402f463570a2b80..54db9b0d61c9b5f607db8e33bcef5dcfcd625d8f 100644 (file)
@@ -31,7 +31,7 @@ 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)
-RESTRICT="test"
+RESTRICT="strip test"
 
 #grep spec.add_runtime_dependency metasploit-framework.gemspec | sort
 RUBY_COMMON_DEPEND="virtual/ruby-ssl
@@ -127,8 +127,6 @@ COMMON_DEPEND="dev-db/postgresql[server]
 RDEPEND+=" ${COMMON_DEPEND}
        >=app-eselect/eselect-metasploit-0.16"
 
-RESTRICT+=" strip"
-
 QA_PREBUILT="
        usr/lib*/${PN}${SLOT}/data/templates/template_x86_linux.bin
        usr/lib*/${PN}${SLOT}/data/templates/template_armle_linux.bin