You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
590 B
24 lines
590 B
# Copyright 2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit go-module
|
|
|
|
DESCRIPTION="simple local log4j vulnerability scanner"
|
|
HOMEPAGE="https://github.com/hillu/local-log4j-vuln-scanner"
|
|
SRC_URI="https://github.com/hillu/local-log4j-vuln-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
src_compile() {
|
|
go build -o local-log4j-vuln-scanner ./scanner || die
|
|
go build -o local-log4j-vuln-patcher ./patcher || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin local-log4j-vuln-{scanner,patcher}
|
|
dodoc README.md
|
|
}
|