diff options
author | William Hubbs <williamh@gentoo.org> | 2021-12-17 16:09:00 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-12-17 16:09:27 -0600 |
commit | e5079e60d78fe4b56e9853f0cc948e35ff84455d (patch) | |
tree | 3019aa4924a084adb005ce4edd8641a63750c4b7 /dev-util/local-log4j-vuln-scanner | |
parent | media-video/libva-utils: Stabilize 2.13.0 ppc64, #810067 (diff) | |
download | gentoo-e5079e60d78fe4b56e9853f0cc948e35ff84455d.tar.gz gentoo-e5079e60d78fe4b56e9853f0cc948e35ff84455d.tar.bz2 gentoo-e5079e60d78fe4b56e9853f0cc948e35ff84455d.zip |
dev-util/local-log4j-vuln-scanner: simple local log4j vulnerability scanner
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/local-log4j-vuln-scanner')
-rw-r--r-- | dev-util/local-log4j-vuln-scanner/Manifest | 1 | ||||
-rw-r--r-- | dev-util/local-log4j-vuln-scanner/local-log4j-vuln-scanner-0.9.ebuild | 23 | ||||
-rw-r--r-- | dev-util/local-log4j-vuln-scanner/metadata.xml | 8 |
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/local-log4j-vuln-scanner/Manifest b/dev-util/local-log4j-vuln-scanner/Manifest new file mode 100644 index 000000000000..0b0fa18564a5 --- /dev/null +++ b/dev-util/local-log4j-vuln-scanner/Manifest @@ -0,0 +1 @@ +DIST local-log4j-vuln-scanner-0.9.tar.gz 48694 BLAKE2B 08f9f04c3defcfe9b1da77271f2083f108418f3e9d1110f52dea895cd9961b956150dae0a97c642e5a089afcf012b3b0a20854804e6c7472171d9e4f2e03fd5f SHA512 871c844f56a28dbd54decb5ff3bce742b40527132482b0e490b9686d183b8446745d7b045b951943ef9bb1c8adea2b630190f17a595e7c92d25b1f2b529b1cfe diff --git a/dev-util/local-log4j-vuln-scanner/local-log4j-vuln-scanner-0.9.ebuild b/dev-util/local-log4j-vuln-scanner/local-log4j-vuln-scanner-0.9.ebuild new file mode 100644 index 000000000000..984660f97f33 --- /dev/null +++ b/dev-util/local-log4j-vuln-scanner/local-log4j-vuln-scanner-0.9.ebuild @@ -0,0 +1,23 @@ +# 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 +} diff --git a/dev-util/local-log4j-vuln-scanner/metadata.xml b/dev-util/local-log4j-vuln-scanner/metadata.xml new file mode 100644 index 000000000000..db463f3eeb66 --- /dev/null +++ b/dev-util/local-log4j-vuln-scanner/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> +</pkgmetadata> |