net-proxy/daed: drop 1.21.1

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-11-13 01:20:58 +11:00
1 parent 831c8566bb
commit 512a9b9b9d
2 files changed
-96

No files matched your search

-2
View File
@@ -1,4 +1,2 @@
DIST daed-1.21.1-web.zip 8167907 BLAKE2B 20543e39edc7ac10d7072ee357cf96b3fe65b50fd3d809c513d768c801d01b6dea2d1cef8c5b6b10bf956bc32d9b60498651ee9e091c8b5acee66330f85e79d8 SHA512 6ad29c0546012ff823169c9b3465817d585c0a8a3046589cfd32338c920882183d1109d6c5c1e52ff0e5722459dae8070c23006c22ccd497fe05a67bbb63c09b
DIST daed-1.21.1.zip 205469084 BLAKE2B fed99e07fa369bcd60126c9b483d4ea52ce8476df9d70cdaa4c4dc433acd4a098f7c47c48c6256cf2bb5be49e4f1e3ceb8dc4dc6c4f5a2952933ab71c2a3b521 SHA512 4d447a86d83bc7305bb5b5c1062745a4b79d50b3a53b1b617078b36be70c5e3049f545dbab7e4c3abd91d87122a3bc53450cf16530c0a7844843206aa86539c1
DIST daed-1.27.0-web.zip 8984701 BLAKE2B d3c2a7b8641593820b05d884105cccbefcc22f821706f1a04672b89b72ba90235b18db1c5175ef9a584290dd01f8ca8a218d395238e88c755cbe011bd8c5bb4f SHA512 96e643fd5e09b3f50d01a5a4188b300eeaa887544c505699cae023491dd0362c5e53fee8a6078a47ec84b3e56bc4ced10195e0a6e0b93bbf6f38ed98ae21f120
DIST daed-1.27.0.zip 205521951 BLAKE2B dea8c17096ee78ce643f4b1fa4df5f43539658aad5391fcd29d91bdcf9cccde9f0ec9bab1c12020eac034aa105acab9f91be02f97a1a0440ea5c27efc0b0b4dd SHA512 6e32783baf72906bde873bfbfaef83b8fe306ecb34923e739d3b893d9bc763905907159fbcb7635401e6045abcaa12c43683cbb58e597b4f821e65f723fad3d4
-94
View File
@@ -1,94 +0,0 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic systemd
DESCRIPTION="A Modern Dashboard For dae"
HOMEPAGE="https://github.com/daeuniverse/daed"
SRC_URI="
https://github.com/daeuniverse/daed/releases/download/v${PV/_rc/rc}/daed-full-src.zip -> ${P}.zip
webui? ( https://github.com/daeuniverse/daed/releases/download/v${PV/_rc/rc}/web.zip -> ${P}-web.zip )
"
# EGIT_REPO_URI="https://github.com/daeuniverse/daed.git"
S="${WORKDIR}"
LICENSE="MIT AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
app-alternatives/v2ray-geoip
app-alternatives/v2ray-geosite
"
RDEPEND="${DEPEND}"
BDEPEND="
llvm-core/clang
app-arch/unzip
>=dev-lang/go-1.22
"
IUSE="+webui"
RESTRICT="strip"
src_prepare() {
# Prevent conflicting with the user's flags
sed -i -e 's/-Werror//' wing/dae-core/Makefile || die 'Failed to remove -Werror via sed'
if use webui; then
# Use upstream web archive
sed -e 's|daed: submodule $(DAE_WING_READY) dist|daed: $(DAE_WING_READY)|' \
-i Makefile || die
mv -v "${WORKDIR}/web" "${S}/dist" || die
fi
default
}
src_compile(){
#-flto makes llvm-strip complains
#llvm-strip: error: '*/control/bpf_bpfel.o': The file was not recognized as a valid object file
filter-lto
# sed -i '/git submodule update/d' wing/Makefile || die
# sed -i 's/git rev-parse --short HEAD/echo/' vite.config.ts || die
if ! use webui; then
cd wing || die
fi
# for dae's ebpf target
# gentoo-zh#3720
filter-flags "-march=*" "-mtune=*"
append-cflags "-fno-stack-protector"
GO_ROOT="${S}" SKIP_SUBMODULES=1 emake APPNAME="${PN}" VERSION="${PV}"
}
src_install(){
local service=install/daed.service
if use webui; then
dobin daed
systemd_dounit ${service}
else
dobin wing/dae-wing
sed -i "s!/usr/bin/daed!/usr/bin/dae-wing!" ${service} || die
systemd_newunit ${service} dae-wing.service
fi
keepdir /etc/daed/
dosym -r "/usr/share/v2ray/geosite.dat" /usr/share/daed/geosite.dat
dosym -r "/usr/share/v2ray/geoip.dat" /usr/share/daed/geoip.dat
# thanks to @MarksonHon
newinitd "${FILESDIR}"/${PN}.initd daed
}
pkg_postinst() {
elog
elog "For OpenRC user, if you want to use"
elog "openrc to manager daed service,"
elog "please refer to dae document to modify"
elog "rc.conf and sysfs first, then reboot."
elog "https://github.com/daeuniverse/dae/blob/main/docs/en/tutorials/run-on-alpine.md"
elog "Now you can start and add it to default runlevel "
elog "# rc-service daed start"
elog "# rc-update add daed default"
elog
}