Page MenuHomeFreeBSD

pkg: use specific CONFSNAME_${file} for FreeBSD.conf
ClosedPublic

Authored by kevans on Feb 18 2021, 4:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 2:19 PM
Unknown Object (File)
Thu, Apr 11, 2:10 PM
Unknown Object (File)
Sun, Mar 31, 7:01 AM
Unknown Object (File)
Mar 13 2024, 12:45 AM
Unknown Object (File)
Mar 5 2024, 7:39 AM
Unknown Object (File)
Feb 11 2024, 5:59 AM
Unknown Object (File)
Jan 26 2024, 10:45 PM
Unknown Object (File)
Dec 21 2023, 6:12 PM
Subscribers

Details

Summary

Setting CONFSNAME directly is a little more complicated for downstream
consumers, as any additional CONFS that are added here will inherit the
group name by default. This is perhaps arguably a design flaw in CONFS
because inheriting NAME will never give a good result when additional
files are added, but this is a low-effort change.

While we're here, pull FreeBSD.conf.${branch} out into a PKGCONF
variable so one can just drop a new repo config in entirely with a new
naming scheme. CONFSNAME gets set based on chopping anything off after
".conf", so that, e.g.:

  • FooBSD.conf => FooBSD.conf
  • FooBSD.conf.internal => FooBSD.conf

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable