maintainer-feedback requested: [Bug 289543] ports-mgmt/pkg - pkg.conf(5) - CASE_SENSITIVE_MATCH has no effect
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Sep 2025 11:25:42 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 289543: ports-mgmt/pkg - pkg.conf(5) - CASE_SENSITIVE_MATCH has no effect
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289543
--- Description ---
On 14.3-RELEASE, using pkg v. 2.3.1 and 'latest', I cannot use
CASE_SENSITIVE_MATCH to set case sensitve matching; pkg.conf(5):
OPTIONS
The following options can be defined in pkg.conf:
[...]
CASE_SENSITIVE_MATCH: boolean
Match package names or regular expressions given on the
command line against values in the database in a case sen-
sitive way. Default: NO.
For testing I used:
# pkg rquery -e '%n=gsed' '%o'
textproc/gsed
or rather 'Gsed' that is not present in the ports tree.
After changing CASE_SENSITIVE_MATCH to YES, I get:
[0-0] # date -u; uname -a; pkg -v
Sat Sep 13 11:13:56 UTC 2025
FreeBSD tm1 14.3-RELEASE-p2 FreeBSD 14.3-RELEASE-p2 GENERIC amd64
2.3.1
[1-0] # pkg -vv | grep CASE_SENSITIVE_MATCH
CASE_SENSITIVE_MATCH = true;
[2-0] # pkg search Gsed
gsed-4.9 GNU stream editor
Expected:
[3-0] # pkg search Gsed
[4->1<] # echo $?
1
That is, expecting the same result as:
[3-0] # pkg search -C Gsed
[4->1<] # echo $?
1
The same problem occurs with
pkg-query
pkg-rquery