Re: git: f2d00f8fb185 - main - devel/jwt-cpp: A header only C++ library to JWT

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Thu, 29 May 2025 07:40:00 UTC
On Wed, May 28, 2025 at 09:01:51PM +0200, Xavier Beaudouin wrote:
> 
> 
> > Le 28 mai 2025 à 20:43, Xavier Beaudouin <kiwi@freebsd.org> a écrit :
> > 
> > Hello Daniel,
> > 
> >> Can you please review more carefully?
> >> 
> >> Any reason why upstream release archive isn't used?
> >> 
> >> https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
> >> 
> >> https://github.com/Thalhammer/jwt-cpp/releases/tag/v0.7.1
> >> 
> 
> Well, I may have not learnt the right way but :
> PORTNAME=       jwt-cpp
> DISTVERSIONPREFIX=      v
> DISTVERSION=    0.7.1
> USE_GITHUB=     yes
> GH_ACCOUNT=     Thalhammer
> 
> Should use the upstream archive from github, or is there something changed?

No, that will ask github to run git archive on tag v0.7.1 and generate a
.tar.gz on the fly, as if you clicked on the "Source code" link on the
tag page.

What you should be using is the jwt-cpp-v0.7.1.tar.gz from that page.

-- 
Mathieu Arnold