wpscan-3.8.8.ebuild

This commit is contained in:
blshkv 2020-10-14 23:39:42 +08:00
parent 5dc20f4b94
commit 2da33c5ebc
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 33 additions and 1 deletions

View file

@ -1,2 +1,2 @@
DIST wpscan-3.8.1.tar.gz 9203802 BLAKE2B ef99dbd377dc50bd01ce090f43ac22d48bac428ba33b02ca95c122b86f48c10a34672374694929efeb53a106dc8af30e6880b4018cde12c8c019f652b3ad12f5 SHA512 65d2021d79419a6b54a1a8f60d8bf1b89573fd3bba25096ac35dc751532429ab7b6a7217244f80fed2f1e549382ef5804ab9d23c533f42d27d478cbc24c022ff
DIST wpscan-3.8.7.tar.gz 9973508 BLAKE2B 6650efca0ae79841c60996745caa1ec79546976ed816b292fb89a4cfdb9ae91f31b888fc9318b6d89ea15b90243661822e978f3f435c5734967b1d1edb1e4048 SHA512 75f8aa6162cea7fd33da1169a9e3c08d0de8196609e669f2cd5c0d86219198f8e7a987256bc8e1fb1cc3d840aecf5e1aab03cd4fcb6684bde75f47af072fe29e
DIST wpscan-3.8.8.tar.gz 10021800 BLAKE2B 37befd3551c45bf926aa3e050d61442510242ff369023a4b271cecc88ceb9b86b1b59c5b086a059476fa02e320b7c4d54e202f65472b65edf226b3831959d08f SHA512 d810d52ffd3129c909aef20b9674cf60d6700dcea98544efb0f3f259187627ada8e3bbb9432a16a83c15703d5656d3c1b758bbcd121e7da738b5c76a97c81e89

View file

@ -0,0 +1,32 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26 ruby27"
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.12*
"
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
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
}