aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2016-10-16 08:31:55 +0200
committerJohn Darrington <jmd@gnu.org>2016-10-17 21:52:53 +0200
commit040b6299d505c034b4960c335434a500ae2f8187 (patch)
treeafa17c9692fbd3e70ce1c365fc1d6c43c02c7be4 /gnu/packages
parentcd829fe306e471a8f8941c720f622b83fdd05d71 (diff)
downloadguix-040b6299d505c034b4960c335434a500ae2f8187.tar
guix-040b6299d505c034b4960c335434a500ae2f8187.tar.gz
gnu: openssh: Enable kerberos features.
* gnu/packages/ssh.scm (openssh) [arguments]: Add flag --with-kerberos5. [inputs]: Add mit-krb5.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ssh.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index c551f18481..9fd1506dbd 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -37,6 +37,7 @@
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
+ #:use-module (gnu packages mit-krb5)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:autoload (gnu packages protobuf) (protobuf)
@@ -126,15 +127,21 @@ a server that supports the SSH-2 protocol.")
(inputs `(("groff" ,groff)
("openssl" ,openssl)
("pam" ,linux-pam)
+ ("mit-krb5" ,mit-krb5)
("zlib" ,zlib)
("xauth" ,xauth))) ;for 'ssh -X' and 'ssh -Y'
(arguments
`(#:test-target "tests"
- #:configure-flags '("--sysconfdir=/etc/ssh"
+ #:configure-flags `("--sysconfdir=/etc/ssh"
- ;; Default value of 'PATH' used by sshd.
+ ;; Default value of 'PATH' used by sshd.
"--with-default-path=/run/current-system/profile/bin"
+ ;; configure needs to find krb5-config
+ ,(string-append "--with-kerberos5="
+ (assoc-ref %build-inputs "mit-krb5")
+ "/bin")
+
;; Enable PAM support in sshd.
"--with-pam")