Page MenuHomeFreeBSD

Framework: Allow setting the 'vital' flag from a port
ClosedPublic

Authored by arrowd on Jan 27 2025, 11:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 12, 4:00 AM
Unknown Object (File)
Feb 6 2025, 12:42 AM
Unknown Object (File)
Feb 5 2025, 12:32 AM
Unknown Object (File)
Feb 2 2025, 5:44 PM
Unknown Object (File)
Feb 1 2025, 2:12 AM
Unknown Object (File)
Jan 30 2025, 5:14 AM
Unknown Object (File)
Jan 28 2025, 4:13 PM
Subscribers
None

Details

Summary

Rationale for this change is following.

In our project we have a large meta-port that represents all the 3rd-party
software that makes up our distribution. This is sort of pkgbase, but at the
higher level.

We want to make sure this metapackage and all its dependents are never removed,
hence need to set the vital flag from the port.

This feature is not intended to be used in the main branch, but may be useful
for enterprise consumers of the Ports tree. Maybe the knob should be even named
_VITAL, bikeshedding is welcome.

Test Plan

make create-manifest contains vital : true for a port containing VITAL=yes

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arrowd created this revision.

We should probably also add a comment in bsd.port.mk which clearly state this should not be used directly in the ports tree, but that is another story

This revision is now accepted and ready to land.Jan 27 2025, 12:50 PM