aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rsync.scm
blob: d7fc188af2a039d39b7f94a201b27f7388fd6490 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; 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.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; 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
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(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 (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))


(define-public rsync
  (package
   (name "rsync")
   (version "3.1.2")
   (source (origin
            (method url-fetch)
            (uri (string-append "http://rsync.samba.org/ftp/rsync/src/rsync-"
                                version ".tar.gz"))
            (sha256
             (base32
              "1hm1q04hz15509f0p9bflw4d6jzfvpm1d36dxjwihk1wzakn5ypc"))
            (patches (search-patches "rsync-CVE-2017-16548.patch"
                                     "rsync-CVE-2017-17433.patch"
                                     "rsync-CVE-2017-17433-fix-tests.patch"
                                     "rsync-CVE-2017-17434-pt1.patch"
                                     "rsync-CVE-2017-17434-pt2.patch"
                                     ))
            ))
   (properties `((lint-hidden-cve . ("CVE-2017-15994")))) ; introduced after 3.1.2
   (build-system gnu-build-system)
   (inputs `(("perl" ,perl)
             ("acl" ,acl)))
   (synopsis "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/")))

(define-public librsync
  (package
    (name "librsync")
    (version "0.9.7")
       (source (origin
            (method url-fetch)
            (uri (string-append "mirror://sourceforge/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+)))
on't explicitly return #t from phases. Tobias Geerinckx-Rice 2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe 2021-09-27gnu: foomatic-filters: Fix build....* gnu/packages/cups.scm (foomatic-filters)[arguments]: Pass the -fcommon flag to fix compilation with GCC 10. Mathieu Othacehe 2021-09-18gnu: hplip: Update to 3.21.8....* gnu/packages/cups.scm (hplip): Update to 3.21.8. Tobias Geerinckx-Rice 2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-09-04gnu: epson-inkjet-printer-escpr: Update to 1.7.17....* gnu/packages/cups.scm (epson-inkjet-printer-escpr): Update to 1.7.17. Tobias Geerinckx-Rice 2021-09-03gnu: hplip: Update to 3.21.6....* gnu/packages/cups.scm (hplip): Update to 3.21.6. Tobias Geerinckx-Rice 2021-07-24gnu: Use 'search-input-directory' when looking for C/C++ library headers....* gnu/packages/arcan.scm (arcan)[arguments]: Use 'search-input-directory' for "include/libdrm" and "include/apr-1". * gnu/packages/bioinformatics.scm (sailfish): Likewise for jellyfish. * gnu/packages/boost.scm (boost-for-irods): Likewise for libcxx headers. * gnu/packages/cedille.scm (cedille): Likewise for IAL headers. * gnu/packages/compression.scm (snappy-with-clang6): Likewise for libcxx headers. * gnu/packages/cups.scm (hplip): Likewise for libusb headers. * gnu/packages/emulators.scm (pcsxr): Likewise for libcdio headers. * gnu/packages/game-development.scm (python2-renpy): Likewise for fribidi headers. * gnu/packages/games.scm (pokerth): Likewise for libircclient. * gnu/packages/guile-xyz.scm (guile-persist): Likewise for Guile. * gnu/packages/hurd.scm (hurd): Likewise for libtirpc. * gnu/packages/irods.scm (irods, irods-client-icommands): Likewise for libcxx, catch2, and nlohmann-json-cpp. * gnu/packages/julia.scm (julia): Use 'search-input-file' for libuv's errno.h. * gnu/packages/kde-pim.scm (kdepim-runtime): Use 'search-input-directory' for "include/KF5". (kmessagelib): Likewise. * gnu/packages/kde.scm (kdeconnect): Likewise. * gnu/packages/llvm.scm (clang-runtime-3.5): Likewise for libtirpc. * gnu/packages/mpi.scm (openmpi): Likewise for "include/infiniband". * gnu/packages/pumpio.scm (pumpa): Use 'search-input-file' for "tidy.h" and "aspell.h". * gnu/packages/radio.scm (dream): Use 'search-input-file' and 'search-input-directory' for pulseaudio, sndfile, etc. * gnu/packages/selinux.scm (policycoreutils): Likewise for PAM and libaudit. * gnu/packages/serialization.scm (avro-cpp-1.9-for-irods): Likewise for libcxx. * gnu/packages/sync.scm (nextcloud-client): Likewise for "include/KF5". * gnu/packages/video.scm (mkvtoolnix): Likewise for "include/gtest". (libopenshot): Likewise for "include/UnitTest++". * gnu/packages/virtualization.scm (criu): Likewise for libnl3 and for protobuf file. Ludovic Courtès 2021-07-18Merge branch 'master' into core-updatesLudovic Courtès 2021-06-30gnu: epson-inkjet-printer-escpr: Update to 1.7.12....* gnu/packages/cups.scm (epson-inkjet-printer-escpr): Update to 1.7.12. Tobias Geerinckx-Rice 2021-06-27gnu: cups-filters: Update to 1.28.9....* gnu/packages/cups.scm (cups-filters): Update to 1.28.9. Tobias Geerinckx-Rice 2021-06-23gnu: cups: Add replacement to fix CVE-2020-10001....* gnu/packages/patches/cups-CVE-2020-10001.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/cups.scm (cups-minimal/fixed): New variable. (cups-minimal)[replacement]: Assign it to new field. Tobias Geerinckx-Rice 2021-06-23gnu: cups: Update to 2.3.3op2 [fixes CVE-2020-10001]....* gnu/packages/cups.scm (cups): Update to 2.3.3op2. [home-page]: Update as well. Tobias Geerinckx-Rice 2021-06-23gnu: cups: Fetch source directly from the Git repository....* gnu/packages/cups.scm (cups)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2021-06-23gnu: cups-minimal: Remove the server settings from the /admin Web UI....* gnu/packages/cups.scm (cups-minimal)[arguments]: Add a new 'remove-Web-UI-server-settings phase. Tobias Geerinckx-Rice 2021-06-23gnu: cups-minimal: Never cupsAdminGetServerSettings....* gnu/packages/cups.scm (cups-minimal)[arguments]: Add a new 'never-cupsAdminGetServerSettings phase. Tobias Geerinckx-Rice 2021-06-23gnu: cups: Inherit & modify cups-minimal arguments....* gnu/packages/cups.scm (cups)[arguments]: Use substitute-keyword-arguments on cups-minimal's arguments to do away with the redundant 'patch-makedefs and 'make-manpages-writable phases. Tobias Geerinckx-Rice 2021-06-19Merge branch 'master' into core-updates...Note: this merge actually changes the 'curl' and 'python-attrs' derivations, as part of solving caf4a7a2770ef4d05a6e18f40d602e51da749ddc and 12964df69a99de6190422c752fef65ef813f3b6b respectively. 4604d43c0e (gnu: gnutls@3.6.16: Fix cross-compilation.) was ignored because it cannot currently be tested. Conflicts: gnu/local.mk gnu/packages/aidc.scm gnu/packages/boost.scm gnu/packages/curl.scm gnu/packages/nettle.scm gnu/packages/networking.scm gnu/packages/python-xyz.scm gnu/packages/tls.scm Marius Bakke 2021-06-16gnu: epson-inkjet-printer-escpr: Update to 1.7.11....* gnu/packages/cups.scm (epson-inkjet-printer-escpr): Update to 1.7.11. Tobias Geerinckx-Rice