mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 23:31:00 +02:00
traitor-0.0.2.ebuild, fix https://github.com/pentoo/pentoo-overlay/issues/707
This commit is contained in:
parent
fe14af5d15
commit
8f9b818d44
2 changed files with 41 additions and 0 deletions
1
app-exploits/traitor/Manifest
Normal file
1
app-exploits/traitor/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST traitor-0.0.2.tar.gz 2117266 BLAKE2B 3cc78085f3292616d0cc8bb844badcbeca933fb04aadef9ad10f363d86d0d247e97a152ee6003a035d479f76f7a595863a475fdecba9e9eaeb09675c31fc07fd SHA512 133e8b08a34e8364d254ca12a9af171fa7e77b9763523ad236bcf1482fcf011a62b728b5f2328c37d650b0f9229cf4a262e43d6e28c2516c658ca65842494c84
|
||||
40
app-exploits/traitor/traitor-0.0.2.ebuild
Normal file
40
app-exploits/traitor/traitor-0.0.2.ebuild
Normal 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
|
||||
}
|
||||
Loading…
Reference in a new issue