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: Sat, 25 Mar 2023 20:59:16 +0000 (UTC)	[thread overview]
Message-ID: <1679777948.6761ed24c28943b83c2c56ef3eb90e09b24493a0.williamh@gentoo> (raw)

commit:     6761ed24c28943b83c2c56ef3eb90e09b24493a0
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 20:59:08 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 20:59:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6761ed24

app-containers/syft: add 0.75.0

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

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

diff --git a/app-containers/syft/Manifest b/app-containers/syft/Manifest
index 7920dfc7ba83..b0478b123501 100644
--- a/app-containers/syft/Manifest
+++ b/app-containers/syft/Manifest
@@ -2,3 +2,5 @@ DIST syft-0.54.0-deps.tar.xz 667262532 BLAKE2B f81c3bb54be16c40f3ec811d42c307ef0
 DIST syft-0.54.0.tar.gz 3770999 BLAKE2B f33679764fc1904b08f9112a3bfa10f6b8e4ab16c3e1bde81283ad7feede92d9eccf04cd6734dbe11f2d838c0ed45f6a62006f5670eea7271428bae45d5ff55c SHA512 c92991c4c48e60101b55a163506abd89b36f6b80312f9ca3f9953027ba7145dd4f5c5e11c86ca328360991a875637528803e41dcfbba91b204a461de1109c445
 DIST syft-0.59.0-deps.tar.xz 619149756 BLAKE2B acc5118a7d64f5a785d68852984a7c6ab48eb6f745ca53a05a29995b5979c78b574794ad4daceaafa98d489d6d7a2a1e3697bda3818dce5c0dae60d15ac8cb90 SHA512 f5b565c7f19b4825fb799e47bf7971cf9337d495ab110d541a26d35dfffea4599a09911598ee867597c88bf96d289cb4ded5f73f445d68f7b0a85d7f29e5c5f3
 DIST syft-0.59.0.tar.gz 3784520 BLAKE2B fd6336d886cd9c7052b44df2f86f5ec007ffd16e8e33da9d5bd246a4c0b600a5ecd39edd5e99995aee2ee22c04f5c1fd977bd7a70f799e2638d5bd30d078cda2 SHA512 ecf0eb9b9470bceca918b37895688394d3aa6419561437908d6b9f069f12357f1713d872d139fd704817bb4ea454e5aaa0d8f6c7c8a62d046787aa57606c2cb4
+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

diff --git a/app-containers/syft/syft-0.75.0.ebuild b/app-containers/syft/syft-0.75.0.ebuild
new file mode 100644
index 000000000000..1dc3782ce80c
--- /dev/null
+++ b/app-containers/syft/syft-0.75.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=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/*
+}


             reply	other threads:[~2023-03-25 20:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25 20:59 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-17 16:09 [gentoo-commits] repo/gentoo:master commit in: app-containers/syft/ William Hubbs
2024-07-16 19:55 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
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=1679777948.6761ed24c28943b83c2c56ef3eb90e09b24493a0.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