summaryrefslogtreecommitdiff
path: root/app-containers/grype
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers/grype')
-rw-r--r--app-containers/grype/Manifest3
-rw-r--r--app-containers/grype/grype-0.79.3.ebuild34
2 files changed, 37 insertions, 0 deletions
diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest
index a05da27da3b7..a1cd739fbc70 100644
--- a/app-containers/grype/Manifest
+++ b/app-containers/grype/Manifest
@@ -6,8 +6,11 @@ DIST grype-0.72.0-deps.tar.xz 599210536 BLAKE2B 4912cf4278488e78c7a174654da20f64
DIST grype-0.72.0.tar.gz 1114440 BLAKE2B 931f4bdd883471e8b34b09dd1df53d4e67df96fc0d7be5224d1acfecc618cb068ee268f4b269e5a7f5e01a6605b9e01f8bb6a150819e8410a6b4f0daa12877ff SHA512 8335de5cba0b11500df1404afeee311be50c7e55d1a57c85cbebe830c9e8d9d21ff7b35ab6110200e57f464e999576f395814a56485115f8c7ed7b6e9f7dafb9
DIST grype-0.73.0-deps.tar.xz 627765660 BLAKE2B 3d3949922a635d0654120aaf05edef38e7ae998c7beab89a7f13de994ab5f34bd6ade6a67145f5a366a2956ffb124a94a952b426a71cb50a7a30f65a7d721784 SHA512 f2e0ba2da0c196e705a23efc9e989ed3525d3465d661a2d5ce832c0663b0226a885541d91a773922f32de4d849030b73c307487eec00d0498368925213b9444d
DIST grype-0.73.0.tar.gz 1124082 BLAKE2B 835b1833e6809510821f07906df06c55b418f7226dba190b4bf4f32ae603c006842496512d5e788eef8f2ce7e215a923bc338a1c55f089a3942476275663a6b2 SHA512 06be60104f23be38578660a79d3c593e988e2c5fce646b00dedec9af4d3442f204f81d063806944cfdaa04daffdff256ac71b52ed94d8ae07acde1e15c442f08
+DIST grype-0.79.3-deps.tar.xz 219363916 BLAKE2B 7396b4f0bd734504b30c971c592dae49a7ebc118db6efdb668d412622708797b8ef0ebded3a1d0474e3fb2fc1d6a3ac078b11de9fb38f5d15cc5edcbd57276be SHA512 b037535208652b64dd424a2daf9caf5232e40e0dba344c62600c0065f342206edc2797b9e155a5830f013744c3aa1d6564e623261a0cd6c1c3124eaae3f80899
+DIST grype-0.79.3.tar.gz 1165282 BLAKE2B 016e2a0ccad51757be83146fd6d187929e61f37531881bf811b6058daf935733f6a6ed23a9fac818a6a6ef815227fa045806c79ef2820a9ee78711cb417c0698 SHA512 0fbae679e8fd43efc2440d6db2f46a51ea4b6acd76f72a69d278b9eec85204b2b36d9077963fea2541bb4ada168802349fc066ffa260678e13429301cecac960
EBUILD grype-0.59.1.ebuild 1023 BLAKE2B 8d4ce4307ec848da05516489f099158224abca6b5a6819380474f17fc24d5091bff4e7e27b5c38369180cd428dc233532d2b04da7e06b47cb6db6e17d2a70fe3 SHA512 d799c31d8aa2f4b3bcc2dcdd1ef07a9077ae8a27a9c4c3be6b51553a7ade723341cff4ca6f0a4b9bce5b1fe29cf26debcce3ebe0de396fce5bddd60c8139735d
EBUILD grype-0.61.0.ebuild 1023 BLAKE2B 63abd430cac2ca93b867fa373b64b2a08e7b260a88ffb85b6b8671499da3ff74329689c7e5b458cde93f804a21eaa412fd7c009418e2a4952ab0ed13543de487 SHA512 cfd2690ed7aa6fd88ab972bc14d7751be55058c12956a76bf7235bf39ceb9d72bcaa9bf59289380a1ededbde0c0f9d03bb2a0de57074a5e294a03c2a15899ef0
EBUILD grype-0.72.0.ebuild 1036 BLAKE2B 8b2b561d94fa4655b49489e36877dca86bf52b50d7cef8bfca0fc64b249f17006514aa7c79eccf7bceb8dd6ee43f9c6f9b8b94cc2fc71bfeab33341fb4d95f53 SHA512 db6c00d1f8471ec0f00045ea5762c6eab0411721b2a457a43862cbee4473b956efdc968c4a0f4bcc1fa3f6feff035e785dc13dbd8d8401c1c05055fafa07ba67
EBUILD grype-0.73.0.ebuild 1036 BLAKE2B a0407cd9bc0f4d3e42c26ed5fd51474a0bdf2a4794d071addc5c36faa36146420945f56d3572ff19b87dc719edc11a8f02c9a77b78979a6533ab4fad96475349 SHA512 74bd9285dd8209a034e51fb651def8bc9dbd7731fc4c7fbe0415f50d3deff456fa06a75d943a536c476d2475aed45257289a69cb9fd555e632307330e8b09040
+EBUILD grype-0.79.3.ebuild 1035 BLAKE2B d0c01bda0594c7ea467e5079535f474f2802d417c37c8b40b7b25c079f02a488fe0cef1e01012052ad1de7433c5582b5079086b41b1bf23822cfbd3f933395de SHA512 3d7954f03807f1b816507c9f1b7eff02a2bbcce1252134b4557a7e7abeeb05ca6cf062992200d2a25b41223d85424e540ccb8de1c3c64af35389dcff14272496
MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251
diff --git a/app-containers/grype/grype-0.79.3.ebuild b/app-containers/grype/grype-0.79.3.ebuild
new file mode 100644
index 000000000000..1458a1b7ff9d
--- /dev/null
+++ b/app-containers/grype/grype-0.79.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=45b7236e948ef973a8a6ffbac52dff28be0fd70e
+SYFT_VERSION=1.9.0
+
+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"
+
+# tests require a running docker
+RESTRICT="test"
+
+src_compile() {
+ ego build -o bin/grype -ldflags "
+ -extldflags '-static'
+ -X github.com/anchore/grype/internal/version.version=${PV}
+ -X github.com/anchore/grype/internal/version.syftVersion=${SYFT_VERSION}
+ -X github.com/anchore/grype/internal/version.gitCommit=${GIT_COMMIT}
+ -X github.com/anchore/grype/internal/version.buildDate=${BUILD_DATE}
+ -X github.com/anchore/grype/internal/version.gitDescription=v${PV}
+ " ./cmd/grype
+}
+
+src_install() {
+ dobin bin/grype
+}