summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFun <just.the.real.fun@gmail.com>2018-04-01 11:23:52 +0300
committerFredrik Rinnestam <fredrik@crux.nu>2018-04-10 23:18:51 +0200
commitd51cdd1c8f24ef6f53cb87a0d06f4066cd91af8c (patch)
treef9a9255a2fa128171dae55b2bdf4ca5d7938b901
parentece7f90bf8b1fb747e4607cdfb054ef5d22a13e5 (diff)
downloadpkgutils-d51cdd1c8f24ef6f53cb87a0d06f4066cd91af8c.tar.gz
pkgutils-d51cdd1c8f24ef6f53cb87a0d06f4066cd91af8c.tar.xz
pkgadd: add lzip support (closes FS#1638)
It should complete the commit ae5df6094b41 ('pkgmk: dropped bzip2 support, added support for lzip'). Signed-off-by: Fun <just.the.real.fun@gmail.com>
-rw-r--r--pkgmk.conf.5.in2
-rw-r--r--pkgutil.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/pkgmk.conf.5.in b/pkgmk.conf.5.in
index 98976d61..786da57e 100644
--- a/pkgmk.conf.5.in
+++ b/pkgmk.conf.5.in
@@ -84,7 +84,7 @@ If set to 'no', pkgmk will strip built binaries.
Default: 'no'
.TP
\fBPKGMK_COMPRESSION_MODE='STRING'\fP
-Option to select the mode used to compress the packages. Valid strings are gz, bz2, xz and lz.
+Option to select the mode used to compress the packages. Valid strings are gz, xz and lz.
.br
Default: 'gz'
.SH SEE ALSO
diff --git a/pkgutil.cc b/pkgutil.cc
index 926418cc..e72d8176 100644
--- a/pkgutil.cc
+++ b/pkgutil.cc
@@ -47,6 +47,7 @@
archive_read_support_filter_gzip((ar)); \
archive_read_support_filter_bzip2((ar)); \
archive_read_support_filter_xz((ar)); \
+ archive_read_support_filter_lzip((ar)); \
archive_read_support_format_tar((ar))
#define DEFAULT_BYTES_PER_BLOCK (20 * 512)

Generated by cgit