public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2024-03-25 16:29 Julien Roy
  2024-03-25 16:52 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
  0 siblings, 1 reply; 9+ messages in thread
From: Julien Roy @ 2024-03-25 16:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f4620e9fbd351b6ceae925d47d207d46bddc92b5
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Mar 25 16:17:14 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Mar 25 16:23:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4620e9f

net-p2p/popura: treeclean

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 net-p2p/popura/Manifest            |  2 --
 net-p2p/popura/metadata.xml        | 13 ---------
 net-p2p/popura/popura-0.4.6.ebuild | 57 --------------------------------------
 net-p2p/popura/popura-9999.ebuild  | 56 -------------------------------------
 4 files changed, 128 deletions(-)

diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest
deleted file mode 100644
index ebea2836ac..0000000000
--- a/net-p2p/popura/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST popura-0.4.6-vendor.tar.xz 1075916 BLAKE2B af54506ea8ec27de78c2481ba47b1b8bb25ef20bb90a198492eec9b0b5e0e72b94f40e441ed0218032665bf3860dc060481ae217dc0d2a8149cd352fa8a4ea9e SHA512 f241ec372952fd9730b477d5cb72fc9f3efc4c98c5f0a65d4f03be98e90a76eb3090d21abbb46c72c74a282f33edc080b73ac1ed66cd31694fe81aca6aa7d061
-DIST popura-0.4.6.tar.gz 45804 BLAKE2B 52da18837dfdc3350d339374b1a8903875d5bb60643aa337365d3f0ed741a228775b61191b6cfa6908f797fae0b8a387b41ed1474b6d694d5d044dd06317e549 SHA512 0ff3c00a844302b8b4d30d6bf5544b45b49b2a3db0d602038fae8f9ea75b2de3bd14a38f865df1a0f67196dc1781a0cb12fa0c85a3cd0469581c45106bc5b75b

diff --git a/net-p2p/popura/metadata.xml b/net-p2p/popura/metadata.xml
deleted file mode 100644
index ed92c8237b..0000000000
--- a/net-p2p/popura/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>bratishkaerik@getgoogleoff.me</email>
-		<name>Eric Joldasov</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="github">popura-network/Popura</remote-id>
-		<bugs-to>https://github.com/popura-network/Popura/issues</bugs-to>
-		<doc lang="en">https://github.com/popura-network/Popura/wiki</doc>
-	</upstream>
-</pkgmetadata>

