public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin-apps@cygwin.com
Subject: [PATCH] cygport: allow for different package compression types and implement ZStandard decompression
Date: Sun, 14 Jun 2020 13:01:02 +0200	[thread overview]
Message-ID: <87tuzd7vyp.fsf@Rainer.invalid> (raw)


Now that setup and calm know about Zstandard compression it's about time
we teach cygport the same.

https://repo.or.cz/cygport/rpm-style.git/commitdiff/303045744ba6159c6063786cf5b173d760f6298d

This patch keeps the current defaults in place, but allows one to set up
two environment variables to control how tar gets invoked during
packaging.  You could do that from either the cygport file or the
.cygport.conf file:

CYGPORT_TAR_CMD="env ZSTD_CLEVEL=19 tar -I zstd --group nobody:65534 --owner nobody:65534"
CYGPORT_TAR_EXT=".tar.zst"

While our packaged tar does not yet know about zst files the compressor
has top be named explicitly, eventually Eric will get around and release
a new version hopefully and then this can get automatic.  As
demonstrated above the facility can be used to do other useful things
besides changing the compression type and extension.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

             reply	other threads:[~2020-06-14 11:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-14 11:01 Achim Gratz [this message]
2020-11-22 19:14 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuzd7vyp.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).