summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-08-04 00:47:07 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-08-04 00:52:52 +0200
commitc89091459f24dee4ba4959d65e38589efc1d8d9e (patch)
tree8f80a68ad7e431af4829da9106234e2d5f4ca3bc /gnu/packages
parentc9f4f56b24801718d89c2520bec08867516e1371 (diff)
downloadguix-c89091459f24dee4ba4959d65e38589efc1d8d9e.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rdesktop.scm22
1 files changed, 6 insertions, 16 deletions
diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index 3eb82f22f3..7946cde790 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -72,15 +72,14 @@ to remotely control a user's Windows desktop.")
 (define-public freerdp
   (package
     (name "freerdp")
-    (version "1.2.0-beta1+android9")
+    (version "2.0.0-rc0")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "git://github.com/FreeRDP/FreeRDP.git")
-                    (commit version)))
-              (file-name (git-file-name name version))
+              (method url-fetch)
+              (uri (string-append "https://github.com/FreeRDP/FreeRDP/archive/"
+                                  version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 "1m0lzrr7hkxfvc5f9p8snimv0rmin2463zhg25mv36wig8g5k7l3"))))
+               (base32 "0r36zwhl7fhmdng5pvl2a106gqbcqq184g2i2klz6ilna8pxjcml"))))
     (build-system cmake-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
@@ -111,15 +110,6 @@ to remotely control a user's Windows desktop.")
        '("-DCMAKE_INSTALL_LIBDIR=lib"
          "-DWITH_PULSE=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
     (home-page "https://www.freerdp.com")
     (synopsis "Remote Desktop Protocol implementation")