gnu: freerdp: Update to 2.0.0-rc0 [security fixes].

Fixes CVE-2017-{2834,2835,2836,2837,2838,2839}.

Reported by Leo Famulari in <https://bugs.gnu.org/27939>.

* gnu/packages/rdesktop.scm (freerdp): Update to 2.0.0-rc0.
[source]: Use tarball release. Adjust file-name.
[arguments]: Remove #:phases.
This commit is contained in:
Marius Bakke 2017-08-04 00:47:07 +02:00
parent c9f4f56b24
commit c89091459f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -72,15 +72,14 @@ (define-public rdesktop
(define-public freerdp (define-public freerdp
(package (package
(name "freerdp") (name "freerdp")
(version "1.2.0-beta1+android9") (version "2.0.0-rc0")
(source (origin (source (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri (string-append "https://github.com/FreeRDP/FreeRDP/archive/"
(url "git://github.com/FreeRDP/FreeRDP.git") version ".tar.gz"))
(commit version))) (file-name (string-append name "-" version ".tar.gz"))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1m0lzrr7hkxfvc5f9p8snimv0rmin2463zhg25mv36wig8g5k7l3")))) (base32 "0r36zwhl7fhmdng5pvl2a106gqbcqq184g2i2klz6ilna8pxjcml"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
@ -111,15 +110,6 @@ (define-public freerdp
'("-DCMAKE_INSTALL_LIBDIR=lib" '("-DCMAKE_INSTALL_LIBDIR=lib"
"-DWITH_PULSE=ON" "-DWITH_PULSE=ON"
"-DWITH_CUPS=ON") "-DWITH_CUPS=ON")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-cmakelists
(lambda _
;; CMake would return an error on REMOVE_DUPLICATES because this
;; list is empty.
(substitute* "channels/client/CMakeLists.txt"
(("list\\(REMOVE_DUPLICATES CHANNEL_STATIC_CLIENT_ENTRIES\\)")
"")))))
#:tests? #f)) ; no 'test' target #:tests? #f)) ; no 'test' target
(home-page "https://www.freerdp.com") (home-page "https://www.freerdp.com")
(synopsis "Remote Desktop Protocol implementation") (synopsis "Remote Desktop Protocol implementation")