diff options
author | William Wennerström <william@wstrm.dev> | 2020-03-15 19:36:13 +0100 |
---|---|---|
committer | William Wennerström <william@wstrm.dev> | 2020-03-15 19:36:13 +0100 |
commit | 097c8f26ee49c012eacb060e81e2a14c964e40e1 (patch) | |
tree | 6d07829934e598c29b8c6825fb3b3df04f5db330 /net-p2p/yggdrasil-go | |
parent | net-p2p/trezord-go: new package (diff) | |
download | guru-097c8f26ee49c012eacb060e81e2a14c964e40e1.tar.gz guru-097c8f26ee49c012eacb060e81e2a14c964e40e1.tar.bz2 guru-097c8f26ee49c012eacb060e81e2a14c964e40e1.zip |
net-p2p/yggdrasil-go: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: William Wennerström <william@wstrm.dev>
Diffstat (limited to 'net-p2p/yggdrasil-go')
-rw-r--r-- | net-p2p/yggdrasil-go/Manifest | 15 | ||||
-rw-r--r-- | net-p2p/yggdrasil-go/metadata.xml | 21 | ||||
-rw-r--r-- | net-p2p/yggdrasil-go/yggdrasil-go-0.3.13.ebuild | 63 |
3 files changed, 99 insertions, 0 deletions
diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest new file mode 100644 index 000000000..fa6f912fc --- /dev/null +++ b/net-p2p/yggdrasil-go/Manifest @@ -0,0 +1,15 @@ +DIST github.com-Arceliar-phony-d0c68492aca0.tar.gz 6839 BLAKE2B 792cbe888b826a9446a040893fb59c47b5649ca23f98215bd27d90ca5ffef6be78b952368f6d69bfcb92c946885fcf294470e951e06d0a20b785564875cc8cbd SHA512 e1714ab58e33c8907d0e811b57d47badd3b2a07978a43c164a8c9f0187f8084836efd0f78614c12cc62e42c6ed7b9f8966582259df847e3a2680ac305643e009 +DIST github.com-WireGuard-wireguard-go-v0.0.20200121.tar.gz 96783 BLAKE2B 9636dc56269f5190dc4fa19b26efb964831f1aea615d719f5039da1f6d8fea701ab84efcdf9942e06760d0143c820587a85449012b4003fbbcf0a72d6c34eb21 SHA512 cc422d688d3679632525907cb1c445393ebfe26f1c82e60e0a192a137f1e90886c82e351c84727c24a35606806e8c89d32aa0d2c8dee2d358622d5aafd98f1d0 +DIST github.com-WireGuard-wireguard-windows-cb4a03094c25.tar.gz 143586 BLAKE2B 56f3ed04ae5a8c410a8a783c280d9d1c61cc2bb967e0555db6625d5d5b4fe21e26c5593164a8dcddc930e3dc311af5612df187789f8fb629f121a18bbdeefb67 SHA512 87c9945c1710b5cff20406271c0dd82a30d33ac5f45b56593384e4136d4cb7fdaf3f0766a088b0314d72980c30c50c1ba02c25912c86693454853c6cf3eaf5e3 +DIST github.com-golang-crypto-53104e6ec876.tar.gz 1721427 BLAKE2B e9cf69922b5e6b64324d7cb5b0e1c1e6b94abc82acf362e648b40e9aa6d8856b7a347fb677ab5b44f2dd78712e40205a9dfec6fc3a18be7a8b839b1e52086f1c SHA512 9c84f46a2b0b8141eb42796418e0460a3c9acd256679420298985b389ae720b3dfd1ecb0c640970c9135e68e36c0cc2976280ba574e37afc85b69a9f60b4425a +DIST github.com-golang-net-c0dbc17a3553.tar.gz 1174058 BLAKE2B 7768270891426a2212eca05ea31ec0ccd963f01fe0b58b1a6cddbe06a551cb0a9494223beb52bc6e0abbe251605d8d879adab6539f49a3ebcec9102381fc39ca SHA512 d2eae41c65085289b2be817dc991e5c47ab299a4f398028c0e00e1167b188db3a9d8fc181c231080e4cd188bda08c0bef34f61588f95f9ce9af4ed32eb65e510 +DIST github.com-golang-sys-a1369afcdac7.tar.gz 1537726 BLAKE2B 82bd574984b2ff17237c508752bd7a3c6274b69e7cc579f44ca1237ae783e2c3de6678f3596e9ea4a2764fe4f577f0e43d2e47441bd0f20888fbaaa43243c75b SHA512 1fa7b14644499ba3972b5c9b9012341e8294c0a6407a6339b9b99cdc99382ca93315276bd0487f5b3cad49ad78413ba3e37fd5e77a20736db750349902d75adc +DIST github.com-golang-text-v0.3.2.tar.gz 7168069 BLAKE2B c2412f4554e2a50fe0764c24cd52a0799d526cb78952839fa1c031c43e7c34a58f6c65d2e450a0ddd0447d5f749aa5104dd47dca5a2c4964e3dd6e2eb39313c3 SHA512 48156313c3ae4c01ea3a8b790ae829f50f2a53ea9ad7c14509749405da5cb7c98e6e1a2e9f3619e01393935d452b5b5e568b29719cd1f286570272d59508da58 +DIST github.com-gologme-log-4e5d8ccb38e8.tar.gz 5610 BLAKE2B dedf91c364ca37b99a2f8b1d9c4c9c4ab88843101b5f601079d9b7c461c11527255dc325ecd1fe463a8c3cc1fc6154925a20d560acb6d2346eccb4cb14c494a0 SHA512 b5ad00fcc446e2643d1062dee4e2fc7bcc1b5c925939e56b1c61f152f913fe37dabd26e843028814743e810a75260fdfd891f16e3da5b60b7e15873e1ab0b77a +DIST github.com-hashicorp-go-syslog-v1.0.0.tar.gz 4517 BLAKE2B cab2b9569356395d07b58de464639048654c4acb48f44bc6d125ff08801e666adcc07b8b47293200eab5ea54490a86c315aff6ebae4a4001218c6582919aede8 SHA512 8ce3188cf62a6c168a5620168e5ae89eea1dc374c1242acde74d69944eb1de6fc6155bfa5945ee52edae816682f65926b53808219ab3cccd6b2ba1f1b8707fbc +DIST github.com-hjson-hjson-go-v3.0.1.tar.gz 25622 BLAKE2B 69346b5b0a60723b66688d9fa379da686f597dc0143af467ffef76a32c74b0eb41d5734254e78b1ad09deb95266685c21492c6a6e27bb88f429736ad08e6b020 SHA512 365d3d45947a1fd05cbcd36fea18c793a1b3ef101b61d780a0f41eecacb6f0f5e68b4d916dd74c03d2c94d7c18b1d86227f8da3cc32c49899124e8197095d1e1 +DIST github.com-kardianos-minwinsvc-cad6b2b879b0.tar.gz 1808 BLAKE2B a3745267d8143188beaaf993d793a20728ca0eea7ffc4bd8d808b33dd1b4d364b26426d68e4beae590507205744992beec8daf024942cde08ea1da9715da05d2 SHA512 3ab97813c4d71283b21545738d154f4fcc522ff03b2939cd0a4679695ac3827a43e79b35ef4af59022714e3e6fb41619a0ff4640e5b35e2f25e67bdbb2d6b20b +DIST github.com-mitchellh-mapstructure-v1.1.2.tar.gz 20980 BLAKE2B 6792e875503b852773e8f062808f7bfa5a7e77ab4ec9012865750a5e15a13a6338490e7dd865545b8055c043a9f016cdabe6fc71c031a1210eb3a5e0c28a3394 SHA512 86c9fb9494652dd391b67185aae44b9cb14fcf96ba9ff62ed95c8952b01f6485154102e5883d16c6007d18a02bbf34e5937e2842df72c0244d48b22ee6aa9fe3 +DIST github.com-vishvananda-netlink-v1.0.0.tar.gz 119941 BLAKE2B ca372c726d18c15df0bd18de0d88e2b3997df35965659b39a66fe13a9c8da9ff550f1a283111b7fdb44a76ad6d9a734c688bbd8234fcadbb2d14226469ffae34 SHA512 eadb2e16b609e7225aaf9757f99b0efaf9439bf1eddca0ce6cae2c1bb1ed8ac18fca1f353053dfee0c7c5760905c819f3872440d230fb89b1a66329e6dcc6552 +DIST github.com-vishvananda-netns-7109fa855b0f.tar.gz 7874 BLAKE2B 8e297e33a9f312301706036bd4952661fc9dd02276a118df1b661cc81f36c5ebf6a3f0611491af0b4f4758447e1604a5ba95b15b2fca19778cdbbdc574f4028f SHA512 8d528e23fb41e7dfb695b4079f159aae37cee5c8cb4456036e332c7124fb2b1a9d9e32aaf82c03ab1b8816d0a5aa7ec60f26252dfbef310ee44294a1e4091d25 +DIST yggdrasil-go-0.3.13.tar.gz 163905 BLAKE2B 93cf134cdf5ef1467ab897b5c85f38bef1de3e5759ad9d66fa139f708a3139c3dabca52f6d0bac58635015cc4618016cb6ed20ad49c4ce56b7df27511834b520 SHA512 d3a4d4de62bbcb910a4de179e571b1ce11345560728e2b9b1fe30df12aee04703de832b5d6065d52c247fd5e2e79a2a9a5696d948622ffb2cd8bd861825c7dd5 diff --git a/net-p2p/yggdrasil-go/metadata.xml b/net-p2p/yggdrasil-go/metadata.xml new file mode 100644 index 000000000..32428bb74 --- /dev/null +++ b/net-p2p/yggdrasil-go/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>william@wstrm.dev</email> + <name>William Wennerström</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + Yggdrasil is an early-stage implementation of a fully end-to-end + encrypted IPv6 network. It is lightweight, self-arranging, + supported on multiple platforms and allows pretty much any + IPv6-capable application to communicate securely with other + Yggdrasil nodes. Yggdrasil does not require you to have IPv6 + Internet connectivity - it also works over IPv4. + </longdescription> +</pkgmetadata> diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.3.13.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.3.13.ebuild new file mode 100644 index 000000000..2a260f67c --- /dev/null +++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.3.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/yggdrasil-network/yggdrasil-go" +EGO_VENDOR=( + "github.com/Arceliar/phony d0c68492aca0" + "github.com/gologme/log 4e5d8ccb38e8" + "github.com/hashicorp/go-syslog v1.0.0" + "github.com/hjson/hjson-go v3.0.1" + "github.com/kardianos/minwinsvc cad6b2b879b0" + "github.com/mitchellh/mapstructure v1.1.2" + "github.com/vishvananda/netlink v1.0.0" + "github.com/vishvananda/netns 7109fa855b0f" + "golang.org/x/crypto 53104e6ec876 github.com/golang/crypto" + "golang.org/x/net c0dbc17a3553 github.com/golang/net" + "golang.org/x/sys a1369afcdac7 github.com/golang/sys" + "golang.org/x/text v0.3.2 github.com/golang/text" + "golang.zx2c4.com/wireguard v0.0.20200121 github.com/WireGuard/wireguard-go" + "golang.zx2c4.com/wireguard/windows cb4a03094c25 github.com/WireGuard/wireguard-windows" +) + +inherit golang-vcs-snapshot linux-info systemd + +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" + +DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network" +HOMEPAGE="https://yggdrasil-network.github.io/" +LICENSE="LGPL-3" + +SLOT="0" +IUSE="" +KEYWORDS="~amd64" + +QA_PRESTRIPPED="/usr/bin/yggdrasil /usr/bin/yggdrasilctl" + +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() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ + go install -v -work -x -ldflags "\ + -X ${EGO_PN}/src/yggdrasil.buildName=yggdrasil \ + -X ${EGO_PN}/src/yggdrasil.buildVersion=${PV} \ + -s -w" \ + ${EGO_PN}/cmd/... || die +} + +src_install() { + dobin bin/* + + systemd_dounit "src/${EGO_PN}/contrib/systemd/yggdrasil.service" + newinitd "src/${EGO_PN}/contrib/openrc/yggdrasil" yggdrasil +} |