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?

Attachment: signature.asc
Description: PGP signature

Reply via email to