commit:     48dcfa6cc86748a13036a4a4bce65c180d96731f
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 15:14:02 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 15:14:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dcfa6c

app-containers/grype: add 0.43.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-containers/grype/Manifest            |  2 ++
 app-containers/grype/grype-0.43.0.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest
index ed54e58c5adb..9b34a2035819 100644
--- a/app-containers/grype/Manifest
+++ b/app-containers/grype/Manifest
@@ -4,3 +4,5 @@ DIST grype-0.39.0-deps.tar.xz 632583420 BLAKE2B 
5fab5394d2f48200d9c1a59f7e12abf1
 DIST grype-0.39.0.tar.gz 1026121 BLAKE2B 
1d9063e0752732af7c6364be65fdaf915730695d2cbeeab080a1b06b2c056ad4716c5355b51c8aa3c19baed7dd51318c0c5b76b5709a740e0151c5734e951de0
 SHA512 
a8ad6c5b1918804adcd2d71a2defd0557e6acd876342582f07673224723a86834937d2e94f6f61fb9bc9304bf560b407648b8d9997ead66f7f4bf3738ce5c0e5
 DIST grype-0.42.0-deps.tar.xz 632719096 BLAKE2B 
1da875fc55e907d905fd612a77cb103caea89fd32d6cceb2159d3b8615ec38ce1a7d5aba99b8a10481df788f5abc0e9f48d8464ac601b056531c97fc87721437
 SHA512 
9f07c42d41e2db1fab8942c2ace339a3b5a8a887ef656bc05c4ed6ea976a70ec5a496342c45d1c0b10e9883439f7348ec2d140d6d6b6c217badf9b1bb5b9d3c2
 DIST grype-0.42.0.tar.gz 1072252 BLAKE2B 
9bf52453ac54130ca36716b0b94d0a428ed637995f96b3e9019c922cf758d55c2d7fa876ffac1fff5b59a716c918d801a883fce868c5005c38fa9f0e924684d6
 SHA512 
6e9ff3c61dd60cf7ed502cd4c979b79d0dec732c7305c40b4194a9f27cbb1513a63aa214f560878cd65af5b3fd16b453df43735d68a8340ad4923c5436a140ce
+DIST grype-0.43.0-deps.tar.xz 632690832 BLAKE2B 
88bd2f94ae2a1c3ed8736fbed0a6cdf3a8fa7f0164d683ad45a398442e5b582caa27ab70b41e21e1cfa42a9c257367dedc81584da2537d24007fbb59bba9114a
 SHA512 
e4adbe781cb6727e1ba522ac616f17785fdf6b5a13d7a801d60b62426d23c7c2389edf54386f0d00b6931a92b369e3551cef07bbe2887bebbe71c632547b3b00
+DIST grype-0.43.0.tar.gz 1074142 BLAKE2B 
6f96ec212c6298d95dcb251d3b025b6ce513e4ba9643fb3c3c1435b598ec100e32631d7963a50d54b9e865769e34603a662afac53d2ecbf59fc7783952b69e80
 SHA512 
347fd42a64f76a1cb0bfb28ac47d21ee18dfec335858f63f78f63914298c3d8ff3949ff113b06c37127b689d7d7ae4bc1e946543499f7bd6137579a617a8843c

diff --git a/app-containers/grype/grype-0.43.0.ebuild 
b/app-containers/grype/grype-0.43.0.ebuild
new file mode 100644
index 000000000000..c98fb9fd7f0c
--- /dev/null
+++ b/app-containers/grype/grype-0.43.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="A vulnerability scanner for container images and filesystems"
+HOMEPAGE="https://www.anchore.com";
+SRC_URI="https://github.com/anchore/grype/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+       ego build -o bin/grype
+}
+
+src_install() {
+       dobin bin/grype
+}

Reply via email to