1 |
commit: b8faada55d7859484af013ee806ee5f996ee8445 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 08:55:38 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 17:19:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8faada5 |
7 |
|
8 |
unpacker.eclass: Support all makeself "compression" methods |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/unpacker.eclass | 12 ++++++++++++ |
13 |
1 file changed, 12 insertions(+) |
14 |
|
15 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
16 |
index f54d0c3626ab..3011f2fc44ad 100644 |
17 |
--- a/eclass/unpacker.eclass |
18 |
+++ b/eclass/unpacker.eclass |
19 |
@@ -262,6 +262,18 @@ unpack_makeself() { |
20 |
XZ*) |
21 |
suffix=xz |
22 |
;; |
23 |
+ Zstandard*) |
24 |
+ suffix=zst |
25 |
+ ;; |
26 |
+ lzop*) |
27 |
+ suffix=lzo |
28 |
+ ;; |
29 |
+ LZ4*) |
30 |
+ suffix=lz4 |
31 |
+ ;; |
32 |
+ "ASCII text"*) |
33 |
+ decomp='base64 -d' |
34 |
+ ;; |
35 |
*) |
36 |
die "Unknown filetype \"${filetype}\", for makeself ${src##*/} ('${ver}' +${skip})" |
37 |
;; |