diff --git a/net-p2p/popura/popura-0.4.6.ebuild b/net-p2p/popura/popura-0.4.6.ebuild
deleted file mode 100644
index 0b8ec247bb..0000000000
--- a/net-p2p/popura/popura-0.4.6.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module linux-info systemd fcaps
-
-DESCRIPTION="Popura: alternative Yggdrasil network client"
-HOMEPAGE="https://github.com/popura-network/Popura/"
-SRC_URI="
-	https://github.com/popura-network/Popura/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
-	https://github.com/popura-network/Popura/releases/download/v${PV}/popura-${PV}-vendor.tar.xz
-"
-
-LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
-	acct-user/yggdrasil
-	acct-group/yggdrasil
-"
-
-BDEPEND=">=dev-lang/go-1.17.0"
-RDEPEND="!net-p2p/yggdrasil-go"
-
-S="${WORKDIR}/Popura-${PV}"
-
-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
-	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
deleted file mode 100644
index ca0e139196..0000000000
--- a/net-p2p/popura/popura-9999.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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 fcaps
-
-DESCRIPTION="Popura: alternative Yggdrasil network client"
-HOMEPAGE="https://github.com/popura-network/Popura"
-EGIT_REPO_URI="https://github.com/popura-network/Popura"
-
-LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB"
-SLOT="0"
-
-DEPEND="
-	acct-user/yggdrasil
-	acct-group/yggdrasil
-"
-
-BDEPEND=">=dev-lang/go-1.16.0"
-RDEPEND="!net-p2p/yggdrasil-go"
-
-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_unpack() {
-	git-r3_src_unpack
-	go-module_live_vendor
-}
-
-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}+popura1" -trimpath ./cmd/$CMD
-	done
-}
-
-src_install() {
-	dobin {yggdrasil,yggdrasilctl}
-	dodoc README.md
-	systemd_dounit "contrib/systemd/yggdrasil.service"
-	systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
-	doinitd "contrib/openrc/yggdrasil"
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-11-05  8:22 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-11-05  8:22 UTC (permalink / raw
  To: gentoo-commits

commit:     dc14dbf87440b54b6d0342a07cd0c976e6c93068
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Sat Nov  5 08:21:34 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Sat Nov  5 08:21:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc14dbf8

net-p2p/popura: change dependency tarball to vendor tarball

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

 net-p2p/popura/Manifest            | 2 +-
 net-p2p/popura/popura-0.4.6.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest
index f09b7165a..ebea2836a 100644
--- a/net-p2p/popura/Manifest
+++ b/net-p2p/popura/Manifest
@@ -1,2 +1,2 @@
-DIST popura-0.4.6-go-mod-download.tar.bz2 39539473 BLAKE2B a9b12f4897bdd03c5d72985704f908714c0a93b1689dbea64b1cfdaa2f19beb8e6a39f390dca0a57be0e7d4fbbeb505404262df9d64a439871a61f6f3f7d6c7f SHA512 981343f356bf0e826539f0af470e3451aa1e1c98490d8ca293bfd6c3d2faa40a0f25ba231a15c7d5a0918bcdd346a0610c9373a75de7f65da633e67e890ce1d0
+DIST popura-0.4.6-vendor.tar.xz 1075916 BLAKE2B af54506ea8ec27de78c2481ba47b1b8bb25ef20bb90a198492eec9b0b5e0e72b94f40e441ed0218032665bf3860dc060481ae217dc0d2a8149cd352fa8a4ea9e SHA512 f241ec372952fd9730b477d5cb72fc9f3efc4c98c5f0a65d4f03be98e90a76eb3090d21abbb46c72c74a282f33edc080b73ac1ed66cd31694fe81aca6aa7d061
 DIST popura-0.4.6.tar.gz 45804 BLAKE2B 52da18837dfdc3350d339374b1a8903875d5bb60643aa337365d3f0ed741a228775b61191b6cfa6908f797fae0b8a387b41ed1474b6d694d5d044dd06317e549 SHA512 0ff3c00a844302b8b4d30d6bf5544b45b49b2a3db0d602038fae8f9ea75b2de3bd14a38f865df1a0f67196dc1781a0cb12fa0c85a3cd0469581c45106bc5b75b

diff --git a/net-p2p/popura/popura-0.4.6.ebuild b/net-p2p/popura/popura-0.4.6.ebuild
index ca9a72293..0b8ec247b 100644
--- a/net-p2p/popura/popura-0.4.6.ebuild
+++ b/net-p2p/popura/popura-0.4.6.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Popura: alternative Yggdrasil network client"
 HOMEPAGE="https://github.com/popura-network/Popura/"
 SRC_URI="
 	https://github.com/popura-network/Popura/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
-	https://github.com/popura-network/Popura/releases/download/v${PV}/popura-${PV}-go-mod-download.tar.bz2
+	https://github.com/popura-network/Popura/releases/download/v${PV}/popura-${PV}-vendor.tar.xz
 "
 
 LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-11-05  8:13 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-11-05  8:13 UTC (permalink / raw
  To: gentoo-commits

commit:     ac5657a28f0606232873075419b11effd33301c1
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Sat Nov  5 08:12:45 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Sat Nov  5 08:12:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac5657a2

net-p2p/popura: move dependency tarball to upstream

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

 net-p2p/popura/Manifest            | 2 +-
 net-p2p/popura/popura-0.4.6.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest
index 5cb67bc38..f09b7165a 100644
--- a/net-p2p/popura/Manifest
+++ b/net-p2p/popura/Manifest
@@ -1,2 +1,2 @@
-DIST popura-0.4.6-deps.tar.bz2 39539473 BLAKE2B a9b12f4897bdd03c5d72985704f908714c0a93b1689dbea64b1cfdaa2f19beb8e6a39f390dca0a57be0e7d4fbbeb505404262df9d64a439871a61f6f3f7d6c7f SHA512 981343f356bf0e826539f0af470e3451aa1e1c98490d8ca293bfd6c3d2faa40a0f25ba231a15c7d5a0918bcdd346a0610c9373a75de7f65da633e67e890ce1d0
+DIST popura-0.4.6-go-mod-download.tar.bz2 39539473 BLAKE2B a9b12f4897bdd03c5d72985704f908714c0a93b1689dbea64b1cfdaa2f19beb8e6a39f390dca0a57be0e7d4fbbeb505404262df9d64a439871a61f6f3f7d6c7f SHA512 981343f356bf0e826539f0af470e3451aa1e1c98490d8ca293bfd6c3d2faa40a0f25ba231a15c7d5a0918bcdd346a0610c9373a75de7f65da633e67e890ce1d0
 DIST popura-0.4.6.tar.gz 45804 BLAKE2B 52da18837dfdc3350d339374b1a8903875d5bb60643aa337365d3f0ed741a228775b61191b6cfa6908f797fae0b8a387b41ed1474b6d694d5d044dd06317e549 SHA512 0ff3c00a844302b8b4d30d6bf5544b45b49b2a3db0d602038fae8f9ea75b2de3bd14a38f865df1a0f67196dc1781a0cb12fa0c85a3cd0469581c45106bc5b75b

diff --git a/net-p2p/popura/popura-0.4.6.ebuild b/net-p2p/popura/popura-0.4.6.ebuild
index 61b1e3282..ca9a72293 100644
--- a/net-p2p/popura/popura-0.4.6.ebuild
+++ b/net-p2p/popura/popura-0.4.6.ebuild
@@ -8,8 +8,8 @@ inherit go-module linux-info systemd fcaps
 DESCRIPTION="Popura: alternative Yggdrasil network client"
 HOMEPAGE="https://github.com/popura-network/Popura/"
 SRC_URI="
-	https://github.com/popura-network/Popura/archive/v${PV}.tar.gz -> ${P}.tar.gz
-	https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
+	https://github.com/popura-network/Popura/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/popura-network/Popura/releases/download/v${PV}/popura-${PV}-go-mod-download.tar.bz2
 "
 
 LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-11-02 17:38 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-11-02 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     3547a9240674c561958cb0de7f7617a562841d91
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Wed Nov  2 17:37:42 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Wed Nov  2 17:37:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3547a924

net-p2p/popura: fix for 0.4.6

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

 net-p2p/popura/popura-0.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/popura/popura-0.4.6.ebuild b/net-p2p/popura/popura-0.4.6.ebuild
index fe324c2d6..61b1e3282 100644
--- a/net-p2p/popura/popura-0.4.6.ebuild
+++ b/net-p2p/popura/popura-0.4.6.ebuild
@@ -24,7 +24,7 @@ DEPEND="
 BDEPEND=">=dev-lang/go-1.17.0"
 RDEPEND="!net-p2p/yggdrasil-go"
 
-S="${WORKDIR}/Popura-${PV}-popura1"
+S="${WORKDIR}/Popura-${PV}"
 
 FILECAPS=(
 	cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-11-02 17:33 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-11-02 17:33 UTC (permalink / raw
  To: gentoo-commits

commit:     75f43850f9cf5960f5d7e11e9e2fda5d4b4eaf22
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Wed Nov  2 17:32:52 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Wed Nov  2 17:33:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75f43850

net-p2p/popura: add 0.4.6, drop 0.4.3

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

 net-p2p/popura/Manifest                                     |  4 ++--
 net-p2p/popura/metadata.xml                                 |  2 +-
 net-p2p/popura/{popura-0.4.3.ebuild => popura-0.4.6.ebuild} | 10 +++++-----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest
index 342cb6300..5cb67bc38 100644
--- a/net-p2p/popura/Manifest
+++ b/net-p2p/popura/Manifest
@@ -1,2 +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
+DIST popura-0.4.6-deps.tar.bz2 39539473 BLAKE2B a9b12f4897bdd03c5d72985704f908714c0a93b1689dbea64b1cfdaa2f19beb8e6a39f390dca0a57be0e7d4fbbeb505404262df9d64a439871a61f6f3f7d6c7f SHA512 981343f356bf0e826539f0af470e3451aa1e1c98490d8ca293bfd6c3d2faa40a0f25ba231a15c7d5a0918bcdd346a0610c9373a75de7f65da633e67e890ce1d0
+DIST popura-0.4.6.tar.gz 45804 BLAKE2B 52da18837dfdc3350d339374b1a8903875d5bb60643aa337365d3f0ed741a228775b61191b6cfa6908f797fae0b8a387b41ed1474b6d694d5d044dd06317e549 SHA512 0ff3c00a844302b8b4d30d6bf5544b45b49b2a3db0d602038fae8f9ea75b2de3bd14a38f865df1a0f67196dc1781a0cb12fa0c85a3cd0469581c45106bc5b75b

diff --git a/net-p2p/popura/metadata.xml b/net-p2p/popura/metadata.xml
index 2641f35f4..ed92c8237 100644
--- a/net-p2p/popura/metadata.xml
+++ b/net-p2p/popura/metadata.xml
@@ -3,7 +3,7 @@
 <pkgmetadata>
 	<maintainer type="person">
 		<email>bratishkaerik@getgoogleoff.me</email>
-		<name>BratishkaErik</name>
+		<name>Eric Joldasov</name>
 	</maintainer>
 	<upstream>
 		<remote-id type="github">popura-network/Popura</remote-id>

diff --git a/net-p2p/popura/popura-0.4.3.ebuild b/net-p2p/popura/popura-0.4.6.ebuild
similarity index 84%
rename from net-p2p/popura/popura-0.4.3.ebuild
rename to net-p2p/popura/popura-0.4.6.ebuild
index 719ec1948..fe324c2d6 100644
--- a/net-p2p/popura/popura-0.4.3.ebuild
+++ b/net-p2p/popura/popura-0.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,8 +8,8 @@ inherit go-module linux-info systemd fcaps
 DESCRIPTION="Popura: alternative Yggdrasil network client"
 HOMEPAGE="https://github.com/popura-network/Popura/"
 SRC_URI="
-	https://github.com/popura-network/Popura/archive/v${PV}+popura1.tar.gz -> ${P}+popura1.tar.gz
-	https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}+popura1-deps.tar.bz2
+	https://github.com/popura-network/Popura/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
 "
 
 LICENSE="LGPL-3 MPL-2.0 MIT Apache-2.0 BSD ZLIB"
@@ -21,7 +21,7 @@ DEPEND="
 	acct-group/yggdrasil
 "
 
-BDEPEND=">=dev-lang/go-1.16.0"
+BDEPEND=">=dev-lang/go-1.17.0"
 RDEPEND="!net-p2p/yggdrasil-go"
 
 S="${WORKDIR}/Popura-${PV}-popura1"
@@ -44,7 +44,7 @@ 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}+popura1" -trimpath ./cmd/$CMD
+		ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}' -X ${package}.buildName=${PN} -X ${package}.buildVersion=v${PV}" -trimpath ./cmd/$CMD
 	done
 }
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-08-17 14:21 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-08-17 14:21 UTC (permalink / raw
  To: gentoo-commits

commit:     e62e908e5e9176ddf482d60a5927e7edae375f3a
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Wed Aug 17 14:21:40 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Wed Aug 17 14:21:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e62e908e

net-p2p/popura: filecaps for 9999

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

 net-p2p/popura/popura-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net-p2p/popura/popura-9999.ebuild b/net-p2p/popura/popura-9999.ebuild
index 26e19a2b1..ca0e13919 100644
--- a/net-p2p/popura/popura-9999.ebuild
+++ b/net-p2p/popura/popura-9999.ebuild
@@ -20,6 +20,10 @@ DEPEND="
 BDEPEND=">=dev-lang/go-1.16.0"
 RDEPEND="!net-p2p/yggdrasil-go"
 
+FILECAPS=(
+	cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
+)
+
 pkg_setup() {
 	linux-info_pkg_setup
 	if ! linux_config_exists; then


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-08-17 14:18 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-08-17 14:18 UTC (permalink / raw
  To: gentoo-commits

commit:     21e61a7e5a617c5ef1434d967aa6a2b79da02889
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Wed Aug 17 14:18:26 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Wed Aug 17 14:18:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21e61a7e

net-p2p/popura: install docs, set file capabilities

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

 net-p2p/popura/popura-0.4.3.ebuild | 26 +++++++++++++++-----------
 net-p2p/popura/popura-9999.ebuild  | 18 +++++++++---------
 2 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/net-p2p/popura/popura-0.4.3.ebuild b/net-p2p/popura/popura-0.4.3.ebuild
index 28d1a02a3..719ec1948 100644
--- a/net-p2p/popura/popura-0.4.3.ebuild
+++ b/net-p2p/popura/popura-0.4.3.ebuild
@@ -3,31 +3,32 @@
 
 EAPI=8
 
-inherit go-module linux-info systemd
+inherit go-module linux-info systemd fcaps
 
 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://codeberg.org/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"
+KEYWORDS="~amd64"
 
 DEPEND="
 	acct-user/yggdrasil
 	acct-group/yggdrasil
 "
 
-RDEPEND="!!net-p2p/yggdrasil-go"
-
 BDEPEND=">=dev-lang/go-1.16.0"
+RDEPEND="!net-p2p/yggdrasil-go"
+
+S="${WORKDIR}/Popura-${PV}-popura1"
+
+FILECAPS=(
+	cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
+)
 
 pkg_setup() {
 	linux-info_pkg_setup
@@ -40,13 +41,16 @@ pkg_setup() {
 }
 
 src_compile() {
-	PKGNAME="${PN}" PKGVER="${PV}+popura1" \
-	GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \
-	./build -l "-linkmode external -extldflags \"${LDFLAGS}\""
+	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}+popura1" -trimpath ./cmd/$CMD
+	done
 }
 
 src_install() {
 	dobin {yggdrasil,yggdrasilctl}
+	dodoc README.md
 	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
index 5b58d7b27..26e19a2b1 100644
--- a/net-p2p/popura/popura-9999.ebuild
+++ b/net-p2p/popura/popura-9999.ebuild
@@ -3,26 +3,22 @@
 
 EAPI=8
 
-inherit go-module linux-info systemd git-r3
-
-EGIT_REPO_URI="https://github.com/popura-network/Popura"
+inherit go-module linux-info systemd git-r3 fcaps
 
 DESCRIPTION="Popura: alternative Yggdrasil network client"
 HOMEPAGE="https://github.com/popura-network/Popura"
-DOCS=( README.md )
+EGIT_REPO_URI="https://github.com/popura-network/Popura"
 
 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"
+RDEPEND="!net-p2p/yggdrasil-go"
 
 pkg_setup() {
 	linux-info_pkg_setup
@@ -40,12 +36,16 @@ src_unpack() {
 }
 
 src_compile() {
-	GOFLAGS="-trimpath -buildmode=pie -mod=readonly" \
-	./build -l "-linkmode external -extldflags \"${LDFLAGS}\""
+	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}+popura1" -trimpath ./cmd/$CMD
+	done
 }
 
 src_install() {
 	dobin {yggdrasil,yggdrasilctl}
+	dodoc README.md
 	systemd_dounit "contrib/systemd/yggdrasil.service"
 	systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
 	doinitd "contrib/openrc/yggdrasil"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/
@ 2022-03-23 17:43 Eric Joldasov
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Joldasov @ 2022-03-23 17:43 UTC (permalink / raw
  To: gentoo-commits

commit:     7a7842118b10d0de793eba2de9e0a342a94b8690
Author:     BratishkaErik <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Wed Mar 23 17:42:27 2022 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
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 <bratishkaerik <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>bratishkaerik@getgoogleoff.me</email>
+		<name>BratishkaErik</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">popura-network/Popura</remote-id>
+		<bugs-to>https://github.com/popura-network/Popura/issues</bugs-to>
+		<doc lang="en">https://github.com/popura-network/Popura/wiki</doc>
+	</upstream>
+</pkgmetadata>

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"
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-25 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 16:29 [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/ Julien Roy
2024-03-25 16:52 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2022-11-05  8:22 [gentoo-commits] repo/proj/guru:dev " Eric Joldasov
2022-11-05  8:13 Eric Joldasov
2022-11-02 17:38 Eric Joldasov
2022-11-02 17:33 Eric Joldasov
2022-08-17 14:21 Eric Joldasov
2022-08-17 14:18 Eric Joldasov
2022-03-23 17:43 Eric Joldasov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox