Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2025 23:48:42 +0100
From:      Lexi Winter <ivy@freebsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Plan for "distribution set" deprecation
Message-ID:  <aNHSSm9tEMq4ZQhc@amaryllis.le-fay.org>
In-Reply-To: <dareapwnga243iduv4ovc6pgwwprob45hfb4mv2m65463ysycr@zuxk34sti747>
References:  <fd63e8df-3209-4b83-9dc5-5df4ec690bbf@freebsd.org> <xtkzcgocu5uwhqqghp27k4wjqu3cl24y4n4jcwms43bj6udm5e@wmnwfbucjpod> <aNHD3RXadj1EMUlf@amaryllis.le-fay.org> <3ily2wedv7oue6qjjv2b47c37umnlqw363whvpohu6rrpz3hsg@a6g6mgjuy334> <aNHMexzI05E0AqNE@amaryllis.le-fay.org> <dareapwnga243iduv4ovc6pgwwprob45hfb4mv2m65463ysycr@zuxk34sti747>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaNHSRwAKCRD1nT63mIK/
YETYAQDiyfRT2M0AqYiVYx3IUsvEVc+LqNv4hGQctNZsddntkAEA/PcOgAfGIRCq
JYKIrM90a31ItHtdxDkjPw1aJ7b+6Qc=
=8D0C
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aNHSSm9tEMq4ZQhc>