From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14CF915813A for ; Sun, 12 Jan 2025 20:14:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA9DCE0829; Sun, 12 Jan 2025 20:14:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC65CE0829 for ; Sun, 12 Jan 2025 20:14:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8647340C33 for ; Sun, 12 Jan 2025 20:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C00720C3 for ; Sun, 12 Jan 2025 20:14:32 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1736712589.f077230159097f648d85c8cefd06e7853417e768.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex merge.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f077230159097f648d85c8cefd06e7853417e768 X-VCS-Branch: eapi-9 Date: Sun, 12 Jan 2025 20:14:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b61b7d4b-78c8-4d5a-a2e4-187823b9d028 X-Archives-Hash: 18807b30b8e50b2d1f10673fe7436571 commit: f077230159097f648d85c8cefd06e7853417e768 Author: Ulrich Müller gentoo org> AuthorDate: Thu Jun 20 18:16:12 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jan 12 20:09:49 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=f0772301 EAPI 9 no longer rewrites absolute symlinks Bug: https://bugs.gentoo.org/934514 Signed-off-by: Ulrich Müller gentoo.org> eapi-differences.tex | 4 ++++ merge.tex | 19 +++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index b0fac03..a9e8285 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -180,6 +180,9 @@ Controllable stripping & \compactfeatureref{dostrip} & \t{unpack} support for \t{rar} & \compactfeatureref{unpack-extensions} & Yes & Yes & No & No \\ +Absolute symlink rewriting & \compactfeatureref{symlink-rewrite} & + Yes & Yes & Yes & No \\ + \end{longtable} \chapter{Differences between EAPIs} @@ -369,6 +372,7 @@ EAPI 9 is EAPI 8 with the following changes: \item Defined variables no longer exported, \featureref{export-vars}. \item \t{assert} banned, \featureref{banned-commands}. \item \t{pipestatus}, \featureref{pipestatus}. +\item Absolute symlinks no longer rewritten, \featureref{symlink-rewrite}. \end{compactitem} \ChangeWhenAddingAnEAPI{9} diff --git a/merge.tex b/merge.tex index 27b0ba8..e51c1b8 100644 --- a/merge.tex +++ b/merge.tex @@ -138,8 +138,23 @@ Ebuilds must not attempt to merge a symlink on top of a directory. \subsection{Rewriting} -Any absolute symlink whose link starts with \t{D} must be rewritten with the leading \t{D} removed. -The package manager should issue a notice when doing this. +\featurelabel{symlink-rewrite} In EAPIs listed in table~\ref{tab:symlink-rewrite} as rewriting +symlinks, any absolute symlink whose link starts with \t{D} must be rewritten with the leading +\t{D} removed. The package manager should issue a notice when encountering such a symlink. + +\ChangeWhenAddingAnEAPI{9} +\begin{centertable}{Rewriting of absolute symlinks} + \label{tab:symlink-rewrite} + \begin{tabular}{ll} + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Rewrite symlinks?}} \\ + \midrule + 0, 1, 2, 3, 4, 5, 6, 7, 8 & Yes \\ + 9 & No \\ + \bottomrule + \end{tabular} +\end{centertable} \section{Hard links}