• New PKGBASE Alias Proposal

    From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Thu Oct 16 09:42:59 2025
    From Newsgroup: muc.lists.freebsd.stable

    After messing a little with PKGBASE this one could be handy:

    root@pkgbase:~ # grep -e '^ALIAS' -e sets -e '^}' /usr/local/etc/pkg.conf
    ALIAS {
    sets = "info -d -C -x '^FreeBSD-set-'";
    }

    root@pkgbase:~ # pkg sets | head
    FreeBSD-set-base-15.0.b1.20251011075131:
    FreeBSD-set-optional-15.0.b1.20251011075131
    FreeBSD-set-minimal-15.0.b1.20251011075131
    FreeBSD-set-devel-15.0.b1.20251011075131 FreeBSD-set-devel-15.0.b1.20251011075131:
    FreeBSD-zfs-dev-15.0.b1.20251011075131
    FreeBSD-xz-dev-15.0.b1.20251011075131
    FreeBSD-utilities-dev-15.0.b1.20251011075131
    FreeBSD-unbound-dev-15.0.b1.20251011075131
    FreeBSD-ufs-dev-15.0.b1.20251011075131


    Regards,
    vermaden


    --
    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 Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Fri Oct 17 11:28:26 2025
    From Newsgroup: muc.lists.freebsd.stable


    --ZIccvA89tp9TLKo+
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    vermaden wrote in <hpdxniuoomlvygctxwoo@rxaa>:
    After messing a little with PKGBASE this one could be handy:
    =20
    root@pkgbase:~ # grep -e '^ALIAS' -e sets -e '^}' /usr/local/etc/pkg.conf ALIAS {
    sets =3D "info -d -C -x '^FreeBSD-set-'";
    }

    you should submit this as a pkg(8) issue at
    https://github.com/freebsd/pkg.

    that said, i'm not sure this is generally useful enough to warrant an
    inclusion in pkg.conf by default. i am wondering about writing a
    pkgset(8) tool to handle sets, which would also help to work around
    pkg's unhelpful behaviour when removing a dependency of a vital package.

    --ZIccvA89tp9TLKo+
    Content-Type: application/pgp-signature; name=signature.asc

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

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaPIaRwAKCRD1nT63mIK/ YAo4AQDo9eyTLu6Qa8KfTVG5UGdEo4r0chpHJ7StTpUdJ/2u7AEA4mYHdA8s9vQ6 ptRncQfmp+OVVkvzBq37vUrehARzsQk=
    =3LRv
    -----END PGP SIGNATURE-----

    --ZIccvA89tp9TLKo+--


    --
    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 vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Sun Oct 19 00:19:39 2025
    From Newsgroup: muc.lists.freebsd.stable

    Submitted:

    https://github.com/freebsd/pkg/issues/2543



    Temat: Re: New PKGBASE Alias Proposal
    Data: 2025-10-17 12:28
    Nadawca: "Lexi Winter" &lt;ivy@freebsd.org>
    Adresat: "vermaden" &lt;vermaden@interia.pl>;
    DW: freebsd-stable@freebsd.org; freebsd-pkgbase@freebsd.org;


    vermaden wrote in :
    After messing a little with PKGBASE this one could be handy:

    root@pkgbase:~ # grep -e '^ALIAS' -e sets -e '^}' /usr/local/etc/pkg.conf
    ALIAS {
    sets = "info -d -C -x '^FreeBSD-set-'";
    }

    you should submit this as a pkg(8) issue at
    https://github.com/freebsd/pkg.

    that said, i'm not sure this is generally useful enough to warrant an inclusion in pkg.conf by default. i am wondering about writing a
    pkgset(8) tool to handle sets, which would also help to work around
    pkg's unhelpful behaviour when removing a dependency of a vital
    package.


    --
    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