net-proxy/dae: treeclean
This commit is contained in:
parent
0e405efdb1
commit
1b0b435a8b
@ -1 +0,0 @@
|
||||
DIST dae-0.4.0_rc1.zip 76623234 BLAKE2B f3aab271caea033f4ed5a3af9746d20f0d4bf6136f492f2494373d07803800a08671931d1250cedbcb05b96b34bd8a8eba299865d5564c7a39684525a43f6d94 SHA512 4771d4bbc9baa958630b48167386a3b345eb5e5dafa7a61c28ba3f4f0069c166ad33a52ca0787b6ab5881731d7d1588f31d0081c47937f4fab7dc8c54d3c3969
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info go-module systemd
|
||||
|
||||
DESCRIPTION="A lightweight and high-performance transparent proxy solution based on eBPF"
|
||||
HOMEPAGE="https://github.com/daeuniverse/dae"
|
||||
SRC_URI="https://github.com/daeuniverse/dae/releases/download/v${PV//_/}/dae-full-src.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
app-alternatives/v2ray-geoip
|
||||
app-alternatives/v2ray-geosite"
|
||||
BDEPEND="sys-devel/clang"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_pretend() {
|
||||
if kernel_is lt 5 8 0; then
|
||||
ewarn "Your kernel version is lower than 5.8.0, some features will not work correctly."
|
||||
ewarn "Please read this article for more information:"
|
||||
ewarn "https://github.com/daeuniverse/dae/blob/main/docs/en/README.md#kernel-version"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~BPF ~BPF_EVENTS ~BPF_JIT ~BPF_STREAM_PARSER ~BPF_SYSCALL
|
||||
~CGROUPS ~DEBUG_INFO ~DEBUG_INFO_BTF ~KPROBES ~KPROBE_EVENTS
|
||||
~NET_CLS_ACT ~NET_CLS_BPF ~NET_EGRESS ~NET_INGRESS ~NET_SCH_INGRESS"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CFLAGS="-fno-stack-protector" GOFLAGS="-trimpath" VERSION="${PV}" emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dae
|
||||
systemd_dounit install/dae.service
|
||||
insinto /etc/dae
|
||||
newins example.dae config.dae.example
|
||||
newins install/empty.dae config.dae
|
||||
dosym -r "/usr/share/v2ray/geosite.dat" /usr/share/dae/geosite.dat
|
||||
dosym -r "/usr/share/v2ray/geoip.dat" /usr/share/dae/geoip.dat
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>me@puqns67.icu</email>
|
||||
<name>Puqns67</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<changelog>https://github.com/daeuniverse/dae/blob/main/CHANGELOGS.md</changelog>
|
||||
<doc>https://github.com/daeuniverse/dae/blob/main/docs/en/README.md</doc>
|
||||
<bugs-to>https://github.com/daeuniverse/dae/issues</bugs-to>
|
||||
<remote-id type="github">daeuniverse/dae</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user