Page MenuHomeFreeBSD

Give a DEV_ERROR for options with invalid characters.
ClosedPublic

Authored by mat on Oct 27 2017, 2:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 9, 8:48 PM
Unknown Object (File)
Sun, Jan 4, 1:25 PM
Unknown Object (File)
Thu, Jan 1, 9:21 AM
Unknown Object (File)
Sun, Dec 28, 7:29 AM
Unknown Object (File)
Dec 11 2025, 11:37 PM
Unknown Object (File)
Dec 1 2025, 2:55 AM
Unknown Object (File)
Nov 30 2025, 1:32 PM
Unknown Object (File)
Nov 27 2025, 11:02 PM
Subscribers

Details

Reviewers
bapt
Group Reviewers
portmgr
Commits
rP453347: Add a check for options names.
Test Plan

Wonder if an exp-run is needed or if I can do it myself as nothing needs to be
built here.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12267
Build 12558: arc lint + arc unit

Event Timeline

  • Try this with a port that does not have options.
  • Move to a DEV_WARNING.

There are 19 ports that report this.

If I add - it goes down to 15.

Mk/bsd.port.mk
4668

So, this also only works on 11.0+, and not on 10.3.

  • Globs don't work on 10, do it some other way.
bapt added a subscriber: bapt.

LGTM

This revision is now accepted and ready to land.Nov 2 2017, 3:09 PM
This revision was automatically updated to reflect the committed changes.