mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
wpscan: revert back activesupport, https://github.com/wpscanteam/wpscan/issues/1266
This commit is contained in:
parent
df4ddb5769
commit
d5ba7cd83c
2 changed files with 17 additions and 11 deletions
|
|
@ -17,6 +17,8 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/activesupport:*
|
||||
>=dev-ruby/addressable-2.5.0
|
||||
>=dev-ruby/nokogiri-1.10.0
|
||||
>=dev-ruby/opt_parse_validator-0.0.16.6
|
||||
>=dev-ruby/public_suffix-3.0.0
|
||||
|
|
@ -25,7 +27,7 @@ ruby_add_rdepend "
|
|||
=dev-ruby/xmlrpc-0.3*
|
||||
>=dev-ruby/yajl-ruby-1.4.1"
|
||||
|
||||
#each_ruby_prepare() {
|
||||
# #relax 5.1 to any
|
||||
# sed -i -e '/activesupport/,/^-/ s:^:#:' ../metadata || die
|
||||
#}
|
||||
each_ruby_prepare() {
|
||||
#relax 5.1 to any
|
||||
sed -i -e '/activesupport/,/^-/ s:^:#:' ../metadata || die
|
||||
}
|
||||
|
|
@ -18,13 +18,17 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/bundler"
|
||||
ruby_add_rdepend ">=dev-ruby/cms_scanner-0.0.41.2"
|
||||
ruby_add_rdepend ">=dev-ruby/cms_scanner-0.0.41.2
|
||||
>=dev-ruby/addressable-2.5.0
|
||||
dev-ruby/activesupport:*
|
||||
>=dev-ruby/yajl-ruby-1.3.0
|
||||
"
|
||||
|
||||
#each_ruby_prepare() {
|
||||
each_ruby_prepare() {
|
||||
#https://github.com/wpscanteam/wpscan/issues/1266
|
||||
# sed -i "s|'activesupport', '~> 5.1'|'activesupport'|g" wpscan.gemspec
|
||||
# sed -i -e '/s.add_development_dependency/d' wpscan.gemspec
|
||||
|
||||
# MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
# MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
#}
|
||||
# sed -i -e '/activesupport/,/^-/ s:^:#:' ../metadata || die
|
||||
sed -i -e '/s.add_development_dependency/d' wpscan.gemspec
|
||||
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
}
|
||||
Loading…
Reference in a new issue