1 |
commit: 40f13ae4f10bc4508d0dd21b4f88b502a4e433f1 |
2 |
Author: BratishkaErik <bratishkaerik <AT> getgoogleoff <DOT> me> |
3 |
AuthorDate: Sat Mar 26 15:16:46 2022 +0000 |
4 |
Commit: Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me> |
5 |
CommitDate: Sat Mar 26 15:16:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40f13ae4 |
7 |
|
8 |
net-p2p/yggdrasil-go: add new version |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: BratishkaErik <bratishkaerik <AT> getgoogleoff.me> |
12 |
|
13 |
net-p2p/yggdrasil-go/Manifest | 2 + |
14 |
net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild | 4 +- |
15 |
net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild | 49 +++++++++++++++++++++++++ |
16 |
3 files changed, 53 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest |
19 |
index db9d1a6f9..45d7d4c92 100644 |
20 |
--- a/net-p2p/yggdrasil-go/Manifest |
21 |
+++ b/net-p2p/yggdrasil-go/Manifest |
22 |
@@ -63,3 +63,5 @@ DIST golang.zx2c4.com%2Fwireguard%2F@v%2Fv0.0.20200320.zip 146832 BLAKE2B 99a9b5 |
23 |
DIST golang.zx2c4.com%2Fwireguard%2Fwindows%2F@v%2Fv0.1.0.mod 677 BLAKE2B 8d6dcae94321a2495f9ef9be5eadf503c7e53de3fececaaa35fa2cd462f4d3286168c2606de103cf9d4e8e43895f81a18aa843d093db0a728510c2804bc59e15 SHA512 b00baab7efde4ba31f3cac2e4ba14c8e7678b1273538dd1d19951e3b6cd380a31b1f49518be57d4048a3101a18aa21887701c942274aa58217884d713bc7f812 |
24 |
DIST golang.zx2c4.com%2Fwireguard%2Fwindows%2F@v%2Fv0.1.0.zip 257029 BLAKE2B ca5e6b076624bf9cb12252f3b8736ffa81d1f2e969793ceed16f250ca26711e264c11a109f91276c3ce35444ef72953231b16e402d2dbb8197e35235723bbd44 SHA512 a7ecec8842fced40ecda8acd303725c16c90f45d3c0568d4efb0075d99a7f0281bbc9900ebd506083bf1c10859afafc9b7e38bef778decd846c1b93b67c4d7df |
25 |
DIST yggdrasil-go-0.3.15.tar.gz 166072 BLAKE2B 8375a6f731ec175b98d68155c1cabb3af7bc3dd6efee93701bd74acbc5ef2a6a724284abb99792ecb65e423b66a47d6f291f19f287e220435000115689b3fcd7 SHA512 1b59fecfa210a3d8d41776e4cb4b5399121e820389a64f4f1df893a9c537b67b1a26ca68c735fcae3208f24163ac809fa278f2ee2a1102c88145fdb6ac4c9db4 |
26 |
+DIST yggdrasil-go-0.4.3-deps.tar.bz2 50002287 BLAKE2B 3c26a9cbc5056388c1877427f941c97a70f4d5f8765de7c8046f85fce799d16c3c611006a0aac36429a72241d4b9b607de62e5a110910c544a13353cd7693756 SHA512 6b283a5dbb47827f4fa5e056e1453f33097d345497b688482402b46e22fa4eb8bc7dcf019b82963a4070d4d245985452ca67d19c9910554b76698d15713ac145 |
27 |
+DIST yggdrasil-go-0.4.3.tar.gz 96364 BLAKE2B 8474f52771d7a34027a56de83f74c3ed0f66127b5bcdf498c5820713079e2da1c9ac0c44b0e19903b15ae32fd47d79f8b4cbbe9607dff1951c5ea74ff1af409d SHA512 00ba6e611c6073e150db0d402edfcd4d548021b30c7afcc11507dfb2ac2e730433bd9f39438331e9d9de6d8a36fc57dc9f01b0d1cbad4927ffbf60906042aac3 |
28 |
|
29 |
diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild |
30 |
index 7a09e6f2d..662d0e025 100644 |
31 |
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild |
32 |
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild |
33 |
@@ -1,7 +1,7 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
-EAPI=7 |
39 |
+EAPI=8 |
40 |
|
41 |
inherit go-module linux-info systemd |
42 |
|
43 |
|
44 |
diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild |
45 |
new file mode 100644 |
46 |
index 000000000..e6c2f03ed |
47 |
--- /dev/null |
48 |
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild |
49 |
@@ -0,0 +1,49 @@ |
50 |
+# Copyright 1999-2022 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=8 |
54 |
+ |
55 |
+inherit go-module linux-info systemd |
56 |
+ |
57 |
+DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network" |
58 |
+HOMEPAGE="https://yggdrasil-network.github.io/" |
59 |
+SRC_URI=" |
60 |
+ https://github.com/yggdrasil-network/yggdrasil-go/archive/v${PV}.tar.gz -> ${P}.tar.gz |
61 |
+ https://gitea.minecast.xyz/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2 |
62 |
+" |
63 |
+ |
64 |
+LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64" |
67 |
+RESTRICT="mirror" |
68 |
+ |
69 |
+DEPEND=" |
70 |
+ acct-user/yggdrasil |
71 |
+ acct-group/yggdrasil |
72 |
+" |
73 |
+ |
74 |
+BDEPEND=">=dev-lang/go-1.16.0" |
75 |
+ |
76 |
+pkg_setup() { |
77 |
+ linux-info_pkg_setup |
78 |
+ if ! linux_config_exists; then |
79 |
+ eerror "Unable to check your kernel for TUN support" |
80 |
+ else |
81 |
+ CONFIG_CHECK="~TUN" |
82 |
+ ERROR_TUN="Your kernel lacks TUN support." |
83 |
+ fi |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ PKGNAME="${PN}" PKGVER="${PV}" \ |
88 |
+ GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \ |
89 |
+ ./build -l "-linkmode external -extldflags \"${LDFLAGS}\"" |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ dobin {yggdrasil,yggdrasilctl} |
94 |
+ systemd_dounit "contrib/systemd/yggdrasil.service" |
95 |
+ systemd_dounit "contrib/systemd/yggdrasil-default-config.service" |
96 |
+ doinitd "contrib/openrc/yggdrasil" |
97 |
+ einstalldocs |
98 |
+} |