mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
Merge pull request #2030 from flatcar-linux/jepio/spdx-sbom
app-containers/syft: add v0.51.0 to sdk
This commit is contained in:
commit
ef48877b47
2
sdk_container/src/third_party/coreos-overlay/app-containers/syft/Manifest
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/app-containers/syft/Manifest
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST syft-0.51.0-deps.tar.xz 632084588 BLAKE2B f9b3e4e41521c25b6e338f2b8f3bba0be08e7608d95de7dba6f5f104e22b8de8a4b419e574e19634099a3bbc55556f83949c68abd5ae52d14b5e97cb9306bf22 SHA512 819236c275762cc42c60339ee2d6886f0998f34609ab0bbef3150b23fbcf3cecaea63d92f6e2e161bf3ec30edae00ef467755900fd1c98389db2f9cd8113fbf4
|
||||||
|
DIST syft-0.51.0.tar.gz 3727474 BLAKE2B ae9f54f421faa530aabbbadd985071f603ccaa32c6cd5f0dd400ea9163a218e8ddd5e7035042a7eda6cd06910ce96ae0f42b7422c932992fad812431a42ac059 SHA512 fb844a76d3f3f303e781cea40ac6fb573927f6465a39da10fe9cffeb08ce7b1e8b8ed4acb219206e53159f802eaa12dce73ce5bc3b868f6f4270a30498b6b767
|
8
sdk_container/src/third_party/coreos-overlay/app-containers/syft/metadata.xml
vendored
Normal file
8
sdk_container/src/third_party/coreos-overlay/app-containers/syft/metadata.xml
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>williamh@gentoo.org</email>
|
||||||
|
<name>William Hubbs</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
24
sdk_container/src/third_party/coreos-overlay/app-containers/syft/syft-0.51.0.ebuild
vendored
Normal file
24
sdk_container/src/third_party/coreos-overlay/app-containers/syft/syft-0.51.0.ebuild
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
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"
|
||||||
|
# Flatcar: keyword for arm64 and amd64
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Flatcar: add ldflags to set version
|
||||||
|
ego build -o bin/syft -ldflags "-X github.com/anchore/syft/internal/version.version=${PV}" ./cmd/syft
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user