On 2021/12/30 11:03, Matthias Schmidt wrote: > Hi Stuart, > > * Stuart Henderson wrote: > > On 2021/12/29 18:11, Matthias Schmidt wrote: > > > attached is a tarball for a new port. I noticed one strange thing > > > during the port's creation. make fetch doesn't download the tarball > > > from github although I use the same syntax as other ports and the > > > Makefile template. The download path is different from the one on the > > > website... Once I downloaded the tarball to the distfiles, I could > > > easily create the port. > > > > No idea what's up with your fetch (showing what haopens would help) but > > it works for me. > > When I remove the distfile and run make fetch again, I get a size mismatch > although the size should be correct. > > $ doas rm /usr/ports/distfiles/jrnlc-2021.b.tar.gz > $ make fetch > ===> Checking files for jrnlc-2021.b > >> Fetch https://github.com/thexhr/jrnlc/archive/2021.b/jrnlc-2021.b.tar.gz > >> Size does not match for jrnlc-2021.b.tar.gz > >> Fetch https://ftp.openbsd.org/pub/OpenBSD/distfiles/jrnlc-2021.b.tar.gz > >> Size does not match for jrnlc-2021.b.tar.gz
Something is wrong with your fetches, because at least this second one should report a 404 error. Perhaps you have redefined FETCH_CMD and it isn't working correctly.