Page MenuHomeFreeBSD

check-stagedir.sh improvement
ClosedPublic

Authored by antoine on Nov 3 2014, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 16, 12:07 PM
Unknown Object (File)
Sun, Feb 15, 1:22 PM
Unknown Object (File)
Sat, Feb 14, 5:58 PM
Unknown Object (File)
Thu, Jan 29, 12:37 PM
Unknown Object (File)
Jan 16 2026, 9:06 PM
Unknown Object (File)
Jan 16 2026, 8:57 AM
Unknown Object (File)
Jan 16 2026, 1:13 AM
Unknown Object (File)
Jan 8 2026, 12:09 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).