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 A5D1D1582EF for ; Sun, 16 Feb 2025 07:22:29 +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 90A35340441 for ; Sun, 16 Feb 2025 07:22:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8D3471102CD; Sun, 16 Feb 2025 07:22:28 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 81EA21102CD for ; Sun, 16 Feb 2025 07:22:28 +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 3F7E933DF47 for ; Sun, 16 Feb 2025 07:22:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1EE92468 for ; Sun, 16 Feb 2025 07:22:26 +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: <1739690526.6894d0e44432c48b498498cde2846acc43bb47be.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mosquitto/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/mosquitto/mosquitto-2.0.20.ebuild X-VCS-Directories: app-misc/mosquitto/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 6894d0e44432c48b498498cde2846acc43bb47be X-VCS-Branch: master Date: Sun, 16 Feb 2025 07:22:26 +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: f732bce9-d17d-499e-a8b4-1068faa54aab X-Archives-Hash: ec4e646bca0c9dea8eba0d381256eaf9 commit: 6894d0e44432c48b498498cde2846acc43bb47be Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:10:59 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Feb 16 07:22:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6894d0e4 app-misc/mosquitto: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> app-misc/mosquitto/mosquitto-2.0.20.ebuild | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/app-misc/mosquitto/mosquitto-2.0.20.ebuild b/app-misc/mosquitto/mosquitto-2.0.20.ebuild index 198216be0635..2bbf86d3af31 100644 --- a/app-misc/mosquitto/mosquitto-2.0.20.ebuild +++ b/app-misc/mosquitto/mosquitto-2.0.20.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit python-any-r1 systemd toolchain-funcs +inherit eapi9-ver python-any-r1 systemd toolchain-funcs DESCRIPTION="An Open Source MQTT v3 Broker" HOMEPAGE="https://mosquitto.org/ https://github.com/eclipse/mosquitto" @@ -118,17 +118,15 @@ src_install() { } pkg_postinst() { - for v in ${REPLACING_VERSIONS}; do - if [[ $(ver_cut 1 "$v") -lt 2 ]]; then - elog - elog "Please read the migration guide at:" - elog "https://mosquitto.org/documentation/migrating-to-2-0/" - elog - elog "If you use Lets Encrypt TLS certificates, take note of" - elog "the changes required to run the daemon as the unprivileged" - elog "mosquitto user. The mosquitto-copy.sh script has been" - elog "installed to /usr/share/mosquitto/ for your convenience." - elog - fi - done + if ver_replacing -lt 2; then + elog + elog "Please read the migration guide at:" + elog "https://mosquitto.org/documentation/migrating-to-2-0/" + elog + elog "If you use Lets Encrypt TLS certificates, take note of" + elog "the changes required to run the daemon as the unprivileged" + elog "mosquitto user. The mosquitto-copy.sh script has been" + elog "installed to /usr/share/mosquitto/ for your convenience." + elog + fi }