mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
opensnitch: cleanup
This commit is contained in:
parent
a673b82855
commit
0115215de6
6 changed files with 21 additions and 11 deletions
|
|
@ -1 +1 @@
|
||||||
DIST opensnitch-1.6.5_p1.tar.gz 1354814 BLAKE2B a3e0ce0b799a59d8d5e5cf9adc16d73b710d42b5325774118da3886a8c25507ef3a3e618796a56edd0cdde2ba8730604275a36d560e105d51744abef42fb833c SHA512 8ea1ad5a00c6b8c4649db5774e2fe7997ebdd52ed24610084ba236992c740b31b2bb19a88778b68d880aad54ff21a387d7388bdb4a8692a0456a4afbd7f47347
|
DIST opensnitch-1.6.5.1.gh.tar.gz 1354814 BLAKE2B a3e0ce0b799a59d8d5e5cf9adc16d73b710d42b5325774118da3886a8c25507ef3a3e618796a56edd0cdde2ba8730604275a36d560e105d51744abef42fb833c SHA512 8ea1ad5a00c6b8c4649db5774e2fe7997ebdd52ed24610084ba236992c740b31b2bb19a88778b68d880aad54ff21a387d7388bdb4a8692a0456a4afbd7f47347
|
||||||
|
|
|
||||||
7
app-admin/opensnitch-ebpf-module/metadata.xml
Normal file
7
app-admin/opensnitch-ebpf-module/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>
|
||||||
|
|
@ -7,12 +7,12 @@ inherit linux-info
|
||||||
|
|
||||||
DESCRIPTION="eBPF process monitor module for opensnitch"
|
DESCRIPTION="eBPF process monitor module for opensnitch"
|
||||||
HOMEPAGE="https://github.com/evilsocket/opensnitch"
|
HOMEPAGE="https://github.com/evilsocket/opensnitch"
|
||||||
UPSTREAM_PV=${PV/_p/\.}
|
|
||||||
# NOTE: app-admin/opensnitch and this ebuild share the same source
|
# NOTE: app-admin/opensnitch and this ebuild share the same source
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/evilsocket/opensnitch/archive/refs/tags/v${UPSTREAM_PV}.tar.gz -> opensnitch-${PV}.tar.gz
|
https://github.com/evilsocket/opensnitch/archive/refs/tags/v${PV}.tar.gz -> opensnitch-${PV}.gh.tar.gz
|
||||||
"
|
"
|
||||||
S="${WORKDIR}/opensnitch-${UPSTREAM_PV}"
|
|
||||||
EBPF_DIR=ebpf_prog
|
EBPF_DIR=ebpf_prog
|
||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
DIST opensnitch-1.6.5_p1-deps.tar.gz 51527916 BLAKE2B f2c3fd8fa3f325ac86d072d9a5d2f40b82f8925970a846822aea42ca4ff849fde716c9dd13f91da7268dcc06bc85764f5633e1acaf1ccd392f76ae071e949690 SHA512 ee1d2613814e9cdbef1c63c96dfa6c328b43d7becc2285e445686d743c78b2026550f60ac63984a9a2fb1b620fcebdd6be6db1b1aa855795dbdc460087e7cfe5
|
DIST opensnitch-1.6.5.1-deps.tar.gz 51527916 BLAKE2B f2c3fd8fa3f325ac86d072d9a5d2f40b82f8925970a846822aea42ca4ff849fde716c9dd13f91da7268dcc06bc85764f5633e1acaf1ccd392f76ae071e949690 SHA512 ee1d2613814e9cdbef1c63c96dfa6c328b43d7becc2285e445686d743c78b2026550f60ac63984a9a2fb1b620fcebdd6be6db1b1aa855795dbdc460087e7cfe5
|
||||||
DIST opensnitch-1.6.5_p1.tar.gz 1354814 BLAKE2B a3e0ce0b799a59d8d5e5cf9adc16d73b710d42b5325774118da3886a8c25507ef3a3e618796a56edd0cdde2ba8730604275a36d560e105d51744abef42fb833c SHA512 8ea1ad5a00c6b8c4649db5774e2fe7997ebdd52ed24610084ba236992c740b31b2bb19a88778b68d880aad54ff21a387d7388bdb4a8692a0456a4afbd7f47347
|
DIST opensnitch-1.6.5.1.gh.tar.gz 1354814 BLAKE2B a3e0ce0b799a59d8d5e5cf9adc16d73b710d42b5325774118da3886a8c25507ef3a3e618796a56edd0cdde2ba8730604275a36d560e105d51744abef42fb833c SHA512 8ea1ad5a00c6b8c4649db5774e2fe7997ebdd52ed24610084ba236992c740b31b2bb19a88778b68d880aad54ff21a387d7388bdb4a8692a0456a4afbd7f47347
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,9 @@
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">evilsocket/opensnitch</remote-id>
|
<remote-id type="github">evilsocket/opensnitch</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="bpf">Enable bpf support</flag>
|
||||||
|
<flag name="iptables">Enable iptables support</flag>
|
||||||
|
<flag name="nftables">Enable nftables support</flag>
|
||||||
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,11 @@ inherit distutils-r1 go-module linux-info systemd xdg-utils
|
||||||
DESCRIPTION="Desktop application firewall"
|
DESCRIPTION="Desktop application firewall"
|
||||||
HOMEPAGE="https://github.com/evilsocket/opensnitch"
|
HOMEPAGE="https://github.com/evilsocket/opensnitch"
|
||||||
|
|
||||||
UPSTREAM_PV=${PV/_p/\.}
|
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/evilsocket/opensnitch/archive/refs/tags/v${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz
|
https://github.com/evilsocket/opensnitch/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||||
https://github.com/kcning/opensnitch/archive/refs/tags/${UPSTREAM_PV}.tar.gz -> ${P}-deps.tar.gz
|
https://github.com/kcning/opensnitch/archive/refs/tags/${PV}.tar.gz -> ${P}-deps.tar.gz
|
||||||
"
|
"
|
||||||
|
|
||||||
S="${WORKDIR}/opensnitch-${UPSTREAM_PV}"
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+audit bpf +iptables +nftables systemd"
|
IUSE="+audit bpf +iptables +nftables systemd"
|
||||||
|
|
@ -100,7 +98,7 @@ src_compile() {
|
||||||
|
|
||||||
pushd daemon || die
|
pushd daemon || die
|
||||||
GOCACHE="${T}/go-cache" \
|
GOCACHE="${T}/go-cache" \
|
||||||
GOMODCACHE="${WORKDIR}/${PN}-${UPSTREAM_PV}/vendor" \
|
GOMODCACHE="${WORKDIR}/${PN}-${PV}/vendor" \
|
||||||
ego build -v -buildmode=pie -o opensnitchd || die
|
ego build -v -buildmode=pie -o opensnitchd || die
|
||||||
popd > /dev/null || die
|
popd > /dev/null || die
|
||||||
|
|
||||||
Loading…
Reference in a new issue