summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2023-01-29 21:06:31 +0100
committerAndrew Tropin <andrew@trop.in>2023-02-13 16:50:16 +0400
commit8d8b9a4c0c6273ce1680233ae234294f511e81b6 (patch)
treef757920b96c79c70bddb3b61cc827eb3e5fe8fd0 /gnu/packages/admin.scm
parent5b1eab43f011983d9ee560d6935409b6b39706ff (diff)
gnu: wpa-supplicant: Add netdev group dbus policy.
The patch allows users in netdev group to control wpa-supplicant via D-Bus interface. * gnu/packages/admin.scm (wpa-supplicant)[source]: Add dbus policy patch. * gnu/packages/patches/wpa-supplicant-dbus-group-policy.patch: New file. Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 3d0886aba8..847a252364 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2222,6 +2222,10 @@ command.")
(name "wpa-supplicant")
(inputs (modify-inputs (package-inputs wpa-supplicant-minimal)
(prepend dbus)))
+ (source (origin
+ (inherit (package-source wpa-supplicant-minimal))
+ (patches (search-patches
+ "wpa-supplicant-dbus-group-policy.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments wpa-supplicant-minimal)
((#:phases phases)