From 9c037d2a1231231d22b51992208f01f671ec50ee Mon Sep 17 00:00:00 2001 From: blshkv Date: Sun, 25 Oct 2015 15:27:46 +0800 Subject: [PATCH] whatweb: v20150818 bump --- net-analyzer/whatweb/whatweb-0.4.7-r5.ebuild | 2 +- .../whatweb/whatweb-0.4.7_p20150505.ebuild | 2 +- .../whatweb/whatweb-0.4.7_p20150818.ebuild | 39 +++++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 net-analyzer/whatweb/whatweb-0.4.7_p20150818.ebuild diff --git a/net-analyzer/whatweb/whatweb-0.4.7-r5.ebuild b/net-analyzer/whatweb/whatweb-0.4.7-r5.ebuild index 482f41fdd..c0efcb6e3 100644 --- a/net-analyzer/whatweb/whatweb-0.4.7-r5.ebuild +++ b/net-analyzer/whatweb/whatweb-0.4.7-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Id$ EAPI=5 diff --git a/net-analyzer/whatweb/whatweb-0.4.7_p20150505.ebuild b/net-analyzer/whatweb/whatweb-0.4.7_p20150505.ebuild index 01c09eb60..7a3c96ee5 100644 --- a/net-analyzer/whatweb/whatweb-0.4.7_p20150505.ebuild +++ b/net-analyzer/whatweb/whatweb-0.4.7_p20150505.ebuild @@ -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 diff --git a/net-analyzer/whatweb/whatweb-0.4.7_p20150818.ebuild b/net-analyzer/whatweb/whatweb-0.4.7_p20150818.ebuild new file mode 100644 index 000000000..b10530c2a --- /dev/null +++ b/net-analyzer/whatweb/whatweb-0.4.7_p20150818.ebuild @@ -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 +}