From nobody Tue Jan 14 20:45:33 2025 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YXh3K6X6rz5kPw2 for ; Tue, 14 Jan 2025 20:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YXh3K66gXz4KNW for ; Tue, 14 Jan 2025 20:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736887533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LMSI35L/G93wGBqvU/wmABJCK7ED52k5JhwXbfx8Q5I=; b=syJ+LRQvCTeqSgyAQunsBmCxv2nrSZCMCGomVbJmy1avbzL3O9Yc9nFIinAshES3j6V54Z 7+RyxHMdh62Fugxp3b3kQBctZZtwbdmCA8BpL1/9KpFdg7dMeYDIBS62BKYwrMb0L2qf0V 6La8UlLdZey74rHN1KLFw0ojVbAluP+P05QvUmvs2/TJIU3+IPKZ7wqVvPwyfXW1xIzSPF K/QRgWh/qFPoLqalyPi7ji5DDC2vrkvJLyN3kQa7PJpZfu7J/aVTjBXT50JFnBz6jEs6Y7 bHgVZ99wI+bX+BMEcJsqk/oDVG2GLgrpOejWa39fHM89PwPbTNp1pGPniCVnGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736887533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LMSI35L/G93wGBqvU/wmABJCK7ED52k5JhwXbfx8Q5I=; b=chVLLVFzp7vjKntCGLU+V+lXX4RMx5/14FR12JlseMCXeyWobFtSRkAJ0pQyxxlLXL+pz6 ukr2WhqMk7+Sj5vdmGjlzs+n3V7FBjU0bhaAoQO0tDIJ1ytQzBXbC9v2qCrshMOb1TX0KJ vgtGQMfUKHKhwRLTvfyKPBPt5q/jmrnV2uPj4EueQMgwKissOGXTO4ujCCqH1668NJG7jd ykjoqmP/SyGslkJBdKcdEzFXV+aNO5DJNWT9SBs+FddS/9aLUWOwhdc7ozK28yaY+HHezR BYt4faMzfy+x7mPrZFTCSQRBgTsKBsSlBgnhIf5oPUMbuWphy0T4BVoIW2N9QA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736887533; a=rsa-sha256; cv=none; b=cgBtLfd/i2X1tXX3r9j6l0aOBEbiHfYF7oGTsRL48g50tCu/h/0LWl+oD6EwdI6YkOyzX3 6u+gW+CuYHXKTcPmYjCQRAC24agk5ZTaIaAC9ofMiT1DuwIBiJW7Ji7dnOYeKnL7vYkRd3 0mALRRfM2TLgnZMlIFrUzzjNPry69OYCfy/eDYghK3AU3sFEL4KCSnc7JxnY3yHJq8x8ld Liy4YB/AmH6z38zeWHAWoVowNaZNp4YwPqSmyD7Q8c2xui39LUP6cGy8Je5Q/3S4c7UszJ DI9uNPZiclTI6BE0JNr8sRqoupUaUskfIVTHBcqykZMBviExTPqNP0BzZDWgJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YXh3K5QQTz1SG for ; Tue, 14 Jan 2025 20:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50EKjXHm029518 for ; Tue, 14 Jan 2025 20:45:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50EKjXpE029517 for pkg@FreeBSD.org; Tue, 14 Jan 2025 20:45:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade) Date: Tue, 14 Jan 2025 20:45:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: terry-freebsd@glaver.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284054 --- Comment #11 from Terry Kennedy --- 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": to: case "txz": case "pkg": 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 ne= arly 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. --=20 You are receiving this mail because: You are the assignee for the bug.=