Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-proxy/daed: add 0.1.0_rc1 #3357

Merged
merged 1 commit into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions net-proxy/daed/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST daed-0.1.0_rc1-node_modules-pnpm.tar.xz 62547248 BLAKE2B beea467dd52526917a76581ae1e08c6132ddc4fc3eaf31d337b6c00de32cf043ec62e00826832a27f47e7d0eb233a0aa9be49c6f2edc7d7be934c9d85f7bc08e SHA512 e7f2782371dad1b45f4ef440cc917862f35f5a5e7ec3ae9f30c92eb8d4f54607692594f21eea2104d63a32930912c4d15bde4bc26855c3b8ffaeb5abec043710
DIST daed-0.1.0_rc1.zip 182820300 BLAKE2B af1df9c0585d1a87e25a85bfd316fd62ed9c9eec587c5ef39b695f4eae757d4ea8447ca492211b4a0b35dd5e7b8294afeac25f5c5eceb5330feb9ca7f18a052c SHA512 c97aa013e23cb7baa69e08743757f90d10fd930305a08a61325b0e195839fb1fc2652a640cdbc77694417eefe585438d72da84d3be226007a49bc0100d1e87b8
44 changes: 44 additions & 0 deletions net-proxy/daed/daed-0.1.0_rc1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit systemd

DESCRIPTION="A Modern Dashboard For dae"
HOMEPAGE="https://github.com/daeuniverse/daed"
SRC_URI="
https://github.com/daeuniverse/daed/releases/download/v${PV/_rc1/rc}/daed-full-src.zip -> ${P}.zip
https://github.com/st0nie/gentoo-go-deps/releases/download/${P}/${P}-node_modules-pnpm.tar.xz
"
# EGIT_REPO_URI="https://github.com/daeuniverse/daed.git"

LICENSE="MIT AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"

DEPEND="
dev-libs/v2ray-domain-list-community-bin
dev-libs/v2ray-geoip-bin
"
RDEPEND="${DEPEND}"
BDEPEND="
sys-apps/pnpm
sys-devel/clang
app-arch/unzip
"
S="${WORKDIR}"

src_compile(){
sed -i '/git submodule update/d' wing/Makefile || die
GO_ROOT="${S}" emake CC=clang CFLAGS="$CFLAGS -fno-stack-protector" APPNAME="${PN}" VERSION="${PV}"
}

src_install(){
dobin daed
systemd_dounit install/daed.service
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
}
Loading