[Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade)
Date: Tue, 14 Jan 2025 20:45:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284054 --- Comment #11 from Terry Kennedy <terry-freebsd@glaver.org> --- Comments 6, 7, and 9 all note that ".pkg" is now the default suffix for packages. If that is the case, it seems reasonable that "pkg' be accepted as a package format by pkg (as it is now, just with the warning message), even though the "-f pkg" is trying to specify a format and not a file extension. I'm not suggesting that pkg accept everything that might be passed as a parameter to -f, or even document that "pkg" is an acceptable format. Just something like changing: case "txz": <do some stuff> to: case "txz": case "pkg": <do some stuff> Comment 8 reiterates that portupgrade is unmaintained. While that certainly seems to be the case, it's in the ports tree in FreeBSD 14.2 and documented in the Handbook (see my comment 4). If the team wants to decide it's deprecated and either remove it from the Handbook in FreeBSD 15 (or note that it is deprecated and going away in FreeBSD 16, which is our usual schedule for announcing deprecation and subsequent removal), that's fine. But for the nearly 4 years of remaining support for FreeBSD 14, can we please do something like the above one-line change? Further, I'm reluctant to change things in pkgconf.conf as I don't know what else relies on it. -- You are receiving this mail because: You are the assignee for the bug.