GNU bug report logs - #30448
Update librsync to 2.0.1

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: Leo Famulari <leo@HIDDEN>; Keywords: patch; dated Tue, 13 Feb 2018 19:02:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) patch. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 30448 <at> debbugs.gnu.org:


Received: (at 30448) by debbugs.gnu.org; 15 Feb 2018 14:27:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 15 09:27:34 2018
Received: from localhost ([127.0.0.1]:43819 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1emKVY-0006Ly-2b
	for submit <at> debbugs.gnu.org; Thu, 15 Feb 2018 09:27:34 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:55684)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1emKVW-0006Lq-2e
 for 30448 <at> debbugs.gnu.org; Thu, 15 Feb 2018 09:27:30 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 8827F1163C;
 Thu, 15 Feb 2018 15:27:29 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id rlpYlVjcWEAy; Thu, 15 Feb 2018 15:27:28 +0100 (CET)
Received: from ribbon (unknown [193.50.110.160])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id A4B991163B;
 Thu, 15 Feb 2018 15:27:28 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Leo Famulari <leo@HIDDEN>
Subject: Re: [bug#30448] Update librsync to 2.0.1
References: <20180213190113.GA22610@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 27 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la
 =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 15 Feb 2018 15:27:28 +0100
In-Reply-To: <20180213190113.GA22610@HIDDEN> (Leo Famulari's message of
 "Tue, 13 Feb 2018 14:01:13 -0500")
Message-ID: <87zi4a8h0v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30448
Cc: 30448 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hello,

Leo Famulari <leo@HIDDEN> skribis:

> Is anyone using one of the dependent packages interested in looking more
> closely at this?

I=E2=80=99m not using it, but at first sight the patch LGTM.

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#30448; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Feb 2018 19:01:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 13 14:01:38 2018
Received: from localhost ([127.0.0.1]:41789 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elfpc-0007WZ-B4
	for submit <at> debbugs.gnu.org; Tue, 13 Feb 2018 14:01:37 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42776)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1elfpa-0007WM-FU
 for submit <at> debbugs.gnu.org; Tue, 13 Feb 2018 14:01:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1elfpU-0007Tx-1x
 for submit <at> debbugs.gnu.org; Tue, 13 Feb 2018 14:01:25 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60033)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1elfpT-0007Tp-Td
 for submit <at> debbugs.gnu.org; Tue, 13 Feb 2018 14:01:23 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33742)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1elfpP-0007uu-UN
 for guix-patches@HIDDEN; Tue, 13 Feb 2018 14:01:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1elfpL-0007QE-Rl
 for guix-patches@HIDDEN; Tue, 13 Feb 2018 14:01:19 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33197)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1elfpL-0007Pz-II
 for guix-patches@HIDDEN; Tue, 13 Feb 2018 14:01:15 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id C9525210D6;
 Tue, 13 Feb 2018 14:01:14 -0500 (EST)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Tue, 13 Feb 2018 14:01:14 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=content-type:date:from:message-id:mime-version:subject:to
 :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=niupHepzRbZmL8
 xhE6z7F1EyheKEYldAYetOoNmW0LY=; b=YdlVI4fbaQqteALrb25W4KA6/FrybR
 p+yyI11HWt9pcI2xugqyfwTMEn5OSgL3Gc3FN7uNa/b38g2Q4CdnLTHo1qTEuYoy
 SosK6YG+KYMpmpMNEgcrrb0WaLYc0t5xbLf4Nuvxo9SLbGJ7b4JnO9qi4WaMJC15
 NObNYH1MnKLAs=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; bh=niupHepzRbZmL8xhE6z7F1EyheKEYldAYetOoNmW0LY=; b=QwrzRFIJ
 kh0pzYlpk45FmCJX6siGppfipKDxmZXyDgxcNPYWwfGmNgU0kit766uf3PFghZhx
 rvkxrOvvDZ3NgqGRiyYCOp5xzKx7r5LpKV5ZYYT20EgR/Sr+U/yAMrf5uClgu1KE
 yAyAdgdWzROl9P0q7Jx2VkxZhi850rqtf4Hbhoc771YGFHyn0PhMQJcykxCPTYFS
 VR4hVxALVjgNg9wdKZWWL/WWvjILTDxFWA4CJVGJjFgqf8DqP2ZM8SRPojJDz/gt
 Bp1pYtkHW6F3RWMrttsmY45hFmLVdcF3UNk5ExaJUMaKGT4+wLHB3XSv4yS7iA5t
 coUI20H7tsWbQw==
X-ME-Sender: <xms:-jWDWl-qNUawF4JyCDyjPGkoSOBhjnQHqyrNHGiFyqrMa77xg3u2YQ>
Received: from localhost (unknown [172.58.225.135])
 by mail.messagingengine.com (Postfix) with ESMTPA id 7B233246AC
 for <guix-patches@HIDDEN>; Tue, 13 Feb 2018 14:01:14 -0500 (EST)
Date: Tue, 13 Feb 2018 14:01:13 -0500
From: Leo Famulari <leo@HIDDEN>
To: guix-patches@HIDDEN
Subject: Update librsync to 2.0.1
Message-ID: <20180213190113.GA22610@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG"
Content-Disposition: inline
User-Agent: Mutt/1.9.3 (2018-01-21)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.9 (/)


--1UWUbFP1cBYEclgG
Content-Type: multipart/mixed; boundary="/04w6evG8XlLl3ft"
Content-Disposition: inline


--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

librsync 2.0.1 is available at a new upstream URL:

https://github.com/librsync/librsync/releases

Patch attached.

This would also include the fix for CVE-2014-8242, which is about use of
a cryptographically broken hash function (truncated MD4), released in
librsync 1.0.0.

