Page MenuHomeFreeBSD

Polishing sysutils/istatd
ClosedPublic

Authored by farrokhi on Aug 28 2015, 9:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 1:03 AM
Unknown Object (File)
Mar 28 2024, 11:58 PM
Unknown Object (File)
Mar 28 2024, 9:28 PM
Unknown Object (File)
Dec 29 2023, 4:10 PM
Unknown Object (File)
Dec 23 2023, 5:09 AM
Unknown Object (File)
Dec 22 2023, 9:46 PM
Unknown Object (File)
Nov 21 2023, 12:41 PM
Unknown Object (File)
Nov 6 2023, 3:34 PM
Subscribers
None

Details

Summary

Update sysutils/istatd to make portlint happy

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

farrokhi retitled this revision from to Polishing sysutils/istatd.
farrokhi updated this object.
farrokhi edited the test plan for this revision. (Show Details)
farrokhi added reviewers: philip, bapt, mat.
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?

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.

btw, you renamed the patch file, did you use svn move to do it ?

Also, was the patch file modified ?
If the patch file is not modified, there is no need to rename it.

farrokhi edited edge metadata.
  • cleanup SUB_FILES variable

portlint was complaining the patch was not made using "make makepatch". Yet, the patch content is still the same.

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.
  • revert patch. it was only a trivial file rename to make protlint happy.
mat edited edge metadata.
This revision is now accepted and ready to land.Aug 28 2015, 10:39 AM
This revision was automatically updated to reflect the committed changes.
farrokhi marked an inline comment as done.