guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: wicd: Add template for WPA2-TTLS.


From: Ludovic Courtès
Subject: 02/02: gnu: wicd: Add template for WPA2-TTLS.
Date: Fri, 01 Apr 2016 12:00:12 +0000

civodul pushed a commit to branch master
in repository guix.

commit 915363a3e2ebd264c329756661779a22247bcc42
Author: Ludovic Courtès <address@hidden>
Date:   Fri Apr 1 10:13:13 2016 +0200

    gnu: wicd: Add template for WPA2-TTLS.
    
    * gnu/packages/patches/wicd-wpa2-ttls.patch: New file.
    * gnu/packages/wicd.scm (wicd)[source]: Add it.
    * gnu-system.am (dist_patch_DATA): Add it.
---
 gnu-system.am                             |    1 +
 gnu/packages/patches/wicd-wpa2-ttls.patch |   38 +++++++++++++++++++++++++++++
 gnu/packages/wicd.scm                     |    4 ++-
 3 files changed, 42 insertions(+), 1 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index 1e730d9..d45b3d1 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -781,6 +781,7 @@ dist_patch_DATA =                                           
\
   gnu/packages/patches/wicd-bitrate-none-fix.patch             \
   gnu/packages/patches/wicd-get-selected-profile-fix.patch     \
   gnu/packages/patches/wicd-urwid-1.3.patch                    \
+  gnu/packages/patches/wicd-wpa2-ttls.patch                    \
   gnu/packages/patches/wmctrl-64-fix.patch                     \
   gnu/packages/patches/wpa-supplicant-CVE-2015-5310.patch      \
   gnu/packages/patches/wpa-supplicant-CVE-2015-5314.patch      \
diff --git a/gnu/packages/patches/wicd-wpa2-ttls.patch 
b/gnu/packages/patches/wicd-wpa2-ttls.patch
new file mode 100644
index 0000000..9d80ee7
--- /dev/null
+++ b/gnu/packages/patches/wicd-wpa2-ttls.patch
@@ -0,0 +1,38 @@
+Add a template for WPA2-TTLS, which is notably used by Eduroam.
+
+--- a/encryption/templates/active
++++ b/encryption/templates/active
+@@ -4,6 +4,7 @@ wpa-psk
+ wpa-psk-hex
+ wpa2-leap
+ wpa2-peap
++wpa2-ttls
+ wep-hex
+ wep-passphrase
+ wep-shared
+diff --git a/encryption/templates/wpa2-ttls b/encryption/templates/wpa2-ttls
+new file mode 100644
+index 0000000..4f66a1e
+--- /dev/null
++++ b/encryption/templates/wpa2-ttls
+@@ -0,0 +1,20 @@
++name = WPA2-TTLS (used notably by Eduroam)
++author = various contributors
++version = 1
++require identity *Identity anonymous_identity *Anonymous_identity password 
*Password ca_cert *Path_to_CA_Cert
++protected password *Password
++-----
++ctrl_interface=/var/run/wpa_supplicant
++network={
++        ssid="$_ESSID"
++        scan_ssid=$_SCAN
++        proto=WPA2
++        key_mgmt=WPA-EAP
++        group=CCMP TKIP
++        eap=TTLS
++        identity="$_IDENTITY"
++        password="$_PASSWORD"
++        anonymous_identity="$_ANONYMOUS_IDENTITY"
++        ca_cert="$_CA_CERT"
++        phase2="auth=PAP"
++}
diff --git a/gnu/packages/wicd.scm b/gnu/packages/wicd.scm
index ad3aa58..350baf7 100644
--- a/gnu/packages/wicd.scm
+++ b/gnu/packages/wicd.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2015 Pierre-Antoine Rault <address@hidden>
 ;;; Copyright © 2015 Andreas Enge <address@hidden>
+;;; Copyright © 2016 Ludovic Courtès <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -48,7 +49,8 @@
        (patches (map search-patch
                      '("wicd-bitrate-none-fix.patch"
                        "wicd-get-selected-profile-fix.patch"
-                       "wicd-urwid-1.3.patch")))))
+                       "wicd-urwid-1.3.patch"
+                       "wicd-wpa2-ttls.patch")))))
     (build-system python-build-system)
     (native-inputs `(("gettext" ,gnu-gettext)))
     (inputs `(("dbus-glib" ,dbus-glib)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]