diff --git a/net-analyzer/go-webanalyze/Manifest b/net-analyzer/go-webanalyze/Manifest new file mode 100644 index 000000000..b6e9cb57a --- /dev/null +++ b/net-analyzer/go-webanalyze/Manifest @@ -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 diff --git a/net-analyzer/go-webanalyze/go-webanalyze-20190705.ebuild b/net-analyzer/go-webanalyze/go-webanalyze-20190705.ebuild new file mode 100644 index 000000000..3ed584e25 --- /dev/null +++ b/net-analyzer/go-webanalyze/go-webanalyze-20190705.ebuild @@ -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 +} diff --git a/net-analyzer/go-webanalyze/metadata.xml b/net-analyzer/go-webanalyze/metadata.xml new file mode 100644 index 000000000..ebc718e70 --- /dev/null +++ b/net-analyzer/go-webanalyze/metadata.xml @@ -0,0 +1,8 @@ + + + + + email@linxon.ru + Yury Martynov + +