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)
Wed, Sep 25, 12:49 PM
Unknown Object (File)
Tue, Sep 24, 11:11 PM
Unknown Object (File)
Tue, Sep 24, 4:09 PM
Unknown Object (File)
Tue, Sep 17, 6:42 PM
Unknown Object (File)
Tue, Sep 17, 5:04 AM
Unknown Object (File)
Mon, Sep 16, 12:38 PM
Unknown Object (File)
Sun, Sep 15, 6:38 PM
Unknown Object (File)
Mon, Sep 9, 4:27 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