Page MenuHomeFreeBSD

check-stagedir.sh improvement
ClosedPublic

Authored by antoine on Nov 3 2014, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 7:39 AM
Unknown Object (File)
Mon, Dec 1, 7:15 PM
Unknown Object (File)
Sun, Nov 30, 11:24 AM
Unknown Object (File)
Fri, Nov 28, 2:35 PM
Unknown Object (File)
Thu, Nov 27, 7:38 AM
Unknown Object (File)
Nov 25 2025, 9:54 PM
Unknown Object (File)
Nov 22 2025, 8:59 PM
Unknown Object (File)
Nov 19 2025, 12:31 PM
Subscribers

Details

Summary
  • emit only empty directories in prefix and directories outside prefix during make-plist
  • whitelisting directories not starting with / is no longer needed during check-orphans after this (it was bogus anyway as %%DIRECTORYINROOT%% was not starting with /)
  • adjust missing dirs check to use a list of all directories instead of the dirs from make-plist

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

antoine retitled this revision from to check-stagedir.sh improvement.
antoine updated this object.
antoine edited the test plan for this revision. (Show Details)
antoine added a reviewer: marino.

Thanks for putting this together antoine!

there is an orphan false positive for meta-ports, need to fix

> Checking for items in STAGEDIR missing from pkg-plist

Error: Orphaned: @dir /usr/local

antoine edited edge metadata.

Fix false positive orphans for meta ports

bapt added a reviewer: bapt.
bapt added a subscriber: bapt.

LGTM

This revision is now accepted and ready to land.Nov 4 2014, 11:29 PM
antoine updated this revision to Diff 2278.

Closed by commit rP372177 (authored by @antoine).