commit 06812bc83ec370f768e47d81a3cf5711d53fb220ec8967bd26dc4ed446af784e Author: Richard Brown Date: Wed Jun 15 11:29:17 2022 +0000 Accepting request 981060 from home:ojkastl_buildservice:Branch_devel_kubic new package syft at version 0.46.3: CLI tool and library for generating a Software Bill of Materials from container images and filesystems OBS-URL: https://build.opensuse.org/request/show/981060 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/syft?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..7a05e50 --- /dev/null +++ b/_service @@ -0,0 +1,21 @@ + + + https://github.com/anchore/syft + git + .git + v0.46.3 + @PARENT_TAG@ + enable + v(.*) + + + syft + + + *.tar + gz + + + syft-0.46.3.tar.gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..d09c04b --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/anchore/syft + 7cb8e1fc14a278ec5afce379623a47577aba9917 \ No newline at end of file diff --git a/syft-0.46.3.tar.gz b/syft-0.46.3.tar.gz new file mode 100644 index 0000000..ba5e7a2 --- /dev/null +++ b/syft-0.46.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0fac8eca5a9fa88d4241696446ed1b2b0a98e8dbad0db09f33f3124fcb821cf +size 3889122 diff --git a/syft.changes b/syft.changes new file mode 100644 index 0000000..fedd1f3 --- /dev/null +++ b/syft.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jun 6 19:43:54 UTC 2022 - Johannes Kastl + +- first version of package syft at version 0.46.3 diff --git a/syft.spec b/syft.spec new file mode 100644 index 0000000..dbc5bfc --- /dev/null +++ b/syft.spec @@ -0,0 +1,53 @@ +# +# spec file for package syft +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + +Name: syft +Version: 0.46.3 +Release: 0 +Summary: CLI tool and library for generating a Software Bill of Materials +License: Apache-2.0 +URL: https://github.com/anchore/syft +Source: syft-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: go >= 1.18 + +%description +A CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems. Exceptional for vulnerability detection when used with a scanner like Grype. + +%prep +%setup -q +%setup -q -T -D -a 1 + +%build +go build \ + -mod=vendor \ + -buildmode=pie \ + -o bin/syft ./cmd/syft + +%install +# Install the binary. +install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}" + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..3e031f9 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:118b6132a8bde8c7cf980b59ad25764ca901ca5b83a579236019a17f81378195 +size 17412995