Commit 0537238c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

maketgz: switch to xz instead of lzma

The compressed output size seems to be a tad bit smaller, but generally
xz seems more preferred these days and is used directly by for example
gentoo instead of bz2.

"Users of LZMA Utils should move to XZ Utils" =>
https://tukaani.org/lzma/

Closes #1604
parent 9b167fd0
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -171,12 +171,12 @@ gzip -dc $targz | bzip2 --best > $bzip2


############################################################################
############################################################################
#
#
# Now make an lzma archive from the tar.gz original
# Now make an xz archive from the tar.gz original
#
#


lzma="curl-$version.tar.lzma"
xz="curl-$version.tar.xz"
echo "Generating $lzma"
echo "Generating $xz"
gzip -dc $targz | lzma --best - > $lzma
gzip -dc $targz | xz -9e - > $xz


############################################################################
############################################################################
#
#
@@ -202,7 +202,7 @@ makezip
echo "------------------"
echo "------------------"
echo "maketgz report:"
echo "maketgz report:"
echo ""
echo ""
ls -l $targz $bzip2 $zip $lzma
ls -l $targz $bzip2 $zip $xz


echo "Run this:"
echo "Run this:"
echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $lzma"
echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $xz"