From nobody Sun Feb 05 07:51:45 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P8hSR3R70z3n0nM for ; Sun, 5 Feb 2023 07:52:23 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P8hSR2wp4z3L1F for ; Sun, 5 Feb 2023 07:52:23 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675583543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZtX9QNXB7eM6DMrrgpoA0zczvkG/yJDTY/+AOMh0dOc=; b=KDfeLRZEORFoY9P0dGY/j6B2b8llBNvoZCO7f7kSVGtWkoPmNAQugn1XvRwaXza+c/uA3a kXPzcYRLqvAAT8RT6Yeksci/j4B+u0vBBiHL4gp3WM645FWQsU4GvTXXNLUfOYEr4YmNfj odgarN6L3dDmLrFrjQak1oyHsLdFAgkYFP20UnpD0B7CBmNQjv3e778b22lXu5LyqcVLuR 57wSTqxBvaAYska/VD7sb2sDWGhBP+ttt6Kllm/ChAmj3zqzAVPF81mEBPegrTX4Jakl3L ul3rQSXkl0wg/76eZZqtEd4TRp9gGhI2vyFB3yb8FzpwmKRv1V1AaGnkrChjOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675583543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZtX9QNXB7eM6DMrrgpoA0zczvkG/yJDTY/+AOMh0dOc=; b=p4ZHz8fQYT9KEen4Y4ksPCiszV1DsHTI1WGRMEBW8fTrHRX8/k9LFxY08MEL8IMqyItR8O UMIIli+aiLJd4L0FDQpJxTuHAXk1EohR2/CKOhdOEGy6YcjvnMJyLBi3ptHHovUGffhrTZ zQC2pD/ukULkvf7nnWP2XN+RwMrAE6dRrJ+eY9pTBnfm/bEQBKTUONkpaJwnQpgy6Du0nK jW9+YjGjoLXcY1qsRxGChGOi1BauQObZy64DRV3uFUVSo6UV9yfzOhB5HEyU6DYmYrGWV0 utiJ1E5yDiMKdH8wH0anAcuCg3VhicsPqBrBr9Ei1fwwmOcr0dF2vs3iu81E3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675583543; a=rsa-sha256; cv=none; b=uWWLgT1+NV9hvOdjjJIU+KOySpYxMe4+7Qs9DBMlvCDpo+vI1zqgkDJzHY//iGkqjEZu3/ BqLXxiLzzvtSFAZvMhMBr3SaaBYwx3luSCIomXW2vu2gtY7/ti0KGW+9DiAOBQXF6vpTvn 2s1LRgIAx5nz+ZxScVYPcwj02nYoIr1pllhVHSYJcRu9h4S6GoDnfB2p+af2iwSoj5Z37s CRuc/NWq5vD6g59EmW57VC6Frfg81MwWa8/5xhS11t1D3Enm3ArBujxhvjiza8YsyWsA5E pENRN6f8MWYc29GjB/2S4FP4N7KFm8iDyDiQbwvHuNeorrshKIYfYkaD+Q1AyQ== Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P8hSR1tZLzkcH for ; Sun, 5 Feb 2023 07:52:23 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-ej1-f49.google.com with SMTP id ud5so26237508ejc.4 for ; Sat, 04 Feb 2023 23:52:23 -0800 (PST) X-Gm-Message-State: AO0yUKWliDOUl2iNNAlH0TakzV1T69MWGpNqxuz6xcIcpqOSvkNiBwnf V27O5qcWA/Jv+GBlvvDFWPr/Nbaj6DCGbrH+0/Q39A== X-Google-Smtp-Source: AK7set8tJnq5etVMyuWown5/qcCjsS4+YzpU0HfZfH7tjASgX29NIN/MCmbXZTNJaTb8/UMc4ST48lPR7l4n38KKeG8= X-Received: by 2002:a17:906:c241:b0:7c0:b3a8:a5f9 with SMTP id bl1-20020a170906c24100b007c0b3a8a5f9mr4464396ejb.154.1675583542253; Sat, 04 Feb 2023 23:52:22 -0800 (PST) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202301311256.30VCus3M012261@gitrepo.freebsd.org> In-Reply-To: <202301311256.30VCus3M012261@gitrepo.freebsd.org> From: Po-Chuan Hsieh Date: Sun, 5 Feb 2023 15:51:45 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 9ba756b0e950 - main - graphics/gdal-grass: Fix PORTVERSION going backwords To: Muhammad Moinur Rahman Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000d3efab05f3ef31c0" X-ThisMailContainsUnwantedMimeParts: N --000000000000d3efab05f3ef31c0 Content-Type: text/plain; charset="UTF-8" On Tue, Jan 31, 2023 at 8:56 PM Muhammad Moinur Rahman wrote: > The branch main has been updated by bofh: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=9ba756b0e950d76c63a291797407abd9972d1eb2 > > commit 9ba756b0e950d76c63a291797407abd9972d1eb2 > Author: Muhammad Moinur Rahman > AuthorDate: 2023-01-31 12:55:14 +0000 > Commit: Muhammad Moinur Rahman > CommitDate: 2023-01-31 12:56:47 +0000 > > graphics/gdal-grass: Fix PORTVERSION going backwords > > This port was resurrected with an older version than it was in the tree > while removal. Hence it requires PORTEPOCH. > Thanks for your help but the fix is incorrect. It is unreasonable to add PORTEPOCH when the previous one was removed over 7 years ago (Nov 1, 2015) [1]. No one would be affected with this version. The PORTVERSION check is great. It helps people to keep ports/pkg up-to-date (from one *installed* version to another). IMHO, the correct fix is to clean up the version db regularly. We could expire removed ports after a period of time. Thanks. [1] https://cgit.freebsd.org/ports/commit/?id=5e1001eeb3e8c92ec3453e2cee94a870ee99ed86 > Approved by: portmgr (just-fix-it) > --- > graphics/gdal-grass/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/graphics/gdal-grass/Makefile b/graphics/gdal-grass/Makefile > index cdb9ff57bb33..fc09da52da9c 100644 > --- a/graphics/gdal-grass/Makefile > +++ b/graphics/gdal-grass/Makefile > @@ -1,5 +1,6 @@ > PORTNAME= gdal-grass > PORTVERSION= 1.0.2 > +PORTEPOCH= 1 > CATEGORIES= graphics > > MAINTAINER= sunpoet@FreeBSD.org > > --000000000000d3efab05f3ef31c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jan 31, 2023 at 8:56 PM Muhammad = Moinur Rahman <bofh@freebsd.org&= gt; wrote:
It is unreasonable to add PORTEPOCH=C2=A0when the previous one was removed= over 7 years ago (Nov 1, 2015) [1].



=C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 portmgr (just-fix-it)
---
=C2=A0graphics/gdal-grass/Makefile | 1 +
=C2=A01 file changed, 1 insertion(+)

diff --git a/graphics/gdal-grass/Makefile b/graphics/gdal-grass/Makefile index cdb9ff57bb33..fc09da52da9c 100644
--- a/graphics/gdal-grass/Makefile
+++ b/graphics/gdal-grass/Makefile
@@ -1,5 +1,6 @@
=C2=A0PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 gdal-grass
=C2=A0PORTVERSION=3D=C2=A0 =C2=A01.0.2
+PORTEPOCH=3D=C2=A0 =C2=A0 =C2=A01
=C2=A0CATEGORIES=3D=C2=A0 =C2=A0 graphics

=C2=A0MAINTAINER=3D=C2=A0 =C2=A0 sunpoet@FreeBSD.org

--000000000000d3efab05f3ef31c0--