From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZqIO-0004Ur-AO for guix-patches@gnu.org; Mon, 24 Jul 2017 23:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZqIN-0005Lm-6G for guix-patches@gnu.org; Mon, 24 Jul 2017 23:14:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZqIN-0005L1-2p for guix-patches@gnu.org; Mon, 24 Jul 2017 23:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dZqIM-0003e1-OK for guix-patches@gnu.org; Mon, 24 Jul 2017 23:14:02 -0400 Subject: [bug#27814] [PATCH] gnu: Add lziprecover. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZqHb-0004Jb-IK for guix-patches@gnu.org; Mon, 24 Jul 2017 23:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZqHa-0004vm-DJ for guix-patches@gnu.org; Mon, 24 Jul 2017 23:13:15 -0400 Received: from tobias.gr ([2001:470:cc92::1]:53570) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZqHZ-0004vI-W6 for guix-patches@gnu.org; Mon, 24 Jul 2017 23:13:14 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 17d4e84a for ; Tue, 25 Jul 2017 03:13:08 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 8c0fdc61 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Tue, 25 Jul 2017 03:13:06 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 25 Jul 2017 05:14:43 +0200 Message-Id: <20170725031443.17909-1-me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27814@debbugs.gnu.org * gnu/packages/compression.scm (lziprecover): New variable. --- gnu/packages/compression.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index ede35f9f5..92636de7f 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -480,6 +480,36 @@ more than bzip2, which makes it well suited for software distribution and data archiving. Lzip is a clean implementation of the LZMA algorithm.") (license license:gpl3+))) +(define-public lziprecover + (package + (name "lziprecover") + (version "1.19") + (source (origin + (method url-fetch) + (uri (string-append "mirror://savannah/lzip/" name "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0z5fbkm0qprypjf7kxkqganniibj0zml13zvfkrchnjafcmmzyld")))) + (build-system gnu-build-system) + (home-page "http://www.nongnu.org/lzip/lziprecover.html") + (synopsis "Recover and decompress data from damaged lzip files") + (description + "Lziprecover is a data recovery tool and decompressor for files in the lzip +compressed data format (.lz). It can test the integrity of lzip files, extract +data from damaged ones, and repair most files with small errors (up to one +single-byte error per member) entirely. + +Lziprecover is not a replacement for regular backups, but a last line of defence +when even the backups are corrupt. It can recover files by merging the good +parts of two or more damaged copies, such as can be easily produced by running +@command{ddrescue} on a failing device. + +This package also includes @command{unzcrash}, a tool to test the robustness of +decompressors when faced with corrupted input.") + (license (list license:bsd-2 ; arg_parser.{cc,h} + license:gpl2+)))) ; everything else + (define-public sharutils (package (name "sharutils") -- 2.13.1