whatweb-0.5.3.ebuild

This commit is contained in:
blshkv 2020-10-05 16:09:46 +08:00
parent 54897f852e
commit 5e12b00d7e
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
7 changed files with 64 additions and 12 deletions

View file

@ -3,13 +3,13 @@
EAPI=7 EAPI=7
USE_RUBY="ruby25 ruby26 ruby27" USE_RUBY="ruby25 ruby26"
inherit ruby-fakegem inherit ruby-fakegem
DESCRIPTION="Allows for parsing and returning cookies in Ruby HTTP client code" DESCRIPTION="Allows for parsing and returning cookies in Ruby HTTP client code"
HOMEPAGE="https://rubygems.org/gems/cookiejar" HOMEPAGE="https://rubygems.org/gems/cookiejar"
KEYWORDS="~amd64 ~arm ~arm64 ~x86" KEYWORDS="amd64 ~arm64 x86"
LICENSE="" LICENSE=""
SLOT="0" SLOT="0"

View file

@ -10,7 +10,7 @@ inherit ruby-fakegem
DESCRIPTION="" DESCRIPTION=""
HOMEPAGE="" HOMEPAGE=""
KEYWORDS="~amd64 ~arm64 ~x86" KEYWORDS="amd64 ~arm64 x86"
LICENSE="" LICENSE=""
SLOT="0" SLOT="0"

View file

@ -11,7 +11,7 @@ inherit ruby-fakegem
DESCRIPTION="Transparent proxy support for any EventMachine protocol" DESCRIPTION="Transparent proxy support for any EventMachine protocol"
HOMEPAGE="https://github.com/igrigorik/em-socksify" HOMEPAGE="https://github.com/igrigorik/em-socksify"
KEYWORDS="~amd64 ~arm64 ~x86" KEYWORDS="amd64 ~arm64 x86"
LICENSE="" LICENSE=""
SLOT="0" SLOT="0"

View file

@ -13,4 +13,4 @@ HOMEPAGE="https://github.com/ruby/ipaddr"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="amd64 ~arm64 x86"

View file

@ -1,2 +1,2 @@
DIST whatweb-0.5.1.tar.gz 3633302 BLAKE2B f5bcef621e48ea224acc71cac2068be07e243754bca30cd4b7991378d9321f7be3eb1b38922fd225c8254decca8abf9ba37e3f93f01a3cea5783fc227429758a SHA512 34ffa129b940362d646555f5f709da5ce6f5da3857242f1805ee9aac5661c63d4c5ec632f2f34cc09e0463ce1f754e65d898e471139191cbc0aeea004da697a2
DIST whatweb-0.5.2.tar.gz 3633707 BLAKE2B 494931adbf2204d44f5581e55bee02659862821602e21781c1f985af18a105852451877a9b06f581b9bd0f96250bc382b48a986ac7a9453c8a00bbf8c896f292 SHA512 e461d583aa6841d737dd304331b482ed989d4717b7905b375def976206d47d1f06ee499d7a23af4b138c61482889df36facd346fba4e17d72a498d0d26bbfee6 DIST whatweb-0.5.2.tar.gz 3633707 BLAKE2B 494931adbf2204d44f5581e55bee02659862821602e21781c1f985af18a105852451877a9b06f581b9bd0f96250bc382b48a986ac7a9453c8a00bbf8c896f292 SHA512 e461d583aa6841d737dd304331b482ed989d4717b7905b375def976206d47d1f06ee499d7a23af4b138c61482889df36facd346fba4e17d72a498d0d26bbfee6
DIST whatweb-0.5.3.tar.gz 3637660 BLAKE2B 90d0f76d58b8030b428f06ec8b97f021e712c5593925fee3afcfe03b81cac22de1db3157ac5e6a27038af0a2ba636ab3a508e0491e4fb22fa920cd91eacea4a4 SHA512 5ebc9eaf518ea968b9ffb76938db8289860dc0ea5ad7a658a77b2a7254cc32bef6af1307e951478d10c228842673908f4769603fd1ce4c364c9674fc89e51a1f

View file

@ -0,0 +1,58 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26"
inherit ruby-single
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
SRC_URI="https://github.com/urbanadventurer/WhatWeb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="json"
DEPEND="dev-ruby/bundler:2"
RDEPEND="${DEPEND}
${RUBY_DEPS}
dev-ruby/addressable
dev-ruby/ipaddr
json? ( dev-ruby/json )"
#future rdepend:
#dns: em-resolv-replace
#mongodb: bison bson_ext mongo rchardet
S="${WORKDIR}/WhatWeb-${PV}"
src_prepare() {
# fix installation
sed -i '/gzip/d' Makefile || die
# sed -i 's|plugins-disabled||g' Makefile || die
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
sed -i '/bundle install/d' Makefile || die
sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
# BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
# BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
BUNDLE_GEMFILE=Gemfile ruby -S bundle install --local || die
BUNDLE_GEMFILE=Gemfile ruby -S bundle check || die
eapply_user
}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
dodir /usr/share/doc/"${PF}"
dodir /usr/bin
DESTDIR="${D}" emake install
dodoc CHANGELOG.md README.md whatweb.xsl
}

View file

@ -26,9 +26,6 @@ dev-ruby/coffee-rails:5.0
dev-ruby/mini_exiftool dev-ruby/mini_exiftool
# Pentoo ebuilds: # Pentoo ebuilds:
dev-ruby/cookiejar
dev-ruby/em-http-request
dev-ruby/em-socksify
dev-ruby/hrr_rb_ssh dev-ruby/hrr_rb_ssh
dev-ruby/irb dev-ruby/irb
dev-ruby/faye-websocket dev-ruby/faye-websocket
@ -284,6 +281,3 @@ dev-ruby/sass-rails:5.0
~dev-ruby/journey-1.0.4 ~dev-ruby/journey-1.0.4
~dev-ruby/rack-test-0.6.2 ~dev-ruby/rack-test-0.6.2
dev-ruby/mysql2:0.5 dev-ruby/mysql2:0.5
#whatweb
dev-ruby/ipaddr