diff options
author | Peter Simons <simons@cryp.to> | 2016-01-06 20:04:09 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2016-01-06 20:04:09 +0100 |
commit | 4e50af7e63388440554797e6e029040df052cc47 (patch) | |
tree | 99caaf550bf63af4d0cd6869d8c4fb732924b264 | |
parent | 476847c40a5244a3e716e5751189fe256c7d9027 (diff) | |
parent | 67f4c2a7799e2dc30cae20b3c313c7b186cd1d71 (diff) | |
download | nixpkgs-4e50af7e63388440554797e6e029040df052cc47.tar nixpkgs-4e50af7e63388440554797e6e029040df052cc47.tar.gz nixpkgs-4e50af7e63388440554797e6e029040df052cc47.tar.bz2 nixpkgs-4e50af7e63388440554797e6e029040df052cc47.tar.lz nixpkgs-4e50af7e63388440554797e6e029040df052cc47.tar.xz nixpkgs-4e50af7e63388440554797e6e029040df052cc47.tar.zst nixpkgs-4e50af7e63388440554797e6e029040df052cc47.zip |
Merge pull request #12079 from benley/ssh-gssapi
openssh: Add gssapi patch used by other major distros
-rw-r--r-- | pkgs/tools/networking/openssh/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/tools/networking/openssh/default.nix b/pkgs/tools/networking/openssh/default.nix index 67bf5be7d5b..3a150f19ed2 100644 --- a/pkgs/tools/networking/openssh/default.nix +++ b/pkgs/tools/networking/openssh/default.nix @@ -1,7 +1,8 @@ -{ stdenv, fetchurl, zlib, openssl, perl, libedit, pkgconfig, pam +{ stdenv, fetchurl, fetchpatch, zlib, openssl, perl, libedit, pkgconfig, pam , etcDir ? null , hpnSupport ? false , withKerberos ? false +, withGssapiPatches ? withKerberos , kerberos }: @@ -14,6 +15,11 @@ let sha256 = "682b4a6880d224ee0b7447241b684330b731018585f1ba519f46660c10d63950"; }; + gssapiSrc = fetchpatch { + url = "http://anonscm.debian.org/cgit/pkg-ssh/openssh.git/plain/debian/patches/gssapi.patch?h=debian/6.9p1-3"; + sha256 = "03zlgkb3a1igj20kn8cz55ggaxg65h6f0kg20m39m0wsb94qjdb1"; + }; + in with stdenv.lib; stdenv.mkDerivation rec { @@ -30,7 +36,8 @@ stdenv.mkDerivation rec { export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s" ''; - patches = [ ./locale_archive.patch ./openssh-6.9p1-security-7.0.patch]; + patches = [ ./locale_archive.patch ./openssh-6.9p1-security-7.0.patch ] + ++ optional withGssapiPatches gssapiSrc; buildInputs = [ zlib openssl libedit pkgconfig pam ] ++ optional withKerberos [ kerberos ]; |