However, at least btar and rdiff-backup aren't compatible with this new
version of librsync (I'm still building deja-dup to test its
compatibility).

Additionally, I noticed that the built package doesn't keep any
references to bzip2 or zlib, which seems wrong to me.

Is anyone using one of the dependent packages interested in looking more
closely at this?

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="0001-gnu-librsync-Update-to-2.0.1.patch"
Content-Transfer-Encoding: quoted-printable

=46rom f89c21668a82a78bdc7b7bf5d2a0a3418032b582 Mon Sep 17 00:00:00 2001
=46rom: Leo Famulari <leo@HIDDEN>
Date: Tue, 13 Feb 2018 13:50:26 -0500
Subject: [PATCH] gnu: librsync: Update to 2.0.1.

* gnu/packages/rsync.scm (librsync): Update to 2.0.1.
[source]: Update source URL.
[build-system]: Use cmake-build-system.
[inputs]: Add bzip2, popt, and zlib.
[arguments]: Remove field.
---
 gnu/packages/rsync.scm | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm
index 4fed03523..6f4c1aec9 100644
--- a/gnu/packages/rsync.scm
+++ b/gnu/packages/rsync.scm
@@ -3,6 +3,7 @@
 ;;; Copyright =A9 2016 Mark H Weaver <mhw@HIDDEN>
 ;;; Copyright =A9 2017 Efraim Flashner <efraim@HIDDEN>
 ;;; Copyright =A9 2018 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright =A9 2018 Leo Famulari <leo@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,12 +22,15 @@
=20
 (define-module (gnu packages rsync)
   #:use-module (gnu packages)
-  #:use-module (gnu packages perl)
   #:use-module (gnu packages acl)
   #:use-module (gnu packages base)
-  #:use-module (guix licenses)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages perl)
+  #:use-module (gnu packages popt)
+  #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu))
=20
=20
@@ -51,25 +55,28 @@ to/from another host over any remote shell, or to/from =
a remote rsync daemon.
 Its delta-transfer algorithm reduces the amount of data sent over the netw=
ork
 by sending only the differences between the source files and the existing
 files in the destination.")
-   (license gpl3+)
+   (license license:gpl3+)
    (home-page "http://rsync.samba.org/")))
=20
 (define-public librsync
   (package
     (name "librsync")
-    (version "0.9.7")
+    (version "2.0.1")
        (source (origin
             (method url-fetch)
-            (uri (string-append "mirror://sourceforge/librsync/librsync/"
-                                version "/librsync-" version ".tar.gz"))
+            (uri (string-append "https://github.com/librsync/librsync/arch=
ive/v"
+                                version ".tar.gz"))
             (sha256
              (base32
-              "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6"))))
-   (build-system gnu-build-system)
+              "0pk2a9kpwlpxjn35v8m03wmxz0lv56kq1chs3yi75z543826kkkg"))))
+   (build-system cmake-build-system)
+   (inputs
+    `(("bzip2" ,bzip2)
+      ("popt" ,popt)
+      ("zlib" ,zlib)))
    (native-inputs
     `(("which" ,which)
       ("perl" ,perl)))
-   (arguments '(#:configure-flags '("--enable-shared")))
    (home-page "http://librsync.sourceforge.net/")
    (synopsis "Implementation of the rsync remote-delta algorithm")
    (description
@@ -78,4 +85,4 @@ remote-delta algorithm.  This algorithm allows efficient =
remote updates of a
 file, without requiring the old and new versions to both be present at the
 sending end.  The library uses a \"streaming\" design similar to that of z=
lib
 with the aim of allowing it to be embedded into many different application=
s.")
-   (license lgpl2.1+)))
+   (license license:lgpl2.1+)))
--=20
2.16.1


--/04w6evG8XlLl3ft--

--1UWUbFP1cBYEclgG
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqDNfUACgkQJkb6MLrK
fwjpow//fo1gSF1I9aR0C0xqq8QhjBFZk/QM12wdXfwUNRaWmTHLUy0Kgf63SXEC
qlTFOnMaeE1NwU875wxhtH3QT5e3rL328oPzrE9WeOtCDFkAaaqGG4ddIJ9o1Mi6
Koz2lvw8TP+sYRhpm5AFvisHxQ/r3Vnt6xSmt7G/9IjSQCxOX48GHtkyH5qtGOBz
gFvdFjHjPo1T0JCyX/tn8EJSxCSOzJV7BFrpp8g5YyCqQVbp10mN/xnjIZhENMvW
p2IbQwQT8gmYlGZXIZOfcCsMb+qv5bAgZPxYpX/EHL53e/3UTLEkoxigCB9p0CYc
Rn7OE34qHq2vm9mzSZVd7PTFbKUCJlG+p4JTyNnJagI3OUSsvV43IL+FMiWX2SjS
EikvFeMmqe65m+FsIaEp6HSnBUSk/qxDXBCiJbPV5Lxmkx5oaMTb7oyIBQSS6Vtj
FzvS5+D0ds8orDVeA1BcPcQ9ADpnZX7ld+b07W9sxcuJxGrvykQtiuv3XvEUs4Cc
3Br3aB5X8a/e2fcBO9fHdbr5PVmB3FRQY8cLhJ9HpBtplrNiq0vhz75j6QjSaY74
xUDFW0FDaBTuEW1mztruInTL8ELxlOzAAzMBmCKGkYJg8ogqgJbDoqnFsvpQP8rC
D5Qajt3UOvydBFep/qYQOhQNOy0j+j4D5BBDj0xVRkGN6wOoqBI=
=nIsZ
-----END PGP SIGNATURE-----

--1UWUbFP1cBYEclgG--




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#30448; 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: Mon, 19 Mar 2018 08:15:02 UTC

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