[gentoo-commits] repo/proj/guru:master commit in: net-proxy/snowflake/

2024-04-10 Thread Florian Schmaus
commit: 6707340b312ab086067fde312afd045362646c9f
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed Apr 10 02:47:08 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Apr 10 02:47:08 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6707340b

net-proxy/snowflake: add 2.9.2, drop 2.7.0

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-proxy/snowflake/Manifest |  2 +-
 ...snowflake-2.7.0.ebuild => snowflake-2.9.2.ebuild} | 20 +---
 2 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/net-proxy/snowflake/Manifest b/net-proxy/snowflake/Manifest
index 1f83b69632..85a52c1c45 100644
--- a/net-proxy/snowflake/Manifest
+++ b/net-proxy/snowflake/Manifest
@@ -1,2 +1,2 @@
-DIST snowflake-v2.7.0.tar.gz 21617453 BLAKE2B 
c91835ffee5faef705fb45ddf7280cbff3016de027b790837f1ac459de108a9f5809c6fc42149332aab88750fb8f24b9e4cd0c04a2d8958d4157d487af0a76e6
 SHA512 
1bc65efdcc92e201df1e533fcb09c3c20803b7f97dec941f511f6d8d86597c0b4a2618edb2de9c1266d46dad26a51893f2918fcc4af161ec7032496aab76d483
 DIST snowflake-v2.8.1.tar.gz 22650711 BLAKE2B 
a330fd8f4c8b7858dcdf58865a84f0fda8d3c8ce6b8d2e8e9b50a041349d0e3c8de7f028275bc33344cd1e4060572d64a26b1922f94ad01adc75bacfb2caf057
 SHA512 
752afc7fdcbdefa19e4ef319ec7ce9f4ad8182557ce6a51caf7b24e4d08c6f755d34686ce8513f99e216ef314c437328dccfb7d6d16649b63561ed20d5891234
+DIST snowflake-v2.9.2.tar.gz 22966466 BLAKE2B 
c1d88c4f90f4715c903943061fe8016f1979a974f1d5dfe603d5a43ef3f09e81540127dfc85c2d1d182229ee8b017e49320ce6e22d0b3e090dea8960af041817
 SHA512 
1139c13fcb129f1f1f7349e6b57903afce5d227d598cc20d158e0b01e0993d4511d3400ef8e6eb27f5ec8c795fd4fb34402e11706f04461706d4b5ffc736f523

diff --git a/net-proxy/snowflake/snowflake-2.7.0.ebuild 
b/net-proxy/snowflake/snowflake-2.9.2.ebuild
similarity index 79%
rename from net-proxy/snowflake/snowflake-2.7.0.ebuild
rename to net-proxy/snowflake/snowflake-2.9.2.ebuild
index d2b75ce4aa..d612b7f1b2 100644
--- a/net-proxy/snowflake/snowflake-2.7.0.ebuild
+++ b/net-proxy/snowflake/snowflake-2.9.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 inherit go-module systemd
 
 MY_P="${PN}-v${PV}"
-JOB_ID="389000"
+JOB_ID="504153"
 DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
 HOMEPAGE="
https://snowflake.torproject.org/
@@ -21,26 +21,16 @@ KEYWORDS="~amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="test? ( >=dev-lang/go-1.21 )"
+BDEPEND=">=dev-lang/go-1.21"
 
 src_configure() {
COMPONENTS=(
broker
+   client
probetest
proxy
+   server
)
-
-   if has_version -b ">=dev-lang/go-1.21"; then
-   COMPONENTS+=(
-   client
-   server
-   )
-   else
-   ewarn "The following components have been disabled:"
-   ewarn " client server"
-   ewarn
-   ewarn "You need >=dev-lang/go-1.21 to build them."
-   fi
 }
 
 src_compile() {



[gentoo-commits] repo/proj/guru:master commit in: net-proxy/snowflake/

2023-11-08 Thread Haelwenn Monnier
commit: 2a4fea398ea5975995befd0d68552f38318b9f0f
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Nov  7 14:45:50 2023 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue Nov  7 15:03:31 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a4fea39

net-proxy/snowflake: add 2.7.0, drop 2.6.1

Closes: https://bugs.gentoo.org/915517
Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-proxy/snowflake/Manifest   |  2 +-
 ...owflake-2.6.1.ebuild => snowflake-2.7.0.ebuild} | 33 ++
 2 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/net-proxy/snowflake/Manifest b/net-proxy/snowflake/Manifest
index 49968dd4c6..fde9990674 100644
--- a/net-proxy/snowflake/Manifest
+++ b/net-proxy/snowflake/Manifest
@@ -1 +1 @@
-DIST snowflake-v2.6.1.tar.gz 20711818 BLAKE2B 
47a0d1b34b598b58d840402bd65316f80e54fa2ff13a824fbd4bd7481751558ab4e724ae7bddfd7b47427d3a1fa23f976e5f7ff64f544cdd59cabfc878b4a9fc
 SHA512 
2d93c34d5b984864de2189df5c8a0e04473ffdac74b704948ca70cb265f9f163f58225d8496d5087355a15e0f9f57a2dfd536dce6bca7a8bf27a72b594ef6a47
+DIST snowflake-v2.7.0.tar.gz 21617453 BLAKE2B 
c91835ffee5faef705fb45ddf7280cbff3016de027b790837f1ac459de108a9f5809c6fc42149332aab88750fb8f24b9e4cd0c04a2d8958d4157d487af0a76e6
 SHA512 
1bc65efdcc92e201df1e533fcb09c3c20803b7f97dec941f511f6d8d86597c0b4a2618edb2de9c1266d46dad26a51893f2918fcc4af161ec7032496aab76d483

