mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 14:51:14 +02:00
whatweb-0.5.5.ebuild
This commit is contained in:
parent
37e4391ed0
commit
1eb579869c
3 changed files with 1 additions and 60 deletions
|
|
@ -1,3 +1,2 @@
|
|||
DIST whatweb-0.5.2.tar.gz 3633707 BLAKE2B 494931adbf2204d44f5581e55bee02659862821602e21781c1f985af18a105852451877a9b06f581b9bd0f96250bc382b48a986ac7a9453c8a00bbf8c896f292 SHA512 e461d583aa6841d737dd304331b482ed989d4717b7905b375def976206d47d1f06ee499d7a23af4b138c61482889df36facd346fba4e17d72a498d0d26bbfee6
|
||||
DIST whatweb-0.5.3.tar.gz 3637660 BLAKE2B 90d0f76d58b8030b428f06ec8b97f021e712c5593925fee3afcfe03b81cac22de1db3157ac5e6a27038af0a2ba636ab3a508e0491e4fb22fa920cd91eacea4a4 SHA512 5ebc9eaf518ea968b9ffb76938db8289860dc0ea5ad7a658a77b2a7254cc32bef6af1307e951478d10c228842673908f4769603fd1ce4c364c9674fc89e51a1f
|
||||
DIST whatweb-0.5.4.tar.gz 3639772 BLAKE2B 5be0afab1227c8d846dc12c7b0846af9e57a7827eea5b95be057ed19b5cd86011bfcd00d05a95fe2a08f14fa9ac048f4ae486b76a468d3a67fa2a3e29d8faaa9 SHA512 021a53927c1e9224c722d9aabe44dbae7329748737fcd44c949b5a13675fe3133ffe20800c80cbd923b68d0a3b11808c51e6c9d2726f6d9000c60934103c8de0
|
||||
DIST whatweb-0.5.5.tar.gz 3644694 BLAKE2B 264abda3e1eece992576ec57bfd79d0eb376e6503ffdf480a167eb12feb2234401e4b2e5772e7250bcbcfec9c1116a76fba69dddd35ff8d1756bbfbd572c7439 SHA512 0d1afb0eea2dab3a359d9bd80ef9884af780e28e74946dedf70e92066378be26321fd917dd4abb3e91b888b5ef87231ff4db2724daa9275f4332f21b48752b37
|
||||
|
|
|
|||
|
|
@ -1,58 +0,0 @@
|
|||
# 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: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
|
||||
}
|
||||
Loading…
Reference in a new issue