From ae188ff39833a8f8905d481525765424a590063f0781714d8d81e4eaaa126736 Mon Sep 17 00:00:00 2001 From: Jeff Mahoney Date: Fri, 19 Aug 2022 21:19:45 +0000 Subject: [PATCH] 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 --- update-vendoring.sh | 6 ++++++ velociraptor-client.changes | 6 ++++++ velociraptor-client.spec | 2 +- velociraptor.changes | 6 ++++++ velociraptor.spec | 2 +- vendor-golang-0.6.4.2~git56.47b4adb4.tar.xz | 3 --- vendor-golang-0.6.4.2~git59.5ebb49db.tar.xz | 3 +++ ...golang-kafka-humio-gateway-0.6.4.2~git56.47b4adb4.tar.xz | 3 --- ...golang-kafka-humio-gateway-0.6.4.2~git59.5ebb49db.tar.xz | 3 +++ vendor-nodejs-0.6.4.2~git56.47b4adb4.tar.xz | 3 --- vendor-nodejs-0.6.4.2~git59.5ebb49db.tar.xz | 3 +++ 11 files changed, 29 insertions(+), 11 deletions(-) delete mode 100644 vendor-golang-0.6.4.2~git56.47b4adb4.tar.xz create mode 100644 vendor-golang-0.6.4.2~git59.5ebb49db.tar.xz delete mode 100644 vendor-golang-kafka-humio-gateway-0.6.4.2~git56.47b4adb4.tar.xz create mode 100644 vendor-golang-kafka-humio-gateway-0.6.4.2~git59.5ebb49db.tar.xz delete mode 100644 vendor-nodejs-0.6.4.2~git56.47b4adb4.tar.xz create mode 100644 vendor-nodejs-0.6.4.2~git59.5ebb49db.tar.xz diff --git a/update-vendoring.sh b/update-vendoring.sh index 0d13691..709dd24 100644 --- a/update-vendoring.sh +++ b/update-vendoring.sh @@ -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 diff --git a/velociraptor-client.changes b/velociraptor-client.changes index c86e2ea..e952ef4 100644 --- a/velociraptor-client.changes +++ b/velociraptor-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 19 21:07:30 UTC 2022 - Jeff Mahoney + +- Updated vendoring. +- Fixed update-vendoring script to use an independent go module cache. + ------------------------------------------------------------------- Fri Aug 19 01:59:35 UTC 2022 - jeffm@suse.com diff --git a/velociraptor-client.spec b/velociraptor-client.spec index a42eb0a..c6749ad 100644 --- a/velociraptor-client.spec +++ b/velociraptor-client.spec @@ -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 diff --git a/velociraptor.changes b/velociraptor.changes index 2548456..a918857 100644 --- a/velociraptor.changes +++ b/velociraptor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 19 21:07:15 UTC 2022 - Jeff Mahoney + +- Updated vendoring. +- Fixed update-vendoring script to use an independent go module cache. + ------------------------------------------------------------------- Fri Aug 19 01:59:35 UTC 2022 - jeffm@suse.com diff --git a/velociraptor.spec b/velociraptor.spec index 7352de9..8c36a3f 100644 --- a/velociraptor.spec +++ b/velociraptor.spec @@ -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 diff --git a/vendor-golang-0.6.4.2~git56.47b4adb4.tar.xz b/vendor-golang-0.6.4.2~git56.47b4adb4.tar.xz deleted file mode 100644 index 502a838..0000000 --- a/vendor-golang-0.6.4.2~git56.47b4adb4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7d38ad45be8b27e563fadac89059951f60d1d231f2d8fec3df1b827447a5901 -size 7868504 diff --git a/vendor-golang-0.6.4.2~git59.5ebb49db.tar.xz b/vendor-golang-0.6.4.2~git59.5ebb49db.tar.xz new file mode 100644 index 0000000..bfa1418 --- /dev/null +++ b/vendor-golang-0.6.4.2~git59.5ebb49db.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8f77ac096b5e31cb4f2d3350f462ff02c4e6b20310f285456411fbe0d5bf1ec +size 7869080 diff --git a/vendor-golang-kafka-humio-gateway-0.6.4.2~git56.47b4adb4.tar.xz b/vendor-golang-kafka-humio-gateway-0.6.4.2~git56.47b4adb4.tar.xz deleted file mode 100644 index b0fc52d..0000000 --- a/vendor-golang-kafka-humio-gateway-0.6.4.2~git56.47b4adb4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:886a5eeed9e6c9188a634e2cd19735f9260b0916ebb1a024f6b0de848219b652 -size 454252 diff --git a/vendor-golang-kafka-humio-gateway-0.6.4.2~git59.5ebb49db.tar.xz b/vendor-golang-kafka-humio-gateway-0.6.4.2~git59.5ebb49db.tar.xz new file mode 100644 index 0000000..32dd08f --- /dev/null +++ b/vendor-golang-kafka-humio-gateway-0.6.4.2~git59.5ebb49db.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fde72109a7f0de8aa2c413e60c5ede497bf4ced503ee8dc7b123f77ccc9c25ee +size 454240 diff --git a/vendor-nodejs-0.6.4.2~git56.47b4adb4.tar.xz b/vendor-nodejs-0.6.4.2~git56.47b4adb4.tar.xz deleted file mode 100644 index a916f16..0000000 --- a/vendor-nodejs-0.6.4.2~git56.47b4adb4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2c6afab53fa7d9860738ee4c3e0a720594fdc17e3414c0ba812dec7d21f3d41 -size 36978488 diff --git a/vendor-nodejs-0.6.4.2~git59.5ebb49db.tar.xz b/vendor-nodejs-0.6.4.2~git59.5ebb49db.tar.xz new file mode 100644 index 0000000..c6b428a --- /dev/null +++ b/vendor-nodejs-0.6.4.2~git59.5ebb49db.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:534aa7c32515bf54c823ada382c08ba01ec650e5b88258edc409cef3c5fddcf9 +size 37119140