whatweb: 0.5.2 bump

This commit is contained in:
blshkv 2020-06-11 00:31:36 +08:00
parent ae206b1f3d
commit 2135bd7eb4
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 59 additions and 1 deletions

View file

@ -1,2 +1,2 @@
DIST whatweb-0.5.0.tar.gz 3510873 BLAKE2B 3dd80e1dedf02b59ea577c7cb700c0da3ae45dea5b0a6706d5f686c81c8ec60528af057582248eb73b358419ad803e5532e809e70f32023192acfb9fca403fe6 SHA512 2e2ae847103e303c1c14a639706288d076927b8d552665bd3ea3bbb18aa31a4cfc4daf6dfe422059bfad0d23911317b5b9009b5a9124a18594060f65b7a38655
DIST whatweb-0.5.1.tar.gz 3633302 BLAKE2B f5bcef621e48ea224acc71cac2068be07e243754bca30cd4b7991378d9321f7be3eb1b38922fd225c8254decca8abf9ba37e3f93f01a3cea5783fc227429758a SHA512 34ffa129b940362d646555f5f709da5ce6f5da3857242f1805ee9aac5661c63d4c5ec632f2f34cc09e0463ce1f754e65d898e471139191cbc0aeea004da697a2
DIST whatweb-0.5.2.tar.gz 3633707 BLAKE2B 494931adbf2204d44f5581e55bee02659862821602e21781c1f985af18a105852451877a9b06f581b9bd0f96250bc382b48a986ac7a9453c8a00bbf8c896f292 SHA512 e461d583aa6841d737dd304331b482ed989d4717b7905b375def976206d47d1f06ee499d7a23af4b138c61482889df36facd346fba4e17d72a498d0d26bbfee6

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 ruby27"
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 ~x86"
IUSE="json"
DEPEND="dev-ruby/bundler"
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
}