• RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports"

    From Colin Percival@cperciva@freebsd.org to muc.lists.freebsd.ports on Tue Aug 19 15:49:23 2025
    From Newsgroup: muc.lists.freebsd.ports

    Hi everyone,

    With pkgbase being the intended way for users to manage 15.0 systems,
    the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
    defines a "FreeBSD" pkg repository which is in fact specifically bits maintained *outside* of FreeBSD (and packaged via the ports tree).

    To reduce long-term confusion, I'm intending to rename the "FreeBSD"
    repository to "FreeBSD-ports", and similarly rename "FreeBSD-kmods" to "FreeBSD-ports-kmods". The repositories will still work, and will still
    access the same URLs, but the change will be visible; probably the most
    common scenario where this would cause problems for users is if they have "FreeBSD: {enabled: no }" in /usr/local/etc/pkg/repos/FreeBSD.conf, since
    that would need to be adjusted to chase this change.

    For obvious reasons, this change would not be MFCed.

    You've got a week to convince me that this is a bad idea, otherwise I'll
    make the change on the 27th; I want to get this out of the way before we
    get too close to branching stable/15.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From George Mitchell@george+freebsd@m5p.com to muc.lists.freebsd.ports on Tue Aug 19 18:52:49 2025
    From Newsgroup: muc.lists.freebsd.ports

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------jqiuvMIKIoqD1ycnCMe2vzGY
    Content-Type: multipart/mixed; boundary="------------jPXEAZSws1XEnR5zt3Ge8F06";
    protected-headers="v1"
    From: George Mitchell <george+freebsd@m5p.com>
    To: Colin Percival <cperciva@freebsd.org>,
    "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>,
    "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
    Cc: FreeBSD Release Engineering Team <re@FreeBSD.org>
    Message-ID: <9a52f32e-d192-4c1d-8f2d-54b6a8322d80@m5p.com>
    Subject: Re: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to
    "FreeBSD-ports"
    References: <5d2daa68-cd27-4a56-9d69-5453b588a086@freebsd.org>
    In-Reply-To: <5d2daa68-cd27-4a56-9d69-5453b588a086@freebsd.org>

    --------------jPXEAZSws1XEnR5zt3Ge8F06
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC8xOS8yNSAxODo0OSwgQ29saW4gUGVyY2l2YWwgd3JvdGU6DQo+IFsuLi5dDQo+IFlv dSd2ZSBnb3QgYSB3ZWVrIHRvIGNvbnZpbmNlIG1lIHRoYXQgdGhpcyBpcyBhIGJhZCBpZGVh IFsuLi5dDQpIb3cgbG9uZyBkbyB3ZSBoYXZlIHRvIGNvbnZpbmNlIHlvdSBpdCdzIGEgcGVy ZmVjdGx5IGZpbmUgaWRlYT8NCi0tIEdlb3JnZQ0K

    --------------jPXEAZSws1XEnR5zt3Ge8F06--

    --------------jqiuvMIKIoqD1ycnCMe2vzGY
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQQ6b7/Z+PlMzCwCfBGaHA937rZnfQUCaKUARgUDAAAAAAAKCRCaHA937rZnfa73 AP9kyuvBcWbERj9kj4WJcBywWSbF/nQsKpr3hTLDmELXYQEApFIDspWkVnGxWci9ppCCAEytTFk4 ggKZrPxbseXHBAo=
    =T+43
    -----END PGP SIGNATURE-----

    --------------jqiuvMIKIoqD1ycnCMe2vzGY--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@freebsd.org to muc.lists.freebsd.ports on Tue Aug 19 17:25:34 2025
    From Newsgroup: muc.lists.freebsd.ports

    On 8/19/25 17:17, Mark Millard wrote:
    Colin Percival <cperciva_at_freebsd.org> wrote:
    With pkgbase being the intended way for users to manage 15.0 systems,
    the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
    defines a "FreeBSD" pkg repository which is in fact specifically bits
    maintained *outside* of FreeBSD (and packaged via the ports tree).

    Not that I consider an appropriate answer obvious, but
    the file names as well as the content in the file? :

    /etc/pkg/FreeBSD-ports.conf ?

    I wasn't planning on changing the file name, no.

    The adjusted file naming would tend to suggest a separate file
    for pkgbase content.

    Naming left as it is might suggest all in one file, pkgbase
    included.

    Right, I don't see any reason for having separate files. If I thought people might want to delete one of them (e.g. rm /etc/pkg/FreeBSD-base.conf in order to disable pkgbase) then I would separate them; but the recommended way to disable a repository is with an {enabled: no} in /usr/local/etc/pkg/ so I
    don't see any need to separate these.

    (But it's not a silly question -- there was some discussion in phabricator
    just recently about how we should distribute the base system pkg.conf file. That's next on my list after the FreeBSD -> FreeBSD-ports renaming...)
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Tue Aug 19 17:44:36 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Aug 19, 2025, at 17:25, Colin Percival <cperciva@freebsd.org> wrote:
    On 8/19/25 17:17, Mark Millard wrote:
    Colin Percival <cperciva_at_freebsd.org> wrote:
    With pkgbase being the intended way for users to manage 15.0 systems,
    the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
    defines a "FreeBSD" pkg repository which is in fact specifically bits
    maintained *outside* of FreeBSD (and packaged via the ports tree).
    Not that I consider an appropriate answer obvious, but
    the file names as well as the content in the file? :
    /etc/pkg/FreeBSD-ports.conf ?

    I wasn't planning on changing the file name, no.

    The adjusted file naming would tend to suggest a separate file
    for pkgbase content.
    Naming left as it is might suggest all in one file, pkgbase
    included.

    Right, I don't see any reason for having separate files. If I thought people might want to delete one of them (e.g. rm /etc/pkg/FreeBSD-base.conf in order to disable pkgbase) then I would separate them; but the recommended way to disable a repository is with an {enabled: no} in /usr/local/etc/pkg/ so I don't see any need to separate these.
    Will a pkgbase repo be present and enabled by default?
    present but disabled? Not present at all in
    /etc/pkg/FreeBSD.conf ?
    (I'm not trying to specify spelling for such here. But your
    note might be better with this intended spelling also
    being explicit so how it all fits together is more
    clear.)
    If /etc/pkg/FreeBSD.conf is intended not to be edited at all
    by default, that might have implications for some default
    content there or inside /usr/local/etc/pkg/repos/ someplace
    if pkgbase is not enabled by default.
    (My understanding is that pkgbase is off by default.)
    (But it's not a silly question -- there was some discussion in phabricator just recently about how we should distribute the base system pkg.conf file. That's next on my list after the FreeBSD -> FreeBSD-ports renaming...)
    Overall I end up more with questions than anything.
    ===
    Mark Millard
    marklmi at yahoo.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@freebsd.org to muc.lists.freebsd.ports on Tue Aug 19 17:51:22 2025
    From Newsgroup: muc.lists.freebsd.ports

    On 8/19/25 17:44, Mark Millard wrote:
    On Aug 19, 2025, at 17:25, Colin Percival <cperciva@freebsd.org> wrote:
    Right, I don't see any reason for having separate files. If I thought people
    might want to delete one of them (e.g. rm /etc/pkg/FreeBSD-base.conf in order
    to disable pkgbase) then I would separate them; but the recommended way to >> disable a repository is with an {enabled: no} in /usr/local/etc/pkg/ so I
    don't see any need to separate these.

    Will a pkgbase repo be present and enabled by default?
    present but disabled? Not present at all in
    /etc/pkg/FreeBSD.conf ?

    (I'm not trying to specify spelling for such here. But your
    note might be better with this intended spelling also
    being explicit so how it all fits together is more
    clear.)

    If /etc/pkg/FreeBSD.conf is intended not to be edited at all
    by default, that might have implications for some default
    content there or inside /usr/local/etc/pkg/repos/ someplace
    if pkgbase is not enabled by default.

    (My understanding is that pkgbase is off by default.)

    pkgbase is off by default in 14 but will be on by default in 15. People will need it to update their systems for security updates, for example, since freebsd-update is going away (at least in its present form -- it might turn into a wrapper around pkg).

    Users who want to update the base system from another source (no pun intended) will need to configure their systems appropriately.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Matteo Riondato@matteo@FreeBSD.org to muc.lists.freebsd.ports on Tue Aug 19 20:58:23 2025
    From Newsgroup: muc.lists.freebsd.ports


    On Aug 19, 2025, at 8:25 PM, Colin Percival <cperciva@freebsd.org> wrote:

    On 8/19/25 17:17, Mark Millard wrote:
    Colin Percival <cperciva_at_freebsd.org> wrote:
    With pkgbase being the intended way for users to manage 15.0 systems,
    the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
    defines a "FreeBSD" pkg repository which is in fact specifically bits
    maintained *outside* of FreeBSD (and packaged via the ports tree).
    Not that I consider an appropriate answer obvious, but
    the file names as well as the content in the file? :
    /etc/pkg/FreeBSD-ports.conf ?

    I wasn't planning on changing the file name, no.
    Why is then this file named rCLFreeBSD.confrCY ?
    It is unclear to me what the rCLFreeBSDrCY part of the filename is supposed to reflect, if this is just a file for configuring pkg.
    Perhaps this issue will be cleared after the FreeBSD -> FreeBSD-ports renaming. Thanks,
    Matteo
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Gleb Popov@arrowd@freebsd.org to muc.lists.freebsd.ports on Wed Aug 20 08:54:30 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Wed, Aug 20, 2025 at 1:49rC>AM Colin Percival <cperciva@freebsd.org> wrote:

    To reduce long-term confusion, I'm intending to rename the "FreeBSD" repository to "FreeBSD-ports", and similarly rename "FreeBSD-kmods" to "FreeBSD-ports-kmods".
    Having "ports" in the repository name does not make sense to me at
    all. Ports are recipes to produce packages, but there are more ways (I
    know at least one) to create a pkg package.
    It defines a "FreeBSD" pkg repository which is in fact specifically bits maintained *outside* of FreeBSD (and packaged via the ports tree).
    Can't agree with this either. FreeBSD Ports are maintained *inside*
    the project as well as package building and hosting infrastructure. It
    feels perfectly fine to have a single configuration file named after
    the *vendor*, which provides multiple repos maintained by that vendor.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Tomoaki AOKI@junchoon@dec.sakura.ne.jp to muc.lists.freebsd.ports on Wed Aug 20 18:31:39 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Tue, 19 Aug 2025 17:51:22 -0700
    Colin Percival <cperciva@freebsd.org> wrote:

    On 8/19/25 17:44, Mark Millard wrote:
    On Aug 19, 2025, at 17:25, Colin Percival <cperciva@freebsd.org> wrote:
    Right, I don't see any reason for having separate files. If I thought people
    might want to delete one of them (e.g. rm /etc/pkg/FreeBSD-base.conf in order
    to disable pkgbase) then I would separate them; but the recommended way to >> disable a repository is with an {enabled: no} in /usr/local/etc/pkg/ so I >> don't see any need to separate these.

    Will a pkgbase repo be present and enabled by default?
    present but disabled? Not present at all in
    /etc/pkg/FreeBSD.conf ?

    (I'm not trying to specify spelling for such here. But your
    note might be better with this intended spelling also
    being explicit so how it all fits together is more
    clear.)

    If /etc/pkg/FreeBSD.conf is intended not to be edited at all
    by default, that might have implications for some default
    content there or inside /usr/local/etc/pkg/repos/ someplace
    if pkgbase is not enabled by default.

    (My understanding is that pkgbase is off by default.)

    pkgbase is off by default in 14 but will be on by default in 15. People will need it to update their systems for security updates, for example, since freebsd-update is going away (at least in its present form -- it might turn into a wrapper around pkg).

    +1 for keeping freebsd-update as a wrapper both for legacy and pkgbase.
    It would help users still need legacy (pre-pkgbase) version inside jail
    and/or bhyve that are installed from outside of jail / bhyve.
    Also, upgrading legacy version to pkgbase'ified version would be in consideration.

    Considering the use-cases with existing scripts in the wild, legacy
    options would be better kept as-is and introducing new option to use
    pkgbase. So would be bsdinstall. But once all non-pkgbase versions
    become EoL, the considerations would no longer mandatory.


    Users who want to update the base system from another source (no pun intended)
    will need to configure their systems appropriately.

    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
    --
    Tomoaki AOKI <junchoon@dec.sakura.ne.jp>


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Gleb Popov@arrowd@freebsd.org to muc.lists.freebsd.ports on Wed Aug 20 13:15:55 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Wed, Aug 20, 2025 at 12:48rC>PM Matteo Riondato <matteo@freebsd.org> wrote:

    ItrCOs unclear (to me) whether thatrCOs the *correct* way, or the *recommended* way (pkg(8) calls it rCLa common idiomrCY), and in either case *why* is that the recommended/correct way: what breaks if one modifies /etc/FreeBSD.conf ? Why does it break?
    The /etc/pkg/FreeBSD.conf file comes from base (some pkgbase package
    or as a result of make installworld or something like that). This
    means that system upgrades must handle edits to this file somehow -
    either by overwriting your changes with vanilla version or by merging
    them, which can't be done 100% automatically.
    So encouraging users to not touch system configs but rather write
    add-ons to these configs make upgrades less painful.
    Also, it seems that whether having rCLrepository-name: { enabled: false}rCY would actually disable respository-name would depend on the order of directories in the configuration variable REPOS_DIR. This feels quite brittle.
    This is also a very common problem which has an established solution
    by prefixing config files with numbers, like
    10-disable-freebsd-repos.conf
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Matteo Riondato@matteo@FreeBSD.org to muc.lists.freebsd.ports on Wed Aug 20 06:19:48 2025
    From Newsgroup: muc.lists.freebsd.ports


    On Aug 20, 2025, at 6:15 AM, Gleb Popov <arrowd@freebsd.org> wrote:

    On Wed, Aug 20, 2025 at 12:48rC>PM Matteo Riondato <matteo@freebsd.org> wrote:

    ItrCOs unclear (to me) whether thatrCOs the *correct* way, or the *recommended* way (pkg(8) calls it rCLa common idiomrCY), and in either case *why* is that the recommended/correct way: what breaks if one modifies /etc/FreeBSD.conf ? Why does it break?

    The /etc/pkg/FreeBSD.conf file comes from base (some pkgbase package
    or as a result of make installworld or something like that). This
    means that system upgrades must handle edits to this file somehow -
    either by overwriting your changes with vanilla version or by merging
    them, which can't be done 100% automatically.
    This is true for so many files under /etc, and we have a solution with etcupdate (indeed, not 100% automatically, but widely accepted).
    So encouraging users to not touch system configs but rather write
    add-ons to these configs make upgrades less painful.
    It seems to me that we donrCOt have this encouragement with any other files in /etc.
    Why canrCOt etcupdate handle the changes/updates to FreeBSD.conf? >> Also, it seems that whether having rCLrepository-name: { enabled: false}rCY would actually disable respository-name would depend on the order of directories in the configuration variable REPOS_DIR. This feels quite brittle.

    This is also a very common problem which has an established solution
    by prefixing config files with numbers, like
    10-disable-freebsd-repos.conf
    No, REPOS_DIR is about _directories_, not files.
    Thanks,
    Matteo
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Eric Hans@erichansepe@gmail.com to muc.lists.freebsd.ports on Wed Aug 20 16:31:52 2025
    From Newsgroup: muc.lists.freebsd.ports

    From: "Colin Percival" <cperciva@freebsd.org>
    To: freebsd-current@freebsd.org, "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
    Cc: "FreeBSD Release Engineering Team" <re@FreeBSD.org>
    Sent: Wednesday, 20 August, 2025 00:49:23
    Subject: RFC: Renaming "FreeBSD" repo in /etc/pkg/FreeBSD.conf to "FreeBSD-ports"

    Hi everyone,

    With pkgbase being the intended way for users to manage 15.0 systems,
    the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
    defines a "FreeBSD" pkg repository which is in fact specifically bits maintained *outside* of FreeBSD (and packaged via the ports tree).

    To reduce long-term confusion, I'm intending to rename the "FreeBSD" repository to "FreeBSD-ports", and similarly rename "FreeBSD-kmods" to "FreeBSD-ports-kmods". The repositories will still work, and will still access the same URLs, but the change will be visible; probably the most common scenario where this would cause problems for users is if they have "FreeBSD: {enabled: no }" in /usr/local/etc/pkg/repos/FreeBSD.conf, since that would need to be adjusted to chase this change.

    For obvious reasons, this change would not be MFCed.
    ++
    You've got a week to convince me that this is a bad idea, otherwise I'll
    make the change on the 27th; I want to get this out of the way before we
    get too close to branching stable/15.

    I don't prefer:
    "FreeBSD" -> "FreeBSD-ports"
    "FreeBSD-kmods" -> "FreeBSD-ports-kmods"

    A long time ago in FreeBSD, in many versions there
    was only source. With a ports tree (source),
    remote derived package repositories (binaries) have been
    supplied in two main varieties: 'latest' and 'quarterly'.
    However, out of necessity and in order to being able to
    supply the newest driver developments to users, the number

    of remote repositories has been extended. FreeBSD-kmods
    has been added with separate instances for supported
    stable and release versions, and also for main/head.

    Package repositories are accessed and set
    up differently compared to the ports tree structure;
    they form a separate collection from which _packages_
    can be selected. Ports can be viewed as agnostic where
    it concerns
    - CPU architecture
    - source branch: releng vs stable vs main/current
    - a specific supported FreeBSD version, e.g. 14.{2,3}-RELEASE

    Only when building them resulting binaries will have
    these specific properties.

    Packages are derived from ports, but I think by
    many users they are foremost perceived as a separate
    collection and mechanism to get to a desired installed
    FreeBSD OS beyond a base install. Current trends,
    such as (in slogan format):

    - prefer packages over ports
    - warning: do not mix ports and packages
    - IIRC, portmaster in its original role is no longer supported
    and has been moved out of base
    - poudriere: not intended for the average FreeBSD user

    only seem to emphasize this evolutionary path.

    Attempts to increase its user base would likely
    be hindered if ports were declared as preferred.


    If a name change is what is needed, I'd prefer:
    "FreeBSD" -> "FreeBSD-pkgs"
    "FreeBSD-kmods" -> "FreeBSD-pkgs-kmods"

    Kind regards,
    Eric


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Wed Aug 20 09:01:11 2025
    From Newsgroup: muc.lists.freebsd.ports

    [I was not thinking so well whenI asked some of the questions.
    Sleep helped.]
    On Aug 19, 2025, at 18:34, Mark Millard <marklmi@yahoo.com> wrote:
    On Aug 19, 2025, at 17:51, Colin Percival <cperciva@freebsd.org> wrote:

    On 8/19/25 17:44, Mark Millard wrote:
    On Aug 19, 2025, at 17:25, Colin Percival <cperciva@freebsd.org> wrote: >>>> Right, I don't see any reason for having separate files. If I thought people
    might want to delete one of them (e.g. rm /etc/pkg/FreeBSD-base.conf in order
    to disable pkgbase) then I would separate them; but the recommended way to >>>> disable a repository is with an {enabled: no} in /usr/local/etc/pkg/ so I >>>> don't see any need to separate these.
    Will a pkgbase repo be present and enabled by default?
    present but disabled? Not present at all in
    /etc/pkg/FreeBSD.conf ?
    (I'm not trying to specify spelling for such here. But your
    note might be better with this intended spelling also
    being explicit so how it all fits together is more
    clear.)
    If /etc/pkg/FreeBSD.conf is intended not to be edited at all
    by default, that might have implications for some default
    content there or inside /usr/local/etc/pkg/repos/ someplace
    if pkgbase is not enabled by default.
    (My understanding is that pkgbase is off by default.)

    pkgbase is off by default in 14 but will be on by default in 15.

    With 15 or main [then: 16] as the context . . .

    Will buildworld buildkernel installkernel installworld (not
    referencing various steps) for folks using source code based
    updates need to undo an addition of pkgbase from the
    installworld activity? Never? Just once? Each time?

    Or is "on by default" more selective somehow for such
    contexts?
    /usr/local/etc/pkg/repos/*.conf override /etc/pkg/FreeBSD.conf
    and the /usr/local/etc/pkg/repos/*.conf are not modified by
    installworld . This is nothing new.
    Sorry for the noise.
    A similar point goes for file naming and content partitining: /usr/local/etc/pkg/repos/*.conf
    need not match the naming or content partitioning used in
    /etc/pkg/ . /etc/pkg/ can be left as FreeBSD would initialize
    it.
    Note: In my context I'll have pkgbase in use for the
    booted world and available for use as the booted kernel,
    although I'll have personal-build alternate kernels too.
    My from-source installed world will be in, for example, a
    chroot directory tree(s) and in a poudriere jail world(s).

    I keep /usr/src/ for pkgbase to manage for itself and have
    a separate /usr/main-src/ (as an example).

    So I'll be dealing with both types of contexts no matter
    what.

    People will
    need it to update their systems for security updates, for example, since
    freebsd-update is going away (at least in its present form -- it might turn >> into a wrapper around pkg).

    Users who want to update the base system from another source (no pun intended)
    will need to configure their systems appropriately.

    ===
    Mark Millard
    marklmi at yahoo.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From John Kennedy@warlock@phouka.net to muc.lists.freebsd.ports on Wed Aug 20 09:29:32 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Wed, Aug 20, 2025 at 10:19:48AM +0200, Miroslav Lachman wrote:
    ... I would like to have a separate file for each repository, similar to the contents of /etc/newsyslog.conf.d/ or /etc/syslog.d/.
    If there is one file for each repository, it can be managed using simple tools such as cp / rm / sed to enable, disable or modify repositories - good for scripted setups and automation. However, if there are multiple repositories in one file, this task becomes much more complicated.

    In general, I like that approach. I don't particularly care if *all* the FreeBSD files are broken out, but I do like being able to have my own files (like my private poudriere package repo) and I don't have to worry about
    doing something that will mess with the FreeBSD-provided files and make etcupdate's life more difficult.

    I do like being able to override the defaults set in other people's files (disabling other repos so that the only thing available is my private one,
    for example).

    Most of my bad experiences are with RedHat, who's default behavior is to basically "this isn't exactly what I was expecting, don't stomp on the old file, make a .rpmnew file and carry on." I'm not sure how many issues are caused by etcupdate conflicts in the big scheme of things, but for me they're small and conflicts are rare enough.

    I'm particularly staring at that "scripted setups" scenario. If I can override defaults with my own files, I don't have to parse "their" files and worry about their contents changing subtly over time. "{ enabled: no }" in
    a file I control is great.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bakul Shah@bakul@iitbombay.org to muc.lists.freebsd.ports on Wed Aug 20 11:49:14 2025
    From Newsgroup: muc.lists.freebsd.ports

    Would prefer shorter names or aliases. This is all FreeBSD related so
    why not just drop the FreeBSD- prefix?
    Thanks!
    On Aug 19, 2025, at 3:49rC>PM, Colin Percival <cperciva@freebsd.org> wrote:

    Hi everyone,

    With pkgbase being the intended way for users to manage 15.0 systems,
    the current default /etc/pkg/FreeBSD.conf gives rise to confusion: It
    defines a "FreeBSD" pkg repository which is in fact specifically bits maintained *outside* of FreeBSD (and packaged via the ports tree).

    To reduce long-term confusion, I'm intending to rename the "FreeBSD" repository to "FreeBSD-ports", and similarly rename "FreeBSD-kmods" to "FreeBSD-ports-kmods". The repositories will still work, and will still access the same URLs, but the change will be visible; probably the most common scenario where this would cause problems for users is if they have "FreeBSD: {enabled: no }" in /usr/local/etc/pkg/repos/FreeBSD.conf, since that would need to be adjusted to chase this change.

    For obvious reasons, this change would not be MFCed.

    You've got a week to convince me that this is a bad idea, otherwise I'll
    make the change on the 27th; I want to get this out of the way before we
    get too close to branching stable/15.

    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Juraj Lutter@otis@FreeBSD.org to muc.lists.freebsd.ports on Wed Aug 20 20:55:31 2025
    From Newsgroup: muc.lists.freebsd.ports


    On 20 Aug 2025, at 20:49, Bakul Shah <bakul@iitbombay.org> wrote:

    Would prefer shorter names or aliases. This is all FreeBSD related so
    why not just drop the FreeBSD- prefix?
    Having FreeBSD- prefix might indicate that the repository is maintained
    by the FreeBSD organization. If there would have been, say, rCLportsrCY, that would be too generic without any distinction.
    rCo
    Juraj Lutter
    otis@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Gleb Popov@arrowd@freebsd.org to muc.lists.freebsd.ports on Thu Aug 21 18:36:06 2025
    From Newsgroup: muc.lists.freebsd.ports

    On Thu, Aug 21, 2025 at 4:56rC>PM John Baldwin <jhb@freebsd.org> wrote:

    But then this last name is wrong. There are kernel modules in the base system
    as well, so that repository does not contain all of the project-provided kernel
    modules.

    All right, maybe "FreeBSD packages" looks like a superset of the
    latter two, so we can call it "FreeBSD main packages", which aligns
    nicely with "FreeBSD quarterly packages".

    "main" vs "base" is not at all clear. Which one contains the package for /bin/ls? Is that in the "main" package set, or the "base" package set? Shouldn't the "main" package set contain the "main" parts of the system?
    (Or at least, isn't it conceivable that some users will think that and get inevitably confused?)

    I think using "ports" in the name is the best way to remove ambiguity.
    I would be fine, btw, with using "src" in the name for the base pkg repository. I can understand why the logical project is called pkgbase instead of pkgsrc to avoid conflicting the other pkgsrc project, but these descriptions seem clear to me:

    - "FreeBSD src"
    - "FreeBSD ports"
    - "FreeBSD ports kernel modules"

    And they could be named "FreeBSD-src" and "FreeBSD-ports" without having any single repository named just "FreeBSD". This better aligns with how we name the base system in other places (src.git, github/freebsd/freebsd-src.git, etc.)
    I don't want to bikeshed this further, mainly because I feel that
    discussions in mailing lists are too unstructured for this.
    A structured approach would be:
    1. Decide what entity has the last word. srcmgr? pkgmgr? Maybe core?
    2. Formulate what's wrong with current naming
    3. Propose new naming and show how it improves upon the previous one.
    4. Discussion phase
    5. A ruling entity makes a final decision
    Luckily, I'm a low-ranking contributor enough to not have to decide on
    such important things.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2