public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/
Date: Sat, 15 Feb 2025 09:29:27 +0000 (UTC)	[thread overview]
Message-ID: <1739611594.01e30f90eb6a60ad0ec4abc310ebc5d4df173e7a.ulm@gentoo> (raw)

commit:     01e30f90eb6a60ad0ec4abc310ebc5d4df173e7a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 14:11:52 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:26:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e30f90

net-proxy/lyrebird: Port to ver_replacing

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-proxy/lyrebird/lyrebird-0.5.0.ebuild | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/net-proxy/lyrebird/lyrebird-0.5.0.ebuild b/net-proxy/lyrebird/lyrebird-0.5.0.ebuild
index 0313b779ac34..a85b87945ef9 100644
--- a/net-proxy/lyrebird/lyrebird-0.5.0.ebuild
+++ b/net-proxy/lyrebird/lyrebird-0.5.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit go-module
+inherit eapi9-ver go-module
 
 DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4"
 HOMEPAGE="https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird"
@@ -31,15 +31,9 @@ src_install() {
 }
 
 pkg_postinst() {
-	if [[ ! -z "${REPLACING_VERSIONS}" ]]; then
-		local oldver
-		for oldver in ${REPLACING_VERSIONS}; do
-			if ver_test "${oldver}" -lt 0.1.0; then
-				ewarn "Since version 0.1.0 the proxy executable is called '${PN}' rather than 'obfs4proxy'."
-				ewarn "Please update your Tor configuration accordingly."
-				ewarn
-				break
-			fi
-		done
+	if ver_replacing -lt 0.1.0; then
+		ewarn "Since version 0.1.0 the proxy executable is called '${PN}' rather than 'obfs4proxy'."
+		ewarn "Please update your Tor configuration accordingly."
+		ewarn
 	fi
 }


             reply	other threads:[~2025-02-15  9:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-15  9:29 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-05  1:46 [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/ Sam James
2025-04-05  1:46 Sam James
2025-03-14  6:11 Sam James
2025-03-14  5:43 Sam James
2025-03-14  5:43 Sam James
2024-12-24  8:16 Petr Vaněk
2024-11-23 16:27 Sam James
2024-11-23 16:20 Michał Górny
2024-11-23 12:09 Sam James
2024-10-15  7:06 Sam James
2023-08-22 21:35 Marek Szuba
2023-08-22 12:00 Sam James
2023-08-22 10:33 Sam James
2023-08-21 17:43 Sam James
2023-06-28  7:37 Sam James
2023-06-27 21:56 Marek Szuba
2023-06-27 21:56 Marek Szuba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739611594.01e30f90eb6a60ad0ec4abc310ebc5d4df173e7a.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox