From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 1/4] gnu: Add librsync. Date: Sat, 24 May 2014 01:14:29 -0500 Message-ID: <871tvjr9dm.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wo5Ap-000681-5o for Guix-devel@gnu.org; Sat, 24 May 2014 02:11:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wo5Ak-0002QZ-DI for Guix-devel@gnu.org; Sat, 24 May 2014 02:11:15 -0400 Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]:39428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wo5Ak-0002QU-7n for Guix-devel@gnu.org; Sat, 24 May 2014 02:11:10 -0400 Received: by mail-ig0-f175.google.com with SMTP id uq10so1454236igb.14 for ; Fri, 23 May 2014 23:11:09 -0700 (PDT) Received: from cooper.gmail.com (chippewa-nat.cray.com. [136.162.34.1]) by mx.google.com with ESMTPSA id w4sm9750048igl.7.2014.05.23.23.11.09 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 23 May 2014 23:11:09 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-librsync.patch >From 1eba3ffa9be4cf509691257b53c015a7798b0312 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 20 May 2014 08:20:27 -0500 Subject: [PATCH 1/4] gnu: Add librsync. * gnu/packages/rsync.scm (librsync): New variable. --- gnu/packages/rsync.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm index c51d65c..a55febf 100644 --- a/gnu/packages/rsync.scm +++ b/gnu/packages/rsync.scm @@ -20,6 +20,7 @@ #:use-module (gnu packages) #:use-module (gnu packages perl) #:use-module (gnu packages acl) + #:use-module (gnu packages which) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) @@ -49,3 +50,29 @@ by sending only the differences between the source files and the existing files in the destination.") (license gpl3+) (home-page "http://rsync.samba.org/"))) + +(define-public librsync + (package + (name "librsync") + (version "0.9.7") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/projects/librsync/librsync/" + version "/librsync-" version ".tar.gz")) + (sha256 + (base32 + "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6")))) + (build-system gnu-build-system) + (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 + "Librsync is a free software library that implements the rsync +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 zlib +with the aim of allowing it to be embedded into many different applications.") + (license lgpl2.1+))) -- 1.7.9.5 --=-=-= -- Eric Bavier --=-=-=--