Update sysutils/istatd to make portlint happy
Details
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sysutils/istatd/Makefile | ||
---|---|---|
13 ↗ | (On Diff #8280) | You also need to add LICENSE_FILE, if present in the source. (I know, it's not documented in the porter's handbook, the license section has been something I have to write, but...) |
26 ↗ | (On Diff #8280) | You don't need the += here, = will do, there's no previous value for it. |
Hi,
There is actually no separate license file. I figured it out by looking
at comments of top of source files (e.g. main.cpp). Then, should I
remove the LICENSE line altogether?
No, adding LICENSE is great. Like I said, if there is a file containing the license in the source, you also need to add LICENSE_FILE. In your case, the license is only present in the source file, so just add the LICENSE line.
Also, was the patch file modified ?
If the patch file is not modified, there is no need to rename it.
portlint was complaining the patch was not made using "make makepatch". Yet, the patch content is still the same.
Yes, I know, portlint stupidly complains about that without explaining enough. The rule is:
- if the patch is changed, then yes, use make makepatch to regenerate it, and if the file name change, use svn move to keep track of the change.
- if the patch is not changed, then do not rename it.