commit: b8faada55d7859484af013ee806ee5f996ee8445
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 28 08:55:38 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 17:19:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8faada5
unpacker.eclass: Support all makeself "compression" methods
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/unpacker.eclass | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
index f54d0c3626ab..3011f2fc44ad 100644
--- a/eclass/unpacker.eclass
+++ b/eclass/unpacker.eclass
@@ -262,6 +262,18 @@ unpack_makeself() {
XZ*)
suffix=xz
;;
+ Zstandard*)
+ suffix=zst
+ ;;
+ lzop*)
+ suffix=lzo
+ ;;
+ LZ4*)
+ suffix=lz4
+ ;;
+ "ASCII text"*)
+ decomp='base64 -d'
+ ;;
*)
die "Unknown filetype \"${filetype}\", for makeself
${src##*/} ('${ver}' +${skip})"
;;