public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/syft/
Date: Fri, 17 Jan 2025 16:09:22 +0000 (UTC)	[thread overview]
Message-ID: <1737130152.bd2e8861ed30ceecc60aaa3fb9b4014f31878b9e.williamh@gentoo> (raw)

commit:     bd2e8861ed30ceecc60aaa3fb9b4014f31878b9e
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 16:09:12 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 16:09:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2e8861

app-containers/syft: add 1.18.1

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-containers/syft/Manifest           |  2 ++
 app-containers/syft/syft-1.18.1.ebuild | 36 ++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/app-containers/syft/Manifest b/app-containers/syft/Manifest
index 0f06e232f8c7..917a175b7a60 100644
--- a/app-containers/syft/Manifest
+++ b/app-containers/syft/Manifest
@@ -6,5 +6,7 @@ DIST syft-0.94.0-deps.tar.xz 502576092 BLAKE2B 35c13d34a7a4b2afafb9b73502f4258b3
 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

diff --git a/app-containers/syft/syft-1.18.1.ebuild b/app-containers/syft/syft-1.18.1.ebuild
new file mode 100644
index 000000000000..20e8cdef9dff
--- /dev/null
+++ b/app-containers/syft/syft-1.18.1.ebuild
@@ -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
+}


             reply	other threads:[~2025-01-17 16:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-17 16:09 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-16 19:55 [gentoo-commits] repo/gentoo:master commit in: app-containers/syft/ William Hubbs
2023-11-08 17:31 William Hubbs
2023-11-02 21:16 William Hubbs
2023-04-04 17:44 William Hubbs
2023-04-04 17:44 William Hubbs
2023-03-25 20:59 William Hubbs
2022-12-24  2:59 Sam James
2022-10-20 16:26 William Hubbs
2022-10-20 16:18 William Hubbs
2022-08-27 19:37 William Hubbs
2022-08-04 15:53 William Hubbs
2022-07-29 16:14 William Hubbs
2022-07-29 15:53 William Hubbs
2022-07-27 18:20 William Hubbs
2022-07-27 17:48 William Hubbs
2022-07-27 17:12 William Hubbs
2022-07-27 17:12 William Hubbs
2022-07-20 15:17 William Hubbs
2022-07-16 19:38 William Hubbs
2022-06-15  1:17 William Hubbs
2022-05-11 21:29 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1737130152.bd2e8861ed30ceecc60aaa3fb9b4014f31878b9e.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox