Re: pkg is suddenly case sensitive?
"Dan Mahoney (ports)" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
> On Dec 4, 2025, at 2:50 AM, Baptiste Daroussin <[email protected]> wrote: > > On Thu 04 Dec 11:03, Baptiste Daroussin wrote: >> On Thu 04 Dec 01:23, Dan Mahoney (ports) wrote: >>> All, >>> >>> We've been using puppet on many of our systems to manage installed ports, and we've always defaulted to telling pkg to install the lowercase name of a package. >>> >>> Recenty, we're noticing that pkg fails to install p5-ipc-run3, and that a pkg search won't find it anymore because it's in the tree as p5-IPC-Run3. >>> >>> Did pkg recently change to be case-sensitive? >>> >> >> The fact that pkg was case sensitive was a bug, which has been harmless for a >> while, until people started playing with packages named "FreeBSD-" vs packages >> named "freebsd-" with the same suffix. >> >> Note I just figured a bug which makes the pkg.conf setting which determines this >> behaviour bugging and not working consistently everywhere (well actually working >> in most cases). I am fixing this part right now. >> >> Best regards, >> Bapt > > Side note: if you want a consistent and predictible behaviour the -C/-i options > are still working the same for all versions of pkg. That would require rewriting puppet's package provider. It's easier to update our manifests now that we know this is a thing, and I'm sure there will be Gotchas, especially with the CamelCase perl ports. Thanks for the quick answer. -Dan