Page MenuHomeFreeBSD

pkgbase: fix caroot packaging and add post-install script
ClosedPublic

Authored by kevans on Jan 24 2020, 7:27 PM.
Tags
None
Referenced Files
F175377335: D23352.id67468.diff
Sat, Oct 10, 10:03 AM
F175374080: D23352.id67257.diff
Sat, Oct 10, 9:29 AM
F175339043: D23352.diff
Sat, Oct 10, 2:53 AM
Unknown Object (File)
Fri, Oct 9, 5:14 AM
Unknown Object (File)
Tue, Oct 6, 11:53 PM
Unknown Object (File)
Tue, Oct 6, 9:50 PM
Unknown Object (File)
Tue, Oct 6, 6:10 AM
Unknown Object (File)
Thu, Sep 24, 5:32 PM
Subscribers

Details

Summary

The original intention for caroot was to be packaged separately, perhaps so that users can have a more/less conservative upgrade policy for this separated from the rest of base.

secure/caroot/Makefile doesn't have anything interesting to package, but its subdirectories might. Move the PACKAGE= to Makefile.inc so both blacklisted and trusted get packaged consistently into the correct one rather than the default -utilities. Also tag the directories for package=caroot, as they could also be empty; blacklisted is empty by default, but trusted is not.

Add a post-install script to do certctl rehash, along with a note should we eventually come up with a way to detect that files have been added or removed that requires a rehash.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable