diff options
author | Eric Bavier <bavier@member.fsf.org> | 2019-11-09 10:29:59 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2019-11-09 10:33:46 -0600 |
commit | c6be161dbd3a8911c3dd59d8441a3baf2c440307 (patch) | |
tree | 4ec393cefe1450735746b2a83237ac360f25308f /gnu/packages/rdesktop.scm | |
parent | 24aba982ca54c250a048b576f5a7212016a19a2a (diff) | |
download | patches-c6be161dbd3a8911c3dd59d8441a3baf2c440307.tar patches-c6be161dbd3a8911c3dd59d8441a3baf2c440307.tar.gz |
gnu: rdesktop: Update to 1.9.0.
Fixes CVE-2019-15682.
* gnu/packages/rdesktop.scm (rdesktop): Update to version 1.9.0
[native-inputs]: New field.
[inputs]: Remove openssl. Add gnutls, libxcursor, and nettle as new baseline
requirements.
[arguments]: Remove #:phases argument. Remove "--with-openssl" from
configure-flags.
Diffstat (limited to 'gnu/packages/rdesktop.scm')
-rw-r--r-- | gnu/packages/rdesktop.scm | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm index 2febb1b5f4..71464237f4 100644 --- a/gnu/packages/rdesktop.scm +++ b/gnu/packages/rdesktop.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019 Leo Famulari <leo@famulari.name> +;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ #:use-module (gnu packages gstreamer) #:use-module (gnu packages image) #:use-module (gnu packages linux) + #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages tls) @@ -46,7 +48,7 @@ (define-public rdesktop (package (name "rdesktop") - (version "1.8.4") + (version "1.9.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/rdesktop/rdesktop/" @@ -54,32 +56,20 @@ version ".tar.gz")) (sha256 (base32 - "0bfd9nl2dfr1931fv6bpnrj5yf88ikijrs4s3nm96gm87bkvi64v")))) + "1222f2srlq16bydhy44gph997iajg39sl774xxh9jdwi4cqjyg27")))) (build-system gnu-build-system) (arguments - `(#:configure-flags (list (string-append "--with-openssl=" - (assoc-ref %build-inputs - "openssl")) - - ;; XXX: optional dependencies missing + `(#:configure-flags (list ;; XXX: optional dependencies missing "--disable-credssp" "--disable-smartcard") - - #:phases - (modify-phases %standard-phases - (add-after 'install-license-files 'delete-extraneous-files - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (license-dir (string-append out "/share/doc/" - ,name "-" ,version))) - ;; XXX These files are installed erroneously. - (delete-file (string-append license-dir "/licence.c")) - (delete-file (string-append license-dir "/licence.o"))) - #t))) - #:tests? #f)) ;no 'check' target + #:tests? #f)) ; No 'check' target + (native-inputs + `(("pkg-config" ,pkg-config))) (inputs - `(("libx11" ,libx11) - ("openssl" ,openssl))) + `(("gnutls" ,gnutls) + ("libx11" ,libx11) + ("libxcursor" ,libxcursor) + ("nettle" ,nettle))) (home-page "https://www.rdesktop.org/") (synopsis "Client for Windows Terminal Services") (description |