From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 219471382C5 for ; Tue, 16 Mar 2021 23:33:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4DB9E07F9; Tue, 16 Mar 2021 23:33:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42447E07F1 for ; Tue, 16 Mar 2021 23:33:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B0095340E93 for ; Tue, 16 Mar 2021 23:33:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0593A5A7 for ; Tue, 16 Mar 2021 23:33:05 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1615851764.9c88ad056256ebc6c195b0d589952d801a822f0f.vapier@gentoo> Subject: [gentoo-commits] proj/rpm2targz:master commit in: / X-VCS-Repository: proj/rpm2targz X-VCS-Files: Makefile rpm2targz X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 9c88ad056256ebc6c195b0d589952d801a822f0f X-VCS-Branch: master Date: Tue, 16 Mar 2021 23:33:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: abe0e476-fc91-4ac5-8ff4-e96fd064b381 X-Archives-Hash: 04718b74e91b8404fb27a6026b4eefc2 commit: 9c88ad056256ebc6c195b0d589952d801a822f0f Author: Erik Zscheile ytrizja de> AuthorDate: Mon Mar 15 23:42:44 2021 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Mar 15 23:42:44 2021 +0000 URL: https://gitweb.gentoo.org/proj/rpm2targz.git/commit/?id=9c88ad05 rpm2tar: add support for zstd files Signed-off-by: Mike Frysinger gentoo.org> Makefile | 2 +- rpm2targz | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c73e0e..d986108 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ dist-live: clean mkdir $(P) cp `find . -maxdepth 1 -type f '!' -name .gitignore` $(P) -LINKS = $(patsubst %,rpm2%,tar tarbz2 tbz2 tarlzma tgz tarxz txz) +LINKS = $(patsubst %,rpm2%,tar tarbz2 tbz2 tarlzma tgz tarxz txz tarzst) links: set -e; for t in $(LINKS) ; do $(dosym) rpm2targz $$t ; done diff --git a/rpm2targz b/rpm2targz index d32300c..b8b4b69 100755 --- a/rpm2targz +++ b/rpm2targz @@ -80,6 +80,7 @@ case ${argv0#rpm} in 2tgz) compress="gzip" suffix=".tgz";; 2tarxz) compress="xz" suffix=".tar.xz";; 2txz) compress="xz" suffix=".txz";; + 2tarzst) compress="zstd" suffix=".tar.zst";; 2targz|*) compress="gzip" suffix=".tar.gz";; esac case ${argv0} in