[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] [PATCH 3/5] unpacker.eclass: Support all makeself "compression" methods
From:       Michał Górny <mgorny () gentoo ! org>
Date:       2022-09-28 20:59:05
Message-ID: 20220928205907.15979-4-mgorny () gentoo ! org
[Download RAW message or body]

Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 eclass/unpacker.eclass | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
index 660cafce5105..dfcb111e00f5 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})"
 			;;
-- 
2.37.3


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic