whatweb: v20150818 bump

This commit is contained in:
blshkv 2015-10-25 15:27:46 +08:00
parent 26a6a75e1c
commit 9c037d2a12
3 changed files with 41 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Id$
EAPI=5

View file

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: blshkv $
# $Id$
EAPI=5

View file

@ -0,0 +1,39 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
inherit ruby-ng git-2
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
#SRC_URI="http://www.morningstarsecurity.com/downloads/${P}.tar.gz"
EGIT_REPO_URI="https://github.com/urbanadventurer/WhatWeb.git"
EGIT_COMMIT="c489fbd20cab14459059951c8a7470ec6670ee0a"
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
ruby-ng_src_prepare() {
# fix install
sed -i 's|plugins-disabled||g' Makefile || die
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
}
ruby-ng_src_install() {
dodir /usr/share/doc/"${PF}"
DESTDIR="${D}" emake install
dodoc CHANGELOG README whatweb.xsl
}