[gentoo-commits] repo/proj/guru:dev commit in: app-benchmarks/poop/, www-apps/mycorrhiza/, dev-zig/zls/

2024-04-03 Thread Eric Joldasov
commit: c81dd3d0bf107c228caac61d5efb41ebdf11d8a2
Author: Eric Joldasov  landless-city  net>
AuthorDate: Wed Apr  3 07:10:27 2024 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Apr  3 07:10:27 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c81dd3d0

*/*: update email on my packages

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

 app-benchmarks/poop/metadata.xml | 2 +-
 dev-zig/zls/metadata.xml | 2 +-
 www-apps/mycorrhiza/metadata.xml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-benchmarks/poop/metadata.xml b/app-benchmarks/poop/metadata.xml
index 0ec639e439..e633878a43 100644
--- a/app-benchmarks/poop/metadata.xml
+++ b/app-benchmarks/poop/metadata.xml
@@ -2,7 +2,7 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

-   bratishkae...@getgoogleoff.me
+   bratishkae...@landless-city.net
    Eric Joldasov



diff --git a/dev-zig/zls/metadata.xml b/dev-zig/zls/metadata.xml
index f7d26335b1..388538c593 100644
--- a/dev-zig/zls/metadata.xml
+++ b/dev-zig/zls/metadata.xml
@@ -2,7 +2,7 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

-   bratishkae...@getgoogleoff.me
+   bratishkae...@landless-city.net
    Eric Joldasov



diff --git a/www-apps/mycorrhiza/metadata.xml b/www-apps/mycorrhiza/metadata.xml
index 269942abfb..b486525834 100644
--- a/www-apps/mycorrhiza/metadata.xml
+++ b/www-apps/mycorrhiza/metadata.xml
@@ -2,7 +2,7 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

-   bratishkae...@getgoogleoff.me
+   bratishkae...@landless-city.net
    Eric Joldasov





[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2024-02-19 Thread Eric Joldasov
commit: 3602eedd66b5aeda76d783f4dbc1926fea4aea77
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Feb 20 05:28:17 2024 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Tue Feb 20 05:28:17 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3602eedd

net-p2p/yggdrasil-go: drop 0.5.4

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 41da47e2ac..a7e45d23a9 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,4 +1,2 @@
-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
 DIST yggdrasil-go-0.5.5-vendor.tar.xz 1443888 BLAKE2B 
712bcb42a38b10c950ac8c6ce9301dbbaf4a77026bcc2c6d78321c7423ef3dc0fcba5bf94c0cd674af3e911eda476ae8c7d7bb7c782328c5201e91efe2958d1d
 SHA512 
10be1cd6dd5b4fb11b70c48e9cdeb26f4534424dbb0dcd93d0a3d8de3b63d0849dcc55b3394ba3ab74c19e15592d26c2be7e9f4e89a8dccb6c17da572907b5ba
 DIST yggdrasil-go-0.5.5.tar.gz 105482 BLAKE2B 
7afbde70e2aec71f47ba32730611d22b87fa23ff4d488a33ca82124cb4ec211c654e780b3c8c703100eb065c05c54561ca36136765050c96e297f30a5656bc61
 SHA512 
13ee5c719335d7a599019d004cd8d82883c7a2beb707de968a0934982364a0f70982f14157bd9aaabda9595f194594901a9158cfeb272491a71b5392abd79dc4

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild
deleted file mode 100644
index 7d9f6dd88f..00
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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"
-}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2024-02-13 Thread Eric Joldasov
commit: 8821ebed7cb4070b8ad2d5e95f1a331525cb6ace
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Feb 14 03:49:59 2024 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Feb 14 03:49:59 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8821ebed

net-p2p/yggdrasil-go: sync  ebuild with 0.5.5

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/yggdrasil-go-.ebuild | 34 ++-
 1 file changed, 18 insertions(+), 16 deletions(-)

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
index 20419a6730..6e443a39df 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit go-module linux-info systemd git-r3 fcaps
+inherit fcaps git-r3 go-module linux-info systemd
 
 EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go;
 
@@ -12,28 +12,20 @@ HOMEPAGE="https://yggdrasil-network.github.io/;
 
 LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
 SLOT="0"
-KEYWORDS=""
 
 DEPEND="
acct-user/yggdrasil
acct-group/yggdrasil
 "
 
-BDEPEND=">=dev-lang/go-1.17.0"
+BDEPEND=">=dev-lang/go-1.20.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
-}
+CONFIG_CHECK="~TUN"
+ERROR_TUN="Your kernel lacks TUN support."
 
 src_unpack() {
git-r3_src_unpack
@@ -41,17 +33,27 @@ src_unpack() {
 }
 
 src_compile() {
-   local package="github.com/yggdrasil-network/yggdrasil-go/src/version"
+   GOFLAGS+=" -mod=vendor -trimpath"
+
+   local ver_config="github.com/yggdrasil-network/yggdrasil-go/src/version"
+
+   local custom_name_version_flags="-X ${ver_config}.buildName=${PN}"
+   custom_name_version_flags+=" -X 
${ver_config}.buildVersion=git-${EGIT_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
+   local GO_LDFLAGS
+   GO_LDFLAGS="-s -linkmode external -extldflags \"${LDFLAGS}\" 
${custom_name_version_flags}"
+
+   local cmd
+   for cmd in yggdrasil{,ctl}; do
+   ego build ${GOFLAGS} "-ldflags=${GO_LDFLAGS}" ./cmd/"${cmd}"
done
 }
 
 src_install() {
-   dobin {yggdrasil,yggdrasilctl}
+   dobin yggdrasil{,ctl}
dodoc README.md
dodoc CHANGELOG.md
+
systemd_dounit "contrib/systemd/yggdrasil.service"
systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
doinitd "contrib/openrc/yggdrasil"



[gentoo-commits] repo/proj/guru:dev commit in: profiles/

2024-02-13 Thread Eric Joldasov
commit: c5ab6be7435cff4133b81388a0ee628ff5acb370
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Feb 14 03:13:29 2024 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Feb 14 03:15:13 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5ab6be7

profiles: mask net-p2p/popura for removal

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 profiles/package.mask | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 11ee8df7fb..15cf803fdc 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -14,6 +14,12 @@
 
 # New entries go on top.
 
+# Eric Joldasov  (2024-02-14)
+# Based on old yggdrasil-go 0.4.6 version, no new releases
+# since 2022, archived by upstream since 2023.
+# Removal in +30 days.
+net-p2p/popura
+
 # Anna Vyalkova  (2024-01-15)
 # Depend on treecleaned sys-cluster/slurm (bug #631552, #920104)
 # Masked for removal in 30 days.



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2024-02-13 Thread Eric Joldasov
commit: 01ac4f01b901583dd894edf62e50b48e6344de7e
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Feb 13 17:34:46 2024 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Tue Feb 13 17:35:17 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01ac4f01

net-p2p/yggdrasil-go: add 0.5.5

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 6cd81246b1..41da47e2ac 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,4 @@
 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
+DIST yggdrasil-go-0.5.5-vendor.tar.xz 1443888 BLAKE2B 
712bcb42a38b10c950ac8c6ce9301dbbaf4a77026bcc2c6d78321c7423ef3dc0fcba5bf94c0cd674af3e911eda476ae8c7d7bb7c782328c5201e91efe2958d1d
 SHA512 
10be1cd6dd5b4fb11b70c48e9cdeb26f4534424dbb0dcd93d0a3d8de3b63d0849dcc55b3394ba3ab74c19e15592d26c2be7e9f4e89a8dccb6c17da572907b5ba
+DIST yggdrasil-go-0.5.5.tar.gz 105482 BLAKE2B 
7afbde70e2aec71f47ba32730611d22b87fa23ff4d488a33ca82124cb4ec211c654e780b3c8c703100eb065c05c54561ca36136765050c96e297f30a5656bc61
 SHA512 
13ee5c719335d7a599019d004cd8d82883c7a2beb707de968a0934982364a0f70982f14157bd9aaabda9595f194594901a9158cfeb272491a71b5392abd79dc4

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.5.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.5.ebuild
new file mode 100644
index 00..3df03c90dc
--- /dev/null
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.5.ebuild
@@ -0,0 +1,59 @@
+# 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/;
+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/${P}/vendor.tar.xz
 -> ${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.20.0"
+
+FILECAPS=(
+   cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
+)
+
+CONFIG_CHECK="~TUN"
+ERROR_TUN="Your kernel lacks TUN support."
+
+src_compile() {
+   local ver_config="github.com/yggdrasil-network/yggdrasil-go/src/version"
+
+   local version_disable_detect_flags="-X ${ver_config}.buildName=${PN}"
+   version_disable_detect_flags+=" -X ${ver_config}.buildVersion=v${PV}"
+
+   GOFLAGS+=" -mod=vendor -trimpath"
+
+   local GO_LDFLAGS
+   GO_LDFLAGS="-s -linkmode external -extldflags \"${LDFLAGS}\" 
${version_disable_detect_flags}"
+
+   local cmd
+   for cmd in yggdrasil{,ctl}; do
+   ego build ${GOFLAGS} "-ldflags=${GO_LDFLAGS}" ./cmd/"${cmd}"
+   done
+}
+
+src_install() {
+   dobin yggdrasil{,ctl}
+   dodoc README.md
+   dodoc CHANGELOG.md
+
+   systemd_dounit "contrib/systemd/yggdrasil.service"
+   systemd_dounit "contrib/systemd/yggdrasil-default-config.service"
+   doinitd "contrib/openrc/yggdrasil"
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2023-12-04 Thread Eric Joldasov
commit: c45d5798f92de9768fa15563af55ad76bfa8e515
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Mon Dec  4 14:35:16 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Mon Dec  4 14:35:16 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c45d5798

net-p2p/yggdrasil-go: drop 0.5.2

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest  |  2 -
 net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild | 57 --
 2 files changed, 59 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 81bc672d8f..6cd81246b1 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,4 +1,2 @@
-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.2.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild
deleted file mode 100644
index 7d9f6dd88f..00
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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"
-}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2023-11-29 Thread Eric Joldasov
commit: cb8bd54c866f2910a05a03ae99f419b92f3f3d2a
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Nov 29 14:11:34 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Nov 29 14:11:34 2023 +
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  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 00..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"
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2023-11-17 Thread Eric Joldasov
commit: 1ee9b317b29405ff5ef90e8b1d4331cb0215d304
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Nov 17 15:32:29 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Nov 17 15:32:29 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ee9b317

net-p2p/yggdrasil-go: drop 0.4.7, 0.5.1

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest  |  4 --
 net-p2p/yggdrasil-go/yggdrasil-go-0.4.7.ebuild | 57 --
 net-p2p/yggdrasil-go/yggdrasil-go-0.5.1.ebuild | 57 --
 3 files changed, 118 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 575ef0cda4..9ab9878af6 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,6 +1,2 @@
-DIST yggdrasil-go-0.4.7-vendor.tar.xz 958088 BLAKE2B 
1e6412803a2428fbc3779115155f7a5eb24e0f433c14083f79165da0b035c17ec083d1eb8a472d9edb7436f162c9a406fb67dce3f35be1f73d262ad1c048d728
 SHA512 
bd378cc24793d04969adc1318c08593115be2a0a8a7f83fdd773c10b16c7b0409867ea6e58994bdefaa8ad83730e2d4ee0526776beba170fd522b4fc46a0a36d
-DIST yggdrasil-go-0.4.7.tar.gz 95223 BLAKE2B 
eb56702dc95a9bb3bc5a48073d3e2241eb076299262fbeb5e001f2af0da5407796f0978295ae3ecf7b347f2a322c45bfb8d623e0c9271f092288f79ab5ad1040
 SHA512 
954e511001b509ae95348f18e489aed98dfa9ac079c007e3c054d00163e224389fdb6ae293be507cba5ae5182612a466a9d8878e7e2d762289ad4429920246e8
-DIST yggdrasil-go-0.5.1-vendor.tar.xz 1443912 BLAKE2B 
f62c2ddd09ff662e939f993bf850f862d2bb5cc5db34b4d38251e21aa8980729d1333196332d4f78b1b80b4f782102db9c8d286716d65d39cdfc6425e0e44510
 SHA512 
2f695542dbf642139be23227c432fc8e789fc8e3d4dedff9278ae0051db487bad642eda293ef39eab7d78bf578e474897517849badc123a980a0e9b66d8e9fd3
-DIST yggdrasil-go-0.5.1.tar.gz 103689 BLAKE2B 
4787f35acb6132d18c692dc727c0485025a25641cf09018e4fcc7cb1f7b4f7eb1418e2345cbde546b124b994cc615cc6f4ef9f13a40aefb55c8e89e04e5bf5d0
 SHA512 
2c7e3c4dee700328c651131dad8cc5e57de7a56d988062b130634679cf1e7af296fd1d11d80e7cf1e2ab389390a75c266b06d7179b9e5104ec150b71f6b3ebba
 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

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.7.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.7.ebuild
deleted file mode 100644
index 6c4a68eb85..00
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.7.ebuild
+++ /dev/null
@@ -1,57 +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 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"
-}

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.1.ebuild 
b/net-p2p/yggdrasil-go/ygg

[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2023-11-09 Thread Eric Joldasov
commit: 1880b2da7f6c21367f30acf3b3dbd124bfed39d8
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Thu Nov  9 17:11:37 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Thu Nov  9 17:11:37 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1880b2da

net-p2p/yggdrasil-go: add 0.5.2

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 94f1c8dda8..575ef0cda4 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -2,3 +2,5 @@ DIST yggdrasil-go-0.4.7-vendor.tar.xz 958088 BLAKE2B 
1e6412803a2428fbc3779115155
 DIST yggdrasil-go-0.4.7.tar.gz 95223 BLAKE2B 
eb56702dc95a9bb3bc5a48073d3e2241eb076299262fbeb5e001f2af0da5407796f0978295ae3ecf7b347f2a322c45bfb8d623e0c9271f092288f79ab5ad1040
 SHA512 
954e511001b509ae95348f18e489aed98dfa9ac079c007e3c054d00163e224389fdb6ae293be507cba5ae5182612a466a9d8878e7e2d762289ad4429920246e8
 DIST yggdrasil-go-0.5.1-vendor.tar.xz 1443912 BLAKE2B 
f62c2ddd09ff662e939f993bf850f862d2bb5cc5db34b4d38251e21aa8980729d1333196332d4f78b1b80b4f782102db9c8d286716d65d39cdfc6425e0e44510
 SHA512 
2f695542dbf642139be23227c432fc8e789fc8e3d4dedff9278ae0051db487bad642eda293ef39eab7d78bf578e474897517849badc123a980a0e9b66d8e9fd3
 DIST yggdrasil-go-0.5.1.tar.gz 103689 BLAKE2B 
4787f35acb6132d18c692dc727c0485025a25641cf09018e4fcc7cb1f7b4f7eb1418e2345cbde546b124b994cc615cc6f4ef9f13a40aefb55c8e89e04e5bf5d0
 SHA512 
2c7e3c4dee700328c651131dad8cc5e57de7a56d988062b130634679cf1e7af296fd1d11d80e7cf1e2ab389390a75c266b06d7179b9e5104ec150b71f6b3ebba
+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

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.ebuild
new file mode 100644
index 00..7d9f6dd88f
--- /dev/null
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.2.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"
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2023-11-01 Thread Eric Joldasov
commit: 69dad0b68102119a2d56adbd50a1cb87177c0349
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Nov  1 18:46:54 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Nov  1 18:46:54 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69dad0b6

net-p2p/yggdrasil-go: add 0.5.1

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 970006506e..94f1c8dda8 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,4 @@
 DIST yggdrasil-go-0.4.7-vendor.tar.xz 958088 BLAKE2B 
1e6412803a2428fbc3779115155f7a5eb24e0f433c14083f79165da0b035c17ec083d1eb8a472d9edb7436f162c9a406fb67dce3f35be1f73d262ad1c048d728
 SHA512 
bd378cc24793d04969adc1318c08593115be2a0a8a7f83fdd773c10b16c7b0409867ea6e58994bdefaa8ad83730e2d4ee0526776beba170fd522b4fc46a0a36d
 DIST yggdrasil-go-0.4.7.tar.gz 95223 BLAKE2B 
eb56702dc95a9bb3bc5a48073d3e2241eb076299262fbeb5e001f2af0da5407796f0978295ae3ecf7b347f2a322c45bfb8d623e0c9271f092288f79ab5ad1040
 SHA512 
954e511001b509ae95348f18e489aed98dfa9ac079c007e3c054d00163e224389fdb6ae293be507cba5ae5182612a466a9d8878e7e2d762289ad4429920246e8
+DIST yggdrasil-go-0.5.1-vendor.tar.xz 1443912 BLAKE2B 
f62c2ddd09ff662e939f993bf850f862d2bb5cc5db34b4d38251e21aa8980729d1333196332d4f78b1b80b4f782102db9c8d286716d65d39cdfc6425e0e44510
 SHA512 
2f695542dbf642139be23227c432fc8e789fc8e3d4dedff9278ae0051db487bad642eda293ef39eab7d78bf578e474897517849badc123a980a0e9b66d8e9fd3
+DIST yggdrasil-go-0.5.1.tar.gz 103689 BLAKE2B 
4787f35acb6132d18c692dc727c0485025a25641cf09018e4fcc7cb1f7b4f7eb1418e2345cbde546b124b994cc615cc6f4ef9f13a40aefb55c8e89e04e5bf5d0
 SHA512 
2c7e3c4dee700328c651131dad8cc5e57de7a56d988062b130634679cf1e7af296fd1d11d80e7cf1e2ab389390a75c266b06d7179b9e5104ec150b71f6b3ebba

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.1.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.1.ebuild
new file mode 100644
index 00..7d9f6dd88f
--- /dev/null
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.1.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"
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2023-10-09 Thread Eric Joldasov
commit: 5de3d475f386f7fe7f8d9c23b2e3e5b11dc48dce
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Oct 10 02:43:11 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Tue Oct 10 02:43:11 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5de3d475

dev-zig/zls: sync  with latest Zig  changes

Related: https://github.com/ziglang/zig/pull/17392 .

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/zls-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-zig/zls/zls-.ebuild b/dev-zig/zls/zls-.ebuild
index fe83830faf..ef9785f27b 100644
--- a/dev-zig/zls/zls-.ebuild
+++ b/dev-zig/zls/zls-.ebuild
@@ -106,8 +106,7 @@ ezig() {
 src_unpack() {
git-r3_src_unpack
cd "${S}" || die
-   # "zig build" doesn't have "fetch" subcommand yet
-   ezig build --help || die "Fetching Zig modules failed"
+   ezig build --fetch || die "Fetching Zig modules failed"
local ZLS_GEN_FLAGS="--generate-version-data master 
--generate-version-data-path version_data_offline.zig"
ezig build gen --verbose -- ${ZLS_GEN_FLAGS} || die "Pre-generating Zig 
version data failed"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2023-08-26 Thread Eric Joldasov
commit: 0eb28c38bc75d8241423749cc2edad4cd8555673
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Aug 22 11:15:27 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Aug 26 17:00:38 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0eb28c38

dev-zig/zls: fix for 

See upstream PR https://github.com/zigtools/zls/pull/1415 and
commit 
https://github.com/zigtools/zls/commit/f95a0efca127c01450cd3beaf35e407e6dc1ff35

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/zls-.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-zig/zls/zls-.ebuild b/dev-zig/zls/zls-.ebuild
index f38e48ae05..fe83830faf 100644
--- a/dev-zig/zls/zls-.ebuild
+++ b/dev-zig/zls/zls-.ebuild
@@ -108,18 +108,20 @@ src_unpack() {
cd "${S}" || die
# "zig build" doesn't have "fetch" subcommand yet
ezig build --help || die "Fetching Zig modules failed"
+   local ZLS_GEN_FLAGS="--generate-version-data master 
--generate-version-data-path version_data_offline.zig"
+   ezig build gen --verbose -- ${ZLS_GEN_FLAGS} || die "Pre-generating Zig 
version data failed"
 }
 
 src_compile() {
-   ezig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
+   ezig build -Doptimize=ReleaseSafe 
-Dversion_data_file_path=version_data_offline.zig --verbose || die
 }
 
 src_test() {
-   ezig build test -Doptimize=ReleaseSafe -Ddata_version=master --verbose 
|| die
+   ezig build test -Doptimize=ReleaseSafe 
-Dversion_data_file_path=version_data_offline.zig --verbose || die
 }
 
 src_install() {
-   DESTDIR="${ED}" ezig build install --prefix /usr -Doptimize=ReleaseSafe 
-Ddata_version=master --verbose || die
+   DESTDIR="${ED}" ezig build install --prefix /usr -Doptimize=ReleaseSafe 
-Dversion_data_file_path=version_data_offline.zig --verbose || die
dodoc README.md
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: app-benchmarks/poop/

2023-06-14 Thread Eric Joldasov
commit: dfc2e100339eacc60c6fda3f436e3f8ea45729fe
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Jun 14 09:26:17 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Jun 14 09:26:17 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dfc2e100

app-benchmarks/poop: new package, add 

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 app-benchmarks/poop/metadata.xml |  12 
 app-benchmarks/poop/poop-.ebuild | 120 +++
 2 files changed, 132 insertions(+)

diff --git a/app-benchmarks/poop/metadata.xml b/app-benchmarks/poop/metadata.xml
new file mode 100644
index 0..0ec639e43
--- /dev/null
+++ b/app-benchmarks/poop/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bratishkae...@getgoogleoff.me
+       Eric Joldasov
+   
+   
+   andrewrk/poop
+   https://github.com/andrewrk/poop/issues
+   
+

diff --git a/app-benchmarks/poop/poop-.ebuild 
b/app-benchmarks/poop/poop-.ebuild
new file mode 100644
index 0..a56a627a2
--- /dev/null
+++ b/app-benchmarks/poop/poop-.ebuild
@@ -0,0 +1,120 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo git-r3
+
+EGIT_REPO_URI="https://github.com/andrewrk/poop;
+
+DESCRIPTION="Performance Optimizer Observation Platform"
+HOMEPAGE="https://github.com/andrewrk/poop;
+
+LICENSE="MIT"
+SLOT="0"
+
+EZIG_MIN=""
+EZIG_MAX_EXCLUSIVE="1"
+
+DEPEND="dev-lang/zig:${EZIG_MIN}"
+RDEPEND="${DEPEND}"
+
+# see https://github.com/ziglang/zig/issues/3382
+# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
+QA_FLAGS_IGNORED="usr/bin/poop"
+
+# : copied from sys-fs/ncdu :
+# Many thanks to Florian Schmaus (Flowdalic)!
+# Adapted from https://github.com/gentoo/gentoo/pull/28986
+# Set the EZIG environment variable.
+zig-set_EZIG() {
+   [[ -n ${EZIG} ]] && return
+
+   if [[ -n ${EZIG_OVERWRITE} ]]; then
+   export EZIG="${EZIG_OVERWRITE}"
+   return
+   fi
+
+   local candidates candidate selected selected_ver
+
+   candidates=$(compgen -c zig-)
+
+   for candidate in ${candidates}; do
+   if [[ ! ${candidate} =~ zig(-bin)?-([.0-9]+) ]]; then
+   continue
+   fi
+
+   local ver
+   if (( ${#BASH_REMATCH[@]} == 3 )); then
+   ver="${BASH_REMATCH[2]}"
+   else
+   ver="${BASH_REMATCH[1]}"
+   fi
+
+   if [[ -n ${EZIG_EXACT_VER} ]]; then
+   ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue
+
+   selected="${candidate}"
+   selected_ver="${ver}"
+   break
+   fi
+
+   if [[ -n ${EZIG_MIN} ]] \
+  && ver_test "${ver}" -lt "${EZIG_MIN}"; then
+   # Candidate does not satisfy EZIG_MIN condition.
+   continue
+   fi
+
+   if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \
+  && ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; 
then
+   # Candidate does not satisfy EZIG_MAX_EXCLUSIVE 
condition.
+   continue
+   fi
+
+   if [[ -n ${selected_ver} ]] \
+  && ver_test "${selected_ver}" -gt "${ver}"; then
+   # Candidate is older than the currently selected 
candidate.
+   continue
+   fi
+
+   selected="${candidate}"
+   selected_ver="${ver}"
+   done
+
+   if [[ -z ${selected} ]]; then
+   die "Could not find (suitable) zig installation in PATH"
+   fi
+
+   export EZIG="${selected}"
+   export EZIG_VER="${ver}"
+}
+
+# Invoke zig with the optionally provided arguments.
+ezig() {
+   zig-set_EZIG
+
+   # Unfortunately, we cannot add more args here, since syntax is different
+   # for every subcommands. Yes, even target/cpu :( f.i. :
+   # -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build-
+   # -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build
+   # (or even none, if hardcoded by upstream so choice is 
-Drelease=true/false)
+   # Ofc we can patch this, but still...
+
+   edo "${EZIG}" "${@}"
+}
+
+src_unpack() {
+   git-r3_src_unpack
+   cd "${S}" || die
+   # "zig build" doesn't have "fetch" subcommand yet
+   ezig build --help || die "Fetching Zig modules failed"
+}
+
+src_compile() {
+   ezig build -Doptimize=ReleaseSafe --verbose || die
+}
+
+src_install() {
+   DESTDIR="${ED}" ezig build install --prefix /usr -Doptimize=ReleaseSafe 
--verbose || die
+   dodoc README.md
+}



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2023-04-16 Thread Eric Joldasov
commit: ec6bcc231a49c0f48e93c779c5476942a25a73d1
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sun Apr 16 06:14:16 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Apr 16 06:14:16 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec6bcc23

www-apps/mycorrhiza: drop 1.13.0

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/Manifest |  2 --
 www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild | 43 
 2 files changed, 45 deletions(-)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
index c989bdc89..7661b0a72 100644
--- a/www-apps/mycorrhiza/Manifest
+++ b/www-apps/mycorrhiza/Manifest
@@ -1,4 +1,2 @@
-DIST mycorrhiza-1.13.0-vendor.tar.xz 619980 BLAKE2B 
4a96132acd1e97105265dad263094a4be97a7ba30edf98e969a28363db2b4a11fd47f107eda7914decaa98b096e84cecbb96031ee10a1fc98b2239d9850325a9
 SHA512 
a8d2aaf15a9845830cac49a31c17a78b6beda2b39fcbc953111bb904bd3eee96d67411dcb5b97ff6b80005ebdb65066aa1816c8fc7d75a7525942f78a4d72e93
-DIST mycorrhiza-1.13.0.tar.gz 137249 BLAKE2B 
140f161dda53e03d24f552e35afc1e489f337ef9703e1269c3a5ffac52a7f7deff97c90d4604ed0328c79cd15ece6e87240333d93d843d48844ef2af815ef0fc
 SHA512 
ec1eda4764594af3ac36fcbb852e29e17881f656dc6e8cc6467d9a5f6c3604c24f29e3a9d882d15da1e55392f4a57fbdb27e033b7c0d273106356559617bfca4
 DIST mycorrhiza-1.14.0-vendor.tar.xz 655368 BLAKE2B 
86060d537b37f37d4aa5695d74664090d517fb59e33c089fffa7103a1c79d1cb8ce42aceff198f448e223ade032d37cf836c4035456e47ed5762a2665014
 SHA512 
97819fe2fa23783fec8f8249fdcd2eea25d3dafa6bbe81ecffe481a48086a591507dd341ee08a484281f8b6c6bc9a5ef31d75ad7781b3f2e4221496d44af6eaf
 DIST mycorrhiza-1.14.0.tar.gz 137956 BLAKE2B 
202c0e8591b480a13e24133a7d5f76a71669b69ea70bfb86981721269ce808e07a3c0177dca19f33dadbd4ccaef25fac28134b8f44a0bc6c2b7c7e2cbee22c39
 SHA512 
fe40f5d382255e5439ace7218c28c1df62e368325835e48d563a52c3432e1f0a967924e4cd569d860f3094f942b94d4a6807d8fbf76db6c6b758a8c74a92b77c

diff --git a/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
deleted file mode 100644
index f4f2c4af0..0
--- a/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module
-
-DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
-HOMEPAGE="https://mycorrhiza.wiki;
-
-SRC_URI="
-   https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
-"
-KEYWORDS="~amd64 ~x86"
-
-LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
-SLOT="0"
-RESTRICT="mirror"
-
-BDEPEND=">=dev-lang/go-1.19.0"
-RDEPEND="dev-vcs/git"
-
-src_compile() {
-   ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags 
'${LDFLAGS}'" -trimpath .
-}
-
-src_install() {
-   dobin mycorrhiza
-   doman help/mycorrhiza.1
-   dodoc Boilerplate.md
-   dodoc README.md
-}
-
-pkg_postinst() {
-   elog "Quick start: mycorrhiza /your/wiki/directory"
-   elog
-   elog "It will initialize a Git repository, set useful default settings"
-   elog "And run a server on http://localhost:1737;
-   elog "More information here: https://mycorrhiza.wiki/;
-   elog "Also your wiki has built-in documentation :)"
-   elog "You can view this documentation at http://localhost:1737/help;
-}



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2023-04-07 Thread Eric Joldasov
commit: 54902cfbd135315e860842c43e8f3636ca6c11bc
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Apr  7 13:57:28 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Apr  7 13:57:28 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54902cfb

www-apps/mycorrhiza: add 1.14.0

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/Manifest |  2 ++
 www-apps/mycorrhiza/metadata.xml |  2 ++
 www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild | 44 
 3 files changed, 48 insertions(+)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
index 588c78179..c989bdc89 100644
--- a/www-apps/mycorrhiza/Manifest
+++ b/www-apps/mycorrhiza/Manifest
@@ -1,2 +1,4 @@
 DIST mycorrhiza-1.13.0-vendor.tar.xz 619980 BLAKE2B 
4a96132acd1e97105265dad263094a4be97a7ba30edf98e969a28363db2b4a11fd47f107eda7914decaa98b096e84cecbb96031ee10a1fc98b2239d9850325a9
 SHA512 
a8d2aaf15a9845830cac49a31c17a78b6beda2b39fcbc953111bb904bd3eee96d67411dcb5b97ff6b80005ebdb65066aa1816c8fc7d75a7525942f78a4d72e93
 DIST mycorrhiza-1.13.0.tar.gz 137249 BLAKE2B 
140f161dda53e03d24f552e35afc1e489f337ef9703e1269c3a5ffac52a7f7deff97c90d4604ed0328c79cd15ece6e87240333d93d843d48844ef2af815ef0fc
 SHA512 
ec1eda4764594af3ac36fcbb852e29e17881f656dc6e8cc6467d9a5f6c3604c24f29e3a9d882d15da1e55392f4a57fbdb27e033b7c0d273106356559617bfca4
+DIST mycorrhiza-1.14.0-vendor.tar.xz 655368 BLAKE2B 
86060d537b37f37d4aa5695d74664090d517fb59e33c089fffa7103a1c79d1cb8ce42aceff198f448e223ade032d37cf836c4035456e47ed5762a2665014
 SHA512 
97819fe2fa23783fec8f8249fdcd2eea25d3dafa6bbe81ecffe481a48086a591507dd341ee08a484281f8b6c6bc9a5ef31d75ad7781b3f2e4221496d44af6eaf
+DIST mycorrhiza-1.14.0.tar.gz 137956 BLAKE2B 
202c0e8591b480a13e24133a7d5f76a71669b69ea70bfb86981721269ce808e07a3c0177dca19f33dadbd4ccaef25fac28134b8f44a0bc6c2b7c7e2cbee22c39
 SHA512 
fe40f5d382255e5439ace7218c28c1df62e368325835e48d563a52c3432e1f0a967924e4cd569d860f3094f942b94d4a6807d8fbf76db6c6b758a8c74a92b77c

diff --git a/www-apps/mycorrhiza/metadata.xml b/www-apps/mycorrhiza/metadata.xml
index 225a4d289..269942abf 100644
--- a/www-apps/mycorrhiza/metadata.xml
+++ b/www-apps/mycorrhiza/metadata.xml
@@ -7,6 +7,8 @@


bouncepaw/mycorrhiza
+   ~bouncepaw/mycorrhiza
+   https://mycorrhiza.wiki/hypha/release

https://github.com/bouncepaw/mycorrhiza/issues
https://mycorrhiza.wiki


diff --git a/www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild
new file mode 100644
index 0..17387f97a
--- /dev/null
+++ b/www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
+HOMEPAGE="https://mycorrhiza.wiki;
+
+SRC_URI="
+   https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
+SLOT="0"
+RESTRICT="mirror"
+
+BDEPEND=">=dev-lang/go-1.19.0"
+RDEPEND="dev-vcs/git"
+
+src_compile() {
+   ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags 
'${LDFLAGS}'" -trimpath .
+}
+
+src_install() {
+   dobin mycorrhiza
+   doman help/mycorrhiza.1
+   dodoc Boilerplate.md
+   dodoc README.md
+}
+
+pkg_postinst() {
+   elog "Quick start: mycorrhiza /your/wiki/directory"
+   elog
+   elog "It will initialize a Git repository, set useful default settings"
+   elog "And run a server on http://localhost:1737;
+   elog "More information here: https://mycorrhiza.wiki/;
+   elog "Also your wiki has built-in documentation :)"
+   elog "You can view this documentation at http://localhost:1737/help;
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2023-03-09 Thread Eric Joldasov
commit: e8354425d475c98040823f67ac2faa3800d81870
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Thu Mar  9 14:13:14 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Thu Mar  9 14:13:35 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8354425

dev-zig/zls: adjust ebuild () for slotted Zig

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/zls-.ebuild | 99 +
 1 file changed, 91 insertions(+), 8 deletions(-)

diff --git a/dev-zig/zls/zls-.ebuild b/dev-zig/zls/zls-.ebuild
index 267e3221a..f38e48ae0 100644
--- a/dev-zig/zls/zls-.ebuild
+++ b/dev-zig/zls/zls-.ebuild
@@ -1,42 +1,125 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit git-r3
+inherit edo git-r3
 
 EGIT_REPO_URI="https://github.com/zigtools/zls;
 
-HOMEPAGE="https://github.com/zigtools/zls;
 DESCRIPTION="The officially unofficial Ziglang language server"
+HOMEPAGE="https://github.com/zigtools/zls;
 
 LICENSE="MIT"
 SLOT="0"
 
-DEPEND="~dev-lang/zig-"
+EZIG_MIN=""
+EZIG_MAX_EXCLUSIVE="1"
+
+DEPEND="dev-lang/zig:${EZIG_MIN}"
 RDEPEND="${DEPEND}"
 
 # see https://github.com/ziglang/zig/issues/3382
 # For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
 QA_FLAGS_IGNORED="usr/bin/zls"
 
+# : copied from sys-fs/ncdu :
+# Many thanks to Florian Schmaus (Flowdalic)!
+# Adapted from https://github.com/gentoo/gentoo/pull/28986
+# Set the EZIG environment variable.
+zig-set_EZIG() {
+   [[ -n ${EZIG} ]] && return
+
+   if [[ -n ${EZIG_OVERWRITE} ]]; then
+   export EZIG="${EZIG_OVERWRITE}"
+   return
+   fi
+
+   local candidates candidate selected selected_ver
+
+   candidates=$(compgen -c zig-)
+
+   for candidate in ${candidates}; do
+   if [[ ! ${candidate} =~ zig(-bin)?-([.0-9]+) ]]; then
+   continue
+   fi
+
+   local ver
+   if (( ${#BASH_REMATCH[@]} == 3 )); then
+   ver="${BASH_REMATCH[2]}"
+   else
+   ver="${BASH_REMATCH[1]}"
+   fi
+
+   if [[ -n ${EZIG_EXACT_VER} ]]; then
+   ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue
+
+   selected="${candidate}"
+   selected_ver="${ver}"
+   break
+   fi
+
+   if [[ -n ${EZIG_MIN} ]] \
+  && ver_test "${ver}" -lt "${EZIG_MIN}"; then
+   # Candidate does not satisfy EZIG_MIN condition.
+   continue
+   fi
+
+   if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \
+  && ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; 
then
+   # Candidate does not satisfy EZIG_MAX_EXCLUSIVE 
condition.
+   continue
+   fi
+
+   if [[ -n ${selected_ver} ]] \
+  && ver_test "${selected_ver}" -gt "${ver}"; then
+   # Candidate is older than the currently selected 
candidate.
+   continue
+   fi
+
+   selected="${candidate}"
+   selected_ver="${ver}"
+   done
+
+   if [[ -z ${selected} ]]; then
+   die "Could not find (suitable) zig installation in PATH"
+   fi
+
+   export EZIG="${selected}"
+   export EZIG_VER="${ver}"
+}
+
+# Invoke zig with the optionally provided arguments.
+ezig() {
+   zig-set_EZIG
+
+   # Unfortunately, we cannot add more args here, since syntax is different
+   # for every subcommands. Yes, even target/cpu :( f.i. :
+   # -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build-
+   # -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build
+   # (or even none, if hardcoded by upstream so choice is 
-Drelease=true/false)
+   # Ofc we can patch this, but still...
+
+   edo "${EZIG}" "${@}"
+}
+
 src_unpack() {
git-r3_src_unpack
cd "${S}" || die
# "zig build" doesn't have "fetch" subcommand yet
-   zig build --help || die "Fetching Zig modules failed"
+   ezig build --help || die "Fetching Zig modules failed"
 }
 
 src_compile() {
-   zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
+   ezig build -Doptimize=ReleaseSafe -Ddata_version=master --

[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2023-03-09 Thread Eric Joldasov
commit: 873168168d68c015588118828bde624f9a00f960
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Thu Mar  9 13:55:19 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Thu Mar  9 14:13:35 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87316816

dev-zig/zls: adjust ebuild (0.10.0) for slotted Zig

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/zls-0.10.0-r1.ebuild | 141 +++
 dev-zig/zls/zls-0.10.0.ebuild|  56 
 2 files changed, 141 insertions(+), 56 deletions(-)

diff --git a/dev-zig/zls/zls-0.10.0-r1.ebuild b/dev-zig/zls/zls-0.10.0-r1.ebuild
new file mode 100644
index 0..da659404c
--- /dev/null
+++ b/dev-zig/zls/zls-0.10.0-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo
+
+DESCRIPTION="The officially unofficial Ziglang language server"
+HOMEPAGE="https://github.com/zigtools/zls;
+
+KNOWN_FOLDERS_COMMIT="24845b0103e611c108d6bc334231c464e699742c"
+TRACY_COMMIT="f493d4aa8ba8141d9680473fad007d8a6348628e"
+SRC_URI="
+   
https://github.com/ziglibs/known-folders/archive/${KNOWN_FOLDERS_COMMIT}.tar.gz 
-> known-folders-${KNOWN_FOLDERS_COMMIT}.tar.gz
+   https://github.com/wolfpld/tracy/archive/${TRACY_COMMIT}.tar.gz -> 
tracy-${TRACY_COMMIT}.tar.gz
+   https://github.com/zigtools/zls/archive/refs/tags/${PV}.tar.gz -> 
zls-${PV}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+EZIG_MIN="0.10"
+EZIG_MAX_EXCLUSIVE="0.11"
+
+DEPEND="|| ( dev-lang/zig:${EZIG_MIN} dev-lang/zig-bin:${EZIG_MIN} )"
+RDEPEND="${DEPEND}"
+
+# see https://github.com/ziglang/zig/issues/3382
+# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
+QA_FLAGS_IGNORED="usr/bin/zls"
+
+PATCHES=(
+   "${FILESDIR}/zls-0.10.0-add-builtin-data-for-new-zig-versions.patch"
+)
+
+# : copied from sys-fs/ncdu :
+# Many thanks to Florian Schmaus (Flowdalic)!
+# Adapted from https://github.com/gentoo/gentoo/pull/28986
+# Set the EZIG environment variable.
+zig-set_EZIG() {
+   [[ -n ${EZIG} ]] && return
+
+   if [[ -n ${EZIG_OVERWRITE} ]]; then
+   export EZIG="${EZIG_OVERWRITE}"
+   return
+   fi
+
+   local candidates candidate selected selected_ver
+
+   candidates=$(compgen -c zig-)
+
+   for candidate in ${candidates}; do
+   if [[ ! ${candidate} =~ zig(-bin)?-([.0-9]+) ]]; then
+   continue
+   fi
+
+   local ver
+   if (( ${#BASH_REMATCH[@]} == 3 )); then
+   ver="${BASH_REMATCH[2]}"
+   else
+   ver="${BASH_REMATCH[1]}"
+   fi
+
+   if [[ -n ${EZIG_EXACT_VER} ]]; then
+   ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue
+
+   selected="${candidate}"
+   selected_ver="${ver}"
+   break
+   fi
+
+   if [[ -n ${EZIG_MIN} ]] \
+  && ver_test "${ver}" -lt "${EZIG_MIN}"; then
+   # Candidate does not satisfy EZIG_MIN condition.
+   continue
+   fi
+
+   if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \
+  && ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; 
then
+   # Candidate does not satisfy EZIG_MAX_EXCLUSIVE 
condition.
+   continue
+   fi
+
+   if [[ -n ${selected_ver} ]] \
+  && ver_test "${selected_ver}" -gt "${ver}"; then
+   # Candidate is older than the currently selected 
candidate.
+   continue
+   fi
+
+   selected="${candidate}"
+   selected_ver="${ver}"
+   done
+
+   if [[ -z ${selected} ]]; then
+   die "Could not find (suitable) zig installation in PATH"
+   fi
+
+   export EZIG="${selected}"
+   export EZIG_VER="${ver}"
+}
+
+# Invoke zig with the optionally provided arguments.
+ezig() {
+   zig-set_EZIG
+
+   # Unfortunately, we cannot add more args here, since syntax is different
+   # for every subcommands. Yes, even target/cpu :( f.i. :
+   # -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build-
+   # -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build
+   # (or even none, if hardcoded by upstream so choice is 
-Drelease=true/false)
+   # Ofc we can patch

[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2023-03-07 Thread Eric Joldasov
commit: a2b58e6e72311d39f49141d8a389fc66d8db67e0
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Mar  7 08:42:46 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Tue Mar  7 08:43:31 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2b58e6e

dev-zig/zls: fix for 

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/zls-.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/dev-zig/zls/zls-.ebuild b/dev-zig/zls/zls-.ebuild
index b61f8139d..267e3221a 100644
--- a/dev-zig/zls/zls-.ebuild
+++ b/dev-zig/zls/zls-.ebuild
@@ -20,6 +20,13 @@ RDEPEND="${DEPEND}"
 # For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
 QA_FLAGS_IGNORED="usr/bin/zls"
 
+src_unpack() {
+   git-r3_src_unpack
+   cd "${S}" || die
+   # "zig build" doesn't have "fetch" subcommand yet
+   zig build --help || die "Fetching Zig modules failed"
+}
+
 src_compile() {
zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2023-02-05 Thread Eric Joldasov
commit: 33eb55c86bb93bebc9bec123f3e47671142033cf
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sun Feb  5 11:56:01 2023 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Feb  5 11:56:10 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33eb55c8

dev-zig/zls: update to latest master Zig

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/zls-.ebuild | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-zig/zls/zls-.ebuild b/dev-zig/zls/zls-.ebuild
index bbb09a80b..b61f8139d 100644
--- a/dev-zig/zls/zls-.ebuild
+++ b/dev-zig/zls/zls-.ebuild
@@ -8,7 +8,7 @@ inherit git-r3
 EGIT_REPO_URI="https://github.com/zigtools/zls;
 
 HOMEPAGE="https://github.com/zigtools/zls;
-DESCRIPTION="Zig LSP implementation + Zig Language Server"
+DESCRIPTION="The officially unofficial Ziglang language server"
 
 LICENSE="MIT"
 SLOT="0"
@@ -17,23 +17,22 @@ DEPEND="~dev-lang/zig-"
 RDEPEND="${DEPEND}"
 
 # see https://github.com/ziglang/zig/issues/3382
-# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
+# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
 QA_FLAGS_IGNORED="usr/bin/zls"
 
 src_compile() {
-   zig build -Drelease-safe -Ddata_version=master --verbose || die
+   zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
 }
 
 src_test() {
-   zig build test -Drelease-safe -Ddata_version=master --verbose || die
+   zig build test -Doptimize=ReleaseSafe -Ddata_version=master --verbose 
|| die
 }
 
 src_install() {
-   DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe 
-Ddata_version=master --verbose || die
+   DESTDIR="${ED}" zig build install --prefix /usr -Doptimize=ReleaseSafe 
-Ddata_version=master --verbose || die
dodoc README.md
 }
 
 pkg_postinst() {
-   elog "For creating or updating config run this command: zls --config"
elog "You can find more information about options here 
https://github.com/zigtools/zls#configuration-options;
 }



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-12-06 Thread Eric Joldasov
commit: 075f458452509cdc846e11c43f3496a203a8a9bc
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Dec  7 02:37:48 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Dec  7 02:37:48 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=075f4584

net-p2p/yggdrasil-go: add 0.4.7, drop 0.4.6

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest | 4 ++--
 .../{yggdrasil-go-0.4.6.ebuild => yggdrasil-go-0.4.7.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 97af406bb..970006506 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,2 @@
-DIST yggdrasil-go-0.4.6-vendor.tar.xz 957992 BLAKE2B 
ad8e7560b294aa37c4fa985aa44fe3c3f485ebdc85d9ac297c8ca0a40daeac34244bb6fffc8d195b62b9e54f2783e1f04b26172e3a8dea654c07067cc4167350
 SHA512 
8de6c0e8dad41aa83dbb7dde1e9f1f400f59c8ccdaf73b00b7180485416ea538aa5595b9dcc9a51bb26ea461375f94ba077b4d02416311b1588c6cc661d460e1
-DIST yggdrasil-go-0.4.6.tar.gz 94167 BLAKE2B 
8c27bf0c3faf8c2ed1804d4f77acb55f7e1ee9b1ab1ae04f5d2d670e53e6a67ff752c5260ae107602d2a34e89054ea697783635b80e8b3b0f725dd6dbd87ae34
 SHA512 
64c335c94507c899f13a6d00a3998802db48b27e024974ad639795075fea4456f58fd5147f4b5b4162a804f9e4e7ea173a6b9802cc1410dccc8be89804dbf871
+DIST yggdrasil-go-0.4.7-vendor.tar.xz 958088 BLAKE2B 
1e6412803a2428fbc3779115155f7a5eb24e0f433c14083f79165da0b035c17ec083d1eb8a472d9edb7436f162c9a406fb67dce3f35be1f73d262ad1c048d728
 SHA512 
bd378cc24793d04969adc1318c08593115be2a0a8a7f83fdd773c10b16c7b0409867ea6e58994bdefaa8ad83730e2d4ee0526776beba170fd522b4fc46a0a36d
+DIST yggdrasil-go-0.4.7.tar.gz 95223 BLAKE2B 
eb56702dc95a9bb3bc5a48073d3e2241eb076299262fbeb5e001f2af0da5407796f0978295ae3ecf7b347f2a322c45bfb8d623e0c9271f092288f79ab5ad1040
 SHA512 
954e511001b509ae95348f18e489aed98dfa9ac079c007e3c054d00163e224389fdb6ae293be507cba5ae5182612a466a9d8878e7e2d762289ad4429920246e8

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.7.ebuild
similarity index 100%
rename from net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
rename to net-p2p/yggdrasil-go/yggdrasil-go-0.4.7.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-11-13 Thread Eric Joldasov
commit: d61288aa77ff94450d95d3d7b9db4bbd0cf6acb7
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sun Nov 13 13:01:16 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Nov 13 13:01:16 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d61288aa

net-p2p/yggdrasil-go: disambiguate github.com SRC_URI

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
index 07fa3addf..6c4a68eb8 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
@@ -8,7 +8,7 @@ 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/v${PV}.tar.gz 
-> ${P}.tar.gz
+   
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
 "
 



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-11-13 Thread Eric Joldasov
commit: 5da5b5ae84120062c40b40416b5d5deaa6399a9f
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sun Nov 13 13:02:54 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Nov 13 13:02:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5da5b5ae

net-p2p/yggdrasil-go: add github upstream metadata

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/metadata.xml | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-p2p/yggdrasil-go/metadata.xml 
b/net-p2p/yggdrasil-go/metadata.xml
index 78a10e46e..74096ba0f 100644
--- a/net-p2p/yggdrasil-go/metadata.xml
+++ b/net-p2p/yggdrasil-go/metadata.xml
@@ -14,4 +14,9 @@
Yggdrasil nodes. Yggdrasil does not require you to have IPv6
Internet connectivity - it also works over IPv4.

+   
+   yggdrasil-network/yggdrasil-go
+   
https://github.com/yggdrasil-network/yggdrasil-go/issues
+   https://yggdrasil-network.github.io
+   
 



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-11-05 Thread Eric Joldasov
commit: 4c689636ef9e5a2bfa4a983f494c227ea5a41cdb
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sun Nov  6 03:29:27 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Nov  6 03:29:27 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c689636

net-p2p/yggdrasil-go: change dependency tarball to vendor tarball

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 55e22cabb..97af406bb 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,2 @@
-DIST yggdrasil-go-0.4.6-deps.tar.bz2 36831041 BLAKE2B 
cfa384fd56354ac916b9c7afcc0314aa5a4b8d690c54833e314e6a2f4617b51b5cd55c307a9459c286cb4c692f650361375935c6eda2a85a1af74b7fa1b8653a
 SHA512 
5e23f463e99537ffb1caaa5aad56f59340912c08117b71b8723bca499fc8cfdec97a47401f84fb2f81a175e045f280acd43234e994682298ec23c4de411425f9
+DIST yggdrasil-go-0.4.6-vendor.tar.xz 957992 BLAKE2B 
ad8e7560b294aa37c4fa985aa44fe3c3f485ebdc85d9ac297c8ca0a40daeac34244bb6fffc8d195b62b9e54f2783e1f04b26172e3a8dea654c07067cc4167350
 SHA512 
8de6c0e8dad41aa83dbb7dde1e9f1f400f59c8ccdaf73b00b7180485416ea538aa5595b9dcc9a51bb26ea461375f94ba077b4d02416311b1588c6cc661d460e1
 DIST yggdrasil-go-0.4.6.tar.gz 94167 BLAKE2B 
8c27bf0c3faf8c2ed1804d4f77acb55f7e1ee9b1ab1ae04f5d2d670e53e6a67ff752c5260ae107602d2a34e89054ea697783635b80e8b3b0f725dd6dbd87ae34
 SHA512 
64c335c94507c899f13a6d00a3998802db48b27e024974ad639795075fea4456f58fd5147f4b5b4162a804f9e4e7ea173a6b9802cc1410dccc8be89804dbf871

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
index f8bfdf265..07fa3addf 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="An experiment in scalable routing as an encrypted 
IPv6 overlay netw
 HOMEPAGE="https://yggdrasil-network.github.io/;
 SRC_URI="
https://github.com/yggdrasil-network/yggdrasil-go/archive/v${PV}.tar.gz 
-> ${P}.tar.gz
-   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
+   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
 "
 
 LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2022-11-05 Thread Eric Joldasov
commit: 743e791bcc439f2ba787af575aadc535acbf3f02
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sat Nov  5 08:28:22 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Nov  5 08:28:22 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=743e791b

www-apps/mycorrhiza: change dependency tarball to vendor tarball

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/Manifest | 2 +-
 www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
index 7385cb05a..588c78179 100644
--- a/www-apps/mycorrhiza/Manifest
+++ b/www-apps/mycorrhiza/Manifest
@@ -1,2 +1,2 @@
-DIST mycorrhiza-1.13.0-deps.tar.bz2 21771127 BLAKE2B 
17c4162087979c6cb79426797f4967e256b72cf3e01f571bad9551197ce9f98585dc869c5f9b81080d96683d5ba5fd0a881cd3c46d7ffe577cb03271bc7017c3
 SHA512 
332a3489941a21247044da77adb98a7129f5ebb762fe8b78d8b7032c8847b783a05e08d77e3a573d112d4d715f2147e0b0db629d708ec03e849f4038d54e51f9
+DIST mycorrhiza-1.13.0-vendor.tar.xz 619980 BLAKE2B 
4a96132acd1e97105265dad263094a4be97a7ba30edf98e969a28363db2b4a11fd47f107eda7914decaa98b096e84cecbb96031ee10a1fc98b2239d9850325a9
 SHA512 
a8d2aaf15a9845830cac49a31c17a78b6beda2b39fcbc953111bb904bd3eee96d67411dcb5b97ff6b80005ebdb65066aa1816c8fc7d75a7525942f78a4d72e93
 DIST mycorrhiza-1.13.0.tar.gz 137249 BLAKE2B 
140f161dda53e03d24f552e35afc1e489f337ef9703e1269c3a5ffac52a7f7deff97c90d4604ed0328c79cd15ece6e87240333d93d843d48844ef2af815ef0fc
 SHA512 
ec1eda4764594af3ac36fcbb852e29e17881f656dc6e8cc6467d9a5f6c3604c24f29e3a9d882d15da1e55392f4a57fbdb27e033b7c0d273106356559617bfca4

diff --git a/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
index 8b260a02e..f4f2c4af0 100644
--- a/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
+++ b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://mycorrhiza.wiki;
 
 SRC_URI="
https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
+   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
 "
 KEYWORDS="~amd64 ~x86"
 



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

2022-11-05 Thread Eric Joldasov
commit: dc14dbf87440b54b6d0342a07cd0c976e6c93068
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sat Nov  5 08:21:34 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Nov  5 08:21:34 2022 +
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  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"



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

2022-11-05 Thread Eric Joldasov
commit: ac5657a28f0606232873075419b11effd33301c1
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sat Nov  5 08:12:45 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Nov  5 08:12:45 2022 +
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  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"



[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/

2022-11-04 Thread Eric Joldasov
commit: 1df1b29b50c114bd4303e5559ac9b4c574b4c8ce
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Nov  4 17:23:57 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Nov  4 17:23:57 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1df1b29b

dev-zig: fix indent in metadata.xml

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-zig/metadata.xml b/dev-zig/metadata.xml
index 6a1fe53b0..04b8cee62 100644
--- a/dev-zig/metadata.xml
+++ b/dev-zig/metadata.xml
@@ -7,6 +7,6 @@


Категория dev-zig содержит библиотеки, утилиты для разработки
-или обвязки для языка программирования Zig.
+   или обвязки для языка программирования Zig.

 



[gentoo-commits] repo/proj/guru:dev commit in: profiles/, dev-zig/

2022-11-04 Thread Eric Joldasov
commit: c063b92116a3cdefc5af66f8c561210f82633f1b
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Nov  4 17:13:21 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Nov  4 17:13:21 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c063b921

dev-zig: new category

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/metadata.xml | 12 
 profiles/categories  |  1 +
 2 files changed, 13 insertions(+)

diff --git a/dev-zig/metadata.xml b/dev-zig/metadata.xml
new file mode 100644
index 0..6a1fe53b0
--- /dev/null
+++ b/dev-zig/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   The dev-zig category contains libraries, utilities
+   or bindings for Zig programming language.
+   
+   
+   Категория dev-zig содержит библиотеки, утилиты для разработки
+или обвязки для языка программирования Zig.
+   
+

diff --git a/profiles/categories b/profiles/categories
index 02977becc..70e48d6c6 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -3,5 +3,6 @@ dev-hare
 dev-nim
 dev-octave
 dev-R
+dev-zig
 mpv-plugin
 net-client



[gentoo-commits] repo/proj/guru:dev commit in: dev-zig/zls/

2022-11-04 Thread Eric Joldasov
commit: eaad72328d91430a3ca4ecdc86b06b135c5efecd
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Nov  4 17:19:35 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Nov  4 17:19:35 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaad7232

dev-zig/zls: new package, add 

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 dev-zig/zls/metadata.xml| 12 
 dev-zig/zls/zls-.ebuild | 39 +++
 2 files changed, 51 insertions(+)

diff --git a/dev-zig/zls/metadata.xml b/dev-zig/zls/metadata.xml
new file mode 100644
index 0..f7d26335b
--- /dev/null
+++ b/dev-zig/zls/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bratishkae...@getgoogleoff.me
+       Eric Joldasov
+   
+   
+   zigtools/zls
+   https://github.com/zigtools/zls/issues
+   
+

diff --git a/dev-zig/zls/zls-.ebuild b/dev-zig/zls/zls-.ebuild
new file mode 100644
index 0..bbb09a80b
--- /dev/null
+++ b/dev-zig/zls/zls-.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3
+
+EGIT_REPO_URI="https://github.com/zigtools/zls;
+
+HOMEPAGE="https://github.com/zigtools/zls;
+DESCRIPTION="Zig LSP implementation + Zig Language Server"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="~dev-lang/zig-"
+RDEPEND="${DEPEND}"
+
+# see https://github.com/ziglang/zig/issues/3382
+# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
+QA_FLAGS_IGNORED="usr/bin/zls"
+
+src_compile() {
+   zig build -Drelease-safe -Ddata_version=master --verbose || die
+}
+
+src_test() {
+   zig build test -Drelease-safe -Ddata_version=master --verbose || die
+}
+
+src_install() {
+   DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe 
-Ddata_version=master --verbose || die
+   dodoc README.md
+}
+
+pkg_postinst() {
+   elog "For creating or updating config run this command: zls --config"
+   elog "You can find more information about options here 
https://github.com/zigtools/zls#configuration-options;
+}



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2022-11-04 Thread Eric Joldasov
commit: c1a37ae1d3e8ce5a79d9478c7e13660c5b333e2b
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Nov  4 17:04:32 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Nov  4 17:04:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1a37ae1

www-apps/mycorrhiza: bump Go dependency to 1.19 for live ebuild

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/mycorrhiza-.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-apps/mycorrhiza/mycorrhiza-.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-.ebuild
index fa001ef26..a25c3ce31 100644
--- a/www-apps/mycorrhiza/mycorrhiza-.ebuild
+++ b/www-apps/mycorrhiza/mycorrhiza-.ebuild
@@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza;
 LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
 SLOT="0"
 
-BDEPEND=">=dev-lang/go-1.18.0"
+BDEPEND=">=dev-lang/go-1.19.0"
 RDEPEND="dev-vcs/git"
 
 src_unpack() {
@@ -28,6 +28,7 @@ src_compile() {
 src_install() {
dobin mycorrhiza
doman help/mycorrhiza.1
+   dodoc Boilerplate.md
dodoc README.md
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2022-11-04 Thread Eric Joldasov
commit: f7fc003eb3c1c9df48330590b86a0853069b777a
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Nov  4 17:03:08 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Nov  4 17:03:08 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7fc003e

www-apps/mycorrhiza: add 1.13.0, drop 1.12.1

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/Manifest  | 4 ++--
 .../mycorrhiza/{mycorrhiza-1.12.1.ebuild => mycorrhiza-1.13.0.ebuild} | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
index 5e7e68a00..7385cb05a 100644
--- a/www-apps/mycorrhiza/Manifest
+++ b/www-apps/mycorrhiza/Manifest
@@ -1,2 +1,2 @@
-DIST mycorrhiza-1.12.1-deps.tar.bz2 21760292 BLAKE2B 
42f64ea142ac37d13265656a3efdab2f4be02db4d60cda2b2e4776bfa0905ce9280d08e8f6f8042ba69692ffb41f34ce3df0de8ceab69365feef08648d6f6f02
 SHA512 
db38fcc2efddd37f50ff9da56bf9f4ae68e9f91ae1bfdbab77135724fd90a30443765f411deecb374744583a5c7b03b136982a3a1d585e676a7a42e9e01298f4
-DIST mycorrhiza-1.12.1.tar.gz 136377 BLAKE2B 
bd1112143262d7db6aa5f2dbe3a0abe96c56c6fbfa897110579799264943abdbaf976cc5603620eb0e8d541e8ba731bde5e1aacb9fd2c9ac02e1e73cfd19ed04
 SHA512 
2eee4ce46ad6cd05a1afa3aa4b1ee8b1f769c52eb4ddb9cacbf77e65704121cff5f2f8aded634d87cf3330182351be52739ea04a51730678bdd9c4b04fd8d376
+DIST mycorrhiza-1.13.0-deps.tar.bz2 21771127 BLAKE2B 
17c4162087979c6cb79426797f4967e256b72cf3e01f571bad9551197ce9f98585dc869c5f9b81080d96683d5ba5fd0a881cd3c46d7ffe577cb03271bc7017c3
 SHA512 
332a3489941a21247044da77adb98a7129f5ebb762fe8b78d8b7032c8847b783a05e08d77e3a573d112d4d715f2147e0b0db629d708ec03e849f4038d54e51f9
+DIST mycorrhiza-1.13.0.tar.gz 137249 BLAKE2B 
140f161dda53e03d24f552e35afc1e489f337ef9703e1269c3a5ffac52a7f7deff97c90d4604ed0328c79cd15ece6e87240333d93d843d48844ef2af815ef0fc
 SHA512 
ec1eda4764594af3ac36fcbb852e29e17881f656dc6e8cc6467d9a5f6c3604c24f29e3a9d882d15da1e55392f4a57fbdb27e033b7c0d273106356559617bfca4

diff --git a/www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
similarity index 93%
rename from www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild
rename to www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
index 8295bd38f..8b260a02e 100644
--- a/www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild
+++ b/www-apps/mycorrhiza/mycorrhiza-1.13.0.ebuild
@@ -16,8 +16,9 @@ KEYWORDS="~amd64 ~x86"
 
 LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
 SLOT="0"
+RESTRICT="mirror"
 
-BDEPEND=">=dev-lang/go-1.18.0"
+BDEPEND=">=dev-lang/go-1.19.0"
 RDEPEND="dev-vcs/git"
 
 src_compile() {
@@ -27,6 +28,7 @@ src_compile() {
 src_install() {
dobin mycorrhiza
doman help/mycorrhiza.1
+   dodoc Boilerplate.md
dodoc README.md
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

2022-11-02 Thread Eric Joldasov
commit: 3547a9240674c561958cb0de7f7617a562841d91
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Nov  2 17:37:42 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Nov  2 17:37:42 2022 +
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  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"



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

2022-11-02 Thread Eric Joldasov
commit: 75f43850f9cf5960f5d7e11e9e2fda5d4b4eaf22
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Nov  2 17:32:52 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Nov  2 17:33:03 2022 +
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  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 
def5d9a37dfb93fbd6329e78610b61d39aa00ddf8e4db04cbe553fb2f13ca61dd6331e277ad4e082812793818481576fe4f62674638432e9258a0f89e1a0
-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 @@
 

bratishkae...@getgoogleoff.me
-   BratishkaErik
+       Eric Joldasov


popura-network/Popura

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
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-10-27 Thread Eric Joldasov
commit: b567ba8c75844c8d12a624da8650c0ff0c60d590
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Thu Oct 27 12:55:19 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Thu Oct 27 12:55:19 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b567ba8c

net-p2p/yggdrasil-go: add 0.4.6, drop 0.4.5

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest | 4 ++--
 .../{yggdrasil-go-0.4.5.ebuild => yggdrasil-go-0.4.6.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 8c63b1ebe..55e22cabb 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,2 @@
-DIST yggdrasil-go-0.4.5-deps.tar.bz2 36852709 BLAKE2B 
20079b24f052ee3552e4a603ee8519d4717f1e541d97c3a422a1d664b6ad903def12933048b2762e1501a79095a8d08cb135557ba01acca092bf1e6608749824
 SHA512 
0b0bcb5ea00ba81cb6789fff0ea9ac49256b4fa60a5f483181329a1cde9ff7206b27deb36c72bf743a58eedd37b41f02e3090fcb66f3d75bed1982b3d988fe73
-DIST yggdrasil-go-0.4.5.tar.gz 93718 BLAKE2B 
0633221f6e6ec1635466defffced0ddff3ec423cbc1318a32e7d4fb6cf9011500755609b8f6a207e745469028584f3c7d1623902cc5df9cd5e8f06a079b7122a
 SHA512 
c18e354800efb8c609b6ae556231cb4107f601e7c29a92c165e3b3b7ef05655df8c9c0f34a1dea54bf1c272d907aa558b26d1e15867c74a5b71872eb959434b1
+DIST yggdrasil-go-0.4.6-deps.tar.bz2 36831041 BLAKE2B 
cfa384fd56354ac916b9c7afcc0314aa5a4b8d690c54833e314e6a2f4617b51b5cd55c307a9459c286cb4c692f650361375935c6eda2a85a1af74b7fa1b8653a
 SHA512 
5e23f463e99537ffb1caaa5aad56f59340912c08117b71b8723bca499fc8cfdec97a47401f84fb2f81a175e045f280acd43234e994682298ec23c4de411425f9
+DIST yggdrasil-go-0.4.6.tar.gz 94167 BLAKE2B 
8c27bf0c3faf8c2ed1804d4f77acb55f7e1ee9b1ab1ae04f5d2d670e53e6a67ff752c5260ae107602d2a34e89054ea697783635b80e8b3b0f725dd6dbd87ae34
 SHA512 
64c335c94507c899f13a6d00a3998802db48b27e024974ad639795075fea4456f58fd5147f4b5b4162a804f9e4e7ea173a6b9802cc1410dccc8be89804dbf871

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.5.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild
similarity index 100%
rename from net-p2p/yggdrasil-go/yggdrasil-go-0.4.5.ebuild
rename to net-p2p/yggdrasil-go/yggdrasil-go-0.4.6.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-10-21 Thread Eric Joldasov
commit: dd35cb648a1702c60c932a8ba96fccbadcc97451
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Fri Oct 21 12:52:55 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Fri Oct 21 12:52:55 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd35cb64

net-p2p/yggdrasil-go: add 0.4.5, drop 0.4.4

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest | 4 ++--
 .../{yggdrasil-go-0.4.4.ebuild => yggdrasil-go-0.4.5.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index e91336917..8c63b1ebe 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,2 +1,2 @@
-DIST yggdrasil-go-0.4.4-deps.tar.bz2 36254982 BLAKE2B 
40fa8fac4d04dabcb3b514cfb1163e815f0daa2101e4f1c000f891e444cb1ba8a4792c309896c02003ada8d01c8ed0caa850b8692253bf2460f0c7a0f2f5484c
 SHA512 
cbd56752a929f1611ed1fee45a60e08fc089e0183eade81fdd4f7245236b6fe80e1aaf331f2f1d38a98b99cf5104644b7f52ce24fcb13c084738730e69b17bea
-DIST yggdrasil-go-0.4.4.tar.gz 95207 BLAKE2B 
3cba1302419af4cda0f6960d2a1b12e2c62d9ab68443ccf4cc328b2d7bd7d96145197a3eb895bb9df2976efed8b1a19e71d3ea05404d400c2b72effd62539f90
 SHA512 
b61e5a22534d181ef48bde708c36eca83197a25e7e758dda7e81215e9e97db1a536f728fd4170784f6bdaf0742dbb1e3396fe71c06938272b0436cdb8665c0e0
+DIST yggdrasil-go-0.4.5-deps.tar.bz2 36852709 BLAKE2B 
20079b24f052ee3552e4a603ee8519d4717f1e541d97c3a422a1d664b6ad903def12933048b2762e1501a79095a8d08cb135557ba01acca092bf1e6608749824
 SHA512 
0b0bcb5ea00ba81cb6789fff0ea9ac49256b4fa60a5f483181329a1cde9ff7206b27deb36c72bf743a58eedd37b41f02e3090fcb66f3d75bed1982b3d988fe73
+DIST yggdrasil-go-0.4.5.tar.gz 93718 BLAKE2B 
0633221f6e6ec1635466defffced0ddff3ec423cbc1318a32e7d4fb6cf9011500755609b8f6a207e745469028584f3c7d1623902cc5df9cd5e8f06a079b7122a
 SHA512 
c18e354800efb8c609b6ae556231cb4107f601e7c29a92c165e3b3b7ef05655df8c9c0f34a1dea54bf1c272d907aa558b26d1e15867c74a5b71872eb959434b1

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.5.ebuild
similarity index 100%
rename from net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
rename to net-p2p/yggdrasil-go/yggdrasil-go-0.4.5.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2022-09-10 Thread Eric Joldasov
commit: 8b936d72fa7e1dd93d0cc588293d38880b38ef2a
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Sun Sep 11 04:29:11 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Sep 11 04:29:11 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8b936d72

www-apps/mycorrhiza: bump to 1.12.1

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/Manifest  | 4 ++--
 .../mycorrhiza/{mycorrhiza-1.11.0.ebuild => mycorrhiza-1.12.1.ebuild} | 4 ++--
 www-apps/mycorrhiza/mycorrhiza-.ebuild| 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
index 1bc7380f1..5e7e68a00 100644
--- a/www-apps/mycorrhiza/Manifest
+++ b/www-apps/mycorrhiza/Manifest
@@ -1,2 +1,2 @@
-DIST mycorrhiza-1.11.0-deps.tar.bz2 21778870 BLAKE2B 
33f7d048280b36fa67d41ecc5b78ddf21442af07f83e6751b556832a859cc21ab4613aa5d02df7d4a8a7c73795f8f546b692ca59fbe2fee38492532b7660c60a
 SHA512 
99d4657506fe74d8736242ac36e1986783fe4d01dfdb61cabe55646f9b566fe72daeba2efc0dedbce21ab99b33553a8e449030959b4f11f475672f58ae9777c5
-DIST mycorrhiza-1.11.0.tar.gz 135211 BLAKE2B 
58d59c8ac8e56a84711736c5c98e2524840fc54184bd3f250d883aa407066ffa4b5162d754c1162b5e53e1248ea634831e15be33db6adff268c93d7d478d48fe
 SHA512 
be1a403b73d31462b41dcd3c3eb781312170ee9ac7bef7db4e01041197f2097f258f97fe3210e0e17079f5d579b8b8384e081659f9b77011804246336187a9d0
+DIST mycorrhiza-1.12.1-deps.tar.bz2 21760292 BLAKE2B 
42f64ea142ac37d13265656a3efdab2f4be02db4d60cda2b2e4776bfa0905ce9280d08e8f6f8042ba69692ffb41f34ce3df0de8ceab69365feef08648d6f6f02
 SHA512 
db38fcc2efddd37f50ff9da56bf9f4ae68e9f91ae1bfdbab77135724fd90a30443765f411deecb374744583a5c7b03b136982a3a1d585e676a7a42e9e01298f4
+DIST mycorrhiza-1.12.1.tar.gz 136377 BLAKE2B 
bd1112143262d7db6aa5f2dbe3a0abe96c56c6fbfa897110579799264943abdbaf976cc5603620eb0e8d541e8ba731bde5e1aacb9fd2c9ac02e1e73cfd19ed04
 SHA512 
2eee4ce46ad6cd05a1afa3aa4b1ee8b1f769c52eb4ddb9cacbf77e65704121cff5f2f8aded634d87cf3330182351be52739ea04a51730678bdd9c4b04fd8d376

diff --git a/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild
similarity index 90%
rename from www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild
rename to www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild
index b3734d7dd..8295bd38f 100644
--- a/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild
+++ b/www-apps/mycorrhiza/mycorrhiza-1.12.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 "
 KEYWORDS="~amd64 ~x86"
 
-LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2"
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
 SLOT="0"
 
 BDEPEND=">=dev-lang/go-1.18.0"
@@ -31,7 +31,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   elog "Quick start: /usr/bin/mycorrhiza /your/wiki/directory"
+   elog "Quick start: mycorrhiza /your/wiki/directory"
elog
elog "It will initialize a Git repository, set useful default settings"
elog "And run a server on http://localhost:1737;

diff --git a/www-apps/mycorrhiza/mycorrhiza-.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-.ebuild
index c55fba6a4..fa001ef26 100644
--- a/www-apps/mycorrhiza/mycorrhiza-.ebuild
+++ b/www-apps/mycorrhiza/mycorrhiza-.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://mycorrhiza.wiki;
 
 EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza;
 
-LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2"
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
 SLOT="0"
 
 BDEPEND=">=dev-lang/go-1.18.0"
@@ -32,7 +32,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   elog "Quick start: /usr/bin/mycorrhiza /your/wiki/directory"
+   elog "Quick start: mycorrhiza /your/wiki/directory"
elog
elog "It will initialize a Git repository, set useful default settings"
elog "And run a server on http://localhost:1737;



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

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

net-p2p/popura: filecaps for 

Signed-off-by: Eric Joldasov  getgoogleoff.me>

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

diff --git a/net-p2p/popura/popura-.ebuild 
b/net-p2p/popura/popura-.ebuild
index 26e19a2b1..ca0e13919 100644
--- a/net-p2p/popura/popura-.ebuild
+++ b/net-p2p/popura/popura-.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



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

2022-08-17 Thread Eric Joldasov
commit: 21e61a7e5a617c5ef1434d967aa6a2b79da02889
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Aug 17 14:18:26 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Aug 17 14:18:26 2022 +
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  getgoogleoff.me>

 net-p2p/popura/popura-0.4.3.ebuild | 26 +++---
 net-p2p/popura/popura-.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-.ebuild 
b/net-p2p/popura/popura-.ebuild
index 5b58d7b27..26e19a2b1 100644
--- a/net-p2p/popura/popura-.ebuild
+++ b/net-p2p/popura/popura-.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"



[gentoo-commits] repo/proj/guru:dev commit in: www-apps/mycorrhiza/

2022-08-17 Thread Eric Joldasov
commit: a9379f55a9afcd3570a7cf51f8c9eb2abbc0c35c
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Wed Aug 17 14:08:41 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Aug 17 14:08:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9379f55

www-apps/mycorrhiza: new package, add 1.11.0, 

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 www-apps/mycorrhiza/Manifest |  2 ++
 www-apps/mycorrhiza/metadata.xml | 13 +
 www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild | 41 +++
 www-apps/mycorrhiza/mycorrhiza-.ebuild   | 42 
 4 files changed, 98 insertions(+)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
new file mode 100644
index 0..1bc7380f1
--- /dev/null
+++ b/www-apps/mycorrhiza/Manifest
@@ -0,0 +1,2 @@
+DIST mycorrhiza-1.11.0-deps.tar.bz2 21778870 BLAKE2B 
33f7d048280b36fa67d41ecc5b78ddf21442af07f83e6751b556832a859cc21ab4613aa5d02df7d4a8a7c73795f8f546b692ca59fbe2fee38492532b7660c60a
 SHA512 
99d4657506fe74d8736242ac36e1986783fe4d01dfdb61cabe55646f9b566fe72daeba2efc0dedbce21ab99b33553a8e449030959b4f11f475672f58ae9777c5
+DIST mycorrhiza-1.11.0.tar.gz 135211 BLAKE2B 
58d59c8ac8e56a84711736c5c98e2524840fc54184bd3f250d883aa407066ffa4b5162d754c1162b5e53e1248ea634831e15be33db6adff268c93d7d478d48fe
 SHA512 
be1a403b73d31462b41dcd3c3eb781312170ee9ac7bef7db4e01041197f2097f258f97fe3210e0e17079f5d579b8b8384e081659f9b77011804246336187a9d0

diff --git a/www-apps/mycorrhiza/metadata.xml b/www-apps/mycorrhiza/metadata.xml
new file mode 100644
index 0..225a4d289
--- /dev/null
+++ b/www-apps/mycorrhiza/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bratishkae...@getgoogleoff.me
+       Eric Joldasov
+   
+   
+   bouncepaw/mycorrhiza
+   
https://github.com/bouncepaw/mycorrhiza/issues
+   https://mycorrhiza.wiki
+   
+

diff --git a/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild
new file mode 100644
index 0..b3734d7dd
--- /dev/null
+++ b/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
+HOMEPAGE="https://mycorrhiza.wiki;
+
+SRC_URI="
+   https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
+"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2"
+SLOT="0"
+
+BDEPEND=">=dev-lang/go-1.18.0"
+RDEPEND="dev-vcs/git"
+
+src_compile() {
+   ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags 
'${LDFLAGS}'" -trimpath .
+}
+
+src_install() {
+   dobin mycorrhiza
+   doman help/mycorrhiza.1
+   dodoc README.md
+}
+
+pkg_postinst() {
+   elog "Quick start: /usr/bin/mycorrhiza /your/wiki/directory"
+   elog
+   elog "It will initialize a Git repository, set useful default settings"
+   elog "And run a server on http://localhost:1737;
+   elog "More information here: https://mycorrhiza.wiki/;
+   elog "Also your wiki has built-in documentation :)"
+   elog "You can view this documentation at http://localhost:1737/help;
+}

diff --git a/www-apps/mycorrhiza/mycorrhiza-.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-.ebuild
new file mode 100644
index 0..c55fba6a4
--- /dev/null
+++ b/www-apps/mycorrhiza/mycorrhiza-.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module git-r3
+
+DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
+HOMEPAGE="https://mycorrhiza.wiki;
+
+EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza;
+
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2"
+SLOT="0"
+
+BDEPEND=">=dev-lang/go-1.18.0"
+RDEPEND="dev-vcs/git"
+
+src_unpack() {
+   git-r3_src_unpack
+   go-module_live_vendor
+}
+
+src_compile() {
+   ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags 
'${LDFLAGS}'" -trimpath .
+}
+
+src_install() {
+   dobin mycorrhiza
+   doman help/mycorrhiza.1
+   dodoc README.md
+}
+
+pkg_postinst() {
+   elog "Quick start: /usr/bin/mycorrhiza /your/wiki/directory"
+   elog
+   elog "It will initialize a Git repository, set useful default settings"
+   elog "And run a server on http://localhost:1737;
+   elog "More information here: https://mycorrhiza.wiki/;
+   elog "Also your wiki has built-in documentation :)"
+   elog "You can view this documentation at http://localhost:1737/help;
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-08-09 Thread Eric Joldasov
commit: 93cfd952aceadb153940160f01c56888fb5b59cd
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Aug  9 20:25:18 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Tue Aug  9 20:25:18 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93cfd952

net-p2p/yggdrasil-go: install docs, set file capabilities

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild | 18 +-
 net-p2p/yggdrasil-go/yggdrasil-go-.ebuild  | 18 +-
 2 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
index 726c54483..f8bfdf265 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit go-module linux-info systemd
+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/;
@@ -24,6 +24,10 @@ DEPEND="
 
 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
@@ -35,15 +39,19 @@ pkg_setup() {
 }
 
 src_compile() {
-   PKGNAME="${PN}" PKGVER="${PV}" \
-   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}" -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"
-   einstalldocs
 }

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
index d803f16d4..20419a673 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
@@ -3,13 +3,12 @@
 
 EAPI=8
 
-inherit go-module linux-info systemd git-r3
+inherit go-module linux-info systemd git-r3 fcaps
 
 EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go;
 
 DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay 
network"
 HOMEPAGE="https://yggdrasil-network.github.io/;
-DOCS=( README.md )
 
 LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
 SLOT="0"
@@ -20,7 +19,11 @@ DEPEND="
acct-group/yggdrasil
 "
 
-BDEPEND=">=dev-lang/go-1.16.0"
+BDEPEND=">=dev-lang/go-1.17.0"
+
+FILECAPS=(
+   cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil"
+)
 
 pkg_setup() {
linux-info_pkg_setup
@@ -38,12 +41,17 @@ 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}" -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"



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-08-09 Thread Eric Joldasov
commit: b53b0c545b668ccd62ceaaf3df1fd149600c6c77
Author: Eric Joldasov  getgoogleoff  me>
AuthorDate: Tue Aug  9 19:51:59 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Tue Aug  9 19:51:59 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b53b0c54

net-p2p/yggdrasil-go: drop 0.3.15

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest   |  65 -
 net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild | 117 
 2 files changed, 182 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 1a74c37c2..e91336917 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,67 +1,2 @@
-DIST 
github.com%2F!arceliar%2Fphony%2F@v%2Fv0.0.0-20191006174943-d0c68492aca0.mod 42 
BLAKE2B 
113b161c3362f86482e8e107940c202a2870c2b722a6226dd9cde65dc4d39a7610b17d014a152c939df9c5433801d334c93e5233cf77fd6160d075c84aa37e20
 SHA512 
7b93619432e39da924cac8312148fe7dcb4bb760bb8f01e2285db806410532f85ebbe3983b7b5d5227fe3dfc28a9db8b86669f2c0f40cc319cb4590380c70dbb
-DIST 
github.com%2F!arceliar%2Fphony%2F@v%2Fv0.0.0-20191006174943-d0c68492aca0.zip 
9460 BLAKE2B 
ee30c74923e624720d1b5d7c3c8b3b377212ff0567da7b5b0af78aa248e137a198453f9d0692c0086115503d2e3ebdec547b3c130b20a720e2dd98b97a04de5d
 SHA512 
9c72e11aff4b17a79e836a42fc9cb478921214da2b3d088545d3183c0025e89e8b31d90a829ac3f879f3db0c508e58b48a605b7b288f26379f8c1b43689d3edc
-DIST github.com%2F!vivid!cortex%2Fewma%2F@v%2Fv1.1.1.mod 35 BLAKE2B 
7b5030936400bbff37dc3e2c1d6b7224df6d5f5f97a2e22fd1dc08f3d6ef08894eec30004589dbe81e56a9e71b3ca391e088996a84c98ddabc4d934db7c9fa22
 SHA512 
e6d91e44ed614c66a668e8423e7657d0696cdd5c6fc0fc4d6ecf741849f1e4891e47262376d4787c967c88c907c5bc668d437d613afaf628fcbbcb352f5d2033
-DIST github.com%2F!vivid!cortex%2Fewma%2F@v%2Fv1.1.1.zip 8064 BLAKE2B 
3fb2dca3bf31d7c8e0bfa67193ca30e7ed76e270fc6ee5e1f1acadaf5be7047dc63afed2f4e55a16d3a641ebbcb8111a6a580b91964081b3e3621e8d62d70f9d
 SHA512 
0a6ea5758fd0d42e2ce8366405eb0ed42da5737c830b36a9cc24cf99541d7d7760a2ee868c99901fb9a103f8113183771f0dbe139deac3667222692c4d025eb9
-DIST github.com%2Fcheggaaa%2Fpb%2Fv3%2F@v%2Fv3.0.4.mod 299 BLAKE2B 
c5607f7f89dbb49d7f898e867e366f88ac28149f4ff76e02885a3c5f216140367f57c62cd1fc11205f76e8d83b1ce1bf52ec8f1bcfbc04e797e7c0fb4f193690
 SHA512 
51b80b95e070e37852ff192ee85c01f2b2ee42c7bdc2aa2740af092026d734bf0a58baf64c23aa83747a1f9b1b130ad89922fa3b83c5e12b43696e317f259b65
-DIST github.com%2Fcheggaaa%2Fpb%2Fv3%2F@v%2Fv3.0.4.zip 24036 BLAKE2B 
72cc21eea465daf676d9fd6775208800aa3a5367489458c95a8a66b68a1e1711f69985a1e08c01c1cfffe4f6773660f771bb79d115b182f21328728dfbab420c
 SHA512 
8e7f6777fea0b593b211dad35502685145e144a246820bb6439e3975eb46735c2f904b68f45e882500345fa8bb161bfc5f2087d82c0e5bafcb8bfbd821759c4e
-DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.7.0.mod 30 BLAKE2B 
cdd74965525563fa7e3db19aae87c777b2de65faeaf2987957ea3bb4c0c6a91ab82fe02bfeeab4d6f523214bc2e929628c082edb967d49309e75483ff4c3bb41
 SHA512 
2dfc66b2f6accb7ecaccc48cb3daa338173f4751d954cb2912025d881f17a7a2df0457b2d7420f2d93b50519a2437a763450c4d639a26b3289fce7bdec5bb144
-DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.7.0.zip 11987 BLAKE2B 
bb585868c568466b366c1c50762376d9e2b6f3d3ac287af94c45f7d348516d2e80ee96c6980a4b5fede40f1302f0e3e900e24aae16fec29801a795cb7e514dec
 SHA512 
70f78081c04bdbb52e8f5d24b8926b39a28c4f069beaee0d7bf24be946f2b0ee3bc08d8ecc1305412623670e1767433a37d458df3fc849d244c63b6222f1f599
-DIST github.com%2Fgologme%2Flog%2F@v%2Fv0.0.0-20181207131047-4e5d8ccb38e8.mod 
30 BLAKE2B 
185b19379cfee2e8e6cd66bb7aa63504f3207635a6f718a20010d52c4a1319b571755cd68fc908812ceb32d964f9110ec2dd8032f41be9efeaeaa12aa97b1b46
 SHA512 
16a1a6865e352be1835b2307c44798da5391d6762998d4ba45960513fb69445b1fe60cf1e9685763d9e9ca8546717fe1539258519051ae0fbf454525ea9fb0b4
-DIST github.com%2Fgologme%2Flog%2F@v%2Fv0.0.0-20181207131047-4e5d8ccb38e8.zip 
6194 BLAKE2B 
04fccf366cbe5ee21292df9c2698a6445cc31e623cf976d5bac1685c61080a449b07e49fa3db38241eae377562ac3ec53bc89127dd8fa34c84f3744652f9e126
 SHA512 
df3ff1123736f3bd0a1fdab192ac90067291236031418a19d0029ce996624db99d596c06a0db19264f8bf936125ea894ca62545e4b1d45add9fe6ed6e8aaf0b3
-DIST github.com%2Fhashicorp%2Fgo-syslog%2F@v%2Fv1.0.0.mod 38 BLAKE2B 
9696a247ecfb868250995f7fde811a647e8b01d6f3a33996109c44aaa16bc85c0c70e9bc621857db7208f5ef49706cd3b2313f13b9e6f3327aebac20f72b4a8f
 SHA512 
dec8c92389eca1dc304cce77cc70a3b51940f073581320117627c759edd5b523c379473179865f1e3e3f86deb9f323a5fff54951871053ed43293b0454182871
-DIST github.com%2Fhashicorp%2Fgo-syslog%2F@v%2Fv1.0.0.zip 6210 BLAKE2B 
b5d3b234531523546445cfc48d9c4198fd0ffe8c91ad6d2b3349f28d5073a6d3cd76f0db36380d69ea5617357a8677a81ef8cebe04c0dbc4538bec1810f817ae
 SHA512 
50519f8c8efb7b3494c857373cb119b924f2ace674f07bd0d0da5939a75f8c154b5cc8875fd35135228a9e8e221fccc174aa298d21bd490b89a0f2d9aeb38e09
-DIST 
github.com%2Fhjson%2Fhjson-go%2F@v%2Fv3.0.2-0.20200316202735-d5d

[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-07-10 Thread Eric Joldasov
commit: 76e8c80b4392bf0a2c038b36b91c71365381083e
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Sun Jul 10 09:41:27 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Jul 10 09:41:27 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76e8c80b

net-p2p/yggdrasil-go: bump to 0.4.4

Signed-off-by: Eric Joldasov  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest | 4 ++--
 .../{yggdrasil-go-0.4.3.ebuild => yggdrasil-go-0.4.4.ebuild}  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 45d7d4c92..1a74c37c2 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -63,5 +63,5 @@ DIST golang.zx2c4.com%2Fwireguard%2F@v%2Fv0.0.20200320.zip 
146832 BLAKE2B 99a9b5
 DIST golang.zx2c4.com%2Fwireguard%2Fwindows%2F@v%2Fv0.1.0.mod 677 BLAKE2B 
8d6dcae94321a2495f9ef9be5eadf503c7e53de3fececaaa35fa2cd462f4d3286168c2606de103cf9d4e8e43895f81a18aa843d093db0a728510c2804bc59e15
 SHA512 
b00baab7efde4ba31f3cac2e4ba14c8e7678b1273538dd1d19951e3b6cd380a31b1f49518be57d4048a3101a18aa21887701c942274aa58217884d713bc7f812
 DIST golang.zx2c4.com%2Fwireguard%2Fwindows%2F@v%2Fv0.1.0.zip 257029 BLAKE2B 
ca5e6b076624bf9cb12252f3b8736ffa81d1f2e969793ceed16f250ca26711e264c11a109f91276c3ce35444ef72953231b16e402d2dbb8197e35235723bbd44
 SHA512 
a7ecec8842fced40ecda8acd303725c16c90f45d3c0568d4efb0075d99a7f0281bbc9900ebd506083bf1c10859afafc9b7e38bef778decd846c1b93b67c4d7df
 DIST yggdrasil-go-0.3.15.tar.gz 166072 BLAKE2B 
8375a6f731ec175b98d68155c1cabb3af7bc3dd6efee93701bd74acbc5ef2a6a724284abb99792ecb65e423b66a47d6f291f19f287e220435000115689b3fcd7
 SHA512 
1b59fecfa210a3d8d41776e4cb4b5399121e820389a64f4f1df893a9c537b67b1a26ca68c735fcae3208f24163ac809fa278f2ee2a1102c88145fdb6ac4c9db4
-DIST yggdrasil-go-0.4.3-deps.tar.bz2 50002287 BLAKE2B 
3c26a9cbc5056388c1877427f941c97a70f4d5f8765de7c8046f85fce799d16c3c611006a0aac36429a72241d4b9b607de62e5a110910c544a13353cd7693756
 SHA512 
6b283a5dbb47827f4fa5e056e1453f33097d345497b688482402b46e22fa4eb8bc7dcf019b82963a4070d4d245985452ca67d19c9910554b76698d15713ac145
-DIST yggdrasil-go-0.4.3.tar.gz 96364 BLAKE2B 
8474f52771d7a34027a56de83f74c3ed0f66127b5bcdf498c5820713079e2da1c9ac0c44b0e19903b15ae32fd47d79f8b4cbbe9607dff1951c5ea74ff1af409d
 SHA512 
00ba6e611c6073e150db0d402edfcd4d548021b30c7afcc11507dfb2ac2e730433bd9f39438331e9d9de6d8a36fc57dc9f01b0d1cbad4927ffbf60906042aac3
+DIST yggdrasil-go-0.4.4-deps.tar.bz2 36254982 BLAKE2B 
40fa8fac4d04dabcb3b514cfb1163e815f0daa2101e4f1c000f891e444cb1ba8a4792c309896c02003ada8d01c8ed0caa850b8692253bf2460f0c7a0f2f5484c
 SHA512 
cbd56752a929f1611ed1fee45a60e08fc089e0183eade81fdd4f7245236b6fe80e1aaf331f2f1d38a98b99cf5104644b7f52ce24fcb13c084738730e69b17bea
+DIST yggdrasil-go-0.4.4.tar.gz 95207 BLAKE2B 
3cba1302419af4cda0f6960d2a1b12e2c62d9ab68443ccf4cc328b2d7bd7d96145197a3eb895bb9df2976efed8b1a19e71d3ea05404d400c2b72effd62539f90
 SHA512 
b61e5a22534d181ef48bde708c36eca83197a25e7e758dda7e81215e9e97db1a536f728fd4170784f6bdaf0742dbb1e3396fe71c06938272b0436cdb8665c0e0

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
similarity index 97%
rename from net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
rename to net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
index 6188c6171..726c54483 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.4.ebuild
@@ -22,7 +22,7 @@ DEPEND="
acct-group/yggdrasil
 "
 
-BDEPEND=">=dev-lang/go-1.16.0"
+BDEPEND=">=dev-lang/go-1.17.0"
 
 pkg_setup() {
linux-info_pkg_setup



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/, net-p2p/yggdrasil-go/

2022-05-21 Thread Eric Joldasov
commit: 0a5c48ae0ba1557ba968036484c14e5a7dc0b4f3
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Sat May 21 07:02:22 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat May 21 07:02:22 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a5c48ae

net-p2p/*: net-p2p/yggdrasil-go, net-p2p/popura: update SRC_URI

Signed-off-by: BratishkaErik  getgoogleoff.me>

 net-p2p/popura/popura-0.4.3.ebuild | 2 +-
 net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/popura/popura-0.4.3.ebuild 
b/net-p2p/popura/popura-0.4.3.ebuild
index 9f7544f95..28d1a02a3 100644
--- a/net-p2p/popura/popura-0.4.3.ebuild
+++ b/net-p2p/popura/popura-0.4.3.ebuild
@@ -12,7 +12,7 @@ DOCS=( README.md )
 KEYWORDS="~amd64"
 SRC_URI="
https://github.com/popura-network/Popura/archive/v${PV}+popura1.tar.gz 
-> ${P}+popura1.tar.gz
-   
https://github.com/BratishkaErik/distfiles/raw/master/${P}+popura1-deps.tar.bz2
+   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}+popura1-deps.tar.bz2
 "
 
 S="${WORKDIR}/Popura-${PV}-popura1"

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
index d6237019d..6188c6171 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="An experiment in scalable routing as an encrypted 
IPv6 overlay netw
 HOMEPAGE="https://yggdrasil-network.github.io/;
 SRC_URI="
https://github.com/yggdrasil-network/yggdrasil-go/archive/v${PV}.tar.gz 
-> ${P}.tar.gz
-   https://github.com/BratishkaErik/distfiles/raw/master/${P}-deps.tar.bz2
+   
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
 "
 
 LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/, net-p2p/yggdrasil-go/

2022-04-10 Thread Eric Joldasov
commit: f4a307ec23bea7fd206b1bf51b801bdd1b75843b
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Sun Apr 10 08:24:51 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sun Apr 10 08:24:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4a307ec

net-p2p/yggdrasil-go, net-p2p/popura: update SRC_URI

Recently I experienced power loss, [ I don't want to
block this ebuilds

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: BratishkaErik  getgoogleoff.me>

 net-p2p/popura/popura-0.4.3.ebuild | 2 +-
 net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/popura/popura-0.4.3.ebuild 
b/net-p2p/popura/popura-0.4.3.ebuild
index 26435abcd..9f7544f95 100644
--- a/net-p2p/popura/popura-0.4.3.ebuild
+++ b/net-p2p/popura/popura-0.4.3.ebuild
@@ -12,7 +12,7 @@ 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
+   
https://github.com/BratishkaErik/distfiles/raw/master/${P}+popura1-deps.tar.bz2
 "
 
 S="${WORKDIR}/Popura-${PV}-popura1"

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
index e6c2f03ed..d6237019d 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="An experiment in scalable routing as an encrypted 
IPv6 overlay netw
 HOMEPAGE="https://yggdrasil-network.github.io/;
 SRC_URI="
https://github.com/yggdrasil-network/yggdrasil-go/archive/v${PV}.tar.gz 
-> ${P}.tar.gz
-   
https://gitea.minecast.xyz/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
+   https://github.com/BratishkaErik/distfiles/raw/master/${P}-deps.tar.bz2
 "
 
 LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-03-26 Thread Eric Joldasov
commit: 3b818583939050b64fa2c995ee795ef85fbfa779
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Sat Mar 26 15:28:19 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Mar 26 15:28:19 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b818583

net-p2p/yggdrasil-go: add  version

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: BratishkaErik  getgoogleoff.me>

 net-p2p/yggdrasil-go/yggdrasil-go-.ebuild | 50 +++
 1 file changed, 50 insertions(+)

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
new file mode 100644
index 0..d803f16d4
--- /dev/null
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-.ebuild
@@ -0,0 +1,50 @@
+# 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/yggdrasil-network/yggdrasil-go;
+
+DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay 
network"
+HOMEPAGE="https://yggdrasil-network.github.io/;
+DOCS=( README.md )
+
+LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+   acct-user/yggdrasil
+   acct-group/yggdrasil
+"
+
+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"
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-03-26 Thread Eric Joldasov
commit: 40f13ae4f10bc4508d0dd21b4f88b502a4e433f1
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Sat Mar 26 15:16:46 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Mar 26 15:16:59 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40f13ae4

net-p2p/yggdrasil-go: add new version

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: BratishkaErik  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest   |  2 +
 net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild |  4 +-
 net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild  | 49 +
 3 files changed, 53 insertions(+), 2 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index db9d1a6f9..45d7d4c92 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -63,3 +63,5 @@ DIST golang.zx2c4.com%2Fwireguard%2F@v%2Fv0.0.20200320.zip 
146832 BLAKE2B 99a9b5
 DIST golang.zx2c4.com%2Fwireguard%2Fwindows%2F@v%2Fv0.1.0.mod 677 BLAKE2B 
8d6dcae94321a2495f9ef9be5eadf503c7e53de3fececaaa35fa2cd462f4d3286168c2606de103cf9d4e8e43895f81a18aa843d093db0a728510c2804bc59e15
 SHA512 
b00baab7efde4ba31f3cac2e4ba14c8e7678b1273538dd1d19951e3b6cd380a31b1f49518be57d4048a3101a18aa21887701c942274aa58217884d713bc7f812
 DIST golang.zx2c4.com%2Fwireguard%2Fwindows%2F@v%2Fv0.1.0.zip 257029 BLAKE2B 
ca5e6b076624bf9cb12252f3b8736ffa81d1f2e969793ceed16f250ca26711e264c11a109f91276c3ce35444ef72953231b16e402d2dbb8197e35235723bbd44
 SHA512 
a7ecec8842fced40ecda8acd303725c16c90f45d3c0568d4efb0075d99a7f0281bbc9900ebd506083bf1c10859afafc9b7e38bef778decd846c1b93b67c4d7df
 DIST yggdrasil-go-0.3.15.tar.gz 166072 BLAKE2B 
8375a6f731ec175b98d68155c1cabb3af7bc3dd6efee93701bd74acbc5ef2a6a724284abb99792ecb65e423b66a47d6f291f19f287e220435000115689b3fcd7
 SHA512 
1b59fecfa210a3d8d41776e4cb4b5399121e820389a64f4f1df893a9c537b67b1a26ca68c735fcae3208f24163ac809fa278f2ee2a1102c88145fdb6ac4c9db4
+DIST yggdrasil-go-0.4.3-deps.tar.bz2 50002287 BLAKE2B 
3c26a9cbc5056388c1877427f941c97a70f4d5f8765de7c8046f85fce799d16c3c611006a0aac36429a72241d4b9b607de62e5a110910c544a13353cd7693756
 SHA512 
6b283a5dbb47827f4fa5e056e1453f33097d345497b688482402b46e22fa4eb8bc7dcf019b82963a4070d4d245985452ca67d19c9910554b76698d15713ac145
+DIST yggdrasil-go-0.4.3.tar.gz 96364 BLAKE2B 
8474f52771d7a34027a56de83f74c3ed0f66127b5bcdf498c5820713079e2da1c9ac0c44b0e19903b15ae32fd47d79f8b4cbbe9607dff1951c5ea74ff1af409d
 SHA512 
00ba6e611c6073e150db0d402edfcd4d548021b30c7afcc11507dfb2ac2e730433bd9f39438331e9d9de6d8a36fc57dc9f01b0d1cbad4927ffbf60906042aac3

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild
index 7a09e6f2d..662d0e025 100644
--- a/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.3.15.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit go-module linux-info systemd
 

diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild 
b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
new file mode 100644
index 0..e6c2f03ed
--- /dev/null
+++ b/net-p2p/yggdrasil-go/yggdrasil-go-0.4.3.ebuild
@@ -0,0 +1,49 @@
+# 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="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/v${PV}.tar.gz 
-> ${P}.tar.gz
+   
https://gitea.minecast.xyz/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2
+"
+
+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.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}" \
+   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"
+   einstalldocs
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/yggdrasil-go/

2022-03-26 Thread Eric Joldasov
commit: 81f07c7befa7601dcb213d501057d20371cf163d
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Sat Mar 26 15:12:17 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Sat Mar 26 15:16:59 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81f07c7b

net-p2p/yggdrasil-go: remove old versions

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: BratishkaErik  getgoogleoff.me>

 net-p2p/yggdrasil-go/Manifest  |  94 --
 net-p2p/yggdrasil-go/yggdrasil-go-0.3.13-r1.ebuild |  94 --
 net-p2p/yggdrasil-go/yggdrasil-go-0.3.14.ebuild| 109 -
 net-p2p/yggdrasil-go/yggdrasil-go-0.4.0.ebuild | 136 -
 4 files changed, 433 deletions(-)

diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest
index 2bf369d0b..db9d1a6f9 100644
--- a/net-p2p/yggdrasil-go/Manifest
+++ b/net-p2p/yggdrasil-go/Manifest
@@ -1,159 +1,65 @@
-DIST 
github.com%2F!arceliar%2Fironwood%2F@v%2Fv0.0.0-20210619124114-6ad55cae5031.mod 
176 BLAKE2B 
e94282f7bca74c3556113eb045d28c945ea570c0868c8df5651610b1be650c8f6161e32958b3bc5c7eec285f3d8e31b2ba4f172d9cace1f5766eaf0733befedf
 SHA512 
c27295b81e30a253b47a03ff7995214ed2df898929ae538b5c30e8b7f855a1441e1410f41e203dd4139da1b5ad1dc4be88828d5807fd2d2ac8404004e0d8315e
-DIST 
github.com%2F!arceliar%2Fironwood%2F@v%2Fv0.0.0-20210619124114-6ad55cae5031.zip 
51853 BLAKE2B 
db9771842f844bfe5b651a8fbdc11dccaceedb04fd928cfb8bc26a13e52f2faf9a57fdfa83e8232daa70af3ee903a29cc363254c94335b05ee538f559ebc5657
 SHA512 
34ecce6d3c8df3deaffa42f45ee4f16dd232d8e4eb288fc4f608d745930a19fd845b59e7215dd59d5cc64db1f478d3e0c8cc3872d9da78b0780552268804a1d6
 DIST 
github.com%2F!arceliar%2Fphony%2F@v%2Fv0.0.0-20191006174943-d0c68492aca0.mod 42 
BLAKE2B 
113b161c3362f86482e8e107940c202a2870c2b722a6226dd9cde65dc4d39a7610b17d014a152c939df9c5433801d334c93e5233cf77fd6160d075c84aa37e20
 SHA512 
7b93619432e39da924cac8312148fe7dcb4bb760bb8f01e2285db806410532f85ebbe3983b7b5d5227fe3dfc28a9db8b86669f2c0f40cc319cb4590380c70dbb
 DIST 
github.com%2F!arceliar%2Fphony%2F@v%2Fv0.0.0-20191006174943-d0c68492aca0.zip 
9460 BLAKE2B 
ee30c74923e624720d1b5d7c3c8b3b377212ff0567da7b5b0af78aa248e137a198453f9d0692c0086115503d2e3ebdec547b3c130b20a720e2dd98b97a04de5d
 SHA512 
9c72e11aff4b17a79e836a42fc9cb478921214da2b3d088545d3183c0025e89e8b31d90a829ac3f879f3db0c508e58b48a605b7b288f26379f8c1b43689d3edc
-DIST 
github.com%2F!arceliar%2Fphony%2F@v%2Fv0.0.0-20210209235338-dde1a8dca979.mod 42 
BLAKE2B 
113b161c3362f86482e8e107940c202a2870c2b722a6226dd9cde65dc4d39a7610b17d014a152c939df9c5433801d334c93e5233cf77fd6160d075c84aa37e20
 SHA512 
7b93619432e39da924cac8312148fe7dcb4bb760bb8f01e2285db806410532f85ebbe3983b7b5d5227fe3dfc28a9db8b86669f2c0f40cc319cb4590380c70dbb
-DIST 
github.com%2F!arceliar%2Fphony%2F@v%2Fv0.0.0-20210209235338-dde1a8dca979.zip 
13271 BLAKE2B 
1af4f41fe6594554c035810aefd5596bdb10798c15d70d0dd2401131ff698faf8109cfb3c163ea0b2cac61061489bdaf4f4f6c5eaa6d8438ec8b4f008408bef3
 SHA512 
296a6b948e510da005243b821a5b0452c0ecb2c787eeac97d0075cb1a0c946783c3a355026686dc05d91234fbab4978cedd16b1a3d7b8783fe1c042dd97d5edd
 DIST github.com%2F!vivid!cortex%2Fewma%2F@v%2Fv1.1.1.mod 35 BLAKE2B 
7b5030936400bbff37dc3e2c1d6b7224df6d5f5f97a2e22fd1dc08f3d6ef08894eec30004589dbe81e56a9e71b3ca391e088996a84c98ddabc4d934db7c9fa22
 SHA512 
e6d91e44ed614c66a668e8423e7657d0696cdd5c6fc0fc4d6ecf741849f1e4891e47262376d4787c967c88c907c5bc668d437d613afaf628fcbbcb352f5d2033
 DIST github.com%2F!vivid!cortex%2Fewma%2F@v%2Fv1.1.1.zip 8064 BLAKE2B 
3fb2dca3bf31d7c8e0bfa67193ca30e7ed76e270fc6ee5e1f1acadaf5be7047dc63afed2f4e55a16d3a641ebbcb8111a6a580b91964081b3e3621e8d62d70f9d
 SHA512 
0a6ea5758fd0d42e2ce8366405eb0ed42da5737c830b36a9cc24cf99541d7d7760a2ee868c99901fb9a103f8113183771f0dbe139deac3667222692c4d025eb9
-DIST github.com%2F!vivid!cortex%2Fewma%2F@v%2Fv1.2.0.mod 44 BLAKE2B 
a194b4eb95b5a1ddc0e4318b34bb497642cf21f483e8c8bd905a1c6f944a22208a004cec972f8822cd4fefd562909e05727586843131d9b676f6b44a9f8b1ad5
 SHA512 
fa9e97278505032f941c173f04463ce55f1232cbd5a4bb72ef9d875d86e8821abc6b7444ff4a8e2db0cfe8425d9b903c278480442cfdab448b75d3956ebcb883
-DIST github.com%2F!vivid!cortex%2Fewma%2F@v%2Fv1.2.0.zip 9548 BLAKE2B 
a1d1581e4cbc22123e3a6404d200508db6d86bf6e54386dd3b88c6f791a57740f52638b87457b042a8062d58ab2f46d08ef7a5084965005ff4850dc12b107626
 SHA512 
dd5be92d9032871fcb6c08fe791c0807c1223f10d821f38ed8eb9b97aff8c4c585cfe5f2ef329850a8b3227a17c93eccd15ae02b6aa62d733218a4e525ac3e4c
 DIST github.com%2Fcheggaaa%2Fpb%2Fv3%2F@v%2Fv3.0.4.mod 299 BLAKE2B 
c5607f7f89dbb49d7f898e867e366f88ac28149f4ff76e02885a3c5f216140367f57c62cd1fc11205f76e8d83b1ce1bf52ec8f1bcfbc04e797e7c0fb4f193690
 SHA512 
51b80b95e070e37852ff192ee85c01f2b2ee42c7bdc2aa2740af092026d734bf0a58baf64c23aa83747a1f9b1b130ad89922fa3b83c5e12b43696e317f259b65
 DIST github.com%2Fcheggaaa%2Fpb%2Fv3%2F@v%2Fv3.0.4.zip 2403

[gentoo-commits] repo/proj/guru:dev commit in: net-p2p/popura/

2022-03-23 Thread Eric Joldasov
commit: 7a7842118b10d0de793eba2de9e0a342a94b8690
Author: BratishkaErik  getgoogleoff  me>
AuthorDate: Wed Mar 23 17:42:27 2022 +
Commit:     Eric Joldasov  getgoogleoff  me>
CommitDate: Wed Mar 23 17:42:27 2022 +
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-.ebuild  | 52 +
 4 files changed, 120 insertions(+)

diff --git a/net-p2p/popura/Manifest b/net-p2p/popura/Manifest
new file mode 100644
index 0..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 
def5d9a37dfb93fbd6329e78610b61d39aa00ddf8e4db04cbe553fb2f13ca61dd6331e277ad4e082812793818481576fe4f62674638432e9258a0f89e1a0
+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 0..2641f35f4
--- /dev/null
+++ b/net-p2p/popura/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bratishkae...@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 0..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-.ebuild 
b/net-p2p/popura/popura-.ebuild
new file mode 100644
index 0..5b58d7b27
--- /dev/null
+++ b/net-p2p/popura/popura-.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"