* [PR PATCH] grype: update to 0.61.1.
@ 2023-05-17 7:56 TeddyDD
2023-05-17 13:21 ` [PR PATCH] [Updated] " TeddyDD
2023-05-17 23:17 ` [PR PATCH] [Merged]: " Piraty
0 siblings, 2 replies; 3+ messages in thread
From: TeddyDD @ 2023-05-17 7:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
There is a new pull request by TeddyDD against master on the void-packages repository
https://github.com/TeddyDD/void-packages-1 update-grype
https://github.com/void-linux/void-packages/pull/43909
grype: update to 0.61.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43909.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-grype-43909.patch --]
[-- Type: text/x-diff, Size: 1379 bytes --]
From 55ed2c8a9f6f7ed9ce192f78cc0d03cdb5ece636 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Wed, 17 May 2023 09:54:21 +0200
Subject: [PATCH] grype: update to 0.61.1.
---
srcpkgs/grype/template | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/grype/template b/srcpkgs/grype/template
index c9d97dd6216c..43a743e8d40e 100644
--- a/srcpkgs/grype/template
+++ b/srcpkgs/grype/template
@@ -1,12 +1,28 @@
# Template file for 'grype'
pkgname=grype
-version=0.60.0
-revision=2
+version=0.61.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="github.com/anchore/grype"
short_desc="Vulnerability scanner for container images and filesystems"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://github.com/anchore/grype"
distfiles="https://github.com/anchore/grype/archive/refs/tags/v${version}.tar.gz"
-checksum=3617066735c984f87caacada7bc4bb9478bbab306a3b1eb1c8d4cc7a99471b93
+checksum=e9599fbf1c42133e1d07719a3bb1489a5d261a099af8ec515be3409e12dbc56c
+
+post_build() {
+ local cli=$(find $GOPATH/bin -name grype)
+ for shell in bash fish zsh
+ do
+ vtargetrun "$cli" completion "$shell" >"completion.$shell"
+ done
+}
+
+post_install() {
+ for shell in bash fish zsh
+ do
+ vcompletion "completion.$shell" "$shell"
+ done
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] grype: update to 0.61.1.
2023-05-17 7:56 [PR PATCH] grype: update to 0.61.1 TeddyDD
@ 2023-05-17 13:21 ` TeddyDD
2023-05-17 23:17 ` [PR PATCH] [Merged]: " Piraty
1 sibling, 0 replies; 3+ messages in thread
From: TeddyDD @ 2023-05-17 13:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
There is an updated pull request by TeddyDD against master on the void-packages repository
https://github.com/TeddyDD/void-packages-1 update-grype
https://github.com/void-linux/void-packages/pull/43909
grype: update to 0.61.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/43909.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-grype-43909.patch --]
[-- Type: text/x-diff, Size: 1292 bytes --]
From d7d1e735fb6f6fb46c7e4b078b325c21803fb52d Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Wed, 17 May 2023 09:54:21 +0200
Subject: [PATCH] grype: update to 0.61.1.
---
srcpkgs/grype/template | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/grype/template b/srcpkgs/grype/template
index c9d97dd6216c..56b8bc759698 100644
--- a/srcpkgs/grype/template
+++ b/srcpkgs/grype/template
@@ -1,12 +1,21 @@
# Template file for 'grype'
pkgname=grype
-version=0.60.0
-revision=2
+version=0.61.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="github.com/anchore/grype"
short_desc="Vulnerability scanner for container images and filesystems"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0"
homepage="https://github.com/anchore/grype"
distfiles="https://github.com/anchore/grype/archive/refs/tags/v${version}.tar.gz"
-checksum=3617066735c984f87caacada7bc4bb9478bbab306a3b1eb1c8d4cc7a99471b93
+checksum=e9599fbf1c42133e1d07719a3bb1489a5d261a099af8ec515be3409e12dbc56c
+
+post_install() {
+ grype="${DESTDIR}/usr/bin/grype"
+ for shell in bash fish zsh; do
+ vtargetrun ${grype} completion ${shell} >grype.${shell}
+ vcompletion grype.${shell} ${shell}
+ done
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: grype: update to 0.61.1.
2023-05-17 7:56 [PR PATCH] grype: update to 0.61.1 TeddyDD
2023-05-17 13:21 ` [PR PATCH] [Updated] " TeddyDD
@ 2023-05-17 23:17 ` Piraty
1 sibling, 0 replies; 3+ messages in thread
From: Piraty @ 2023-05-17 23:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
There's a merged pull request on the void-packages repository
grype: update to 0.61.1.
https://github.com/void-linux/void-packages/pull/43909
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-17 23:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 7:56 [PR PATCH] grype: update to 0.61.1 TeddyDD
2023-05-17 13:21 ` [PR PATCH] [Updated] " TeddyDD
2023-05-17 23:17 ` [PR PATCH] [Merged]: " Piraty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).