From 452244e670467afe0e8ccdfb9ca2980d5a3b4694 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 12 May 2020 16:58:30 +0200 Subject: gnu: sudo: Support Python plug-ins. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/admin.scm (sudo)[arguments]: Add ‘--enable-python’ to CONFIGURE-FLAGS. [inputs]: Add python and order alphabetically. --- gnu/packages/admin.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 45721acd38..d05740e252 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1299,6 +1299,8 @@ (define-public sudo (list (string-append "--docdir=" (assoc-ref %outputs "out") "/share/doc/" ,name "-" ,version) + "--enable-python" ; for plug-ins written in ~ + "--with-logpath=/var/log/sudo.log" "--with-rundir=/var/run/sudo" ; must be cleaned up at boot time "--with-vardir=/var/db/sudo" @@ -1353,9 +1355,10 @@ (define-public sudo (native-inputs `(("groff" ,groff))) (inputs - `(("linux-pam" ,linux-pam) - ("zlib" ,zlib) - ("coreutils" ,coreutils))) + `(("coreutils" ,coreutils) + ("linux-pam" ,linux-pam) + ("python" ,python) + ("zlib" ,zlib))) (home-page "https://www.sudo.ws/") (synopsis "Run commands as root") (description -- cgit v1.2.3