From 06ca1a8c8fa09c5e749f00b2757e32221c104841 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 16 Aug 2019 16:27:46 +0200 Subject: [PATCH 1/3] xz module added --- Tools/xz/build | 26 +++++++++++++++++++++++ Tools/xz/files/variants.macos10.14 | 1 + Tools/xz/modulefile | 34 ++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100755 Tools/xz/build create mode 100644 Tools/xz/files/variants.macos10.14 create mode 100644 Tools/xz/modulefile diff --git a/Tools/xz/build b/Tools/xz/build new file mode 100755 index 0000000..6501335 --- /dev/null +++ b/Tools/xz/build @@ -0,0 +1,26 @@ +#!/usr/bin/env modbuild + +pbuild::add_to_group 'Tools' + +pbuild::set_download_url \ + "https://sourceforge.net/projects/lzmautils/files/$P-${V_PKG}.tar.gz" + +pbuild::set_sha256sum 'xz-5.2.4.tar.gz:b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145' +pbuild::install_docfiles \ + AUTHORS \ + COPYING \ + COPYING.GPLv2 \ + COPYING.GPLv3 \ + COPYING.LGPLv2.1 \ + ChangeLog \ + NEWS \ + PACKAGERS \ + README \ + THANKS \ + TODO + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/xz/files/variants.macos10.14 b/Tools/xz/files/variants.macos10.14 new file mode 100644 index 0000000..9d774b5 --- /dev/null +++ b/Tools/xz/files/variants.macos10.14 @@ -0,0 +1 @@ +xz/5.2.4 unstable diff --git a/Tools/xz/modulefile b/Tools/xz/modulefile new file mode 100644 index 0000000..192ce65 --- /dev/null +++ b/Tools/xz/modulefile @@ -0,0 +1,34 @@ +#%Pmodule + +module-whatis "free general-purpose data compression software" +module-url "https://tukaani.org/xz/" +module-license "" +module-maintainer "Achim Gsell " + +module-help " +XZ Utils is free general-purpose data compression software with a high +compression ratio. XZ Utils were written for POSIX-like systems, but +also work on some not-so-POSIX systems. XZ Utils are the successor to +LZMA Utils. + +The core of the XZ Utils compression code is based on LZMA SDK, but it +has been modified quite a lot to be suitable for XZ Utils. The primary +compression algorithm is currently LZMA2, which is used inside the .xz +container format. With typical files, XZ Utils create 30 % smaller +output than gzip and 15 % smaller output than bzip2. + +XZ Utils consist of several components: +* liblzma is a compression library with an API similar to that of zlib. +* xz is a command line tool with syntax similar to that of gzip. +* xzdec is a decompression-only tool smaller than the full-featured xz + tool. +* A set of shell scripts (xzgrep, xzdiff, etc.) have been adapted from + gzip to ease viewing, grepping, and comparing compressed files. +* Emulation of command line tools of LZMA Utils eases transition from + LZMA Utils to XZ Utils. + +While liblzma has a zlib-like API, liblzma doesn't include any file I/O +functions. A separate I/O library is planned, which would abstract +handling of .gz, .bz2, and .xz files with an easy to use API. +" + From 14302dd481ab556ca7fdecfdc92b80ad25ed1b95 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 29 Aug 2019 14:16:54 +0200 Subject: [PATCH 2/3] xz: 5.2.4 added for rhel6 and macos10.14 --- Tools/xz/files/variants.rhel6 | 1 + 1 file changed, 1 insertion(+) create mode 100644 Tools/xz/files/variants.rhel6 diff --git a/Tools/xz/files/variants.rhel6 b/Tools/xz/files/variants.rhel6 new file mode 100644 index 0000000..52d9b0e --- /dev/null +++ b/Tools/xz/files/variants.rhel6 @@ -0,0 +1 @@ +xz/5.2.4 stable From 94b7f23dadde04b2ba01b45afecdc0293b0448be Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 29 Aug 2019 14:17:23 +0200 Subject: [PATCH 3/3] xz: 5.2.4 added for rhel6 and macos10.14 --- Tools/xz/files/variants.macos10.14 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/xz/files/variants.macos10.14 b/Tools/xz/files/variants.macos10.14 index 9d774b5..52d9b0e 100644 --- a/Tools/xz/files/variants.macos10.14 +++ b/Tools/xz/files/variants.macos10.14 @@ -1 +1 @@ -xz/5.2.4 unstable +xz/5.2.4 stable