commit: 6f1785ece38919185cade6114997235b8ef77b1f Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sat Jul 16 19:38:41 2022 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sat Jul 16 19:38:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1785ec
app-containers/grype: add 0.42.0 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> app-containers/grype/Manifest | 2 ++ app-containers/grype/grype-0.42.0.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/app-containers/grype/Manifest b/app-containers/grype/Manifest index ada9fa392804..ed54e58c5adb 100644 --- a/app-containers/grype/Manifest +++ b/app-containers/grype/Manifest @@ -2,3 +2,5 @@ DIST grype-0.36.1-deps.tar.xz 671469268 BLAKE2B 227b76230e45851c0980e80c1299efca DIST grype-0.36.1.tar.gz 1028910 BLAKE2B 70327fdbb1426537c623f7e8c8c286cfba336454e129166bbda6ff19403a4e6ab260ad2136e00acf8a76aab4de6073ae4c28614c0ab5c7955c14f07c124bc833 SHA512 299d440bb96a5092173a8baa42e80bf5ea4f90663ba50241f6b0d7a2f75d94496dc91eca78c3d4341f68f7e874223d49a7663146f7e20db8cac15ed65a8650f9 DIST grype-0.39.0-deps.tar.xz 632583420 BLAKE2B 5fab5394d2f48200d9c1a59f7e12abf1be875ff8dafb237b86239d8acaadc76395e7e1d4ab38eed8c82f88cc71adc1659cdd60274c1721ebdf8674483102f9e2 SHA512 cd4492180f3f7008d0247c47069b187ec4e18f3167efd71eaf9dadf9f4c3a370463df48056db850f7d0bf7dbbea5e8d14e7966f219c615479d26827ad3aeb719 DIST grype-0.39.0.tar.gz 1026121 BLAKE2B 1d9063e0752732af7c6364be65fdaf915730695d2cbeeab080a1b06b2c056ad4716c5355b51c8aa3c19baed7dd51318c0c5b76b5709a740e0151c5734e951de0 SHA512 a8ad6c5b1918804adcd2d71a2defd0557e6acd876342582f07673224723a86834937d2e94f6f61fb9bc9304bf560b407648b8d9997ead66f7f4bf3738ce5c0e5 +DIST grype-0.42.0-deps.tar.xz 632719096 BLAKE2B 1da875fc55e907d905fd612a77cb103caea89fd32d6cceb2159d3b8615ec38ce1a7d5aba99b8a10481df788f5abc0e9f48d8464ac601b056531c97fc87721437 SHA512 9f07c42d41e2db1fab8942c2ace339a3b5a8a887ef656bc05c4ed6ea976a70ec5a496342c45d1c0b10e9883439f7348ec2d140d6d6b6c217badf9b1bb5b9d3c2 +DIST grype-0.42.0.tar.gz 1072252 BLAKE2B 9bf52453ac54130ca36716b0b94d0a428ed637995f96b3e9019c922cf758d55c2d7fa876ffac1fff5b59a716c918d801a883fce868c5005c38fa9f0e924684d6 SHA512 6e9ff3c61dd60cf7ed502cd4c979b79d0dec732c7305c40b4194a9f27cbb1513a63aa214f560878cd65af5b3fd16b453df43735d68a8340ad4923c5436a140ce diff --git a/app-containers/grype/grype-0.42.0.ebuild b/app-containers/grype/grype-0.42.0.ebuild new file mode 100644 index 000000000000..c98fb9fd7f0c --- /dev/null +++ b/app-containers/grype/grype-0.42.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +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" + +src_compile() { + ego build -o bin/grype +} + +src_install() { + dobin bin/grype +}