diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 09:49:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 09:49:11 +0100 |
commit | 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (patch) | |
tree | c31afe35699960753f76770d6b0b4ea48af9f686 /app-containers/grype | |
parent | e292b671b113c2cc012beddad93a3df4f9410698 (diff) |
gentoo auto-resync : 28:03:2023 - 09:49:10
Diffstat (limited to 'app-containers/grype')
-rw-r--r-- | app-containers/grype/Manifest | 3 | ||||
-rw-r--r-- | app-containers/grype/grype-0.59.1.ebuild | 33 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest index 1e77aa10aa96..fd9b85ce04dd 100644 --- a/app-containers/grype/Manifest +++ b/app-containers/grype/Manifest @@ -2,6 +2,9 @@ DIST grype-0.48.0-deps.tar.xz 648540700 BLAKE2B 4332364215da90be1978b4d7038b6ef3 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 +DIST grype-0.59.1-deps.tar.xz 555292828 BLAKE2B ce132ecd42efd2c76bce1843b1da2ff763494a0206c8618c95ec03ae9d73a77378a68e503de9115c73efd6acbab4cc30bf222676c7888aafb08de8454351fb2b SHA512 aa627bfbf52c218786d009dee6e37bc09d70fd98ad10b8c07ec91db9d15380a1fbc35f380ee22fae8b6e7b090d1aabfebf58bc1ea6bca2bd179dcaa74b52a2c0 +DIST grype-0.59.1.tar.gz 1021093 BLAKE2B 0c5b0a8a14e297e123965d451daff082cbabb01f766ec355a37d54d7044b865430aa7cbec20d8002feac33f93e24565ebe6346a8559e8a25bf3df1dcc8ca217e SHA512 8f219ade9d7369f124dd8c035f3bef6ce5055e318d7ab1578f7f98a7fa6e842dad26fae8b2337884d4af3773b2c590b61485a490f98c66dfcbd82ef73d8b766b EBUILD grype-0.48.0.ebuild 1018 BLAKE2B f8e10b20c92b91f62ec9d49920d018c55cf23f5712fb9ebc1f2e2c152593122f2e4f0d267230c4bfc9cd8f05db8927c25960fe522244811db934a020f2de17da SHA512 bfe0ef1949e6422676709f4d0120c0bd1398d2c73d68cbf85851479f29664ef41c2f82a51629696336be0e10bdb27188a2ef4ae549e5b3f8788c73ea68521334 EBUILD grype-0.51.0.ebuild 1018 BLAKE2B 4f37a29ae2475d8e3d6274e3608c98f29dadcf1658e354b700b89196a7e7044b0bb418ca80c24237aa615878f2d4aed95f2ccaf0855cd1a797ba76ca4f52da09 SHA512 addc76b7ecf9004d97bf08a245aed24cbad7949fdf5e1fb2cc95d5901d4667a8bc595b7b9e96f385edc8e5f03648663167f04820afc16044da95c958a5d10fe4 +EBUILD grype-0.59.1.ebuild 1023 BLAKE2B 8d4ce4307ec848da05516489f099158224abca6b5a6819380474f17fc24d5091bff4e7e27b5c38369180cd428dc233532d2b04da7e06b47cb6db6e17d2a70fe3 SHA512 d799c31d8aa2f4b3bcc2dcdd1ef07a9077ae8a27a9c4c3be6b51553a7ade723341cff4ca6f0a4b9bce5b1fe29cf26debcce3ebe0de396fce5bddd60c8139735d MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251 diff --git a/app-containers/grype/grype-0.59.1.ebuild b/app-containers/grype/grype-0.59.1.ebuild new file mode 100644 index 000000000000..3ce88f7f6d9d --- /dev/null +++ b/app-containers/grype/grype-0.59.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=29b646568901d1ef48a528cf35f67f3cead49c9f +SYFT_VERSION=0.74.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}" +} + +src_install() { + dobin bin/grype +} |