From nobody Mon Nov 15 15:20:58 2021 X-Original-To: dev-commits-ports-main@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 36469180A0D2; Mon, 15 Nov 2021 15:20:59 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HtCZL4D5Qz3Jq3; Mon, 15 Nov 2021 15:20:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 345851BFA7; Mon, 15 Nov 2021 15:20:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AFFKwCr008371; Mon, 15 Nov 2021 15:20:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AFFKwVT008370; Mon, 15 Nov 2021 15:20:58 GMT (envelope-from git) Date: Mon, 15 Nov 2021 15:20:58 GMT Message-Id: <202111151520.1AFFKwVT008370@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: 1d376e5a14d8 - main - UPDATING: Document removal of emacs version from package names List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d376e5a14d80b6ac6ba42234c166356651db810 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d376e5a14d80b6ac6ba42234c166356651db810 commit 1d376e5a14d80b6ac6ba42234c166356651db810 Author: Joseph Mingrone AuthorDate: 2021-10-23 15:08:56 +0000 Commit: Joseph Mingrone CommitDate: 2021-11-15 15:06:22 +0000 UPDATING: Document removal of emacs version from package names PR: 259259 Differential Revision: https://reviews.freebsd.org/D32613 --- UPDATING | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/UPDATING b/UPDATING index d61e9a51b65c..1c8a64201820 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,63 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20211115: + AFFECTS: AFFECTS: users of *-emacs2x-* packages + AUTHOR: jrm@FreeBSD.org + + To avoid problems when editors/emacs or editors/emacs-devel are + updated, the emacs major version has been removed from these package + names. + + For example, the old and new package names of devel/magit are + + ----------------------------------------------------------- + | Old Package Name | New Package Name | + |-------------------------- |-----------------------------| + | magit-emacs27 | magit | + | magit-emacs27_nox | magit-emacs_nox | + | magit-emacs27_canna | magit-emacs_canna | + | | | + | magit-emacs29_nox | magit-emacs_devel_nox | + | magit-emacs29 | magit-emacs_devel | + ----------------------------------------------------------- + + To handle these final package name changes, follow a similar procedure + as the one described in the 20200811 entry. That is, simply running + `pkg upgrade` will not upgrade, e.g., foo-emacs27_nox to + foo-emacs_nox. + + Binary package users: + + To update these packages, run these commands under /bin/sh with superuser + privileges before upgrading. + + # default flavor of editors/emacs installed + for i in $(pkg query -g %n '*-emacs27'); do + if [ "$i" != "notmuch-emacs27" ]; then + nn=$(echo "$i" | sed -e 's/-emacs27//') + else + nn=$(echo "$i" | sed -e 's/-emacs27/-emacs/') + fi + pkg set -yn "$i":"$nn" + done + + # canna or nox flavor of editors/emacs installed + for i in $(pkg query -g %n '*-emacs27*'); do + nn=$(echo "$i" | sed -e 's/emacs27/emacs/') + pkg set -yn "$i":"$nn" + done + + # editors/emacs-devel installed + for i in $(pkg query -g %n '*-emacs29*'); do + nn=$(echo "$i" | sed -e 's/emacs29/emacs_devel/') + pkg set -yn "$i":"$nn" + done + + portmaster users: + + portmaster -r emacs + 20211110: AFFECTS: users of www/node*, www/npm*, www/yarn* AUTHOR: mfechner@FreeBSD.org