public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eric Joldasov" <bratishkaerik@getgoogleoff.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/
Date: Wed, 29 Nov 2023 14:11:47 +0000 (UTC)	[thread overview]
Message-ID: <1701267094.cb8bd54c866f2910a05a03ae99f419b92f3f3d2a.bratishkaerik@gentoo> (raw)

commit:     cb8bd54c866f2910a05a03ae99f419b92f3f3d2a
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Wed Nov 29 14:11:34 2023 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Wed Nov 29 14:11:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb8bd54c

net-p2p/yggdrasil-go: add 0.5.4

Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest                  |  2 +
 net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild | 57 ++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 9ab9878af6..81bc672d8f 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,4 @@
 DIST yggdrasil-go-0.5.2-vendor.tar.xz 1443440 BLAKE2B a845f17657146b012274f8be0b5bfa0df50a161690b4dd27922ee56427b26fd0ea10426819bd1fea397ec44e48af907cdd3ff44b8786e66c03c31d8230878153 SHA512 cdd459fcf6b56135e034de2179153d54fbf0a882aad2e2b8734717ff49a94335d4161a5cb6cb54ac513174abbb4c49f936785ebc8cc47436a27d1ea223d1d7fc
 DIST yggdrasil-go-0.5.2.tar.gz 104580 BLAKE2B b16483bffa7d9112d699d64e150b02bd3cac5a493d831daeb90a054d8baee284163ec50cf710a8e1a2af012900184e8e869ae35b66c29be1b8b884f7c968ca13 SHA512 a1bd4606d8d3d83f691ab04cdd7316a9e391f44aaddc4d67d7249623e6de02ab55ec670d7bb6885702e9e12de0f526eafae9ec36ca116b365f8aea4065345271
+DIST yggdrasil-go-0.5.4-vendor.tar.xz 1443664 BLAKE2B 7bd24e3b3701527f44ecff01f8ad596c273651b4a2d4d3ae51bf8ed5393a9b7e325e9a8777014b6abf55f7d51c9be674b043e3088c6bb9b32976e6c5831d914b SHA512 aaa76105ff408e465bee2c3272fcf33a8280db7ee30aa14d469671eea28b1b1dbc0b1beb8bf17aaf3bf78e24d794dbe4e95b653d0835fb66fedfbb626ea12aa0
+DIST yggdrasil-go-0.5.4.tar.gz 104902 BLAKE2B c7a0836b22a71f091a2a245072f3468f12e74dd4397843cc71550a1d2328887aeb0cc1bc024a38f73c6a0bbe7cf6fb65c1a05fe7e71851a73b1042a4de14db2a SHA512 1fcdd321faff15e29ec12d61690a5cfd38737b19dc259159ef7342dfd37b76fad3f7601495ae32ecd18239c166bcea1c3ae9d6bcff4a2e402265a120e2986e89

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild
new file mode 100644
index 0000000000..7d9f6dd88f
--- /dev/null
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module linux-info systemd fcaps
+
+DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network"
+HOMEPAGE="https://yggdrasil-network.github.io/"
+SRC_URI="
+	https://github.com/yggdrasil-network/yggdrasil-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
+"
+
+LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror"
+
+DEPEND="
+	acct-user/yggdrasil
+	acct-group/yggdrasil
+"
+
+BDEPEND=">=dev-lang/go-1.17.0"
+
+FILECAPS=(
+	cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
+)
+
+pkg_setup() {
+	linux-info_pkg_setup
+	if ! linux_config_exists; then
+		eerror "Unable to check your kernel for TUN support"
+	else
+		CONFIG_CHECK="~TUN"
+		ERROR_TUN="Your kernel lacks TUN support."
+	fi
+}
+
+src_compile() {
+	local package="github.com/yggdrasil-network/yggdrasil-go/src/version"
+
+	for CMD in yggdrasil yggdrasilctl ; do
+		ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}' -X ${package}.buildName=${PN} -X ${package}.buildVersion=v${PV}" -trimpath ./cmd/$CMD
+	done
+
+}
+
+src_install() {
+	dobin {yggdrasil,yggdrasilctl}
+	dodoc README.md
+	dodoc CHANGELOG.md
+	systemd_dounit "contrib/systemd/yggdrasil.service"
+	systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
+	doinitd "contrib/openrc/yggdrasil"
+}


             reply	other threads:[~2023-11-29 14:11 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 14:11 Eric Joldasov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-28 22:48 [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/ Eric Joldasov
2024-10-28 22:48 Eric Joldasov
2024-10-28 22:48 Eric Joldasov
2024-08-10 12:57 Eric Joldasov
2024-08-10 12:57 Eric Joldasov
2024-08-01 19:19 Eric Joldasov
2024-07-31 19:59 Eric Joldasov
2024-04-08 13:15 David Roman
2024-02-20  5:28 Eric Joldasov
2024-02-14  3:52 Eric Joldasov
2024-02-13 17:35 Eric Joldasov
2023-12-04 14:35 Eric Joldasov
2023-11-17 15:32 Eric Joldasov
2023-11-09 17:11 Eric Joldasov
2023-11-01 18:47 Eric Joldasov
2022-12-07  2:38 Eric Joldasov
2022-11-13 13:03 Eric Joldasov
2022-11-13 13:03 Eric Joldasov
2022-11-06  3:29 Eric Joldasov
2022-10-27 12:55 Eric Joldasov
2022-10-21 13:28 Eric Joldasov
2022-08-09 20:26 Eric Joldasov
2022-08-09 19:52 Eric Joldasov
2022-07-10  9:42 Eric Joldasov
2022-03-26 15:28 Eric Joldasov
2022-03-26 15:17 Eric Joldasov
2022-03-26 15:17 Eric Joldasov
2021-09-25 17:14 [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2021-09-25 16:59 ` [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2021-09-25  4:55 Leonardo Hernandez
2020-12-26 22:11 Theo Anderson
2020-04-26 22:39 Alessandro Barbieri
2020-04-02 14:17 William Wennerström
2020-03-19 11:19 William Wennerström
2020-03-15 18:50 William Wennerström
2020-03-15 18:38 William Wennerström

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1701267094.cb8bd54c866f2910a05a03ae99f419b92f3f3d2a.bratishkaerik@gentoo \
    --to=bratishkaerik@getgoogleoff.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox