me
/
guix
Archived
1
0
Fork 0

gnu: rsync: Use system zlib and popt libraries.

Reduce our likelihood of contracting security bugs at the expense of
compression ratio (in some cases) and compatibility with rsync≤3.1.1.

rsync@3.1.2 was released in 2014.  Time to upgrade your CentOS box.

* gnu/packages/rsync.scm (rsync)[inputs]: Add popt and zlib.
[arguments]: Use them.
master
Tobias Geerinckx-Rice 2020-03-21 01:08:08 +01:00
parent f9caa6c7c1
commit acf2b20069
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 2 deletions

View File

@ -34,7 +34,6 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu))
(define-public rsync
(package
(name "rsync")
@ -47,10 +46,17 @@
(base32
"1h0011dj6jgqpgribir4anljjv7bbrdcs8g91pbsmzf5zr75bk2m"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
;; The bundled copies are preferred by default.
(list "--without-included-zlib"
"--without-included-popt")))
(native-inputs
`(("perl" ,perl)))
(inputs
`(("acl" ,acl)))
`(("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,