diff --git a/net-proxy/snowflake/snowflake-2.6.1.ebuild 
b/net-proxy/snowflake/snowflake-2.7.0.ebuild
similarity index 68%
rename from net-proxy/snowflake/snowflake-2.6.1.ebuild
rename to net-proxy/snowflake/snowflake-2.7.0.ebuild
index 47763037a8..d2b75ce4aa 100644
--- a/net-proxy/snowflake/snowflake-2.6.1.ebuild
+++ b/net-proxy/snowflake/snowflake-2.7.0.ebuild
@@ -5,28 +5,49 @@ EAPI=8
 
 inherit go-module systemd
 
-MY_PV="v${PV}"
-MY_P="${PN}-${MY_PV}"
-
-JOB_ID="363325"
+MY_P="${PN}-v${PV}"
+JOB_ID="389000"
 DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
 HOMEPAGE="
https://snowflake.torproject.org/

https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake
 "
 
SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/jobs/${JOB_ID}/artifacts/raw/${MY_P}.tar.gz;
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( >=dev-lang/go-1.21 )"
 
-COMPONENTS=( broker client probetest proxy server )
+src_configure() {
+   COMPONENTS=(
+   broker
+   probetest
+   proxy
+   )
+
+   if has_version -b ">=dev-lang/go-1.21"; then
+   COMPONENTS+=(
+   client
+   server
+   )
+   else
+   ewarn "The following components have been disabled:"
+   ewarn " client server"
+   ewarn
+   ewarn "You need >=dev-lang/go-1.21 to build them."
+   fi
+}
 
 src_compile() {
for component in "${COMPONENTS[@]}"; do
pushd ${component} || die
einfo "Building ${component}"
-   ego build
+   nonfatal ego build || die "${component}: build failed"
popd || die
done
 }



[gentoo-commits] repo/proj/guru:master commit in: net-proxy/snowflake/

2023-09-18 Thread Florian Schmaus
commit: 63969c2ccb5a421d05e7bec9e8c07c36e8fe91a2
Author: Joe Kappus  wt  gd>
AuthorDate: Sun Sep 17 01:07:53 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 17 01:07:53 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63969c2c

net-proxy/snowflake: add 2.6.1, drop 2.5.1

Signed-off-by: Joe Kappus  wt.gd>

 net-proxy/snowflake/Manifest   | 2 +-
 .../snowflake/{snowflake-2.5.1.ebuild => snowflake-2.6.1.ebuild}   | 7 +--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-proxy/snowflake/Manifest b/net-proxy/snowflake/Manifest
index fd29177a34..49968dd4c6 100644
--- a/net-proxy/snowflake/Manifest
+++ b/net-proxy/snowflake/Manifest
@@ -1 +1 @@
-DIST snowflake-2.5.1.tar.gz 17989511 BLAKE2B 
5d254e483803d0c03121acb12a188250eee79aec1af69d22bc88600ce5ffb67af09e437998a072977e6c9437b3fe5612e84663a90be66fb370eebf10f03327e2
 SHA512 
270eefa3cc999db36118871d23b2beebf4ef002c23e4c6a41e33bfa25a9c51c0305d2b8ad01f34863001ac5f822a9d97496249e2a4c0ae5c1a7af58cc56c26a4
+DIST snowflake-v2.6.1.tar.gz 20711818 BLAKE2B 
47a0d1b34b598b58d840402bd65316f80e54fa2ff13a824fbd4bd7481751558ab4e724ae7bddfd7b47427d3a1fa23f976e5f7ff64f544cdd59cabfc878b4a9fc
 SHA512 
2d93c34d5b984864de2189df5c8a0e04473ffdac74b704948ca70cb265f9f163f58225d8496d5087355a15e0f9f57a2dfd536dce6bca7a8bf27a72b594ef6a47

diff --git a/net-proxy/snowflake/snowflake-2.5.1.ebuild 
b/net-proxy/snowflake/snowflake-2.6.1.ebuild
similarity index 89%
rename from net-proxy/snowflake/snowflake-2.5.1.ebuild
rename to net-proxy/snowflake/snowflake-2.6.1.ebuild
index fa82ac8eb6..47763037a8 100644
--- a/net-proxy/snowflake/snowflake-2.5.1.ebuild
+++ b/net-proxy/snowflake/snowflake-2.6.1.ebuild
@@ -5,13 +5,16 @@ EAPI=8
 
 inherit go-module systemd
 
-JOB_ID="222736"
+MY_PV="v${PV}"
+MY_P="${PN}-${MY_PV}"
+
+JOB_ID="363325"
 DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
 HOMEPAGE="
https://snowflake.torproject.org/

https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake
 "
-SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/jobs/${JOB_ID}/artifacts/raw/${P}.tar.gz;
+SRC_URI="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/${PN}/-/jobs/${JOB_ID}/artifacts/raw/${MY_P}.tar.gz;
 
 LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 MIT"
 SLOT="0"



[gentoo-commits] repo/proj/guru:master commit in: net-proxy/snowflake/

2023-04-17 Thread Florian Schmaus
commit: 0ff858270e252cfe4f9873ff140a8b5d43f75a7e
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Apr 14 12:45:37 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Apr 16 19:12:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ff85827

net-proxy/snowflake: fix UnusedLocalUse

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 net-proxy/snowflake/metadata.xml | 5 -
 1 file changed, 5 deletions(-)

diff --git a/net-proxy/snowflake/metadata.xml b/net-proxy/snowflake/metadata.xml
index 85cf7c4b7..459a67e6a 100644
--- a/net-proxy/snowflake/metadata.xml
+++ b/net-proxy/snowflake/metadata.xml
@@ -8,9 +8,4 @@

https://anonticket.onionize.space/

-   
-   Build the client application
-   Build the server application
-   Build standalone proxy application
-