wpscan: bump to 3.7.5 and drop '~x86' because 'dev-ruby/cms_scanner' does not support it

This commit is contained in:
Yury Martynov 2019-12-13 16:18:41 +03:00
parent a42cb6e921
commit 3fe56484fb
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 44 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST wpscan-3.6.3.tar.gz 8209296 BLAKE2B 612c148f9cc7a5b8b705ef6d833d0523faeec61ab140dc42dd454530a7752e6933513d7fc1169b6252e23ae1c64510d7719f1b4d13205ad6d7b7c93a98d0585a SHA512 7cfacee4ae483c86392a8e0c7378ae64f80939add272f25337ece755a259b10ed6e7b2791d45687c96e07c34acaa7634516c4c21dc217a3d96d0cfeaf1ffb38e
DIST wpscan-3.7.1.tar.gz 8279710 BLAKE2B d2c87020e45f0f291d27bd41c36e747d58aeabe678062181eccb419a6a14cd1147dd745583e1cdd1f8139601f161d0ffb4c91853123b8f22eb6f46c1390695a3 SHA512 5a8d9b6b3f4a57c840d06e611f8689142056fe45e79223d991b9740a1d077637a275954918a5ebd971be4c77b7a626ff186d731afdd88a2c627df7a00c348735
DIST wpscan-3.7.5.tar.gz 8430982 BLAKE2B a33928c5b12eeb5933c43f5278a6ddce4ec0598d4c6eb9d10cfb0e5a4e67c1416a0c81d95d57a65e6bade1b96dcbeef112237fbb19d8eeaff56dcf1ecab6a3f6 SHA512 d5418ce9c41af75705ad0bea6c8726901a117656d399e850b28ab2b82ed7eca0f606dffb2cf28529ebdd72516bf6e2444d961077a1324a05dd516f16024af0d7

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,35 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby24 ruby25"
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"
ruby_add_rdepend "
dev-ruby/addressable
dev-ruby/activesupport:*
>=dev-ruby/cms_scanner-0.7.1
dev-ruby/memory_profiler
dev-ruby/yajl-ruby"
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
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
}