diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-05 03:59:19 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-06-13 00:04:29 +0200 |
commit | 721618cb22e3943bafcfdffe6985191622cb61da (patch) | |
tree | 38a6f4c19c80109d31d8f503467bee52fba36cc6 | |
parent | 0355141c341ce8bf13833a5b9c35017843e375d5 (diff) |
battering: Remove ebpf support from opensnitchd.
* battering/packages/opensnitch.scm
(opensnitchd)[arguments]<#:phases>['replace-ebpf-paths]: Remove phase.
(opensnitchd)[inputs]: Remove opensnitch-ebpf-module.
-rw-r--r-- | battering/packages/opensnitch.scm | 11 |
1 files changed, 1 insertions, 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)) |