summaryrefslogtreecommitdiff
path: root/app-containers/syft
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers/syft')
-rw-r--r--app-containers/syft/Manifest3
-rw-r--r--app-containers/syft/syft-0.94.0.ebuild34
2 files changed, 37 insertions, 0 deletions
diff --git a/app-containers/syft/Manifest b/app-containers/syft/Manifest
index 389ed1e68b78..31fcb4c96a9c 100644
--- a/app-containers/syft/Manifest
+++ b/app-containers/syft/Manifest
@@ -2,6 +2,9 @@ DIST syft-0.75.0-deps.tar.xz 449464772 BLAKE2B 60329a7054917079ea2ad683019933b5a
DIST syft-0.75.0.tar.gz 5714462 BLAKE2B 4513fb5ce8c9b432d9042e31c13032428db7ae2b7637f25d391c572094706a1bcfa7dc971a96a8630b3d226504000c79219c0cbc6e1372558c6d08c3ff41dfa4 SHA512 4b8f7cc2823ace1fb2a57a5a989690967ac2b0caf2358dd61a85eca418050ff3fb8ea0409fa694754e595f85168f7f2b192fd407f651f48e05932a73b18fa379
DIST syft-0.76.0-deps.tar.xz 457367140 BLAKE2B 8d05372361e6051b8102bec3b775eb00f9f24c5d6cddcee39d5d5b0a8f8db5260173d17aa3922b625885c1dddba42f2c2ecb6afe39b03c61a04a9a9577c4a9c6 SHA512 20f32db12c11a15eb323016fb0df09ec0ad823882344006fd30c4450e25feb9db17b8784581a01ed5a3fd68597ad05749082413c4196deff4b908af56c72b04e
DIST syft-0.76.0.tar.gz 5726316 BLAKE2B debf5c9764994c616fceb7b69c42e87d6399ceb4b2f878935901f626256723177cc3e23b38f6dbce40a59c6586cb5589e82ed3c2a9811117486d9a1ced2f2260 SHA512 86f82455ff0d78864f56f2575bb2acb311ab658c23161b44f342242e88470948581097c2d928fae96ed01ad52843cb26d4682e22e5f81818a83a35cca1eff69e
+DIST syft-0.94.0-deps.tar.xz 502576092 BLAKE2B 35c13d34a7a4b2afafb9b73502f4258b379db737d9482d3f2fc8c0748cda67733e198df25237b6622e7450055f6681de7e7031cf0d5c0f7d422b268e64608da2 SHA512 1018cbd7e22b44ca8626747ddce2a4672b7f6e0ff359d30e36877ac00e093cea8709d6880093850afe107aef7333b6f928ababc1dbb3cb5741c466b95ac69268
+DIST syft-0.94.0.tar.gz 5266343 BLAKE2B 892c7bf90a1d15fd926207acd1a28e8bd907ae5869be763e48ccd8d3279975c2ec84d9ec5842e3799460a823b5aa611a028982d8d40d90248c1cfad25415c672 SHA512 171b23271f03e1e824dcac41a563f7947d004797a21e762eea883ea680e0de65a532e03e4b245a4021288fec60142da8c1c16d6520eadece65728728b9d15f91
EBUILD syft-0.75.0.ebuild 1022 BLAKE2B 13c05009e638e74bf19c3352d9f1883606e5fe0ae7ca990eac41a1af156818d8943150c2cea4bca77e5bd68b728476fded8d0445bd46389198dbaa80386ecc43 SHA512 ef07ae5cbd2aaac66f0533b49726f96519cb9e3836b8ea6d3e7121b3b4f4ff1bee0cb1e63a84578855209da076104999eadaa28d4cef0b73be4fb1a617798e1a
EBUILD syft-0.76.0.ebuild 1022 BLAKE2B 2baa4060ef36710239a643944c99e14f38f6be7806895c424fe0be2a3bfe0635aea8ecbd7fd5f40dcac475bb6c9e0faef79e69238ea2d989f0c31667d5cc96ce SHA512 4ef63335d0f183e576ab51570e2a19601965373e70b1230db44645d0638948b87c691b8e90246d6b42d7a38e7cae7d32e3061804a0b4ab73b61e63e36e0ca8e4
+EBUILD syft-0.94.0.ebuild 1022 BLAKE2B ee31e493fc2ee14668b77963c4f1488e31546075925c4852a971469ffc7f689bebe9efff5a04b4cb38e77c86107a24ea2ddcb41a3d33b74470dfad2f3b4be86c SHA512 e8886a7063e2b1c5465fc7b0706fc437492e39d3b63f7e1a4d2bfa7b1cdf6716d31401667c8088e062de291e13dab75d0d1f4c64451593357228c6c0e1c85fd9
MISC metadata.xml 326 BLAKE2B 889352fc9244f1d8a8d456a2ee031b28221a45e42772f38a2a8e43e31240d552eeaf1844ddd6b337f4ab63625d12c467618814ef3ca4f00a5dcc34a7187e86c4 SHA512 ea81e45fd0362f2b065b748a48e99eec5924f947bb3f6db725b6851678bd686a17c6873a0ebba9774a4563f57da2e67c1e86fe95679f0d057a19303f98ce5a36
diff --git a/app-containers/syft/syft-0.94.0.ebuild b/app-containers/syft/syft-0.94.0.ebuild
new file mode 100644
index 000000000000..b5c24f11d18c
--- /dev/null
+++ b/app-containers/syft/syft-0.94.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=8f6bdde6662aa8050a71eadbdb7bd5a3b079a56d
+
+DESCRIPTION="Generate a Software Bill of Materials from container images and filesystems"
+HOMEPAGE="https://www.anchore.com"
+SRC_URI="https://github.com/anchore/syft/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 ~arm64"
+
+# tests require a running docker daemon
+RESTRICT="test"
+
+src_compile() {
+ local BUILD_DATE
+ BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
+ ego build -o bin/syft -ldflags "
+ -extldflags '-static'
+ -X github.com/anchore/syft/internal/version.version=${PV}
+ -X github.com/anchore/syft/internal/version.gitCommit=${GIT_COMMIT}
+ -X github.com/anchore/syft/internal/version.buildDate=${BUILD_DATE}
+ -X github.com/anchore/syft/internal/version.gitDescription=v${PV}
+ " ./cmd/syft
+}
+
+src_install() {
+ dobin bin/*
+}