From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84D091382C5 for ; Wed, 3 Feb 2021 20:17:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BECA0E086C; Wed, 3 Feb 2021 20:17:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A531DE086C for ; Wed, 3 Feb 2021 20:17:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06E0C341CC2 for ; Wed, 3 Feb 2021 20:16:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F05348B for ; Wed, 3 Feb 2021 20:16:57 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1612383180.fb825faab161d53eb2b4450990c06d0b94e6d412.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/shorewall/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-firewall/shorewall/shorewall-5.2.8.ebuild X-VCS-Directories: net-firewall/shorewall/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: fb825faab161d53eb2b4450990c06d0b94e6d412 X-VCS-Branch: master Date: Wed, 3 Feb 2021 20:16:57 +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: 76c1ea83-8c72-4f38-b0cd-b6d5569567be X-Archives-Hash: 74aa51be222e6aa31810790aabd556f6 commit: fb825faab161d53eb2b4450990c06d0b94e6d412 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Feb 3 20:11:29 2021 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Feb 3 20:13:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb825faa net-firewall/shorewall: fix incomplete EAPI 7 migration When ebuild was migrated to EAPI 7, a call to version_is_at_least() in pkg_postinst wasn't migrated causing upgrade notice not to be displayed. Reported-by: Ben Kohler gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> net-firewall/shorewall/shorewall-5.2.8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/shorewall/shorewall-5.2.8.ebuild b/net-firewall/shorewall/shorewall-5.2.8.ebuild index a388cba86f3..566917fbfb3 100644 --- a/net-firewall/shorewall/shorewall-5.2.8.ebuild +++ b/net-firewall/shorewall/shorewall-5.2.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -428,7 +428,7 @@ pkg_postinst() { local v for v in ${REPLACING_VERSIONS}; do - if ! version_is_at_least ${MY_MAJOR_RELEASE_NUMBER} ${v}; then + if ! ver_test ${v} -ge ${MY_MAJOR_RELEASE_NUMBER}; then # This is an upgrade elog "You are upgrading from a previous major version. It is highly recommended that you read"