Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 685220
Collapse All | Expand All

(-)/usr/portage/net-analyzer/metasploit/metasploit-4.17.21-r4.ebuild (+5 lines)
Lines 45-50 Link Here
45
	dev-ruby/bundler
45
	dev-ruby/bundler
46
	dev-ruby/dnsruby
46
	dev-ruby/dnsruby
47
	dev-ruby/faker
47
	dev-ruby/faker
48
	dev-ruby/faraday
48
	dev-ruby/filesize:*
49
	dev-ruby/filesize:*
49
	dev-ruby/jsobfu:*
50
	dev-ruby/jsobfu:*
50
	dev-ruby/json:*
51
	dev-ruby/json:*
Lines 218-223 Link Here
218
	if ! use openvas; then
219
	if ! use openvas; then
219
		sed -i -e "/openvas-omp/d" metasploit-framework.gemspec || die
220
		sed -i -e "/openvas-omp/d" metasploit-framework.gemspec || die
220
	fi
221
	fi
222
223
	#Adding this line prevents msfconsole faraday error!
224
	sed -i -e "/spec.add_runtime_dependency 'backports'/ a \ \ spec.add_runtime_dependency 'faraday'" metasploit-framework.gemspec || die
225
221
	#even if we pass --without=blah bundler still calculates the deps and messes us up
226
	#even if we pass --without=blah bundler still calculates the deps and messes us up
222
	if ! use development; then
227
	if ! use development; then
223
		sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
228
		sed -i -e "/^group :development do/,/^end$/d" Gemfile || die

Return to bug 685220