[Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade)
Date: Thu, 16 Jan 2025 13:19:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284054
--- Comment #26 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=22f6c414960d8b0191f39bf0a98bd43f482ac637
commit 22f6c414960d8b0191f39bf0a98bd43f482ac637
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-01-16 13:14:29 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-01-16 13:18:49 +0000
ports-mgmt/portupgrade: stop warning about wrong package format
pkg expect the compression format to be set via -f option, portupgrade
passes this information extracting the PKG_SUFX variable which is now
invariable since pkg 1.17. the .pkg suffix is always used, but the -f
option still expect the compression format to be defined in same form as
before: .tar, .tbz, .tgz etc.
Remove the call to the -f format to remove a useless warning.
PR: 284054
Submitted by: Terry Kennedy <terry-freebsd@glaver.org>
ports-mgmt/portupgrade/Makefile | 2 +-
.../files/patch-pkg-compression-format (new) | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.