mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
opensnitch: some qa fixes
This commit is contained in:
parent
6570c1b014
commit
def2c1ae05
4 changed files with 15 additions and 8 deletions
7
app-admin/opensnitch/metadata.xml
Normal file
7
app-admin/opensnitch/metadata.xml
Normal 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>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue