commit:     1257a3c300d4ca86464920288a99b34503c43c95
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Sun Jan  4 23:53:43 2026 +0000
Commit:     Filip Kobierski <fkobi <AT> pm <DOT> me>
CommitDate: Mon Jan  5 00:00:01 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1257a3c3

net-proxy/snowflake: improve OpenRC service file

- use supervise-daemon
- swap need net do after net

Also removed slash from the links

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>

 net-proxy/snowflake/files/snowflake-proxy.initd                       | 4 ++--
 net-proxy/snowflake/files/snowflake-proxy.service                     | 2 +-
 .../snowflake/{snowflake-2.11.0.ebuild => snowflake-2.11.0-r1.ebuild} | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-proxy/snowflake/files/snowflake-proxy.initd 
b/net-proxy/snowflake/files/snowflake-proxy.initd
index 8818c6a855..19c848b698 100644
--- a/net-proxy/snowflake/files/snowflake-proxy.initd
+++ b/net-proxy/snowflake/files/snowflake-proxy.initd
@@ -4,12 +4,12 @@
 #
 # shellcheck shell=sh
 
+supervisor="supervise-daemon"
 command="/usr/bin/snowflake-proxy"
 command_args="${SNOWFLAKE_PROXY_OPTS}"
 command_background=1
 command_user="nobody:nobody"
-pidfile="/run/snowflake-proxy.pid"
 
 depend() {
-       need net
+       after net
 }

diff --git a/net-proxy/snowflake/files/snowflake-proxy.service 
b/net-proxy/snowflake/files/snowflake-proxy.service
index d023d57145..0cb1508808 100644
--- a/net-proxy/snowflake/files/snowflake-proxy.service
+++ b/net-proxy/snowflake/files/snowflake-proxy.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=Snowflake Proxy
 Documentation=man:snowflake-proxy
-Documentation=https://snowflake.torproject.org/
+Documentation=https://snowflake.torproject.org
 After=network-online.target nss-lookup.target
 Wants=network-online.target
 

diff --git a/net-proxy/snowflake/snowflake-2.11.0.ebuild 
b/net-proxy/snowflake/snowflake-2.11.0-r1.ebuild
similarity index 97%
rename from net-proxy/snowflake/snowflake-2.11.0.ebuild
rename to net-proxy/snowflake/snowflake-2.11.0-r1.ebuild
index 8e580bbd80..001256e948 100644
--- a/net-proxy/snowflake/snowflake-2.11.0.ebuild
+++ b/net-proxy/snowflake/snowflake-2.11.0-r1.ebuild
@@ -9,7 +9,7 @@ MY_P="${PN}-v${PV}"
 JOB_ID="898266" # Keep this in sync with the link with "other" in releases
 DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy"
 HOMEPAGE="
-       https://snowflake.torproject.org/
+       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";

Reply via email to