From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0423A15813A for ; Fri, 17 Jan 2025 16:09:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51B5CE08EB; Fri, 17 Jan 2025 16:09:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A065E08EB for ; Fri, 17 Jan 2025 16:09:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B72C3431DA for ; Fri, 17 Jan 2025 16:09:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1183B1F9A for ; Fri, 17 Jan 2025 16:09:22 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1737130152.3bb8f6c766cf8d3f88a84b040e8662a9942832f8.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/grype/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-containers/grype/Manifest app-containers/grype/grype-0.86.1.ebuild X-VCS-Directories: app-containers/grype/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 3bb8f6c766cf8d3f88a84b040e8662a9942832f8 X-VCS-Branch: master Date: Fri, 17 Jan 2025 16:09:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 37afcf00-3154-4731-b012-74dd6f542ddb X-Archives-Hash: bdc14855e3d2969ee187242b7d4a217f commit: 3bb8f6c766cf8d3f88a84b040e8662a9942832f8 Author: William Hubbs gentoo org> AuthorDate: Fri Jan 17 16:09:12 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Jan 17 16:09:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bb8f6c7 app-containers/grype: add 0.86.1 Signed-off-by: William Hubbs gentoo.org> app-containers/grype/Manifest | 2 ++ app-containers/grype/grype-0.86.1.ebuild | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest index 79ea391c2718..f92d78054435 100644 --- a/app-containers/grype/Manifest +++ b/app-containers/grype/Manifest @@ -8,3 +8,5 @@ DIST grype-0.73.0-deps.tar.xz 627765660 BLAKE2B 3d3949922a635d0654120aaf05edef38 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 +DIST grype-0.86.1-deps.tar.xz 195229268 BLAKE2B 79fcd429fef63abdc640e326025f4f722ab52b9936d50560a0b5876e48c8058b565551c40569466077c1c02caedbbfeb772508c1e92820e6eadba5fe62edf21e SHA512 3d03679899316ffe7adccaf4341eb3c56f89d794c0341bee1531907818d687de8d96522c4e4b16c62277135c09226b4701d224e8eafc680727bebe47136f354a +DIST grype-0.86.1.tar.gz 1224651 BLAKE2B 28c514402e3d7c40867048f1b5497b39036b2a69a60202344f2dfdcafda6bbbedeadb57feef8cadd120b494d90b8f25fd032b5a5b80efc00ba057d835c33f567 SHA512 3ee482eca7c67b2e5ab25107614c9336bbeaa428e7ecaa1d602378ecd4173918da16b8ea7ef3829fc6524035f3bad0097a241cf5f34f8a83902db9fb6c7ba192 diff --git a/app-containers/grype/grype-0.86.1.ebuild b/app-containers/grype/grype-0.86.1.ebuild new file mode 100644 index 000000000000..cf2b08010f9b --- /dev/null +++ b/app-containers/grype/grype-0.86.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=5c4fee7b1170976ab435de052fc3611bc955f1f1 +SYFT_VERSION=1.18.1 + +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 +}