binutils
, flex
must be removed from makedepends
as they are part of base-devel
.
Also you shouldn't have any packages in the conflicts()
here, see https://wiki.archlinux.org/title/PKGBUILD#conflicts
Git Clone URL: | https://aur.archlinux.org/opensnitch-ebpf-module.git (read-only, click to copy) |
---|---|
Package Base: | opensnitch-ebpf-module |
Description: | eBPF process monitor module for opensnitch |
Upstream URL: | https://github.com/evilsocket/opensnitch |
Licenses: | GPL3 |
Submitter: | nns |
Maintainer: | nns |
Last Packager: | nns |
Votes: | 25 |
Popularity: | 1.27 |
First Submitted: | 2023-02-06 09:27 (UTC) |
Last Updated: | 2024-09-24 10:00 (UTC) |
binutils
, flex
must be removed from makedepends
as they are part of base-devel
.
Also you shouldn't have any packages in the conflicts()
here, see https://wiki.archlinux.org/title/PKGBUILD#conflicts
OpenSnitch's 1.5.2 version no longer compiles with the latest kernel available in the repos (6.1.1). Until a new stable release of OpenSnitch is published, this package will build with 6.0.14, which is the latest kernel release which still builds.
This is the latest RELEASE version of opensnitch's eBPF module. It is meant to be used with the regular opensnitch package, not the -git
version in the AUR. If you're using the -git
version of opensnitch, you're looking for this version of the eBPF module package instead.
I intend to keep this up to date with the OpenSnitch releases (as soon as the main package updates).
FYI -- This commit shows an update in the compilation steps.
@Kazel Because I don't know when the kernel version or instructions for installing eBPF will change (It's unclear whether they version that part of the repository semantically or not, since it is not part of the binary bundle)
why are you depending on a fixed version of opensnitch?
Happy to report that after a week of using it, i didn't notice any problems.
@deathtrip I would think so. Please try and report if it does!
Pinned Comments
nns commented on 2023-07-07 10:40 (UTC) (edited on 2024-04-06 06:48 (UTC) by nns)
MANJARO USERS, READ ME
Manjaro does not create the
/usr/src/linux
symlink, which should point to the current kernel headers and is required for this package to build properly. If you wish to use this package, your options are to:Manually edit the PKGBUILD before building and change the
KDIR
variable inbuild()
to point to your kernel headers.Create a pacman hook for the kernel header package which creates the symbolic link automatically. An example can be seen in this comment: https://aur.archlinux.org/packages/opensnitch-ebpf-module?O=30#comment-919081
nns commented on 2022-11-15 09:17 (UTC) (edited on 2023-07-11 10:02 (UTC) by nns)
This is the latest RELEASE version of opensnitch's eBPF module. It is meant to be used with the regular opensnitch package, not the
-git
version in the AUR. If you're using the-git
version of opensnitch, you're looking for this version of the eBPF module package instead.I intend to keep this up to date with the OpenSnitch releases (as soon as the main package updates).