1 |
commit: 2abc1b181a048cd40580117ef02a9f7ab7b288aa |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 11 21:20:42 2022 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 11 21:21:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abc1b18 |
7 |
|
8 |
app-containers/grype: initial import |
9 |
|
10 |
Grype is a vulnerability scanner for container images and filesystems. |
11 |
|
12 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
13 |
|
14 |
app-containers/grype/Manifest | 2 ++ |
15 |
app-containers/grype/grype-0.36.1.ebuild | 22 ++++++++++++++++++++++ |
16 |
app-containers/grype/metadata.xml | 8 ++++++++ |
17 |
3 files changed, 32 insertions(+) |
18 |
|
19 |
diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..b7433d19895b |
22 |
--- /dev/null |
23 |
+++ b/app-containers/grype/Manifest |
24 |
@@ -0,0 +1,2 @@ |
25 |
+DIST grype-0.36.1-deps.tar.xz 671469268 BLAKE2B 227b76230e45851c0980e80c1299efca2299e196b2f9432d8dcbaff9ab08c545f7e64fdc8c88ba79392d3e3d0067f03155ace14473aeacc65da7909d7d3fe4cb SHA512 432ed203febeeb26db4d50a9bb1b95bef11c91e0335e1e75b7eec68484a2f5e5d9ff6f84b05ced703519d2490723adeaca6009efd18647f0a8d6ce515727c4dc |
26 |
+DIST grype-0.36.1.tar.gz 1028910 BLAKE2B 70327fdbb1426537c623f7e8c8c286cfba336454e129166bbda6ff19403a4e6ab260ad2136e00acf8a76aab4de6073ae4c28614c0ab5c7955c14f07c124bc833 SHA512 299d440bb96a5092173a8baa42e80bf5ea4f90663ba50241f6b0d7a2f75d94496dc91eca78c3d4341f68f7e874223d49a7663146f7e20db8cac15ed65a8650f9 |
27 |
|
28 |
diff --git a/app-containers/grype/grype-0.36.1.ebuild b/app-containers/grype/grype-0.36.1.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..c98fb9fd7f0c |
31 |
--- /dev/null |
32 |
+++ b/app-containers/grype/grype-0.36.1.ebuild |
33 |
@@ -0,0 +1,22 @@ |
34 |
+# Copyright 2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+inherit go-module |
39 |
+ |
40 |
+DESCRIPTION="A vulnerability scanner for container images and filesystems" |
41 |
+HOMEPAGE="https://www.anchore.com" |
42 |
+SRC_URI="https://github.com/anchore/grype/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+src_compile() { |
50 |
+ ego build -o bin/grype |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ dobin bin/grype |
55 |
+} |
56 |
|
57 |
diff --git a/app-containers/grype/metadata.xml b/app-containers/grype/metadata.xml |
58 |
new file mode 100644 |
59 |
index 000000000000..3b2a9c591010 |
60 |
--- /dev/null |
61 |
+++ b/app-containers/grype/metadata.xml |
62 |
@@ -0,0 +1,8 @@ |
63 |
+<?xml version="1.0" encoding="UTF-8"?> |
64 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
65 |
+<pkgmetadata> |
66 |
+<maintainer type="person"> |
67 |
+<email>williamh@g.o</email> |
68 |
+<name>William Hubbs</name> |
69 |
+</maintainer> |
70 |
+</pkgmetadata> |