exp-run-k# make MASTER_SITE_BACKUP=NOT_FOUND/// checksum
===> License MIT accepted by the user
===> zephyr-3.0.1_3 depends on file: /usr/local/sbin/pkg - found
=> zephyr-3.0.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://zephyr.1ts.org/export/2642/distribution/zephyr-3.0.1.tar.gz
fetch: http://zephyr.1ts.org/export/2642/distribution/zephyr-3.0.1.tar.gz: No address record
=> Attempting to fetch NOT_FOUND///zephyr-3.0.1.tar.gz
fetch: NOT_FOUND///zephyr-3.0.1.tar.gz: Invalid URL scheme
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
make: stopped in /usr/ports/net-im/zephyr
Upstream is now at https://github.com/zephyr-im/zephyr , though given how github works I expect the tarball with the checksums in FreeBSD ports subversion to not be available there. Probably this means I should take this PR as a stimulus to package a newer version.
We can do github. See security/krb5-devel. Instead of a hash we can use a tag. I can help out or post a patch here. Either works for me.
Right, the makefile infrastructure has lots of support for making porting github projects easy. My point was more that github is not really a drop-in replacement for the current master site, since the old master site had a fixed tarball which differs from the way github does tarballs.
Yes, the tarball will have a different name but it is 100% reproducible, distinfo works.
Created attachment 207340 [details]
USE_GITHUB for Zephyr
Github is used for loads of ports, and the tarball is still in distinfo, so it will never change without notice.
This patch shows it fetching from Github (the newest version), though I've not build or run tested it.
Do you think you would be able to update it from here?