Page MenuHomeFreeBSD

Polishing sysutils/istatd
ClosedPublic

Authored by farrokhi on Aug 28 2015, 9:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 10:09 PM
Unknown Object (File)
Sat, Nov 16, 11:48 PM
Unknown Object (File)
Sat, Nov 16, 8:55 AM
Unknown Object (File)
Fri, Nov 15, 5:52 PM
Unknown Object (File)
Fri, Nov 15, 3:36 PM
Unknown Object (File)
Mon, Nov 11, 11:08 AM
Unknown Object (File)
Thu, Oct 31, 6:30 PM
Unknown Object (File)
Tue, Oct 29, 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.