[PATCH] cygport: allow for different package compression types and implement ZStandard decompression

Achim Gratz Stromeko@nexgo.de
Sun Jun 14 11:01:02 GMT 2020


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


More information about the Cygwin-apps mailing list