From 09f270d9c66aae2f6f6b78b9e9189c41e42cff4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 5 Oct 2020 15:41:48 +0200 Subject: [PATCH] yggdrasil: update to 0.3.15. --- srcpkgs/yggdrasil/files/yggdrasil/run | 10 ++++++---- srcpkgs/yggdrasil/template | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/srcpkgs/yggdrasil/files/yggdrasil/run b/srcpkgs/yggdrasil/files/yggdrasil/run index 4ee19bbaf77..7ef1dfc93b9 100755 --- a/srcpkgs/yggdrasil/files/yggdrasil/run +++ b/srcpkgs/yggdrasil/files/yggdrasil/run @@ -1,9 +1,11 @@ #!/bin/sh modprobe tun -caps='-all,+NET_ADMIN,+NET_RAW' -drop_caps="setpriv --inh-caps $caps --bounding-set $caps" +# limiting caps is temporarily disabled, as it breaks with +# setpriv: libcap-ng is too old for "all" caps +#caps='-all,+NET_ADMIN,+NET_RAW' +#drop_caps="setpriv --inh-caps $caps --bounding-set $caps" if [ -f /etc/yggdrasil.conf ]; then - exec $drop_caps yggdrasil --useconffile /etc/yggdrasil.conf 1>/dev/null + exec yggdrasil -useconffile /etc/yggdrasil.conf 1>/dev/null else - exec $drop_caps yggdrasil --autoconf 1>/dev/null + exec yggdrasil -autoconf 1>/dev/null fi diff --git a/srcpkgs/yggdrasil/template b/srcpkgs/yggdrasil/template index 865baefdd59..b9e6246b1cd 100644 --- a/srcpkgs/yggdrasil/template +++ b/srcpkgs/yggdrasil/template @@ -1,7 +1,7 @@ # Template file for 'yggdrasil' pkgname=yggdrasil -version=0.3.14 -revision=2 +version=0.3.15 +revision=1 wrksrc="yggdrasil-go-${version}" build_style=go go_import_path=github.com/yggdrasil-network/yggdrasil-go @@ -11,7 +11,7 @@ maintainer="Jan Christian Gruenhage " license="LGPL-3.0-only" homepage="https://yggdrasil-network.github.io/" distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz" -checksum=e8579a04bf289434e7b8caaf621e2c0b853e83cc06f136c4f9e4bfc667df5a27 +checksum=25ea85399a142aa7a3d6f6886fd4e0d215116c4c8c33453de43999787d735565 do_build() { PKGNAME=${pkgname} PKGVER=${version} ./build