Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] yggdrasil: update to 0.3.15.
@ 2020-10-16 10:03 jcgruenhage
  2020-10-23 11:03 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jcgruenhage @ 2020-10-16 10:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages yggdrasil-0.3.15_1
https://github.com/void-linux/void-packages/pull/25652

yggdrasil: update to 0.3.15.
None

A patch file from https://github.com/void-linux/void-packages/pull/25652.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yggdrasil-0.3.15_1-25652.patch --]
[-- Type: text/x-diff, Size: 2090 bytes --]

From 09f270d9c66aae2f6f6b78b9e9189c41e42cff4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
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 <jan.christian@gruenhage.xyz>"
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] yggdrasil: update to 0.3.15.
  2020-10-16 10:03 [PR PATCH] yggdrasil: update to 0.3.15 jcgruenhage
@ 2020-10-23 11:03 ` jcgruenhage
  2020-10-23 11:26 ` jcgruenhage
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jcgruenhage @ 2020-10-23 11:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages yggdrasil-0.3.15_1
https://github.com/void-linux/void-packages/pull/25652

yggdrasil: update to 0.3.15.
None

A patch file from https://github.com/void-linux/void-packages/pull/25652.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yggdrasil-0.3.15_1-25652.patch --]
[-- Type: text/x-diff, Size: 2465 bytes --]

From 604bd75891a4de35a05dcb603319a1bba356c21f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 5 Oct 2020 15:41:48 +0200
Subject: [PATCH] yggdrasil: update to 0.3.15.

---
 srcpkgs/yggdrasil/files/yggdrasil/log/run |  2 ++
 srcpkgs/yggdrasil/files/yggdrasil/run     | 10 ++++++----
 srcpkgs/yggdrasil/template                |  6 +++---
 3 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/yggdrasil/files/yggdrasil/log/run

diff --git a/srcpkgs/yggdrasil/files/yggdrasil/log/run b/srcpkgs/yggdrasil/files/yggdrasil/log/run
new file mode 100644
index 00000000000..9ef14420666
--- /dev/null
+++ b/srcpkgs/yggdrasil/files/yggdrasil/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t yggdrasil
diff --git a/srcpkgs/yggdrasil/files/yggdrasil/run b/srcpkgs/yggdrasil/files/yggdrasil/run
index 4ee19bbaf77..2507bd7c516 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 2>&1
 else
-	exec $drop_caps yggdrasil --autoconf 1>/dev/null
+	exec yggdrasil -autoconf 2>&1
 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 <jan.christian@gruenhage.xyz>"
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] yggdrasil: update to 0.3.15.
  2020-10-16 10:03 [PR PATCH] yggdrasil: update to 0.3.15 jcgruenhage
  2020-10-23 11:03 ` [PR PATCH] [Updated] " jcgruenhage
@ 2020-10-23 11:26 ` jcgruenhage
  2020-11-07 22:49 ` jcgruenhage
  2020-11-09  3:21 ` [PR PATCH] [Merged]: " ericonr
  3 siblings, 0 replies; 5+ messages in thread
From: jcgruenhage @ 2020-10-23 11:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages yggdrasil-0.3.15_1
https://github.com/void-linux/void-packages/pull/25652

yggdrasil: update to 0.3.15.
None

A patch file from https://github.com/void-linux/void-packages/pull/25652.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yggdrasil-0.3.15_1-25652.patch --]
[-- Type: text/x-diff, Size: 2470 bytes --]

From a55f9854a4e394e6011da22f635e9a4f3c1a233b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 5 Oct 2020 15:41:48 +0200
Subject: [PATCH] yggdrasil: update to 0.3.15.

---
 srcpkgs/yggdrasil/files/yggdrasil/log/run |  1 +
 srcpkgs/yggdrasil/files/yggdrasil/run     | 10 ++++++----
 srcpkgs/yggdrasil/template                |  6 +++---
 3 files changed, 10 insertions(+), 7 deletions(-)
 create mode 120000 srcpkgs/yggdrasil/files/yggdrasil/log/run

