1 |
commit: 65359c98cac679c1be51179d3343e16594c2f422 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 16 13:11:47 2015 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 18:57:33 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=65359c98 |
7 |
|
8 |
EAPI 6: einstall banned. |
9 |
|
10 |
See bug 524112. |
11 |
|
12 |
eapi-differences.tex | 4 ++++ |
13 |
pkg-mgr-commands.tex | 14 +++++++++----- |
14 |
2 files changed, 13 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
17 |
index 616aa06..6ec5209 100644 |
18 |
--- a/eapi-differences.tex |
19 |
+++ b/eapi-differences.tex |
20 |
@@ -163,6 +163,9 @@ Most utilities die & \compactfeatureref{die-on-failure} & |
21 |
\t{dosed} & \compactfeatureref{banned-commands} & |
22 |
Yes & Yes & Banned & Banned & Banned \\ |
23 |
|
24 |
+\t{einstall} & \compactfeatureref{banned-commands} & |
25 |
+ Yes & Yes & Yes & Yes & Banned \\ |
26 |
+ |
27 |
Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & |
28 |
No & No & No & Yes & Yes \\ |
29 |
|
30 |
@@ -316,6 +319,7 @@ EAPI 6 is EAPI 5 with the following changes: |
31 |
\item Profile \t{package*} and \t{use*} can be directories, \featureref{profile-file-dirs}. |
32 |
\item Bash version is 4.2, \featureref{bash-version}. |
33 |
\item \t{failglob} is enabled in global scope, \featureref{failglob}. |
34 |
+\item \t{einstall} banned, \featureref{banned-commands}. |
35 |
\end{compactitem} |
36 |
|
37 |
\ChangeWhenAddingAnEAPI{6} |
38 |
|
39 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
40 |
index 038e9e6..7e29f3d 100644 |
41 |
--- a/pkg-mgr-commands.tex |
42 |
+++ b/pkg-mgr-commands.tex |
43 |
@@ -47,16 +47,18 @@ called, the package manager must abort the build process indicating an error. |
44 |
\ChangeWhenAddingAnEAPI{6} |
45 |
\begin{centertable}{Banned commands} |
46 |
\label{tab:banned-commands-table} |
47 |
- \begin{tabular}{ l l l } |
48 |
+ \begin{tabular}{ l l l l } |
49 |
\toprule |
50 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
51 |
- \multicolumn{2}{c}{\textbf{Command banned?}} \\ |
52 |
+ \multicolumn{3}{c}{\textbf{Command banned?}} \\ |
53 |
\multicolumn{1}{c}{} & |
54 |
\multicolumn{1}{c}{\textbf{\t{dohard}}} & |
55 |
- \multicolumn{1}{c}{\textbf{\t{dosed}}} \\ |
56 |
+ \multicolumn{1}{c}{\textbf{\t{dosed}}} & |
57 |
+ \multicolumn{1}{c}{\textbf{\t{einstall}}} \\ |
58 |
\midrule |
59 |
- 0, 1, 2, 3 & No & No \\ |
60 |
- 4, 5, 6 & Yes & Yes \\ |
61 |
+ 0, 1, 2, 3 & No & No & No \\ |
62 |
+ 4, 5 & Yes & Yes & No \\ |
63 |
+ 6 & Yes & Yes & Yes \\ |
64 |
\bottomrule |
65 |
\end{tabular} |
66 |
\end{centertable} |
67 |
@@ -208,6 +210,8 @@ current phase function has returned. |
68 |
\item[einstall] A shortcut for the command given in Listing~\ref{lst:einstall}. Any arguments given |
69 |
to \t{einstall} are passed verbatim to \t{emake}, as shown. Failure behaviour is EAPI dependent |
70 |
as per section~\ref{sec:failure-behaviour}. |
71 |
+ In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per |
72 |
+ section~\ref{sec:banned-commands}. |
73 |
|
74 |
The variable \t{ED} is defined as in Table~\ref{tab:defined_vars} and depends on the use of an |
75 |
offset-prefix. When such offset-prefix is absent, \t{ED} is equivalent to \t{D}\@. \t{ED} is |