Accepting request 998259 from home:jeff_mahoney:branches:security:sensor

- Updated vendoring.
- Fixed update-vendoring script to use an independent go module cache.

- Updated vendoring.
- Fixed update-vendoring script to use an independent go module cache.

OBS-URL: https://build.opensuse.org/request/show/998259
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=19
This commit is contained in:
Jeff Mahoney 2022-08-19 21:19:45 +00:00 committed by Git OBS Bridge
parent 5ae9450724
commit ae188ff398
11 changed files with 29 additions and 11 deletions

View File

@ -2,6 +2,10 @@
cleanup() {
test -n "${dir}" && rm -rf "${dir}"
if test -n "${gopathdir}"; then
chmod -R u+w "${gopathdir}"
rm -rf "${gopathdir}"
fi
}
error() {
@ -32,7 +36,9 @@ cd "${dir}/velociraptor-${version}"
sh ${dir}/setup.sh
echo "Re-vendoring Go code..."
gopathdir="$(mktemp -d /tmp/gopath.XXXXXXX)"
rm -rf vendor
export GOPATH="$gopathdir"
go mod vendor
tar Jcf ${dir}/vendor-golang-${version}.tar.xz vendor

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 19 21:07:30 UTC 2022 - Jeff Mahoney <jeffm@suse.com>
- Updated vendoring.
- Fixed update-vendoring script to use an independent go module cache.
-------------------------------------------------------------------
Fri Aug 19 01:59:35 UTC 2022 - jeffm@suse.com

View File

@ -16,7 +16,7 @@
#
%define projname velociraptor
%define vendor_version 0.6.4.2~git56.47b4adb4
%define vendor_version 0.6.4.2~git59.5ebb49db
%define vmlinux_h_version 5.18.9-2-default
Name: velociraptor-client

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 19 21:07:15 UTC 2022 - Jeff Mahoney <jeffm@suse.com>
- Updated vendoring.
- Fixed update-vendoring script to use an independent go module cache.
-------------------------------------------------------------------
Fri Aug 19 01:59:35 UTC 2022 - jeffm@suse.com

View File

@ -16,7 +16,7 @@
#
%define projname velociraptor
%define vendor_version 0.6.4.2~git56.47b4adb4
%define vendor_version 0.6.4.2~git59.5ebb49db
%define vmlinux_h_version 5.18.9-2-default
Name: velociraptor

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7d38ad45be8b27e563fadac89059951f60d1d231f2d8fec3df1b827447a5901
size 7868504

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8f77ac096b5e31cb4f2d3350f462ff02c4e6b20310f285456411fbe0d5bf1ec
size 7869080

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:886a5eeed9e6c9188a634e2cd19735f9260b0916ebb1a024f6b0de848219b652
size 454252

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fde72109a7f0de8aa2c413e60c5ede497bf4ced503ee8dc7b123f77ccc9c25ee
size 454240

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c2c6afab53fa7d9860738ee4c3e0a720594fdc17e3414c0ba812dec7d21f3d41
size 36978488

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:534aa7c32515bf54c823ada382c08ba01ec650e5b88258edc409cef3c5fddcf9
size 37119140