whatweb: pkgcheck fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-04-03 20:41:47 -04:00
parent 7b30b03f13
commit 72c4eca20c
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 17 additions and 4 deletions

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>noone@pentoo.org</email>
<name>No One</name>
</maintainer>
<use>
<flag name="json">Enable json support</flag>
</use>
<upstream>
<remote-id type="github">urbanadventurer/WhatWeb</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
USE_RUBY="ruby31 ruby32"
inherit ruby-single
@ -10,6 +10,7 @@ DESCRIPTION="Next generation web scanner, identifies what software websites are
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
SRC_URI="https://github.com/urbanadventurer/WhatWeb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/WhatWeb-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
@ -26,8 +27,6 @@ RDEPEND="${DEPEND}
#dns: em-resolv-replace
#mongodb: bison bson_ext mongo rchardet
S="${WORKDIR}/WhatWeb-${PV}"
src_prepare() {
# fix installation
sed -i '/gzip/d' Makefile || die