go-webanalyze: new ebuild (deps for net-analyzer/osmedeus)

This commit is contained in:
Yury Martynov 2019-07-14 12:58:35 +03:00
parent b81014ea07
commit e55bd0677f
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST github.com-bobesa-go-domain-util-1d708c0.tar.gz 46376 BLAKE2B 08fa616bd99d965b9d7e094d6abf25b06e8d048fa220f0b4f74a061cf70c5c4ae8f9c9487c2f42cd10a0352c3d3d37d87a665f0f399c5fb3e70195855959364f SHA512 c1cd628941a8cc3be9dac1918ced3a5f9d05668b9065a7fa6fde001f6fa155f080232332284b02ebbede9a40912c5c9572463bd6c5d23904df31ade583ef3613
DIST go-webanalyze-20190705.tar.gz 21110 BLAKE2B 61a4adea888b06253bdf9834ed517bd70e171325230a94fb167a157613520536def37f6a9d28b2baad92d71fa727038f174853ccf9fe5697f2a97e0f8bbceaf5 SHA512 a400c83cfd9de377c3bb297e66673023f44ad2a410538bf588f6da27f3be4cd9ba15b7ba5693137c373363b1591d36a5320424a5769c811a48b63519216526fa

View file

@ -0,0 +1,43 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/rverton/webanalyze"
EGO_VENDOR=( "github.com/bobesa/go-domain-util 1d708c0" )
inherit eutils golang-vcs-snapshot
DESCRIPTION="Port of Wappalyzer (uncovers technologies used on websites) in Go to automate scanning"
HOMEPAGE="https://github.com/rverton/webanalyze"
HASH_COMMIT="ab86050f17f1c3ddd70af3164cb1f56f405d2d38"
SRC_URI="https://github.com/rverton/webanalyze/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"
KEYWORDS="~amd64"
LICENSE="GPL-3"
IUSE=""
SLOT=0
RDEPEND=""
DEPEND="
dev-go/go-net:=
dev-go/go-text:=
>=dev-lang/go-1.12"
src_compile() {
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \
go build -v -work -x -ldflags="-s -w" "${EGO_PN}"/cmd/webanalyze/ || die
}
src_install() {
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \
go install -v -work -x -ldflags="-s -w" "${EGO_PN}"/cmd/webanalyze/ || die
newbin bin/webanalyze ${PN}
dodoc \
src/"${EGO_PN}"/README.md
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>email@linxon.ru</email>
<name>Yury Martynov</name>
</maintainer>
</pkgmetadata>