whatweb: v0.4.9 bump

This commit is contained in:
blshkv 2017-12-01 00:49:47 +08:00
parent 1be6bff79e
commit 53ef494609
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 40 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST whatweb-0.4.7.tar.gz 868621 SHA256 64994ec364de188192918e15c09cd01c62c3b8d080e9777b5d785d7f55d509db SHA512 b5c80cb5f86524bc3f6a670efa2ce67653b426fb387b42f7906739d1e9481588da67004d15d91b81370bca725155736dd76856f576f3dcf0bc16ac24e54784c5 WHIRLPOOL 191049ce2cbfb582e007b2ff436224bf069acf4ac96da6d4c53a65aa7bb3792cdfe3418896c6f076085086e52f92ae531a2908217a8af76bd92ca443920c2163
DIST whatweb-0.4.9.tar.gz 3214359 SHA256 3077d47122d7fb37e2ecb3df9c8c23cb7b54a094bb076e06327fd32ad5f49eb4 SHA512 1a4dc79206ae399affa6c5da4432e82f44d6535b5836fe3c1254a29e2d2243bc93d5580b94b6b97d3659c815fd3f9b0505b816a0a98039cbd586d5c47e19b2a2 WHIRLPOOL 32c1f4d1bab1fb81419349a24a20e8856ac851411e86f30b8d9d470d164d917e9c3953cfb47d71c1b96e1d8cae91f773e80c25463c195153d9e4ea8cc163f839

View file

@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby22 ruby23 ruby24"
inherit ruby-ng
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=""
RDEPEND="${DEPEND}
json? ( dev-ruby/json )"
#future rdepend:
#dns: em-resolv-replace
#mongodb: bison bson_ext mongo rchardet
S="${WORKDIR}/all/WhatWeb-${PV}"
ruby-ng_src_prepare() {
# fix installation
sed -i 's|plugins-disabled||g' Makefile || die
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
eapply_user
}
ruby-ng_src_install() {
dodir /usr/share/doc/"${PF}"
DESTDIR="${D}" emake install
dodoc CHANGELOG README whatweb.xsl
}