mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
wpscan-3.8.25.ebuild
This commit is contained in:
parent
660394d91d
commit
826f35a91e
4 changed files with 70 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST cms_scanner-0.13.8.gem 36352 BLAKE2B 2b5f0503fd3f4b5fec64e77c72224c0608ece4fb5f081dc1670f7235ea2ed9baa100746dfcce260d9137453cd491422701629c15193ebeaaf6c4aa8a165364c6 SHA512 f08b475a7d973274d75e41eb9a8e73827e61b9bd15d8e8417d9b6d4d882a1c2ecf8d7db1aa0209955432693578f54f968b1d6c6a446577e24a6a975b9e44e99f
|
||||
DIST cms_scanner-0.13.9.gem 36352 BLAKE2B 7373cbbc4f306430d39da21359fd8756d500d9f9c1c1f4a2662112b96f28cd273195915b5fccbf9d9417302757db953e8bac59f9f5a32583c8a30b0e82455468 SHA512 dcc960eab69b11d4a2a9a8a90bd01f4782c459d488896547a9e6d6aa4a5317b223a078240d552426d65108c18957845369afa7fe1bf991a41e3d7407ccf3e767
|
||||
|
|
|
|||
37
dev-ruby/cms_scanner/cms_scanner-0.13.9.ebuild
Normal file
37
dev-ruby/cms_scanner/cms_scanner-0.13.9.ebuild
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby30 ruby31 ruby32"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="app"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Framework to provide an easy way to implement CMS Scanners"
|
||||
HOMEPAGE="https://github.com/wpscanteam/CMSScanner"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_rdepend "
|
||||
=dev-ruby/get_process_mem-0.2*
|
||||
>=dev-ruby/nokogiri-1.11.4 <dev-ruby/nokogiri-1.16.0
|
||||
>=dev-ruby/opt_parse_validator-1.9.5
|
||||
>=dev-ruby/public_suffix-4.0.3:4
|
||||
>=dev-ruby/ruby-progressbar-1.10 <dev-ruby/ruby-progressbar-1.14
|
||||
dev-ruby/typhoeus:1
|
||||
>=dev-ruby/ethon-0.14 <dev-ruby/ethon-0.16
|
||||
=dev-ruby/xmlrpc-0*
|
||||
=dev-ruby/yajl-ruby-1.4*
|
||||
|
||||
=dev-ruby/sys-proctable-1.2*
|
||||
"
|
||||
|
||||
each_ruby_prepare() {
|
||||
#relax deps
|
||||
# sed -i -e '/typhoeus/,/Gem::Dependency/ s:~>:>=:' ../metadata || die
|
||||
sed -i -e '/^ name: nokogiri/,/^[[:space:]]*$/s:1.14.0:1.16.0:' ../metadata || die
|
||||
sed -i -e '/^ name: ruby-progressbar/,/^[[:space:]]*$/s:1.12:1.14:' ../metadata || die
|
||||
}
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST wpscan-3.8.24.tar.gz 14275628 BLAKE2B bf3550b724bed4579bd41860a81876db579ba16c241246c789c87fdc9de17c5e029e87e56a01092c255726b7f7a6d1a361bf5a0f5aaf1a9479e76e5602ddffac SHA512 56ec583a4f65aab0d83c0c925da9568f03a7b682c8c9cd99622ababa9e4b5c20b4e81e6db738f1e1f2c3656caed2663ae7c39145102363b24b363fd6813bfd8e
|
||||
DIST wpscan-3.8.25.tar.gz 14376899 BLAKE2B b4c8246cbba00547e5044c0c5b840f281d3c3f54e312da07fa8ad51205e070dfd79f1ff850ac11d8698aa27ff2f4a5eb592cd16b0e53a9dfae83f3a4e808ded4 SHA512 505914962048498d081d24512cef1a9b0346cdad7c146b012e1a486b47b07641adc11a48893a8ffa305a95ab7a1150d9a7eff8594465c6688575e7d9cf2732b8
|
||||
|
|
|
|||
31
net-analyzer/wpscan/wpscan-3.8.25.ebuild
Normal file
31
net-analyzer/wpscan/wpscan-3.8.25.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby30 ruby31 ruby32"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="app bin spec"
|
||||
RUBY_FAKEGEM_GEMSPEC="wpscan.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Wordpress security scanner"
|
||||
HOMEPAGE="http://wpscan.org/"
|
||||
SRC_URI="https://github.com/wpscanteam/wpscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/bundler:2"
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/cms_scanner-0.13.8"
|
||||
|
||||
each_ruby_prepare() {
|
||||
#https://github.com/wpscanteam/wpscan/issues/1266
|
||||
# sed -i "s|'activesupport', '~> 5.1'|'activesupport'|g" wpscan.gemspec
|
||||
# sed -i -e '/activesupport/,/^-/ s:^:#:' ../metadata || die
|
||||
sed -i -e '/s.add_development_dependency/d' wpscan.gemspec || die
|
||||
GEM_HOME="${T}" BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
GEM_HOME="${T}" BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
}
|
||||
Loading…
Reference in a new issue