GNU bug report logs - #36863
[PATCH] gnu: Add zutils.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Tobias Geerinckx-Rice <me@HIDDEN>; Keywords: patch; Done: Tobias Geerinckx-Rice <me@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 36863 <at> and Tobias Geerinckx-Rice <me@HIDDEN> Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> Full text available.

Message received at submit <at>

Received: (at submit) by; 30 Jul 2019 23:01:02 +0000
From debbugs-submit-bounces <at> Tue Jul 30 19:01:01 2019
Received: from localhost ([]:51360
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1hsb77-0008Vf-Fr
	for submit <at>; Tue, 30 Jul 2019 19:01:01 -0400
Received: from ([]:54266)
 by with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1hsb72-0008VO-Vh
 for submit <at>; Tue, 30 Jul 2019 19:00:58 -0400
Received: from ([2001:470:142:3::10]:51150)
 by with esmtp (Exim 4.86_2)
 (envelope-from <me@HIDDEN>) id 1hsb70-0007t6-Ss
 for guix-patches@HIDDEN; Tue, 30 Jul 2019 19:00:56 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1hsb6u-00010J-JU
 for guix-patches@HIDDEN; Tue, 30 Jul 2019 19:00:54 -0400
Received: from ([2001:470:7405::1]:35318)
 by with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <me@HIDDEN>) id 1hsb6r-0000ww-DD
 for guix-patches@HIDDEN; Tue, 30 Jul 2019 19:00:46 -0400
Received: by (OpenSMTPD) with ESMTP id 89a089c9
 for <guix-patches@HIDDEN>; Tue, 30 Jul 2019 23:00:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed;; h=from:to
 s=2018; i=me@HIDDEN; bh=9db/rfGoJwcJHcCPwN9hsx/UDfSv+sZq7hlr
 +2SJGTk=; b=BCI6fzn5lIrkbVWDgcoYdD8qid8o6AoV+HZ1yeUCfIfS/SEx8IR/
Received: by (OpenSMTPD) with ESMTPSA id cd7c028b
 for <guix-patches@HIDDEN>; Tue, 30 Jul 2019 23:00:40 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add zutils.
Date: Wed, 31 Jul 2019 01:00:29 +0200
Message-Id: <20190730230029.9269-1-me@HIDDEN>
X-Mailer: git-send-email 2.22.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by Genre and OS details not
X-Received-From: 2001:470:7405::1
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -2.4 (--)

* 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 9834fcbe63..bda43bfd18 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 "")
+    (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
+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

Acknowledgement sent to Tobias Geerinckx-Rice <me@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#36863; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 22 Aug 2019 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.