From nobody Sun May 22 05:58:45 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 261871B41D04; Sun, 22 May 2022 05:58:58 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L5VC51NK2z4XZm; Sun, 22 May 2022 05:58:57 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: by mail-yb1-xb2a.google.com with SMTP id i187so18070416ybg.6; Sat, 21 May 2022 22:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X7FVnrtTNwiuFOyVc3VAG+QB2gNAp7wyu0MsB4UJZJQ=; b=lW/iT9n05dK/1jGDg4BjqaFOOCwft+sXRgXWQOQiAWIrzzFLEgNLwVTpNupVuG3FTc Qp8c5EtGxlRLuek0vPwl7G3ZzNW0aRokXpy5rSAS3t5/fLEMbJE/h8hgAoucAoesmj5j S/I4tR9c1Piqw4PPmWfb84izU53dBntNWAN5luaPphoDcD41Uu3M32KmzT2neM1GvRIv 7BRVb5k6a6QzHKm9PShCHaU9Qi6pavP5Qdd7z+uYXrPsHZbmfozVLtrG1RtQX2DsbFqd wZ8h+vOxfz7sJnmWnTGg7offCW6nf4ecsi6O/7FD9KAxitkrETj/SwtxK3MuBQ3FKgBp Aluw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X7FVnrtTNwiuFOyVc3VAG+QB2gNAp7wyu0MsB4UJZJQ=; b=wO6NvXufjIuxdmv193HaU1pDnIcZKF6afiwqgQL5+zYVjXj/DnnYCub4rD6zYo2ytr crcVCfxdPB8GgrDYiq+TevzBb0W7cLMpaX1c5K8aCns7YK1w4eCqq3+NyPVsslUvRd79 E1oTGXuEYc+DAsEtuTGMHgTvnuN1oHtqzbySyiBUYd8NvvX+HElgBMkUraPjHq8wRrFR OvVAdWsyi4QhRYJWDVQAXEQ+DY0uzV4UuNdJRRrp/8mBiMZTDILcuI3Khz/3bLmwzrE7 WYFwBIyit6niypY2AQ+VP82ESdQNGfMbHj5ZKLvQBA2xd/wviK1ySeiN8+sk3alta7qJ 8Eug== X-Gm-Message-State: AOAM532Emi9Ya9VTyzlI7g7j/evqUYl31oZOEzBJD715gDfBN/Ev6hzB UhlxAlP3G5MIIDJe6wJ1khotUtXqpGQn/WympdfecHfKbk0= X-Google-Smtp-Source: ABdhPJx8tjQAH2tzjgYS71c+W6OsBQfk0Qm2/Wgu7u/yh2S+lAe2pehs1PtQKIZExI7AnhIvOwJxknvIKqQaAu+vDYw= X-Received: by 2002:a25:8a07:0:b0:64e:3a4d:1fd1 with SMTP id g7-20020a258a07000000b0064e3a4d1fd1mr16877205ybl.245.1653199135890; Sat, 21 May 2022 22:58:55 -0700 (PDT) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202205220517.24M5HV1c064754@gitrepo.freebsd.org> In-Reply-To: <202205220517.24M5HV1c064754@gitrepo.freebsd.org> From: "Tobias C. Berner" Date: Sun, 22 May 2022 07:58:45 +0200 Message-ID: Subject: Re: git: 863e0d46e6fa - main - Mk/Uses/tar.mk: Add .tar.zst support (USES=tar:zst or USES=tar:zstd) To: Po-Chuan Hsieh Cc: ports-committers , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4L5VC51NK2z4XZm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="lW/iT9n0"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of tcberner@gmail.com designates 2607:f8b0:4864:20::b2a as permitted sender) smtp.mailfrom=tcberner@gmail.com X-Spamd-Result: default: False [-2.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FREEFALL_USER(0.00)[tcberner]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.945]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2a:from]; MLMMJ_DEST(0.00)[dev-commits-ports-all,dev-commits-ports-main]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Moin moin I reverted this due to breakage -- please fix, *test*, and readd. mfg Tobias On Sun, 22 May 2022 at 07:19, Po-Chuan Hsieh wrote: > > The branch main has been updated by sunpoet: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=863e0d46e6fac215477cf3f9787fb89bd216191c > > commit 863e0d46e6fac215477cf3f9787fb89bd216191c > Author: Po-Chuan Hsieh > AuthorDate: 2022-05-22 04:27:24 +0000 > Commit: Po-Chuan Hsieh > CommitDate: 2022-05-22 05:11:37 +0000 > > Mk/Uses/tar.mk: Add .tar.zst support (USES=tar:zst or USES=tar:zstd) > > - While I'm here, sort tar arguments for easier lookup > --- > Mk/Uses/tar.mk | 28 +++++++++++++++------------- > 1 file changed, 15 insertions(+), 13 deletions(-) > > diff --git a/Mk/Uses/tar.mk b/Mk/Uses/tar.mk > index a847cb540616..ff1d471360a3 100644 > --- a/Mk/Uses/tar.mk > +++ b/Mk/Uses/tar.mk > @@ -1,33 +1,35 @@ > # handle tar archives > # > # Feature: tar > -# Usage: USES=tar[:[xz|lz|lzma|txz|bz[ip]2|tgz|tbz|tbz2|Z]] > +# Usage: USES=tar[:[Z|bz2|bzip2|lz|lzma|tbz|tbz2|tgz|txz|xz|zst|zstd] > # > # MAINTAINER: ports@FreeBSD.org > > .if !defined(_INCLUDE_USES_TAR_MK) > _INCLUDE_USES_TAR_MK= yes > > -. if ${tar_ARGS} == xz > -EXTRACT_SUFX?= .tar.xz > +. if empty(tar_ARGS) > +EXTRACT_SUFX?= .tar > +. elif ${tar_ARGS} == Z > +EXTRACT_SUFX?= .tar.Z > +. elif ${tar_ARGS} == bz || ${tar_ARGS} == bzip2 > +EXTRACT_SUFX?= .tar.bz2 > . elif ${tar_ARGS} == lz > EXTRACT_SUFX?= .tar.lz > . elif ${tar_ARGS} == lzma > EXTRACT_SUFX?= .tar.lzma > -. elif ${tar_ARGS} == txz > -EXTRACT_SUFX?= .txz > -. elif ${tar_ARGS} == bzip2 || ${tar_ARGS} == bz2 > -EXTRACT_SUFX?= .tar.bz2 > -. elif ${tar_ARGS} == tgz > -EXTRACT_SUFX?= .tgz > . elif ${tar_ARGS} == tbz > EXTRACT_SUFX?= .tbz > . elif ${tar_ARGS} == tbz2 > EXTRACT_SUFX?= .tbz2 > -. elif ${tar_ARGS} == Z > -EXTRACT_SUFX?= .tar.Z > -. elif empty(tar_ARGS) > -EXTRACT_SUFX?= .tar > +. elif ${tar_ARGS} == tgz > +EXTRACT_SUFX?= .tgz > +. elif ${tar_ARGS} == txz > +EXTRACT_SUFX?= .txz > +. elif ${tar_ARGS} == xz > +EXTRACT_SUFX?= .tar.xz > +. elif ${tar_ARGS} == zst || ${tar_ARGS} == zstd > +EXTRACT_SUFX?= .tar.zst > . else > IGNORE= Incorrect 'USES+=tar:${tar_ARGS}' > . endif