X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/19464173bafdc42adfc8dd7277c491c40ddef66b..3d8cfac3d0fde0bb7b64299ae37720f02fafb48d:/gnu/packages/rsync.scm diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm index b20b841478..214095aa61 100644 --- a/gnu/packages/rsync.scm +++ b/gnu/packages/rsync.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013 Andreas Enge ;;; Copyright © 2016 Mark H Weaver -;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2017, 2019 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2019 Leo Famulari ;;; @@ -30,24 +30,33 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu)) - (define-public rsync (package (name "rsync") (version "3.1.3") (source (origin (method url-fetch) - (uri (string-append "http://rsync.samba.org/ftp/rsync/src/rsync-" + (uri (string-append "https://rsync.samba.org/ftp/rsync/src/rsync-" version ".tar.gz")) (sha256 (base32 "1h0011dj6jgqpgribir4anljjv7bbrdcs8g91pbsmzf5zr75bk2m")))) (build-system gnu-build-system) - (inputs `(("perl" ,perl) - ("acl" ,acl))) + (arguments + `(#:configure-flags + ;; The bundled copies are preferred by default. + (list "--without-included-zlib" + "--without-included-popt"))) + (native-inputs + `(("perl" ,perl))) + (inputs + `(("acl" ,acl) + ("popt" ,popt) + ("zlib" ,zlib))) (synopsis "Remote (and local) file copying tool") (description "Rsync is a fast and versatile file copying tool. It can copy locally, @@ -56,19 +65,21 @@ 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 license:gpl3+) - (home-page "http://rsync.samba.org/"))) + (home-page "https://rsync.samba.org/"))) (define-public librsync (package (name "librsync") - (version "2.0.2") + (version "2.2.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/librsync/librsync/archive/v" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/librsync/librsync") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1waa581pcscc1rnvy06cj584k5dx0dc7jj79wsdj7xw4xqh9ayz6")))) + "08wdlxsa9zg2pyasz1lwg70d5psi4amv81v4yxwffx67ndzb9yp5")))) (build-system cmake-build-system) (inputs `(("popt" ,popt)))