opensnitch: some qa fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-01-17 16:54:28 -05:00
parent 6570c1b014
commit def2c1ae05
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
4 changed files with 15 additions and 8 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">evilsocket/opensnitch</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -46,7 +46,7 @@ LICENSE="GPL-3"
SLOT="0"
IUSE="+audit bpf +iptables +nftables systemd"
REQUIRED_USE="|| ( iptables nftables )"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64"
DEPEND=">=dev-lang/go-1.19
net-libs/libnetfilter_queue
@ -102,13 +102,13 @@ src_prepare() {
rm -rf src/${EGO_PN}/ui/tests || die
if use systemd; then
pushd ${WORKDIR}/${P}/src/${EGO_PN} > /dev/null || die
pushd "${WORKDIR}/${P}/src/${EGO_PN}" > /dev/null || die
eapply "${FILESDIR}/${P}-systemd.patch"
popd > /dev/null || die
fi
# fix version string
sed -i 's/1.6.2/1.6.4/' ${WORKDIR}/${P}/src/${EGO_PN}/daemon/core/version.go
sed -i 's/1.6.2/1.6.4/' "${WORKDIR}/${P}/src/${EGO_PN}/daemon/core/version.go"
pushd src/${EGO_PN} > /dev/null || die
eapply_user

View file

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1

View file

@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{9..12} )
inherit distutils-r1 multiprocessing prefix pypi