Skip to content
Permalink
Browse files

wpscan: 3.5.5 bump

  • Loading branch information...
blshkv committed Jul 11, 2019
1 parent ac2639b commit 6c6cdae1b0baf85e71ab37777188cb38b6046ce1
@@ -1,2 +1,3 @@
DIST cms_scanner-0.5.1.gem 34304 BLAKE2B a6889ed9166bf0e76878f5b760b3e5857b831851d1ae562edf59e40c9e18f398315456aa59f8b777e419a1ed0d90c2c6ffd79091386a9c2e7c4e836172b7a51c SHA512 aa04914115c83df51c03a9f98791474f4c56830d23da2a81c8926612f833ef901f1bf1ede0777f64dd078cbc58ae4c0031879af5eb0590e7d66600743eae8b25
DIST cms_scanner-0.5.2.gem 34304 BLAKE2B dd0e572f0e28d8b9d7cf66cca5fc87f2d063f56096bc90fa747398768703c8e68acc362cef2c0687b9460a56096bf2e3be1a83b25200db49883ff0fbe4b0d595 SHA512 337ecfbc1ed08f12928564d67bd199ed48dd0e87cb13a6529bf608ff9c83e862496c383fbf99f52ca77285a76bf0e50350f08ad73723752a0705155e0d6ea8d5
DIST cms_scanner-0.5.4.gem 34816 BLAKE2B ac6dc388ada63bce342bd041804a7088d77f7245cf715dc725a297c2c49c583e441a3e6dcd804ea3d84f0c93c7ec341315ea4f007dbf04f4e4d6dce52261b6b6 SHA512 95e8dfadbf7fa26257f0e9f150e7845e483e0f0cf912aa6c3150387ced243049398e6dbf25359b957741c1481f18d220fd1da36c3827301055c6bbaa64939b43
@@ -0,0 +1,33 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_EXTRAINSTALL="app"

inherit ruby-fakegem

DESCRIPTION="Framework to provide an easy way to implement CMS Scanners"
HOMEPAGE="https://github.com/wpscanteam/CMSScanner"

LICENSE="MIT"
SLOT="0"
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.7.2
>=dev-ruby/public_suffix-3.0.0
>=dev-ruby/ruby-progressbar-1.10.0
dev-ruby/typhoeus:1
=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
}
@@ -1,2 +1,3 @@
DIST wpscan-3.5.3.tar.gz 7745638 BLAKE2B 5c7f961909194b592935fa5856e3897bda20fa47f38fc6585618573ab23a50d605c1865f322200f3a6146dc2184426bd2b0ac01abc96cc7ceb3049a73ddfb4ff SHA512 760cde2e5ac4223434d11ee21e43bfc3f90436e2750b723a0356ada36b91aa30deddd9b3aab4fdb9c12e21fcbfa1869adb4fb7574fca5b60d29c3104638e117d
DIST wpscan-3.5.4.tar.gz 7858113 BLAKE2B 8af9fdad6e6007f888b5c1517a5069c6507a8847ac3c6349274d035391532a8ce7f61eaf60386d8f9880b97f6539f95040cecaa09b9a53917991cb0a3ca86596 SHA512 9830cfeeb3486d2ce11e7c31f771f1c18568c5510000ec13e87f78472bf68cf0062da29497df095a09e9b757718ab86e7b0d2fccf6685530b52e7ef6afbf9814
DIST wpscan-3.5.5.tar.gz 7887286 BLAKE2B 00228861ebabd8b01ee44a30120abf4f7c941351ffe2773aed0cfa8e2ce65d2f3d6a732450ef72fa8759e690105efe8d7ff4b702145d2a4b24d3b3a0f1468274 SHA512 e09f68231865e54242602e281601062ad580cdb2108a44bc5ad2a6d3a7340d5026ebbd7ad3a1274ae12ddd03baa3d93c81625d4595151956d695f299cd71c14b
@@ -0,0 +1,35 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

USE_RUBY="ruby24 ruby25"
RUBY_FAKEGEM_EXTRAINSTALL="app bin spec"

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"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test memprof"

ruby_add_bdepend "dev-ruby/bundler"
ruby_add_rdepend ">=dev-ruby/cms_scanner-0.5.3
>=dev-ruby/addressable-2.5.0
dev-ruby/activesupport:*
>=dev-ruby/yajl-ruby-1.3.0
memprof? ( dev-ruby/memory_profiler )
"

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
}

0 comments on commit 6c6cdae

Please sign in to comment.
You can’t perform that action at this time.