diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-05 03:59:19 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-02-05 15:10:07 +0100 |
commit | 8e28fa24872fd80a7bfeca6a9e83ae3e6a438641 (patch) | |
tree | 43e4e2a4bf09846e8ef14a325f270e2564a68eb2 /battering/packages/opensnitch.scm | |
parent | d7f41b1974e338ddf5ca53af0e2a97f6b482e4f2 (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.
Diffstat (limited to 'battering/packages/opensnitch.scm')
-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)) |