-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
abinfo "Building daed ..." | ||
make VERSION="$PKGVER" | ||
|
||
abinfo "Installing daed ..." | ||
install -Dvm755 "$SRCDIR"/daed -t "$PKGDIR"/usr/bin | ||
install -Dvm644 "$SRCDIR"/install/daed.service \ | ||
-t "$PKGDIR"/usr/lib/systemd/system | ||
install -Dvm644 "$SRCDIR"/install/daed.desktop \ | ||
-t "$PKGDIR"/usr/share/applications | ||
install -Dvm644 "$SRCDIR"/install/icons/512x512.png \ | ||
"$PKGDIR"/usr/share/icons/hicolor/512x512/apps/daed.png | ||
install -dv "$PKGDIR"/etc/daed | ||
|
||
abinfo "Linking to geofile directory ..." | ||
install -dv "$PKGDIR"/usr/share/daed | ||
ln -sv /usr/share/v2ray-rules-dat/{geoip.dat,geosite.dat} \ | ||
"$PKGDIR"/usr/share/daed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PKGNAME="daed" | ||
PKGSEC=net | ||
PKGDES="Transparent proxy solution based on eBPF, bundled with dashboard" | ||
PKGDEP="gcc-runtime v2ray-rules-dat" | ||
PKGCONFL="dae" | ||
BUILDDEP="go llvm nodejs" | ||
|
||
# FIXME: Autobuild does not yet support splitting debug symbols from Go executables. | ||
ABSPLITDBG=0 | ||
# Go module "github.com/sirupsen/logrus" does not support loongson3 and loongarch64 | ||
# and build error on ppc64el and riscv64. | ||
# See: https://github.com/daeuniverse/dae/issues/696 | ||
FAIL_ARCH="!(amd64|arm64)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
abinfo "Setting GOFLAGS ..." | ||
export GOFLAGS="-trimpath -mod=readonly -modcacherw -buildmode=pie -ldflags=-linkmode=external" | ||
|
||
abinfo "Setting other environment variables ..." | ||
export CFLAGS="-fno-stack-protector" | ||
export CGO_ENABLED=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
VER=0.8.0 | ||
SRCS="git::commit=v$VER;copy-repo=true::https://github.com/daeuniverse/daed.git" | ||
CHKSUMS="SKIP" | ||
CHKUPDATE="anitya::id=375373" |