Page MenuHomeFreeBSD

portlint: handle https: urls in pkg-descr properly
ClosedPublic

Authored by AMDmi3 on Nov 7 2016, 12:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 27 2024, 5:05 PM
Unknown Object (File)
Feb 16 2024, 6:14 PM
Unknown Object (File)
Dec 21 2023, 3:25 PM
Unknown Object (File)
Dec 20 2023, 7:47 AM
Unknown Object (File)
Sep 11 2023, 1:30 PM
Unknown Object (File)
Sep 4 2023, 9:19 AM
Unknown Object (File)
Aug 20 2023, 9:37 AM
Unknown Object (File)
Aug 18 2023, 4:54 PM
Subscribers

Details

Reviewers
marcus
Summary

Under certain conditions (pkg-descr has both "http://" and "WWW: https://" substrings) portlint emits a false positive warnings. For example, security/sks:

% tail -1 pkg-descr 
WWW: https://bitbucket.org/skskeyserver/sks-keyserver/

% portlint
FATAL: /usr/ports/security/sks/pkg-descr: contains a URL but no "WWW:"

Fix this by handling https:// urls as well as http://

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 5871
Build 6158: arc lint + arc unit

Event Timeline

AMDmi3 retitled this revision from to portlint: handle https: urls in pkg-descr properly.
AMDmi3 updated this object.
AMDmi3 edited the test plan for this revision. (Show Details)
marcus edited edge metadata.

Accepted and committed to 2.17.5

This revision is now accepted and ready to land.Nov 9 2016, 12:44 AM

Close, since it was committed.