1 |
From: Michał Górny <mgorny@g.o> |
2 |
|
3 |
Bug: https://bugs.gentoo.org/690968 |
4 |
Signed-off-by: Michał Górny <mgorny@g.o> |
5 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
6 |
--- |
7 |
eapi-differences.tex | 10 ++++++++++ |
8 |
pkg-mgr-commands.tex | 21 ++++++++++++++------- |
9 |
2 files changed, 24 insertions(+), 7 deletions(-) |
10 |
|
11 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
12 |
index 5609de6..900f415 100644 |
13 |
--- a/eapi-differences.tex |
14 |
+++ b/eapi-differences.tex |
15 |
@@ -341,6 +341,15 @@ Controllable stripping & \compactfeatureref{dostrip} & |
16 |
\t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} & |
17 |
No & No & Yes & Yes & Yes \\ |
18 |
|
19 |
+\t{unpack} support for \t{7z} & \compactfeatureref{unpack-extensions} & |
20 |
+ Yes & Yes & Yes & Yes & No \\ |
21 |
+ |
22 |
+\t{unpack} support for \t{lha} & \compactfeatureref{unpack-extensions} & |
23 |
+ Yes & Yes & Yes & Yes & No \\ |
24 |
+ |
25 |
+\t{unpack} support for \t{rar} & \compactfeatureref{unpack-extensions} & |
26 |
+ Yes & Yes & Yes & Yes & No \\ |
27 |
+ |
28 |
\t{unpack} case-insensitive & \compactfeatureref{unpack-ignore-case} & |
29 |
No & No & Yes & Yes & Yes \\ |
30 |
|
31 |
@@ -533,6 +542,7 @@ EAPI 8 is EAPI 7 with the following changes: |
32 |
\item \t{insopts} no longer affects \t{doconfd}, \t{doenvd} and \t{doheader}, \featureref{insopts}. |
33 |
\item \t{exeopts} no longer affects \t{doinitd}, \featureref{exeopts}. |
34 |
\item \t{usev} supports an optional second argument, \featureref{usev}. |
35 |
+\item \t{unpack} no longer supports \t{.7z}, \t{.rar}, \t{.lha}, \featureref{unpack-extensions}. |
36 |
\end{compactitem} |
37 |
|
38 |
\ChangeWhenAddingAnEAPI{8} |
39 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
40 |
index eac17de..848c8da 100644 |
41 |
--- a/pkg-mgr-commands.tex |
42 |
+++ b/pkg-mgr-commands.tex |
43 |
@@ -1153,10 +1153,13 @@ has returned. |
44 |
\item bzip2-compressed tar files (\t{*.tar.bz2, *.tbz2, *.tar.bz, *.tbz}). Ebuilds must ensure |
45 |
that bzip2 and GNU tar are installed. |
46 |
\item zip files (\t{*.zip, *.ZIP, *.jar}). Ebuilds must ensure that Info-ZIP Unzip is installed. |
47 |
- \item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed. |
48 |
+ \item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed. Only for EAPIs |
49 |
+ listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.7z}. |
50 |
\item rar files (\t{*.rar, *.RAR}). Ebuilds must ensure that RARLAB's unrar is installed. |
51 |
+ Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.rar}. |
52 |
\item LHA archives (\t{*.LHA, *.LHa, *.lha, *.lzh}). Ebuilds must ensure that the lha program is |
53 |
- installed. |
54 |
+ installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting |
55 |
+ \t{.lha}. |
56 |
\item ar archives (\t{*.a}). Ebuilds must ensure that GNU binutils is installed. |
57 |
\item deb packages (\t{*.deb}). Ebuilds must ensure that the deb2targz program is installed on |
58 |
those platforms where the GNU binutils ar program is not available and the installed ar |
59 |
@@ -1195,16 +1198,20 @@ has returned. |
60 |
\ChangeWhenAddingAnEAPI{8} |
61 |
\begin{centertable}{\t{unpack} extensions for EAPIs} |
62 |
\label{tab:unpack-extensions-table} |
63 |
- \begin{tabular}{llll} |
64 |
+ \begin{tabular}{llllllll} |
65 |
\toprule |
66 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
67 |
\multicolumn{1}{c}{\textbf{\t{.xz}?}} & |
68 |
\multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} & |
69 |
- \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\ |
70 |
+ \multicolumn{1}{c}{\textbf{\t{.txz}?}} & |
71 |
+ \multicolumn{1}{c}{\textbf{\t{.7z}?}} & |
72 |
+ \multicolumn{1}{c}{\textbf{\t{.rar}?}} & |
73 |
+ \multicolumn{1}{c}{\textbf{\t{.lha}?}} \\ |
74 |
\midrule |
75 |
- 0, 1, 2 & No & No & No \\ |
76 |
- 3, 4, 5 & Yes & Yes & No \\ |
77 |
- 6, 7, 8 & Yes & Yes & Yes \\ |
78 |
+ 0, 1, 2 & No & No & No & Yes & Yes & Yes \\ |
79 |
+ 3, 4, 5 & Yes & Yes & No & Yes & Yes & Yes \\ |
80 |
+ 6, 7 & Yes & Yes & Yes & Yes & Yes & Yes \\ |
81 |
+ 8 & Yes & Yes & Yes & No & No & No \\ |
82 |
\bottomrule |
83 |
\end{tabular} |
84 |
\end{centertable} |
85 |
-- |
86 |
2.31.1 |