1 |
I've noticed two mistakes in the suffix list for unpack: |
2 |
- *.tbz is listed under gzip-compressed tar files, but belongs under |
3 |
bzip2-compressed tar files |
4 |
- *.lhz should be *.lzh (both Portage and Paludis say so) |
5 |
|
6 |
The patch included below fixes this. I've also rearranged some lines, |
7 |
so that all gzip and bzip2 compressed files are grouped together. |
8 |
|
9 |
However, with gzip there's another inconsistency: |
10 |
- *.gz *.Z *.z for gzip |
11 |
- *.tar.gz *.tgz *.tar.Z for gzip-compressed tar (i.e., no *.tar.z) |
12 |
I wonder what was the intention here. *.Z was the old Unix compress |
13 |
(which can be unpacked by gzip though). *.z was used by the very first |
14 |
gzip versions, but that was 20 years ago. And in fact, there's no *.z |
15 |
file on our distfile mirrors. |
16 |
|
17 |
As the spec doesn't mention *.tar.z, maybe we should drop *.z too? |
18 |
|
19 |
Ulrich |
20 |
|
21 |
|
22 |
From 9bd561afd4b03f472b91a52f33f923707740dc88 Mon Sep 17 00:00:00 2001 |
23 |
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@g.o> |
24 |
Date: Tue, 19 Feb 2013 00:14:37 +0100 |
25 |
Subject: [PATCH] unpack: Fix list of suffixes for tar.gz, tar.bz2, and lha |
26 |
files. |
27 |
|
28 |
--- |
29 |
pkg-mgr-commands.tex | 12 ++++++------ |
30 |
1 file changed, 6 insertions(+), 6 deletions(-) |
31 |
|
32 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
33 |
index 06856e2..a931a04 100644 |
34 |
--- a/pkg-mgr-commands.tex |
35 |
+++ b/pkg-mgr-commands.tex |
36 |
@@ -769,16 +769,16 @@ has returned. |
37 |
relevant binaries are available: |
38 |
\begin{itemize} |
39 |
\item tar files (\t{*.tar}). Ebuilds must ensure that GNU tar installed. |
40 |
- \item gzip-compressed tar files (\t{*.tar.gz, *.tgz, *.tar.Z, *.tbz}). Ebuilds must ensure that |
41 |
+ \item gzip files (\t{*.gz, *.Z, *.z}). Ebuilds must ensure that GNU gzip is installed. |
42 |
+ \item gzip-compressed tar files (\t{*.tar.gz, *.tgz, *.tar.Z}). Ebuilds must ensure that |
43 |
GNU gzip and GNU tar are installed. |
44 |
- \item bzip2-compressed tar files (\t{*.tar.bz2, *.tbz2, *.tar.bz}). Ebuilds must ensure that |
45 |
- bzip2 and GNU tar are installed. |
46 |
+ \item bzip2 files (\t{*.bz2, *.bz}). Ebuilds must ensure that bzip2 is installed. |
47 |
+ \item bzip2-compressed tar files (\t{*.tar.bz2, *.tbz2, *.tar.bz, *.tbz}). Ebuilds must ensure |
48 |
+ that bzip2 and GNU tar are installed. |
49 |
\item zip files (\t{*.zip, *.ZIP, *.jar}). Ebuilds must ensure that Info-ZIP Unzip is installed. |
50 |
- \item gzip files (\t{*.gz, *.Z, *.z}). Ebuilds must ensure that GNU gzip is installed. |
51 |
- \item bzip2 files (\t{*.bz, *.bz2}). Ebuilds must ensure that bzip2 is installed. |
52 |
\item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed. |
53 |
\item rar files (\t{*.rar, *.RAR}). Ebuilds must ensure that RARLAB's unrar is installed. |
54 |
- \item LHA archives (\t{*.LHA, *.LHa, *.lha, *.lhz}). Ebuilds must ensure that the lha program is |
55 |
+ \item LHA archives (\t{*.LHA, *.LHa, *.lha, *.lzh}). Ebuilds must ensure that the lha program is |
56 |
installed. |
57 |
\item ar archives (\t{*.a}). Ebuilds must ensure that GNU binutils is installed. |
58 |
\item deb packages (\t{*.deb}). Ebuilds must ensure that the deb2targz program is installed on |
59 |
-- |
60 |
1.8.1.2 |