Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2022 05:09:51 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 2b9b771202b2 - main - www/luakit-devel: update to 2.3.1-6
Message-ID:  <fsfo-wjk0-wny@FreeBSD.org>
In-Reply-To: <CAFDf7U%2BQ-rs9uwRMTTCuqw_eg-xKOWsp0oLr0CUKLNDNNqK_dQ@mail.gmail.com> (Nuno Teixeira's message of "Sun, 16 Oct 2022 02:39:37 %2B0100")
References:  <202210121908.29CJ8aGO082553@gitrepo.freebsd.org> <20221013134520.vresa2tbdkflowdw@aniel.nours.eu> <CAFDf7UK5Bk9wXeL38-j1Q2A1vh0B_7ZaErxE2ncosMOSGs9jVA@mail.gmail.com> <wn90-wp5f-wny@FreeBSD.org> <CAFDf7U%2BQ-rs9uwRMTTCuqw_eg-xKOWsp0oLr0CUKLNDNNqK_dQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nuno Teixeira <eduardo@freebsd.org> writes:

> The main problem here is not fetching and yes DISTVERSIONSUFFIX=-g<tag>
> acts like GH_TAGNAME=<tag>.
>
> Problem is that 2.3-26 transforms to 2.3.26 and 2.3.1-6 into 2.3.1.6
>
> pkg version -t 2.3-26 2.3.1-6 = >
> pkg version -t 2.3.26 2.3.1.6 = >
>
> So the only solution is bump portepoch?

Something like the following:

$ git describe --tags e9c7693
2.3.1-6-ge9c7693f

$ git describe --tags --match=2.3 e9c7693
2.3-36-ge9c7693f

$ portedit set-version -i 2.3-36-ge9c7693f www/luakit-devel/Makefile
$ make -V PKGVERSION
$ pkg version -t 2.3.26,1 2.3.36,1
<

$ git diff
diff --git a/www/luakit-devel/Makefile b/www/luakit-devel/Makefile
index 0b955d2a5dd4..c2014301aa64 100644
--- a/www/luakit-devel/Makefile
+++ b/www/luakit-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	luakit
-DISTVERSION=	2.3.1-6
-DISTVERSIONSUFFIX=	-ge9c7693
+DISTVERSION=	2.3-36
+DISTVERSIONSUFFIX=	-ge9c7693f
 PORTEPOCH=	1
 CATEGORIES=	www
 PKGNAMESUFFIX=	-devel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fsfo-wjk0-wny>