math/rapid: Fix build on FreeBSD 12, clean up license info, remove dead mirror
Approved by jrm (mentor) or wen (mentor)
Differential to be added to commit message
Author had previously given the OK to mirror distfiles, so the old license
warning was incorrect.
Details
portlint -AC: looks fine
Passed poudriere on {10.4,11.1}-{amd64,i386}
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 16667 Build 16572: arc lint + arc unit
Event Timeline
I have this sentence in my notes, "If the license text of a port implies that the software isn't universally usable, than a package is not acceptable and RESTRICTED= should be set." I am ignorant when it comes to license issues, so let me get some advice and get back to you.
The author told me personally many years ago that it was OK to reditribute, at least in source form. I sent a message to the mailto link on their site asking for clarification. The software hasn't been touched since I ported it maybe 14 years ago. The author finished his PhD and moved on...
I'm going to wait for a response from UNC just to be safe. If I don't hear back from them, I'll restore the RESTRICTED entry.
Kinda doubt I'm going to hear from them given how long the project has been
idle. Also silenced a compiler warning I got tired of looking at.
math/rapid/Makefile | ||
---|---|---|
18 | Remove RESTRICTED, it is redundant with no-dist-sell and no-pkg-sell. (Make sure you do not also need no-dist-mirror and no-pkg-mirror.) |
Thanks, Mat. There doesn't seem to be much info in the handbook about RESTRICTED. Maybe this should be enhanced.
The developer told me personally it was OK to mirror the dist file many years ago. I'm unclear about mirroring the package, so I'll play it safe.
Well, all the variables like RESTRICTED are the "old" way of doing things, the license framework usually covers all the possible cases.
From https://www.freebsd.org/doc/en/books/porters-handbook/licenses.html:
no-dist-mirror
Redistribution of the distribution files is prohibited. This is equivalent to setting RESTRICTED. The distribution files will not be added to the FreeBSD MASTER_SITE_BACKUP CDN.
I agree that this this could be worded better.
I think the license perms section is clear enough. Maybe we should add notes where RESTRICTED, NO_CDROM, etc. are introduced stating that they've been superseded, with a link to the license section.