This commit is contained in:
Anton Bolshakov 2021-03-23 20:57:57 +08:00
parent fe14af5d15
commit 8f9b818d44
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST traitor-0.0.2.tar.gz 2117266 BLAKE2B 3cc78085f3292616d0cc8bb844badcbeca933fb04aadef9ad10f363d86d0d247e97a152ee6003a035d479f76f7a595863a475fdecba9e9eaeb09675c31fc07fd SHA512 133e8b08a34e8364d254ca12a9af171fa7e77b9763523ad236bcf1482fcf011a62b728b5f2328c37d650b0f9229cf4a262e43d6e28c2516c658ca65842494c84

View file

@ -0,0 +1,40 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# go mod vendor && grep "# g" ./vendor/modules.txt | sort
EGO_PN="github.com/liamg/traitor"
#EGO_VENDOR=(
# "github.com/sirupsen/logrus v1.4.2"
#)
inherit golang-vcs-snapshot
DESCRIPTION="Subdomain OSINT Enumeration"
HOMEPAGE="https://github.com/OWASP/Amass"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RESTRICT="mirror"
BDEPEND=">=dev-lang/go-1.13"
src_compile() {
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \
go build -v -work -x -ldflags="-w" ./... || die
}
src_install(){
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \
go install -v -work -x -ldflags="-w" ./... || die
dobin bin/traitor
}