sysutils/filevercmp: Compare version strings as in sort --version-sort
ClosedPublic

Authored by jwb on Mon, Apr 16, 2:59 PM.

Details

Summary

sysutils/filevercmp: Compare version strings as in sort --version-sort
Approved by jrm (mentor) or wen (mentor)
Differential to be added to commit message

Test Plan

portlint -AC: looks fine
Passed poudriere on {10.3,11.1}-{amd64,i386}
Tested in production

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jwb created this revision.Mon, Apr 16, 2:59 PM
jrm added a comment.Mon, Apr 16, 3:40 PM

Does this provide something that pkg version -t (described in Example 5.1. Using pkg-version(8) to Compare Versions in the PH) does not?

jwb added a comment.Mon, Apr 16, 3:51 PM

I'm not sure, actually. It's a dependency for vcflib and possibly other github/ekg tools. I'd rather not try to hack dependent ports to use a pkg command as I'd have to verify that it behaves exactly the same as this tool every time either one is updated.

jrm accepted this revision.Mon, Apr 16, 3:53 PM

Ah, ok. Lgtm.

This revision is now accepted and ready to land.Mon, Apr 16, 3:53 PM
This revision was automatically updated to reflect the committed changes.