From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 388D615808B for ; Fri, 25 Mar 2022 15:17:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A92BE0769; Fri, 25 Mar 2022 15:17:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23584E0769 for ; Fri, 25 Mar 2022 15:17:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F1EE34334A for ; Fri, 25 Mar 2022 15:17:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79A3F34A for ; Fri, 25 Mar 2022 15:17:02 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1648057347.7a7842118b10d0de793eba2de9e0a342a94b8690.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/popura/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/popura/Manifest net-p2p/popura/metadata.xml net-p2p/popura/popura-0.4.3.ebuild net-p2p/popura/popura-9999.ebuild X-VCS-Directories: net-p2p/popura/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 7a7842118b10d0de793eba2de9e0a342a94b8690 X-VCS-Branch: master Date: Fri, 25 Mar 2022 15:17:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 89e047f0-54ae-4e9a-9fba-ec8d24c574eb X-Archives-Hash: bc36a223aaa6b28ad752be47b2a0d65f commit: 7a7842118b10d0de793eba2de9e0a342a94b8690 Author: BratishkaErik getgoogleoff me> AuthorDate: Wed Mar 23 17:42:27 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Wed Mar 23 17:42:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a784211 net-p2p/popura: Add new package Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: BratishkaErik getgoogleoff.me> net-p2p/popura/Manifest | 2 ++ net-p2p/popura/metadata.xml | 13 ++++++++++ net-p2p/popura/popura-0.4.3.ebuild | 53 ++++++++++++++++++++++++++++++++++++++ net-p2p/popura/popura-9999.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 4 files changed, 120 insertions(+) diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest new file mode 100644 index 000000000..342cb6300 --- /dev/null +++ b/net-p2p/popura/Manifest @@ -0,0 +1,2 @@ +DIST popura-0.4.3+popura1-deps.tar.bz2 52737816 BLAKE2B 9bb9d8d14e9c968a86af950cc876937f7984541b87aaf9aa991d04edb0d264ffa80ccafb34ff5e56aba33d0980aa9aeed47e6deadf1bbdc2d7f1fbd419052f11 SHA512 def5d9a37dfb93fbd6329e78610b61d39aa00ddf8e4db04cbe553fb2f13ca61dd6331e2773333ad4e082812793818481576fe4f62674638432e9258a0f89e1a0 +DIST popura-0.4.3+popura1.tar.gz 46530 BLAKE2B 192600801d120b85c11566090c7ce6e72d32a96d9600531c1669693e34063b1d7530be1e28a1b9d5859a31fc68fb4cb341acf9e8ff561f2609c554f9331b1dd3 SHA512 a6a1d40df4db94bc4a497530e4fcd67c34a598d02e1708a7f934f84c87105ce74fdfc70fd2745b7ad88198759a7d0fa5c7963dc41b96086020205a5411fda344 diff --git a/net-p2p/popura/metadata.xml b/net-p2p/popura/metadata.xml new file mode 100644 index 000000000..2641f35f4 --- /dev/null +++ b/net-p2p/popura/metadata.xml @@ -0,0 +1,13 @@ + + + + + bratishkaerik@getgoogleoff.me + BratishkaErik + + + popura-network/Popura + https://github.com/popura-network/Popura/issues + https://github.com/popura-network/Popura/wiki + + diff --git a/net-p2p/popura/popura-0.4.3.ebuild b/net-p2p/popura/popura-0.4.3.ebuild new file mode 100644 index 000000000..26435abcd --- /dev/null +++ b/net-p2p/popura/popura-0.4.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module linux-info systemd + +DESCRIPTION="Popura: alternative Yggdrasil network client" +HOMEPAGE="https://github.com/popura-network/Popura/" +DOCS=( README.md ) + +KEYWORDS="~amd64" +SRC_URI=" + https://github.com/popura-network/Popura/archive/v${PV}+popura1.tar.gz -> ${P}+popura1.tar.gz + https://gitea.minecast.xyz/BratishkaErik/distfiles/media/branch/master/${P}+popura1-deps.tar.bz2 +" + +S="${WORKDIR}/Popura-${PV}-popura1" + +LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB" +SLOT="0" + +DEPEND=" + acct-user/yggdrasil + acct-group/yggdrasil +" + +RDEPEND="!!net-p2p/yggdrasil-go" + +BDEPEND=">=dev-lang/go-1.16.0" + +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() { + PKGNAME="${PN}" PKGVER="${PV}+popura1" \ + GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \ + ./build -l "-linkmode external -extldflags \"${LDFLAGS}\"" +} + +src_install() { + dobin {yggdrasil,yggdrasilctl} + systemd_dounit "contrib/systemd/yggdrasil.service" + systemd_dounit "contrib/systemd/yggdrasil-default-config.service" + doinitd "contrib/openrc/yggdrasil" +} diff --git a/net-p2p/popura/popura-9999.ebuild b/net-p2p/popura/popura-9999.ebuild new file mode 100644 index 000000000..5b58d7b27 --- /dev/null +++ b/net-p2p/popura/popura-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module linux-info systemd git-r3 + +EGIT_REPO_URI="https://github.com/popura-network/Popura" + +DESCRIPTION="Popura: alternative Yggdrasil network client" +HOMEPAGE="https://github.com/popura-network/Popura" +DOCS=( README.md ) + +LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB" +SLOT="0" +KEYWORDS="" + +DEPEND=" + acct-user/yggdrasil + acct-group/yggdrasil +" + +RDEPEND="!!net-p2p/yggdrasil-go" + +BDEPEND=">=dev-lang/go-1.16.0" + +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_unpack() { + git-r3_src_unpack + go-module_live_vendor +} + +src_compile() { + GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \ + ./build -l "-linkmode external -extldflags \"${LDFLAGS}\"" +} + +src_install() { + dobin {yggdrasil,yggdrasilctl} + systemd_dounit "contrib/systemd/yggdrasil.service" + systemd_dounit "contrib/systemd/yggdrasil-default-config.service" + doinitd "contrib/openrc/yggdrasil" +}