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