Created attachment 189679 [details] patch
Created attachment 189680 [details] patch
Created attachment 189681 [details] patch
If we use github to download releases, why not to switch to USE_GITHUB instead?
(In reply to Vsevolod Stakhov from comment #3) Because there is the policy that if github has tarballs, they should be preferred, unless you want to use a specific GH_TAGNAME for some reason. Yuri
That's irrelevant to USE_GITHUB: you can use releases with this option as well, as there were certain problems in the past with loading of raw tarballs from github. From my point of view it is better to leave that for USE_GITHUB which should be able to use the best available method to get those tarballs.
(In reply to Vsevolod Stakhov from comment #5) But does it really do that? USE_GITHUB just downloads by the tagname, I think.
(In reply to Yuri Victorovich from comment #6) For example, recently portmgr@ demanded that MASTER_SITES is kept in google-perftools instead if USE_GITHUB. https://reviews.freebsd.org/D13750
(In reply to Yuri Victorovich from comment #7) portmgr@: Why did you not use the released tarball and switched to using a git archive? Unless there is a bug in the released tarball, it goes against our policy to always try and use the tarballs that project release.
(In reply to Yuri Victorovich from comment #8) Sourceforge seems broken. A lot of this: => Attempting to fetch http://superb-dca2.dl.sourceforge.net/project/potassco/clasp/3.3.3/clasp-3.3.3-source.tar.gz fetch: http://superb-dca2.dl.sourceforge.net/project/potassco/clasp/3.3.3/clasp-3.3.3-source.tar.gz: Not Found => Attempting to fetch http://superb-sea2.dl.sourceforge.net/project/potassco/clasp/3.3.3/clasp-3.3.3-source.tar.gz fetch: http://superb-sea2.dl.sourceforge.net/project/potassco/clasp/3.3.3/clasp-3.3.3-source.tar.gz: Not Found Same for many other projects. I will update using USE_GITHUB.
Upstream is now at 3.3.5 since 23 Aug 2019: https://github.com/potassco/clasp/releases Is there anything blocking this upgrade?
A commit references this bug: Author: vsevolod Date: Fri Jun 19 14:02:11 UTC 2020 New revision: 539611 URL: https://svnweb.freebsd.org/changeset/ports/539611 Log: - Update to 3.3.5 - Convert to USE_GITHUB - Add libpotassco submodule - Add license PR: 225130 Reported by: yuri Changes: head/math/clasp/Makefile head/math/clasp/distinfo
I have reworked this port to use github. Libpotassco is still not installed as I'm not sure if it is used by anything else.