summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-08-21 18:28:53 +0200
committerLudovic Courtès <ludo@gnu.org>2016-08-22 00:20:48 +0200
commit39012aab3333868d5ab3b39c95682f95212437e2 (patch)
tree90f1145a55b73a3ca7f80a4d024160ae3de98866 /gnu
parentd4b1977f8337042a2e4e07f0c3be99c26513aa3e (diff)
downloadguix-39012aab3333868d5ab3b39c95682f95212437e2.tar.gz
gnu: openssh: Add PAM support in sshd.
* gnu/packages/ssh.scm (openssh)[inputs]: Add LINUX-PAM.
[arguments]: Add "--with-pam" to #:configure-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ssh.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 88864dc277..c6ff788b0d 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -139,11 +139,16 @@ a server that supports the SSH-2 protocol.")
    (build-system gnu-build-system)
    (inputs `(("groff" ,groff)
              ("openssl" ,openssl)
+             ("pam" ,linux-pam)
              ("zlib" ,zlib)
              ("xauth" ,xauth)))                   ;for 'ssh -X' and 'ssh -Y'
    (arguments
     `(#:test-target "tests"
-      #:configure-flags '("--sysconfdir=/etc")
+      #:configure-flags '("--sysconfdir=/etc"
+
+                          ;; Enable PAM support in sshd.
+                          "--with-pam")
+
       #:phases
       (modify-phases %standard-phases
         (add-after 'configure 'reset-/var/empty