From 5aa75ec9d3ce559b9fbf00c9b012f6d84cf64d57 Mon Sep 17 00:00:00 2001 From: Jason Elswick Date: Tue, 17 Sep 2024 15:31:09 -0500 Subject: [PATCH] yggdrasil: update to 0.5.8. Closes: #51824 [via git-merge-pr] --- srcpkgs/yggdrasil/template | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/srcpkgs/yggdrasil/template b/srcpkgs/yggdrasil/template index 927a275ffbf..827f6d77357 100644 --- a/srcpkgs/yggdrasil/template +++ b/srcpkgs/yggdrasil/template @@ -1,29 +1,27 @@ # Template file for 'yggdrasil' pkgname=yggdrasil -version=0.5.7 -revision=2 +version=0.5.8 +revision=1 build_style=go go_import_path=github.com/yggdrasil-network/yggdrasil-go +go_package="$go_import_path/cmd/yggdrasil $go_import_path/cmd/yggdrasilctl" +go_ldflags="-X ${go_import_path}/src/version.buildName=$pkgname -X + ${go_import_path}/src/version.buildVersion=$version" short_desc="Experiment in scalable routing as an encrypted IPv6 overlay network" maintainer="Orphaned " license="LGPL-3.0-only" homepage="https://yggdrasil-network.github.io/" changelog="https://raw.githubusercontent.com/yggdrasil-network/yggdrasil-go/develop/CHANGELOG.md" distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz" -checksum=035122cc840443a1ed9cb7f066fe5bd6d2ff879a7026be449c0a24436b04f4c8 +checksum=34845eff314d971e56c12186ef15ce52efdf78d787d17381ea4cefaf4b853df3 -do_build() { - PKGNAME=${pkgname} PKGVER=${version} ./build -} - -do_install() { - vbin yggdrasil +post_install() { vsv yggdrasil } yggdrasilctl_package() { short_desc="Administration utility for the yggdrasil node admin API" pkg_install() { - vbin yggdrasilctl + vmove /usr/bin/yggdrasilctl } }