On Fri, May 15, 2020 at 10:24:22AM +0300, Pavel Korovin wrote:
> I think this is GitHub-related issue.
> The distfile should be OK since the gitea team started to provide SHA256
> checksum for src tarball and it matches the port checksum.
> I'm trying to refetch the disfile with dbp to check the difference, but unable
> to refetch since yesterday.
> 
> $ cat /usr/ports/www/gitea/distinfo 
> SHA256 (gitea-src-1.11.5.tar.gz) = 
> SXXUTSN/4VSIzpI5ZBwjUX8VbeXOQIHvJpFLPsrjHUc=
> SIZE (gitea-src-1.11.5.tar.gz) = 68923871
> 
> $ ls -al /usr/ports/distfiles/gitea-src-1.11.5.tar.gz
> -rw-r--r--  1 root  _pfetch  68923871 May 15 02:19 
> /usr/ports/distfiles/gitea-src-1.11.5.tar.gz
> 
> $ sha256 gitea-src-1.11.5.tar.gz
> SHA256 (gitea-src-1.11.5.tar.gz) = 
> 4975d44d237fe15488ce9239641c23517f156de5ce4081ef26914b3ecae31d47
> 
> # CHECKSUM from 
> https://github.com/go-gitea/gitea/releases/download/v1.11.5/gitea-src-1.11.5.tar.gz.sha256

That's not the MASTER_SITES this port uses: 
https://github.com/go-gitea/gitea/archive/v1.11.5/
Upstream provides tarballs, why not use them and set MASTER_SITES to
https://github.com/go-gitea/gitea/releases/download/v1.11.5/

> 
> On 05/15, Antoine Jacoutot wrote:
> > On Thu, May 14, 2020 at 09:19:32AM -0600, Pavel Korovin wrote:
> > > CVSROOT:  /cvs
> > > Module name:      ports
> > > Changes by:       p...@cvs.openbsd.org    2020/05/14 09:19:32
> > > 
> > > Modified files:
> > >   www/gitea      : Makefile distinfo 
> > > 
> > > Log message:
> > > Update gitea 1.11.4 -> 1.11.5
> > > Changelog: https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md
> > 
> > $ make fetch
> > ===>  Checking files for gitea-1.11.5
> > >> Fetch 
> > >> https://github.com/go-gitea/gitea/archive/v1.11.5/gitea-src-1.11.5.tar.gz
> > >> Size does not match for gitea-src-1.11.5.tar.gz
> > 
> > -- 
> > Antoine
> 
> -- 
> With best regards,
> Pavel Korovin

-- 
Antoine

Reply via email to