summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-14 14:58:46 -0500
committerDan McGee <dan@archlinux.org>2011-07-14 14:58:46 -0500
commit36e48573ceee0f707de0dcc55d1da442d949d3dc (patch)
tree13414158aeb43ff5ab5ee7b09f0ae17a7a9f7b9f /doc
parent00628c7268e3b81045961be51a0ca640aea368b0 (diff)
downloadpacman-36e48573ceee0f707de0dcc55d1da442d949d3dc.tar.xz
Add 'compress' compression format as an available option
This adds the '.tar.Z' option to both repo-add and makepkg for no other reason than "why not", and because bsdtar supports it natively with the '-Z' flag. Also update the documentation accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.conf.5.txt3
-rw-r--r--doc/pacman.conf.5.txt11
-rw-r--r--doc/repo-add.8.txt4
3 files changed, 10 insertions, 8 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt
index aa0174cb..dce9b592 100644
--- a/doc/makepkg.conf.5.txt
+++ b/doc/makepkg.conf.5.txt
@@ -215,7 +215,8 @@ Options
**PKGEXT=**".pkg.tar.gz", **SRCEXT=**".src.tar.gz"::
Sets the compression used when making compiled or source packages. The
- current valid suffixes are `.tar`, `.tar.gz`, `.tar,bz2` and `.tar.xz`.
+ current valid suffixes are `.tar`, `.tar.gz`, `.tar,bz2`, `.tar.xz`, and
+ `.tar.Z`.
Do not touch these unless you know what you are doing.
See Also
diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt
index bdf0bc83..a28e00f2 100644
--- a/doc/pacman.conf.5.txt
+++ b/doc/pacman.conf.5.txt
@@ -225,11 +225,12 @@ directory with these packages so pacman can find it when run with '\--refresh'.
The above command will generate a compressed database named
'/home/pkgs/custom.db.tar.gz'. Note that the database must be of the form
-'\{treename\}.db.tar.gz', where '\{treename\}' is the name of the section defined in
-the configuration file. That's it! Now configure your custom section in the
-configuration file as shown in the config example above. Pacman will now use your
-package repository. If you add new packages to the repository, remember to
-re-generate the database and use pacman's '\--refresh' option.
+'\{treename\}.db.tar.{ext}', where '\{treename\}' is the name of the section
+defined in the configuration file and '\{ext\}' is a valid compression type as
+documented in linkman:repo-add[8]. That's it! Now configure your custom section
+in the configuration file as shown in the config example above. Pacman will now
+use your package repository. If you add new packages to the repository,
+remember to re-generate the database and use pacman's '\--refresh' option.
For more information on the repo-add command, see ``repo-add \--help'' or
linkman:repo-add[8].
diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt
index 2de5be8f..e03384fd 100644
--- a/doc/repo-add.8.txt
+++ b/doc/repo-add.8.txt
@@ -31,8 +31,8 @@ can be specified on the command line.
A package database is a tar file, optionally compressed. Valid extensions are
``.db'' or ``.files'' followed by an archive extension of ``.tar'',
-``.tar.gz'', ``.tar.bz2'', or ``.tar.xz''. The file does not need to exist, but
-all parent directories must exist.
+``.tar.gz'', ``.tar.bz2'', ``.tar.xz'', or ``.tar.Z''. The file does not need
+to exist, but all parent directories must exist.
Common Options