[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: Add zutils.
From: |
guix-commits |
Subject: |
11/11: gnu: Add zutils. |
Date: |
Thu, 22 Aug 2019 09:39:41 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit f5111b4d2b982d58387188bc3018e4dd2e9a9d4f
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Wed Jul 31 00:41:37 2019 +0200
gnu: Add zutils.
* gnu/packages/compression.scm (zutils): New public variable.
---
gnu/packages/compression.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 9834fcb..bda43bf 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1954,3 +1954,49 @@ reading from and writing to ZIP archives. ")
;; Project is distributed under LGPL, but "quazip/z*" "quazip/unzip.*" are
;; distributed under zlib terms.
(license (list license:lgpl2.1+ license:zlib))))
+
+(define-public zutils
+ (package
+ (name "zutils")
+ ;; Check and remove the lint-hidden-cve property when updating.
+ (version "1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://savannah/zutils/zutils-" version
".tar.lz"))
+ (sha256
+ (base32 "0dx35mv78fgqgz6sszs05ng8ipz2xy09ry9vpmka2rmy08b7x907"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--sysconfdir=/etc")
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key make-flags outputs #:allow-other-keys)
+ (apply invoke "make" "install"
+ (string-append "sysconfdir=" (assoc-ref outputs "out")
+ "/etc")
+ make-flags))))))
+ (native-inputs
+ ;; Needed to extract the source tarball and run the test suite.
+ `(("lzip" ,lzip)))
+ (properties `((lint-hidden-cve . ("CVE-2018-1000637"))))
+ (home-page "https://www.nongnu.org/zutils/zutils.html")
+ (synopsis "Utilities that transparently operate on compressed files")
+ (description
+ "Zutils is a collection of utilities able to process any combination of
+compressed and uncompressed files transparently. If any given file, including
+standard input, is compressed, its decompressed content is used instead.
+
+@command{zcat}, @command{zcmp}, @command{zdiff}, and @command{zgrep} are
+improved replacements for the shell scripts provided by GNU gzip.
+@command{ztest} tests the integrity of supported compressed files.
+@command{zupdate} recompresses files with lzip, similar to gzip's
+@command{znew}.
+
+Supported compression formats are bzip2, gzip, lzip, and xz. Zutils uses
+external compressors: the compressor to be used for each format is configurable
+at run time, and must be installed separately.")
+ (license (list license:bsd-2 ; arg_parser.{cc,h}
+ license:gpl2+)))) ; the rest
- branch master updated (524c0ec -> f5111b4), guix-commits, 2019/08/22
- 08/11: gnu: whois: Update to 5.5.1., guix-commits, 2019/08/22
- 04/11: gnu: shellcheck: Update to 0.7.0., guix-commits, 2019/08/22
- 05/11: gnu: nsd: Update to 4.2.2., guix-commits, 2019/08/22
- 11/11: gnu: Add zutils.,
guix-commits <=
- 02/11: gnu: nnn: Update to 2.6., guix-commits, 2019/08/22
- 01/11: gnu: python-redis: Update to 3.3.8., guix-commits, 2019/08/22
- 06/11: gnu: mpd: Update to 0.21.14., guix-commits, 2019/08/22
- 03/11: gnu: chafa: Update to 1.2.1., guix-commits, 2019/08/22
- 10/11: gnu: mupen64plus-ui-console: Correct synopsis., guix-commits, 2019/08/22
- 07/11: gnu: whois: Don't use NAME in source URI., guix-commits, 2019/08/22
- 09/11: gnu: mupen64plus-ui-console: Use HTTPS home page., guix-commits, 2019/08/22