2013-01-06 00:47:50 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2013-10-25 22:44:51 +02:00
|
|
|
;;; Copyright © 2012, 2013 Andreas Enge <andreas@enge.fr>
|
2012-12-21 11:37:46 +01:00
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; This file is part of GNU Guix.
|
2012-12-21 11:37:46 +01:00
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-12-21 11:37:46 +01:00
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-12-21 11:37:46 +01:00
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-06 00:47:50 +01:00
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-12-21 11:37:46 +01:00
|
|
|
|
2013-01-18 01:06:24 +01:00
|
|
|
(define-module (gnu packages rsync)
|
2013-01-18 01:06:47 +01:00
|
|
|
#:use-module (gnu packages)
|
2013-01-18 01:06:24 +01:00
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages acl)
|
2014-05-20 15:20:27 +02:00
|
|
|
#:use-module (gnu packages which)
|
2012-12-21 11:37:46 +01:00
|
|
|
#:use-module (guix licenses)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
|
|
|
|
(define-public rsync
|
|
|
|
(package
|
|
|
|
(name "rsync")
|
2013-10-25 22:44:51 +02:00
|
|
|
(version "3.1.0")
|
2012-12-21 11:37:46 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2013-10-25 22:44:51 +02:00
|
|
|
(uri (string-append "http://rsync.samba.org/ftp/rsync/src/rsync-"
|
2012-12-21 11:37:46 +01:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2013-10-25 22:44:51 +02:00
|
|
|
"0kirw8wglqvwi1v8bwxp373g03xg857h59j5k3mmgff9gzvj7jl1"))))
|
2012-12-21 11:37:46 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("perl" ,perl)
|
|
|
|
("acl" ,acl)))
|
|
|
|
(synopsis "rsync, a remote (and local) file copying tool")
|
|
|
|
(description
|
|
|
|
"rsync is a fast and versatile file copying tool. It can copy locally,
|
|
|
|
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 network
|
|
|
|
by sending only the differences between the source files and the existing
|
|
|
|
files in the destination.")
|
|
|
|
(license gpl3+)
|
|
|
|
(home-page "http://rsync.samba.org/")))
|
2014-05-20 15:20:27 +02:00
|
|
|
|
|
|
|
(define-public librsync
|
|
|
|
(package
|
|
|
|
(name "librsync")
|
|
|
|
(version "0.9.7")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2014-05-27 17:38:57 +02:00
|
|
|
(uri (string-append "mirror://sourceforge/librsync/librsync/"
|
2014-05-20 15:20:27 +02:00
|
|
|
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+)))
|