From f33733785a5e218a683a83b902ac79f9e27d3a13 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Tue, 20 Sep 2022 01:59:56 +0200 Subject: gnu: wpa-supplicant: Enable OWE support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With OWE support users are enable to connect to "Opportunistic Wireless Encryption" networks. This means users are able to have an encrypted data channel in an otherwise open wireless network. * gnu/packages/admin.scm (wpa-supplicant)[arguments]: Rename 'configure-for-dbus' phase to 'set-config-options'. Set CONFIG_OWE=y. Remove trailing #t. Co-authored-by: Ludovic Courtès --- gnu/packages/admin.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 7254ad366f..1a213adfdd 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -52,6 +52,7 @@ ;;; Copyright © 2022 Wamm K. D. ;;; Copyright © 2022 Roman Riabenko ;;; Copyright © 2022 Petr Hodina +;;; Copyright © 2022 Andreas Rammhold ;;; ;;; This file is part of GNU Guix. ;;; @@ -2150,14 +2151,16 @@ command.") (substitute-keyword-arguments (package-arguments wpa-supplicant-minimal) ((#:phases phases) `(modify-phases ,phases - (add-after 'configure 'configure-for-dbus + (add-after 'configure 'set-config-options (lambda _ (let ((port (open-file ".config" "al"))) + ;; Enable Opportunistic Wireless Encryption (OWE) and D-Bus + ;; support. (display " + CONFIG_OWE=y CONFIG_CTRL_IFACE_DBUS_NEW=y CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port) - (close-port port)) - #t)) + (close-port port)))) (add-after 'install-documentation 'install-dbus-conf (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- cgit v1.2.3