mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
opensnitch: workaround for https://github.com/pentoo/pentoo-overlay/issues/1168
This commit is contained in:
parent
ad1f1f81bc
commit
03f8f16763
2 changed files with 20 additions and 1 deletions
|
|
@ -18,3 +18,6 @@ DIST github.com-vishvananda-netlink-v1.1.0.tar.gz 147026 BLAKE2B 146936d2a959f1a
|
|||
DIST github.com-vishvananda-netns-50045581ed74.tar.gz 8714 BLAKE2B f52368ec96295eb22491fc361ea5571e49a7e7a2eac1638863e680070968612d5abbbef9c7f7bcb6c18aca13972289bc352b93913c299f4f6f6d64a2ab1e917e SHA512 8a7943b0c6ebb606a8af534c78a87a47be6204f490b569296e375c841d321f470f1c006b95d09e843ac50763c0496fd0a60f73a4a8eb5c55bc68f1f36fd1296a
|
||||
DIST opensnitch-1.5.1.tar.gz 994296 BLAKE2B e077f7e6bad95d39cdd146c0b6295fc3503203c27b2232ffcd76f3debec9de91e5d67b769f1b8372f48252b9950303f79483477cdaf6ccc52faf2ffbc8c83bdc SHA512 06ed68acf34acb519e1942badf38c9686e60b904d479e73ff4839c0ae0cde780c1a4b4c3419396d276e7836de52805a677c19f41ced7bb9ddaf90115e696816f
|
||||
DIST opensnitch-1.5.2.tar.gz 995296 BLAKE2B aab54c00de55c42aebbae23fd0cb7befdc87c633153c9ae4a4b6535587e2ccd3436343cdd121e76118d3c17ec23778fb80e5d973dcd8b296b2f1986cc2dc1e6f SHA512 77ad266dd3531f576e2b10aff5bcfa724c4e7b90d8b9deb01d7bdf24c728f32c9a7d16eaa91954177a3717fbebc8b1524cf975ae899c2d703ccaba4ac4b86c19
|
||||
DIST opensnitch_amd64.o 10728 BLAKE2B 398f97a9136c8909955dc0ee2f258d2940b915fbd9142e97540813c977bb67cceb2cfc80df248512bc974960d0936c18c55496c1fd17e3176681560a52518047 SHA512 167b1913c0da8597079bee71063a084724b8326b3587ca91b7b72116ae8e998dae8871976fcb7b98135868ffe274d5d332dbacd53a0e47fb5510122b875674af
|
||||
DIST opensnitch_arm64.o 10384 BLAKE2B 6439a1d29af9e44794aeb5a6a07ed0556f3cfd5afb6e1bdf8002b058acaae0909b362697bf32f60553ce42853e573d24f272712e215c08af2b677d513cbfff37 SHA512 298ee7aea9b70c206b5d12ada016b21a05fb0ee65001e24bf3bf949dcb9308fde83fff8e281df761354ebdcfc3ff9672ec0000a19e1f285b61228cb4eeba0700
|
||||
DIST opensnitch_i386.o 10368 BLAKE2B 15b4abd5da8c2ab29f91b2fdefe6ee095dde09d1dcb3180339ba8ab567e29400e77598f1f969c7a4e9b23140564807c237d52b5601d84e2733b658fa9ccd1aaa SHA512 a8e493f4f62e706d0499fa92777ebd8339c925b1622a75595971ee53a3d73b653749a053c3c43bb4a0dc7b6baaed45442d458626c3731bcbc97af069e2b7b160
|
||||
|
|
|
|||
|
|
@ -38,7 +38,11 @@ DESCRIPTION="Desktop application firewall"
|
|||
HOMEPAGE="https://github.com/evilsocket/opensnitch"
|
||||
|
||||
SRC_URI="https://github.com/evilsocket/opensnitch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
${EGO_VENDOR_URI}
|
||||
amd64? ( https://dev.pentoo.ch/~blshkv/distfiles/opensnitch_amd64.o )
|
||||
x86? ( https://dev.pentoo.ch/~blshkv/distfiles/opensnitch_i386.o )
|
||||
arm64? ( https://dev.pentoo.ch/~blshkv/distfiles/opensnitch_arm64.o )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
|
@ -58,6 +62,10 @@ RDEPEND="
|
|||
dev-python/PyQt5[sql,${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
#https://github.com/evilsocket/opensnitch/issues/712
|
||||
QA_PREBUILT="etc/opensnitchd/opensnitch.o"
|
||||
|
||||
#KPROBES* required by ebpf
|
||||
CONFIG_CHECK="NETFILTER_XT_MATCH_CONNTRACK CGROUP_BPF BPF BPF_SYSCALL BPF_EVENTS KPROBES KPROBE_EVENTS"
|
||||
|
||||
|
|
@ -97,6 +105,14 @@ src_install(){
|
|||
insinto /etc/opensnitchd/
|
||||
doins default-config.json
|
||||
doins system-fw.json
|
||||
|
||||
if use amd64; then
|
||||
newins "${DISTDIR}"/opensnitch_amd64.o opensnitch.o
|
||||
elif use arm64; then
|
||||
newins "${DISTDIR}"/opensnitch_arm64.o opensnitch.o
|
||||
elif use x86; then
|
||||
newins "${DISTDIR}"/opensnitch_i386.o opensnitch.o
|
||||
fi
|
||||
popd >/dev/null || die
|
||||
|
||||
if use systemd; then
|
||||
Loading…
Reference in a new issue