mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
net-analyzer/wpscan: bump to 3.7.11
This commit is contained in:
parent
fc7996bfda
commit
636dfb8c05
11 changed files with 209 additions and 2 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST cms_scanner-0.7.1.gem 34816 BLAKE2B 6b066097198c0f8a00bc0e7cb08d916d4b829432ff2e50ed1754b3ec4b7f9d16e9c579f2e6576c7cadbc892fa971bd0e67450478a75c0677ca178bd1bbd9fc8d SHA512 ef15b415ed42d8c3ea40735cc8aa9696a34ccaee2e0e3b88ebfa8dd7fa1605e2b9ec4337f61ccbaf2e49256f46689220ff56694dd808b2e89ba1e4c70d7f89bb
|
||||
DIST cms_scanner-0.8.1.gem 34816 BLAKE2B 1b087fb12ec3dedb64b77e17fba769fe448725cb4b9347f3808ec058c8efe4664c7594197c6bb4c4a7667d18e076a4059a13bf296408e4512596ed8e44ffff40 SHA512 d537ec4932b626eb0e092451f64e51d0e21276a43c2d29a3245e87a341cf65be91a87a51b1e739a96d140c9cd12775bc31e40c1533acc6b290b146f7c2a19947
|
||||
DIST cms_scanner-0.8.6.gem 35328 BLAKE2B 3083a0d21041d4cf7389fc0d4450ff23242a481f61014fcc1c5f797de87178831cdd411fa6ebea33b67d732fbb14bd1a340193b10ef1b3af5233e5ffc75fa4c1 SHA512 54807fea167cc06784d817de51ce1cd144b12e7e5146abd1f0938d3fa107c562a9af432c1b92e152dac3367a5723e6cafe706aa6f478db4838e23be47c5d6817
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
USE_RUBY="ruby24 ruby25"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="app"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
|
|
|||
36
dev-ruby/cms_scanner/cms_scanner-0.8.6.ebuild
Normal file
36
dev-ruby/cms_scanner/cms_scanner-0.8.6.ebuild
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="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"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/get_process_mem
|
||||
>=dev-ruby/nokogiri-1.10.8
|
||||
>=dev-ruby/opt_parse_validator-1.8.2
|
||||
>=dev-ruby/public_suffix-4.0.3:4
|
||||
>=dev-ruby/ruby-progressbar-1.10.0
|
||||
>=dev-ruby/sys-proctable-1.2.2
|
||||
dev-ruby/typhoeus:1
|
||||
=dev-ruby/xmlrpc-0.3*
|
||||
>=dev-ruby/yajl-ruby-1.4.1
|
||||
"
|
||||
|
||||
# dev-ruby/activesupport:*
|
||||
# >=dev-ruby/addressable-2.5.0
|
||||
|
||||
#each_ruby_prepare() {
|
||||
# #relax 5.1 to any
|
||||
# sed -i -e '/activesupport/,/^-/ s:^:#:' ../metadata || die
|
||||
#}
|
||||
1
dev-ruby/nokogiri/Manifest
Normal file
1
dev-ruby/nokogiri/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST nokogiri-1.10.8-git.tgz 5793069 BLAKE2B cf0bf2837475b1854eab9ff9adf2c49619e17b7df78b83941d9f28aab51b4f5b458404aee9f3c5f72cf1a172cde4b48679dae13ca3ba7d41e36a3f02fb5a89fc SHA512 b54fb377dddf3abdb4f0b61b46c87413b4c0e44c95510521995e349c7fd380defff1041e5490f1901b050775ec21eb6caeee9722fc31d2900ab5cdbf3efc8e41
|
||||
11
dev-ruby/nokogiri/metadata.xml
Normal file
11
dev-ruby/nokogiri/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">sparklemotion/nokogiri</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
92
dev-ruby/nokogiri/nokogiri-1.10.8.ebuild
Normal file
92
dev-ruby/nokogiri/nokogiri-1.10.8.ebuild
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md STANDARD_RESPONSES.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="ext"
|
||||
|
||||
inherit ruby-fakegem eutils multilib
|
||||
|
||||
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
|
||||
HOMEPAGE="https://www.nokogiri.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=dev-libs/libxml2-2.9.9:=
|
||||
>=dev-libs/libxslt-1.1.33
|
||||
virtual/libiconv"
|
||||
DEPEND="${DEPEND}
|
||||
>=dev-libs/libxml2-2.9.9
|
||||
>=dev-libs/libxslt-1.1.33
|
||||
virtual/libiconv"
|
||||
|
||||
ruby_add_bdepend "
|
||||
>=dev-ruby/pkg-config-1.1.7
|
||||
>=dev-ruby/rexical-1.0.7
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/racc
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/tasks\/cross_compile/s:^:#:' \
|
||||
-e '/:test.*prerequisites/s:^:#:' \
|
||||
-e '/license/ s:^:#:' \
|
||||
Rakefile || die
|
||||
# Remove the cross compilation options since they interfere with
|
||||
# native building.
|
||||
sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
|
||||
sed -i -e '/cross_config_options/d' Rakefile || die
|
||||
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
NOKOGIRI_USE_SYSTEM_LIBRARIES=true \
|
||||
${RUBY} -Cext/${PN} extconf.rb \
|
||||
--with-zlib-include="${EPREFIX}"/usr/include \
|
||||
--with-zlib-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-iconv-include="${EPREFIX}"/usr/include \
|
||||
--with-iconv-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
|
||||
--with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-xslt-dir="${EPREFIX}"/usr \
|
||||
--with-iconvlib=iconv \
|
||||
|| die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
|
||||
fi
|
||||
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
emake -Cext/${PN} \
|
||||
V=1 \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
archflag="${LDFLAGS}"
|
||||
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# Clean up "ext" directory before installing it. nokogumbo expects
|
||||
# the header files and shared object to be in ext.
|
||||
rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die
|
||||
|
||||
each_fakegem_install
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST opt_parse_validator-1.8.0.gem 14336 BLAKE2B 11b5f61c6fd8440cb9bd3768b493063308e23921aa075fd30bcef2a4e14b0effa22c480b3a6de4deb59d05a703ec8a84212ba1fc9b519f7ee0b5567cfdc72212 SHA512 1a1aee408289056ae573eca5dc40604bfc1f24308a7ade346979303b7642504379ea99d252feb95b52432073918f39fdd8af81cd17d7967d6af5d1a865ba683f
|
||||
DIST opt_parse_validator-1.8.1.gem 14336 BLAKE2B 6d7975cd9464cb33a16f7f2afafc784911856605c1ed4314e4c4ecddfda7cd1540277642245b411f29f78ffec1d6fccd6d919f6c1a1a7fde79d01f55404326a5 SHA512 d2a1d3e47926d1deab2cff17ef0b1c9120cc9b6af5fed92b52c5630944851d6bca198084b2ad15dfb5a5ffcfab9769ff15bdf488c0773a19fe5fc27d82f528b6
|
||||
DIST opt_parse_validator-1.8.2.gem 14336 BLAKE2B 2c8478d32d58f3fa8c90a19a7a9a813755ae7ec88dcee944b3dd5221ba78587cee7c233299ffcc0d6eb457150e9a7d250278182cb641b386341a492c0654f893 SHA512 ac29685c4101f027422c6e6dc8b1cbd4783a42e43a7370b20ea0f8ca713fff330540a0c9cd956357f30a1dcbb7c841c587ca20398c4ab8a7a58e75a96d696348
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="OptionParser lib in ruby"
|
||||
HOMEPAGE="https://rubygems.org/gems/opt_parse_validator"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/activesupport:*
|
||||
>=dev-ruby/addressable-2.7.0"
|
||||
|
||||
#each_ruby_prepare() {
|
||||
# #relax 5.1 to any
|
||||
# sed -i -e '/activesupport/,/^-/ s:^:#:' ../metadata || die
|
||||
#}
|
||||
|
||||
#each_ruby_prepare() {
|
||||
# sed -i -e '/s.add_development_dependency/d' opt_parse_validator.gemspec
|
||||
#}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST wpscan-3.7.11.tar.gz 9094329 BLAKE2B d8f14789ce3c63fe5bc81bf7ad2a263f3b847bdb191a4f6b2748c621de817cba8212b75deef0b9e869c12e2ff7f1cd59bdc2bb4a1365036feaa54b533853c678 SHA512 383d7213603375fd335dc29a8cf915c32786605363545877010caa5107a85e707d59473bc5d414ed401941994320fb80fb5052850b7aff04887e23e549fdfa38
|
||||
DIST wpscan-3.7.5.tar.gz 8430982 BLAKE2B a33928c5b12eeb5933c43f5278a6ddce4ec0598d4c6eb9d10cfb0e5a4e67c1416a0c81d95d57a65e6bade1b96dcbeef112237fbb19d8eeaff56dcf1ecab6a3f6 SHA512 d5418ce9c41af75705ad0bea6c8726901a117656d399e850b28ab2b82ed7eca0f606dffb2cf28529ebdd72516bf6e2444d961077a1324a05dd516f16024af0d7
|
||||
DIST wpscan-3.7.8.tar.gz 8855541 BLAKE2B 0d92ef7899efe6534fcc9bca80af508d3a792db1c0eabf8b88b10d2444e867a459bfcb1e8e369617c26fb3c7c1d62f07ee01cabc74bb237558d463da8433986a SHA512 06d648f0399fdbe709683277725b243eb791113555b30dc04f22c04c5f757cddb7492af833461c63046ac8b2eea75f108de5d736cf05c018b4daab964cda5886
|
||||
|
|
|
|||
36
net-analyzer/wpscan/wpscan-3.7.11.ebuild
Normal file
36
net-analyzer/wpscan/wpscan-3.7.11.ebuild
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2020 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/cms_scanner-0.8.6
|
||||
"
|
||||
# dev-ruby/addressable
|
||||
# dev-ruby/activesupport:*
|
||||
# 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
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26"
|
||||
USE_RUBY="ruby24 ruby25"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="app bin spec"
|
||||
RUBY_FAKEGEM_GEMSPEC="wpscan.gemspec"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue