This commit is contained in:
Anton Bolshakov 2024-02-16 09:17:30 +08:00
parent 7e8b81f961
commit 9b0d5b154f
No known key found for this signature in database
GPG key ID: 32BDCED870788F04

View file

@ -7,19 +7,17 @@ inherit linux-info
DESCRIPTION="eBPF process monitor module for opensnitch"
HOMEPAGE="https://github.com/evilsocket/opensnitch"
# NOTE: app-admin/opensnitch and this ebuild share the same source
SRC_URI="
https://github.com/evilsocket/opensnitch/archive/refs/tags/v${PV}.tar.gz -> opensnitch-${PV}.gh.tar.gz
"
EBPF_DIR=ebpf_prog
KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"
IUSE="dist-kernel"
EBPF_DIR=ebpf_prog
MINKV=5.5 # only compatible with kernels >= 5.5
RDEPEND="
@ -41,6 +39,8 @@ BDEPEND="
RESTRICT="strip test"
QA_PREBUILT="*"
S="${WORKDIR}/opensnitch-${PV}"
pkg_setup() {
# see https://github.com/evilsocket/opensnitch/discussions/978
local CONFIG_CHECK="