commit:     6bb5aa3d34727ca2404fcc984b22f1b99f20ab4f
Author:     Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net>
AuthorDate: Thu Feb  6 10:28:58 2025 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Thu Feb  6 10:28:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6bb5aa3d

net-p2p/yggdrasil-go: drop 0.5.10

Signed-off-by: Eric Joldasov <bratishkaerik <AT> landless-city.net>

 net-p2p/yggdrasil-go/Manifest                   |  2 -
 net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild | 79 -------------------------
 2 files changed, 81 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 6d89a2024..bff4b1c38 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,3 +1 @@
 DIST yggdrasil-0.5.12-vendored.tar.gz 2848276 BLAKE2B 
cc85fffc9bed3da62f23ccedb3e8f821a53deec3d1017bd9e3a1c2a1e1bee7970919b76534807d6d1a31b2e1db5648ae1b47ed9287f0eac4341dda61dfcd6cce
 SHA512 
01ba5af5b950e2e0c377839775a7b4fc127b3f9509214283a2b751069d0198f0686e43a565d2eed2378d24c1468747b9a80317b61da3b26cf4cedc09fc28b87b
-DIST yggdrasil-go-0.5.10-vendor.tar.xz 1389288 BLAKE2B 
69006e8e7440abbd84e5e5ebf9469f6dfce96474420f6975eb085771da5b2096044adcdc87726dbae301890a7a50a363057022b17b2d9881cba592d6b0a12a80
 SHA512 
720e22338d9b47fbcd36e0bc3a79ab6fb4d869404b52e93b40c49440ccd30b20ae66135df3715f7a9c06a491752244eaac95cd5944452e0d27caad89a9d310bf
-DIST yggdrasil-go-0.5.10.tar.gz 110477 BLAKE2B 
267579ec0f97dd2bce99590e006dc95ff8e2f542dcc7df06bd6854501fb2f58880b2f7af26e8747ead577ee9146c0c5b895d7cdd23ab0b68c3b0d6e874e3f39f
 SHA512 
402704bf61414cf13248941ee0a5d38db9a86838d8dfd19d5032ab0408862f484d999d69c2cab124c1e5da4ba352dadd2958e6a4ad70a88167421cfca7a179f4

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild
deleted file mode 100644
index 285b8c048..000000000
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module linux-info systemd
-
-DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay 
network"
-HOMEPAGE="https://yggdrasil-network.github.io/";
-
-if [[ ${PV} == 9999 ]]; then
-       EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go";
-       inherit git-r3
-else
-       SRC_URI="
-               
https://github.com/yggdrasil-network/yggdrasil-go/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
-               
https://codeberg.org/BratishkaErik/distfiles/releases/download/yggdrasil-go-${PV}/yggdrasil-go-${PV}-vendor.tar.xz
-       "
-       KEYWORDS="~amd64 ~arm64"
-fi
-
-LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
-SLOT="0"
-
-RESTRICT="mirror"
-
-BDEPEND=">=dev-lang/go-1.23"
-DEPEND="
-       acct-user/yggdrasil
-       acct-group/yggdrasil
-"
-
-DOCS=( "README.md" "CHANGELOG.md" )
-
-FILECAPS=(
-       cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
-)
-
-CONFIG_CHECK="~TUN"
-ERROR_TUN="Your kernel lacks TUN support."
-
-src_unpack() {
-       if [[ ${PV} == 9999 ]]; then
-               git-r3_src_unpack
-               go-module_live_vendor
-       fi
-       go-module_src_unpack
-}
-
-src_compile() {
-       GOFLAGS+=" -mod=vendor -trimpath"
-
-       local src="github.com/yggdrasil-network/yggdrasil-go/src/version"
-       local name version
-       if [[ ${PV} == 9999 ]]; then
-               chmod +x ./contrib/semver/{name,version}.sh || die
-               name="$(./contrib/semver/name.sh || die)"
-               version="$(./contrib/semver/version.sh || die)"
-       else
-               name="yggdrasil"
-               version="v${PV}"
-       fi
-       local custom_name_version_flags="-X ${src}.buildName=${name} -X 
${src}.buildVersion=${version}"
-
-       local go_ldflags="-s -linkmode external -extldflags \"${LDFLAGS}\" 
${custom_name_version_flags}"
-
-       for cmd in yggdrasil{,ctl}; do
-               ego build ${GOFLAGS} -ldflags="${go_ldflags}" ./cmd/${cmd}
-       done
-}
-
-src_install() {
-       dobin yggdrasil{,ctl}
-       einstalldocs
-
-       systemd_dounit "contrib/systemd/yggdrasil.service"
-       systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
-       doinitd "contrib/openrc/yggdrasil"
-}

Reply via email to