[Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Jan 2025 16:49:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284054

--- Comment #8 from Baptiste Daroussin <bapt@FreeBSD.org> ---
this is a bug in portupgrade, because portupgrade is unmaintained for years and
never catchup with recent changes of both the ports tree.

here the bug in portupgrade is probably getting the format of the package
through PKG_SUFX variable from the ports, and passes it as compression format
to pkg create via the -f argument.

PKG_SUFX has been change to .pkg alors with pkg 1.17.0 and the right variable
from the ports tree to guess the format of package expected is
PKG_COMPRESSION_FORMAT.

The last update on portupgrade happened in 2018, since that date a lot happen
in both pkg and the ports tree that portupgrade is not able to deal with.

-- 
You are receiving this mail because:
You are the assignee for the bug.