mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 17:11:34 +02:00
app-containers/syft: Sync with Gentoo
It's from Gentoo commit bd2e8861ed30ceecc60aaa3fb9b4014f31878b9e.
This commit is contained in:
parent
d477d877ba
commit
77de05dc5d
@ -1,2 +1,12 @@
|
||||
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
|
||||
DIST syft-0.75.0-deps.tar.xz 449464772 BLAKE2B 60329a7054917079ea2ad683019933b5a5b02441f7ec6823f64b83fd5c353b7096a21113d91d3b9fc1ecaa0870ccef4ee39c60a250f193bef35e15ea1e1b5598 SHA512 1605a7dd830d648e48049bf918c67bbc542dc790c09097db52e578bb826c994ca0364cc42ae510a6411febd90e395715b8a5317e82d424481ae3b835fae98357
|
||||
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
|
||||
DIST syft-0.95.0-deps.tar.xz 525784260 BLAKE2B 8aa9da529a605725ecbcc4ec98bef651218ee7b1ed08564fae0911fc83f78a13f7773c8c6e7c12f0ecb4b979477e1ea1a89354c11de932ef2e0a45b1fb80ec10 SHA512 0571b3586d27d1cf76a6bfd4c3fd5c06f796bd94feea63303c8464c602ce91f94e4bdc0002eb7241ff967e4146ec2a91cce428ad495d89dfda078a968e43d63f
|
||||
DIST syft-0.95.0.tar.gz 5328311 BLAKE2B 555844c771dc57dd396f4016095a8e462b5088abf7d7dc2f77b14dcd98bd77fb58598c1011145ce001117ea3059cf93f2b4a1d2a7c01914cd1e5b855e79394cc SHA512 6509d7a505ff1adc37386bccfefb8ce106ff8c1ffe267ee768f731ef865c731dec3603c055d094363aae8b0ad6dd09547cb4b7e5a8d6993d7f8e09ef47f195c3
|
||||
DIST syft-1.18.1-deps.tar.xz 162627924 BLAKE2B c68a14ede812e6573f90d3e6ebeb3e60f26e3caa92d71f008d3706921f3f873d78305f3c24ede226ee67d1ac39ac3cc2412e6c03a3386a89ee7cfd75e7df80b1 SHA512 df2a1182200074ec0bd5be08340e3fdddc4ee76a857741359a2c0a2469b16dface84e1f3540fe3034dab89562a1adb8ba341d42521686d7566b8d81f39da9217
|
||||
DIST syft-1.18.1.tar.gz 5951602 BLAKE2B d73714c11143ca8f84e8b3167c4416417845af736a677369703d7aa334cfc69fb71bd0de05dc6cd21e5282e3df3c1548c8d1306c3311054c02266a19ece37d1e SHA512 05693eb5d13be1dc5682c91906027b67de881fb5513667f98d40302130a10bd082cc1c4df006cdd5d09968e3d77ec97d8cc620d0a816d325e3571f67e98b0143
|
||||
DIST syft-1.9.0-deps.tar.xz 207469280 BLAKE2B 38b428c8062f006586c0b7f1b8aeb2af09063d9f665a5a18c50dbe3848436cac80da2d2fd441a07d76787cb8e66d35fd322c7f9d1254662bf34fd29d05116e22 SHA512 34aa74de4befc2d097cb01e0ff3b37fd30cfca60b4d916f3fe7578848b6f2bb4ea263431adff7852b2b70dc9a4f7b50e75cfd58ee6ea3c604d03f7bde5ab10e6
|
||||
DIST syft-1.9.0.tar.gz 5825322 BLAKE2B e6b0808de2179a8956a1ba30138bcf11b0fead1c154a8d432cd852d6be2753075491c43f238943883d1c8080f7c24fc9a617daff4457aba6731831c619ff9223 SHA512 0a116accd3762fa6c43475b52c85d9a103423aa5f747b86209f128a2484b54e20d17d0dce7ec88c412e95f6685f8a47032bbfe812e6fceb39451cf1faa9e7fbb
|
||||
|
@ -1,8 +1,11 @@
|
||||
<?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>
|
||||
<maintainer type="person">
|
||||
<email>williamh@gentoo.org</email>
|
||||
<name>William Hubbs</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">anchore/syft</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,24 +0,0 @@
|
||||
# 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/*
|
||||
}
|
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.75.0.ebuild
vendored
Normal file
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.75.0.ebuild
vendored
Normal file
@ -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=cc0a376aba43e7f9c5fe66320643f72088533838
|
||||
|
||||
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/*
|
||||
}
|
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.76.0.ebuild
vendored
Normal file
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.76.0.ebuild
vendored
Normal file
@ -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=dfcc07e5122217ca9e2fc75817c593356fc0c405
|
||||
|
||||
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/*
|
||||
}
|
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.94.0.ebuild
vendored
Normal file
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.94.0.ebuild
vendored
Normal file
@ -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/*
|
||||
}
|
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.95.0.ebuild
vendored
Normal file
34
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-0.95.0.ebuild
vendored
Normal file
@ -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=9b98785aab9346999a0b5e9f5e4b4e63a1b1916c
|
||||
|
||||
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/*
|
||||
}
|
36
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-1.18.1.ebuild
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-1.18.1.ebuild
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
GIT_COMMIT=5e16e5031a13f8a11057feb8544decebfc43b4ed
|
||||
|
||||
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/*
|
||||
insinto /usr/share/"${PN}"
|
||||
doins -r examples
|
||||
}
|
36
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-1.9.0.ebuild
vendored
Normal file
36
sdk_container/src/third_party/portage-stable/app-containers/syft/syft-1.9.0.ebuild
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
GIT_COMMIT=4e09908ba124dca7e6f1f6e7dc4f4663fae658ca
|
||||
|
||||
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/*
|
||||
insinto /usr/share/"${PN}"
|
||||
doins -r examples
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user