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
F163342819: D28767.diff
Wed, Jul 22, 7:55 AM
F163338535: D28767.id93336.diff
Wed, Jul 22, 6:42 AM
Unknown Object (File)
Mon, Jul 20, 5:52 AM
Unknown Object (File)
Thu, Jul 16, 12:45 PM
Unknown Object (File)
Sat, Jun 27, 6:58 AM
Unknown Object (File)
Jun 18 2026, 9:26 AM
Unknown Object (File)
May 20 2026, 9:56 AM
Unknown Object (File)
May 16 2026, 5:18 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37150
Build 34039: arc lint + arc unit