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

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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmjR5qQACgkQ/y5nonf4
4foyCA//bw1P9pyLFmd4fLCXSOA872RxA8DHY2OYmUwFY6xbNIvkGLM+Yq1tKlK9
usfJAzjJIgkAbPUYVidkXxZpFmMRdgS4bwyAbEQM1RCz8q/km/vRQkEi9SCorjde
mcZ0vJ1pcnf7vI151rYAwgvpqv3kK8n9AsM1cfRzqVVud2nBPtt2tcNUS+IeQjkb
Qj5TLDV7v4nhfkZ+NyI8KzJXsi1JMJXW/877REm4G+bfYCNlLOCkTWZPgPInXZKU
JmMLxoiLVed6Z+TKcNzYwDDO9oSyJaw876U7AsCsBrRL2hlAXFVWMx7pdpQuLXea
8CpdS+zcS3sgNooRFqMFNkqRD18rklo2XJonA64debEUawKgEq9dOfWNAi4B7QUm
LVjySwbKHyU1zeAt79pEjVvCEU4bJIeQzIgefOaW3kRU5Uhokt3ccEAHdFmhG/K8
cw7SmWsvz8v3PBr87AAs47t6DP5hh4RuVAlsUi7tsmMEkhRsNYDzdMaiCCRBEcPq
b++h+P2oKdJCTzbNZJC67FzL/QHmxOX6+v+TMU8xunw0V0iN6zlcuZSfD9Ohm8fa
bUq/euwKnNOcTsP3MAmhECWMiPfb+OZQRwEG+peiHo1mv5fXjuLt5wr2xyAprbXQ
bQr24EOxMcFW7218BcHBCVlkv+0z+6+RzyD3hR7/GDYFOJS5gjQ=
=9st6
-----END PGP SIGNATURE-----
help

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