diff --git a/srcpkgs/yggdrasil/files/yggdrasil/log/run b/srcpkgs/yggdrasil/files/yggdrasil/log/run
new file mode 120000
index 00000000000..3a5b4a58605
--- /dev/null
+++ b/srcpkgs/yggdrasil/files/yggdrasil/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/yggdrasil/files/yggdrasil/run b/srcpkgs/yggdrasil/files/yggdrasil/run
index 4ee19bbaf77..2507bd7c516 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 2>&1
 else
-	exec $drop_caps yggdrasil --autoconf 1>/dev/null
+	exec yggdrasil -autoconf 2>&1
 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 <jan.christian@gruenhage.xyz>"
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] yggdrasil: update to 0.3.15.
  2020-10-16 10:03 [PR PATCH] yggdrasil: update to 0.3.15 jcgruenhage
  2020-10-23 11:03 ` [PR PATCH] [Updated] " jcgruenhage
  2020-10-23 11:26 ` jcgruenhage
@ 2020-11-07 22:49 ` jcgruenhage
  2020-11-09  3:21 ` [PR PATCH] [Merged]: " ericonr
  3 siblings, 0 replies; 5+ messages in thread
From: jcgruenhage @ 2020-11-07 22:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages yggdrasil-0.3.15_1
https://github.com/void-linux/void-packages/pull/25652

yggdrasil: update to 0.3.15.
None

A patch file from https://github.com/void-linux/void-packages/pull/25652.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yggdrasil-0.3.15_1-25652.patch --]
[-- Type: text/x-diff, Size: 2704 bytes --]

From 0773d439b04aafe2b90049e8b50e331835d32f95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 5 Oct 2020 15:41:48 +0200
Subject: [PATCH] yggdrasil: update to 0.3.15.

This also adds log capturing via vlogger and stops dropping all caps due
to a bug in util-linux causing this to break.
---
 srcpkgs/yggdrasil/files/yggdrasil/log/run |  1 +
 srcpkgs/yggdrasil/files/yggdrasil/run     | 12 ++++++++----
 srcpkgs/yggdrasil/template                |  6 +++---
 3 files changed, 12 insertions(+), 7 deletions(-)
 create mode 120000 srcpkgs/yggdrasil/files/yggdrasil/log/run

diff --git a/srcpkgs/yggdrasil/files/yggdrasil/log/run b/srcpkgs/yggdrasil/files/yggdrasil/log/run
new file mode 120000
index 00000000000..3a5b4a58605
--- /dev/null
+++ b/srcpkgs/yggdrasil/files/yggdrasil/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/yggdrasil/files/yggdrasil/run b/srcpkgs/yggdrasil/files/yggdrasil/run
index 4ee19bbaf77..40460c8a1ef 100755
--- a/srcpkgs/yggdrasil/files/yggdrasil/run
+++ b/srcpkgs/yggdrasil/files/yggdrasil/run
@@ -1,9 +1,13 @@
 #!/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
+# TODO: instead of dropping all caps, start with a
+# non-priv user and manually add needed privileges instead.
+#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 2>&1
 else
-	exec $drop_caps yggdrasil --autoconf 1>/dev/null
+	exec yggdrasil -autoconf 2>&1
 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 <jan.christian@gruenhage.xyz>"
 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: yggdrasil: update to 0.3.15.
  2020-10-16 10:03 [PR PATCH] yggdrasil: update to 0.3.15 jcgruenhage
                   ` (2 preceding siblings ...)
  2020-11-07 22:49 ` jcgruenhage
@ 2020-11-09  3:21 ` ericonr
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2020-11-09  3:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

There's a merged pull request on the void-packages repository

yggdrasil: update to 0.3.15.
https://github.com/void-linux/void-packages/pull/25652

Description:
None

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-09  3:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 10:03 [PR PATCH] yggdrasil: update to 0.3.15 jcgruenhage
2020-10-23 11:03 ` [PR PATCH] [Updated] " jcgruenhage
2020-10-23 11:26 ` jcgruenhage
2020-11-07 22:49 ` jcgruenhage
2020-11-09  3:21 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).