[Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade)
Date: Wed, 15 Jan 2025 19:15:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284054 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bdrewery@FreeBSD.org --- Comment #24 from Ed Maste <emaste@freebsd.org> --- (In reply to Terry Kennedy from comment #19) > This doesn't seem to correct the "If an invalid or no format is specified txz is > assumed." part of the manpage, if the info in comment 12 is correct and the default > format is now tzst. Yep, I spotted that as well while looking over the first patch I submitted and it is now fixed in https://github.com/freebsd/pkg/commit/27b286a64cab91d3eff0e5fb6358f278ab563a30. Note that this is incorrect for FreeBSD 13 -- the default is still txz there, set at configure time for pkg itself. But at least pkg's own default is now correctly stated. > Also, I don't think the "in the near future" deprecation notice in the handbook is > reasonable. Unless there's some plan to remove portsmgmt/portupgrade from the ports > tree, it is going to remain in quarterly builds for some time. db5 has been hanging > around in the ports tree long past its sell-by date. Fair comment; I'm trying to strike a balance between "don't surprise the users" and "make the user community aware that developers already think this was deprecated years ago." I originally went with just "removed in the future" but added "near" based on a comment in the review. In any case I think the discussion that may be prompted by the more alarming notice is worthwhile, and we can change the notice to match whatever is eventually decided. > I suggest two things: > > 1) Adding DEPRECATED= and EXPIRATION_DATE= to the port Makefile (the date should be > at FreeBSD 14 EOL, IMHO). This seems reasonable to me, but we should also stop packaging it for 15.x now. > 2) Adding a section in the Handbook on "Migrating from portupgrade to portmaster" A good idea; someone who is familiar with both tools will need to write it. -- You are receiving this mail because: You are the assignee for the bug.