From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 37DBF138010 for ; Fri, 14 Sep 2012 06:17:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B8E021C018; Fri, 14 Sep 2012 06:14:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C14F21C018 for ; Fri, 14 Sep 2012 06:14:52 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FFCC33D702 for ; Fri, 14 Sep 2012 06:14:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B8D8BE5453 for ; Fri, 14 Sep 2012 06:14:48 +0000 (UTC) From: "Ulrich Mueller" 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 Mueller" Message-ID: <1347517696.1cf4f7dc805edabc03cd35cb743c3601c611295a.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 1cf4f7dc805edabc03cd35cb743c3601c611295a X-VCS-Branch: master Date: Fri, 14 Sep 2012 06:14:48 +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-Archives-Salt: 8b9178f5-60b8-414c-a183-a87fb7306cc2 X-Archives-Hash: 9cebe02076dbb610104800ca1913e04c commit: 1cf4f7dc805edabc03cd35cb743c3601c611295a Author: Ulrich Müller gentoo org> AuthorDate: Thu May 10 06:56:50 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu Sep 13 06:28:16 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=1cf4f7dc EAPI 5: new* commands can read from standard input. See bug 263565. --- eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 23 +++++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index e302b84..40d3d5c 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -157,6 +157,9 @@ Most utilities die & \compactfeatureref{die-on-failure} & \t{doman -i18n} precedence & \compactfeatureref{doman-langs} & N/A & N/A & No & No & Yes & Yes \\ +\t{new*} support stdin & \compactfeatureref{newfoo-stdin} & + No & No & No & No & No & Yes \\ + Controllable compression & \compactfeatureref{controllable-compress} & No & No & No & No & Yes & Yes \\ @@ -263,6 +266,7 @@ EAPI 5 is EAPI 4 with the following changes: \item \t{USE} is calculated differently, \featureref{profile-iuse-injection}. \item \t{find} is guaranteed to be GNU, \featureref{gnu-find}. \item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}. +\item \t{new*} can read from standard input, \featureref{newfoo-stdin}. \end{compactitem} \ChangeWhenAddingAnEAPI{5} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index b26e15f..0818719 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -389,8 +389,10 @@ that can be passed to \t{dohtml} are as follows: \item[fperms] Acts as for \t{chmod}, but takes paths relative to the image directory. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. -\item[newbin] As for \t{dobin}, but takes two parameters. The first is the file to install; the - second is the new filename under which it will be installed. +\item[newbin] \featurelabel{newfoo-stdin} As for \t{dobin}, but takes two parameters. The first is + the file to install; the second is the new filename under which it will be installed. In EAPIs + specified by table~\ref{tab:newfoo-stdin-table}, standard input is read when the first + parameter is \t{-} (a hyphen). In this case, it is an error if standard input is a terminal. \item[newconfd] As for \t{doconfd}, but takes two parameters as for \t{newbin}. @@ -472,6 +474,23 @@ that can be passed to \t{dohtml} are as follows: \end{tabular} \end{centertable} +\ChangeWhenAddingAnEAPI{5} +\begin{centertable}{EAPIs supporting stdin for \t{new*} commands} \label{tab:newfoo-stdin-table} + \begin{tabular}{ l l } + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{\t{new*} can read from stdin?}} \\ + \midrule + \t{0} & No \\ + \t{1} & No \\ + \t{2} & No \\ + \t{3} & No \\ + \t{4} & No \\ + \t{5} & Yes \\ + \bottomrule + \end{tabular} +\end{centertable} + \subsubsection{Commands affecting install destinations} The following commands are used to set the various destination trees, all relative to \t{\$\{ED\}} in offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix agnostic EAPIs, used by the