forked from pool/velociraptor
Jeff Mahoney
6b715abe43
- Update to version 0.6.4~git26.4407b9b7: * Add artifact for chattrsnoop plugin * bpflib: ensure it's built only on linux and when requesting bpf * Add chattrsnoop plugin * tcpsnoop: Properly close module in case of attach error * Add artifacts for dns/tcp snoop plugins * tcpsnoop: Add timestamp to generated events * dnssnoop: Add timestamp to generated events - Update to version 0.6.4~git26.4407b9b7: * Add artifact for chattrsnoop plugin * bpflib: ensure it's built only on linux and when requesting bpf * Add chattrsnoop plugin * tcpsnoop: Properly close module in case of attach error * Add artifacts for dns/tcp snoop plugins * tcpsnoop: Add timestamp to generated events * dnssnoop: Add timestamp to generated events OBS-URL: https://build.opensuse.org/request/show/976815 OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=15
25 lines
774 B
Diff
25 lines
774 B
Diff
From: Jeff Mahoney <jeffm@suse.com>
|
|
Subject: skip git submodule import for OBS build
|
|
|
|
For OBS builds, the git submodule is imported during obs_scm.
|
|
|
|
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
|
|
---
|
|
Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -61,8 +61,8 @@ ifeq ($(BUILD_LIBBPFGO), 1)
|
|
vql/linux/chattrsnoop/chattrsnoop.bpf.o
|
|
|
|
$(LIBBPFGO_DIR): always-check
|
|
- echo "INFO: updating submodule 'libbpfgo'"
|
|
- $(GIT) submodule update --init --recursive $@
|
|
+# echo "INFO: updating submodule 'libbpfgo'"
|
|
+# $(GIT) submodule update --init --recursive $@
|
|
# Fake that it's an internal module
|
|
rm -f $@/go.mod
|
|
sed -e 's;"github.com/aquasecurity;"www.velocidex.com/golang/velociraptor/third_party;' -i $@/libbpfgo.go
|
|
|