p7zip/debian/patches/02-man.patch

121 lines
6.4 KiB
Diff

From: =?utf-8?q?Mohammed_Adn=C3=A8_Trojette?= <adn+deb@diwi.org>
Date: Sun, 4 Jun 2006 10:43:06 +0200
Subject: Man pages fixes
---
man1/7z.1 | 6 +++---
man1/7za.1 | 8 ++++----
man1/7zr.1 | 12 ++++++------
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/man1/7z.1 b/man1/7z.1
index cdb3c7c..d2b7378 100644
--- a/man1/7z.1
+++ b/man1/7z.1
@@ -10,7 +10,7 @@
.BR <ARGUMENTS>...
.PP
.SH DESCRIPTION
-7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that implements LZMA compression algorithm), ZIP, CAB, ARJ, GZIP, BZIP2, TAR, CPIO, RPM and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
+7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that implements LZMA compression algorithm), LZMA2, XZ, ZIP, Zip64, CAB, RAR (if the non-free p7zip-rar package is installed), ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem images and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
.TP
7z uses plugins to handle archives.
.PP
@@ -55,7 +55,7 @@ Include filenames
don't store symlinks; store the files/directories they point to (CAUTION : the scanning stage can never end because of recursive symlinks like 'ln \-s .. ldir')
.TP
.B \-m{Parameters}
-Set Compression Method (see {DEST_SHARE_DOC}/MANUAL/switches/method.htm for a list of methods)
+Set Compression Method (see /usr/share/doc/p7zip-full/DOC/MANUAL/cmdline/switches/method.htm for a list of methods)
.TP
.B \-mhe=on|off
7z format only : enables or disables archive header encryption (Default : off)
@@ -168,7 +168,7 @@ add all files from directory "a_directory" to the archive "archive.7z" (with dat
7za(1), 7zr(1), bzip2(1), gzip(1), zip(1)
.PP
.SH "HTML Documentation"
-{DEST_SHARE_DOC}/MANUAL/index.htm
+/usr/share/doc/p7zip-full/DOC/MANUAL/start.htm
.SH AUTHOR
.TP
Written for Debian by Mohammed Adnene Trojette.
diff --git a/man1/7za.1 b/man1/7za.1
index 15f0fe4..ae5730b 100644
--- a/man1/7za.1
+++ b/man1/7za.1
@@ -10,9 +10,9 @@
.BR <ARGUMENTS>...
.PP
.SH DESCRIPTION
-7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that implements LZMA compression algorithm), ZIP, CAB, ARJ, GZIP, BZIP2, TAR, CPIO, RPM and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
+7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that implements LZMA compression algorithm), LZMA2, XZ, ZIP, Zip64, CAB, RAR (if the non-free p7zip-rar package is installed), ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem images and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
.TP
-7za is a stand-alone executable. 7za handles less archive formats than 7z, but does not need any others.
+7za is a stand-alone executable. 7za handles fewer archive formats than 7z.
.PP
.SH FUNCTION LETTERS
.TP
@@ -55,7 +55,7 @@ Include filenames
don't store symlinks; store the files/directories they point to (CAUTION : the scanning stage can never end because of recursive symlinks like 'ln \-s .. ldir')
.TP
.B \-m{Parameters}
-Set Compression Method (see {DEST_SHARE_DOC}/MANUAL/switches/method.htm for a list of methods)
+Set Compression Method (see /usr/share/doc/p7zip-full/DOC/MANUAL/cmdline/switches/method.htm for a list of methods)
.TP
.B \-mhe=on|off
7z format only : enables or disables archive header encryption (Default : off)
@@ -168,7 +168,7 @@ add all files from directory "a_directory" to the archive "archive.7z" (with dat
7z(1), 7zr(1), bzip2(1), gzip(1), zip(1)
.PP
.SH "HTML Documentation"
-{DEST_SHARE_DOC}/MANUAL/index.htm
+/usr/share/doc/p7zip-full/DOC/MANUAL/start.htm
.SH AUTHOR
.TP
Written for Debian by Mohammed Adnene Trojette.
diff --git a/man1/7zr.1 b/man1/7zr.1
index f81d61c..fb2dcfd 100644
--- a/man1/7zr.1
+++ b/man1/7zr.1
@@ -10,9 +10,9 @@
.BR <ARGUMENTS>...
.PP
.SH DESCRIPTION
-7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that implements LZMA compression algorithm), ZIP, CAB, ARJ, GZIP, BZIP2, TAR, CPIO, RPM and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
+7-Zip is a file archiver with the highest compression ratio. The program supports 7z (that implements LZMA compression algorithm), LZMA2, XZ, ZIP, Zip64, CAB, RAR (if the non-free p7zip-rar package is installed), ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem images and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
.TP
-7zr is a stand-alone executable. 7zr handles less archive formats than 7z, but does not need any others. 7zr is a "light-version" of 7za that only handles 7z archives.
+7zr is a stand-alone executable. 7zr handles fewer archive formats than 7z. 7zr is a "light-version" of 7za that only handles 7z archives.
.PP
.SH FUNCTION LETTERS
.TP
@@ -55,7 +55,7 @@ Include filenames
don't store symlinks; store the files/directories they point to (CAUTION : the scanning stage can never end because of recursive symlinks like 'ln \-s .. ldir')
.TP
.B \-m{Parameters}
-Set Compression Method (see {DEST_SHARE_DOC}/MANUAL/switches/method.htm for a list of methods)
+Set Compression Method (see /usr/share/doc/p7zip/DOC/MANUAL/cmdline/switches/method.htm from the p7zip-full package for a list of methods)
.TP
.B \-mhe=on|off
7z format only : enables or disables archive header encryption (Default : off)
@@ -117,8 +117,8 @@ DO NOT USE the 7-zip format for backup purpose on Linux/Unix because :
.LP
On Linux/Unix, in order to backup directories you must use tar :
- \- to backup a directory : tar cf - directory | 7zr a -si directory.tar.7z
- \- to restore your backup : 7zr x -so directory.tar.7z | tar xf -
+ \- to backup a directory : tar cf \- directory | 7zr a \-si directory.tar.7z
+ \- to restore your backup : 7zr x \-so directory.tar.7z | tar xf \-
If you want to send files and directories (not the owner of file)
to others Unix/MacOS/Windows users, you can use the 7-zip format.
@@ -165,7 +165,7 @@ add all files from directory "a_directory" to the archive "archive.7z" (with dat
7z(1), 7za(1), bzip2(1), gzip(1), zip(1)
.PP
.SH "HTML Documentation"
-{DEST_SHARE_DOC}/MANUAL/index.htm
+/usr/share/doc/p7zip/DOC/MANUAL/start.htm (avabilable when the p7zip-full package is installed)
.SH AUTHOR
.TP
Written for Debian by Mohammed Adnene Trojette.