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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C94D158020 for ; Thu, 20 Oct 2022 16:18:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64E0BE08CD; Thu, 20 Oct 2022 16:18:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 4B45CE08CD for ; Thu, 20 Oct 2022 16:18: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12B4C3410A2 for ; Thu, 20 Oct 2022 16:18:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49F89617 for ; Thu, 20 Oct 2022 16:18:21 +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: <1666282692.2fac0b2c4f4041cdd2bdfadeecbbfdefbf60a058.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.51.0.ebuild X-VCS-Directories: app-containers/grype/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 2fac0b2c4f4041cdd2bdfadeecbbfdefbf60a058 X-VCS-Branch: master Date: Thu, 20 Oct 2022 16:18:21 +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: 9225abc3-1617-4cbd-99f6-265398dbaf1a X-Archives-Hash: 486eee8e1e7f01ac1d6a6bf284a8aba0 commit: 2fac0b2c4f4041cdd2bdfadeecbbfdefbf60a058 Author: William Hubbs gentoo org> AuthorDate: Thu Oct 20 16:18:12 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Oct 20 16:18:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fac0b2c app-containers/grype: add 0.51.0 Signed-off-by: William Hubbs gentoo.org> app-containers/grype/Manifest | 2 ++ app-containers/grype/grype-0.51.0.ebuild | 33 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest index c184dcafe88d..7332f8e205c8 100644 --- a/app-containers/grype/Manifest +++ b/app-containers/grype/Manifest @@ -4,3 +4,5 @@ DIST grype-0.45.0-deps.tar.xz 644905072 BLAKE2B 5f1dd53106798b861ed90ed502406aa8 DIST grype-0.45.0.tar.gz 1074637 BLAKE2B 4cfa86a0ad695971241c40f19f982f54654642ff31f7220583af3b3aa0c1d6ca56f613e96b7343c4cb32b567efeb81c2145c19f009183b3d7f23ddeb1f01e02d SHA512 0a899c420d3d6ed9e669a0d02b0d79f0c63d50288b31c44cbbe61a883d46b93bf98be263cd7859d392ee40b82754c8cbe9b284dec593f79c5906988b01369209 DIST grype-0.48.0-deps.tar.xz 648540700 BLAKE2B 4332364215da90be1978b4d7038b6ef3ee72c33f5e98c432999ee8335047bf0516c45aeb8854f7e9d6a33055194c45246da32f3bab98aaabf9c4c8346c3a014b SHA512 7034b5662700a440a29f0cdbb870c65fd6d5fca47abb58762da88f0e70918d2436e603baf53dab0340074ff586f1bd71350254f65be153f3d1d03a36d0fba28b DIST grype-0.48.0.tar.gz 1077714 BLAKE2B ec30c6421eb7ce9ef1d22a81db3149a076efcd32659471ff1f4ef00fe79176baf16ad6f1d682167c45349baff2bd49fda4207c84883ab5ac6e01b7e54bfb4af0 SHA512 9c7a27b10ce527ee0b131e60406ad2a8c6f28fbb138b475abd799a7b28f3709c987298bb6f8364f784a4fbe780d00ccd1061a0fb5066c63b5a1c42a5ea2b2d58 +DIST grype-0.51.0-deps.tar.xz 601816220 BLAKE2B 441982389af5e33cbe988571464cad0303b15971a5ed8b99c07b4d92404a6e636842e783b69c9f6f7de21c453edd9bfed5d78b60ebaa75abce55da638792205f SHA512 5e384ccd7ea6f777f4dbcdc8eff38402a965e87c68174e9ac4e33522b49b194e14a12104308df80ca6291dae934979750de5ccd8b38edc0fd6fb6be460705df0 +DIST grype-0.51.0.tar.gz 1124375 BLAKE2B 6d2fb92edd2bc174d0879426f56812be7ede7e8c83cae49a0dee9781b0a771592f352b9a4fb96f87e8031592295c255e041bf30d0e5be5c24887c8436d505cf8 SHA512 4d1868a74523279734239836421c6a17595baa3179c80d18dba04cc5188e29eb5d97bc3102c931e9b1995a9afbc1da03d95d52bb8d74f5465c7415a1b16f947c diff --git a/app-containers/grype/grype-0.51.0.ebuild b/app-containers/grype/grype-0.51.0.ebuild new file mode 100644 index 000000000000..95d05f2b66cf --- /dev/null +++ b/app-containers/grype/grype-0.51.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=4cda526992d5003dcbab68c9a7479a653dfde008 +SYFT_VERSION=0.59.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}" +} + +src_install() { + dobin bin/grype +}