Re: Plan for "distribution set" deprecation
- In reply to: Lexi Winter : "Re: Plan for "distribution set" deprecation"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Sep 2025 00:15:53 UTC
On Mon, Sep 22, 2025 at 11:48:42PM +0100, Lexi Winter wrote:
> Shawn Webb wrote in <dareapwnga243iduv4ovc6pgwwprob45hfb4mv2m65463ysycr@zuxk34sti747>:
> > That was why I included the modified code as part of the email I had
> > sent.
>
> sorry, i've spent the last six hours writing package descriptions so i'm
> a little tired :-)
>
> > I just now uploaded the diff to the hardened/current/master branch:
> > https://hardenedbsd.org/~shawn/2025-09-22_pkgbase-r01.patch.txt
>
> the problem may be here:
>
> - elseif package:match("^FreeBSD%-kernel%-generic.*") then
> + elseif package:match("^HardenedBSD-kernel%-hardened.*") then
>
> specifically, "HardenedBSD-kernel" is missing a "%" before the "-", which
> causes the pattern not to match:
>
> > x = "HardenedBSD-kernel-hardenedbsd"
> > x:match("^HardenedBSD-kernel%-hardened")
> nil
> > x:match("^HardenedBSD%-kernel%-hardened")
> HardenedBSD-kernel-hardened
>
> does it work better after changing that?
It sure does! What a difference a single character makes. I must've
deleted an extra character, that %, without knowing it.
Thanks a lot for the help!
--
Shawn Webb
Cofounder / Security Engineer
HardenedBSD
Signal Username: shawn_webb.74
Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc