Skip to content

Commit

Permalink
net-proxy/daed: add 0.1.0_rc1
Browse files Browse the repository at this point in the history
Signed-off-by: ston <[email protected]>
  • Loading branch information
st0nie committed Jun 19, 2023
1 parent 236f90a commit d8dd21f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
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
43 changes: 43 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,43 @@
# 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/v0.1.0rc/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
"
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
}

0 comments on commit d8dd21f

Please sign in to comment.