From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 632D81582EF for ; Sat, 15 Feb 2025 09:29:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4E5B6343089 for ; Sat, 15 Feb 2025 09:29:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 10B47110475; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0A025110475 for ; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8196343061 for ; Sat, 15 Feb 2025 09:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B721271C for ; Sat, 15 Feb 2025 09:29:27 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1739611594.01e30f90eb6a60ad0ec4abc310ebc5d4df173e7a.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/lyrebird/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/lyrebird/lyrebird-0.5.0.ebuild X-VCS-Directories: net-proxy/lyrebird/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 01e30f90eb6a60ad0ec4abc310ebc5d4df173e7a X-VCS-Branch: master Date: Sat, 15 Feb 2025 09:29:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cef59dc6-3f4a-4de3-a74c-58cf3592a530 X-Archives-Hash: 3c43fa9590057f4dd8d1488c9dc033d4 commit: 01e30f90eb6a60ad0ec4abc310ebc5d4df173e7a Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:52 2025 +0000 Commit: Ulrich Müller gentoo 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 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 }