From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SUzQ0-00078j-T3 for garchives@archives.gentoo.org; Thu, 17 May 2012 12:02:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB7FEE096A; Thu, 17 May 2012 12:02:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9DAA5E0955 for ; Thu, 17 May 2012 12:02:29 +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 AEE991B406A for ; Thu, 17 May 2012 12:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 10621E542F for ; Thu, 17 May 2012 12:02:26 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1337250690.4939df8586c7b17b03d8627a8371c988f4445a26.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-5 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: 4939df8586c7b17b03d8627a8371c988f4445a26 X-VCS-Branch: eapi-5 Date: Thu, 17 May 2012 12:02:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 79ad49a5-95f4-48da-a060-9adbfdfa42a0 X-Archives-Hash: 8671fa2356263251a3a3d1f7dc4e72c2 commit: 4939df8586c7b17b03d8627a8371c988f4445a26 Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Thu May 10 06:56:50 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu May 17 10:31:30 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms.git;a=3Dc= ommit;h=3D4939df85 new* commands can read from standard input in EAPI 5. 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 4cc1c3a..d4c4611 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -160,6 +160,9 @@ Most utilities die & \compactfeatureref{die-on-failur= e} & \t{doman -i18n} precedence & \compactfeatureref{doman-langs} & N/A & N/A & No & No & Yes & Yes \\ =20 +\t{new*} support stdin & \compactfeatureref{newfoo-stdin} & + No & No & No & No & No & Yes \\ + Controllable compression & \compactfeatureref{controllable-compress} & No & No & No & No & Yes & Yes \\ =20 @@ -272,6 +275,7 @@ EAPI 5 is EAPI 4 with the following changes: \featureref{apply-user-patches}. \item \t{EBUILD\_PHASE\_FUNC}, \featureref{ebuild-phase-func}. \item \t{find} is guaranteed to be GNU, \featureref{gnu-find}. +\item \t{new*} can read from standard input, \featureref{newfoo-stdin}. \end{compactitem} =20 \ChangeWhenAddingAnEAPI{5} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 9fcb8de..711d295 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -387,8 +387,10 @@ that can be passed to \t{dohtml} are as follows: \item[fperms] Acts as for \t{chmod}, but takes paths relative to the ima= ge directory. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviou= r}. =20 -\item[newbin] As for \t{dobin}, but takes two parameters. The first is t= he 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 tw= o parameters. The first is + the file to install; the second is the new filename under which it w= ill be installed. In EAPIs + specified by table~\ref{tab:newfoo-stdin-table}, standard input is r= ead when the first + parameter is \t{-} (a hyphen). In this case, it is an error if stand= ard input is a terminal. =20 \item[newconfd] As for \t{doconfd}, but takes two parameters as for \t{n= ewbin}. =20 @@ -470,6 +472,23 @@ that can be passed to \t{dohtml} are as follows: \end{tabular} \end{centertable} =20 +\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, al= l relative to \t{\$\{ED\}} in offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix a= gnostic EAPIs, used by the