From 721618cb22e3943bafcfdffe6985191622cb61da Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Wed, 5 Feb 2025 03:59:19 +0100 Subject: battering: Remove ebpf support from opensnitchd. * battering/packages/opensnitch.scm (opensnitchd)[arguments]<#:phases>['replace-ebpf-paths]: Remove phase. (opensnitchd)[inputs]: Remove opensnitch-ebpf-module. --- battering/packages/opensnitch.scm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/battering/packages/opensnitch.scm b/battering/packages/opensnitch.scm index 4a51238..25d16f5 100644 --- a/battering/packages/opensnitch.scm +++ b/battering/packages/opensnitch.scm @@ -162,14 +162,6 @@ Opensnitch to monitor traffic via eBPF rules.") (lambda* (#:key unpack-path #:allow-other-keys) (with-directory-excursion (format #f "src/~a/proto/" unpack-path) (invoke "make" "../daemon/ui/protocol/ui.pb.go")))) - (add-before 'build 'replace-ebpf-path - (lambda* (#:key tests? import-path #:allow-other-keys) - (with-directory-excursion (format #f "src/~a/" import-path) - (substitute* "core/ebpf.go" - (("/usr") - #$opensnitch-ebpf-module) - (("modulesDir = .*$") - "modulesDir = \"\"\n"))))) (add-before 'check 'delete-buggy-test-data (lambda* (#:key tests? import-path #:allow-other-keys) (when tests? @@ -189,8 +181,7 @@ Opensnitch to monitor traffic via eBPF rules.") go-github-com-golang-protobuf go-github-com-fsnotify-fsnotify libnetfilter-queue - libnfnetlink - opensnitch-ebpf-module)) + libnfnetlink)) (native-inputs (list protobuf protoc-gen-go go-google-golang-org-grpc-cmd-protoc-gen-go-grpc pkg-config)) -- cgit v1.2.3