git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #13769 from aneeshusa/openssh-decouple-gssapi-from-kerberos
d92bb56Benjamin Staffin
pkgs/tools/networking/openssh/default.nix+6−3
@@ -2,12 +2,13 @@
2, etcDir ? null
2, etcDir ? null
3, hpnSupport ? false
3, hpnSupport ? false
4, withKerberos ? false
4, withKerberos ? false
5−, withGssapiPatches ? withKerberos
5+, withGssapiPatches ? false
6, kerberos
6, kerberos
7, linkOpenssl? true
7, linkOpenssl? true
8}:
8}:
9
9
10assert withKerberos -> kerberos != null;
10assert withKerberos -> kerberos != null;
11+assert withGssapiPatches -> withKerberos;
11
12
12let
13let
13
14
@@ -17,13 +18,15 @@ let
17 };
18 };
18
19
19 gssapiSrc = fetchpatch {
20 gssapiSrc = fetchpatch {
20− url = "http://anonscm.debian.org/cgit/pkg-ssh/openssh.git/plain/debian/patches/gssapi.patch?h=debian/7.1p2-2";
21+ url = "https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/plain/debian/patches/gssapi.patch?id=46961f5704f8e86cea3e99253faad55aef4d8f35";
21− sha256 = "05nsch879nlpyyiwm240wlq9rasy71j9d03j1rfi8kp865zhjfbm";
22+ sha256 = "01mf2vx1gavypbdx06mcbmcrkm2smff0h3jfmr61k6h6j3xk88y5";
22 };
23 };
23
24
24in
25in
25with stdenv.lib;
26with stdenv.lib;
26stdenv.mkDerivation rec {
27stdenv.mkDerivation rec {
28+ # Please ensure that openssh_with_kerberos still builds when
29+ # bumping the version here!
27 name = "openssh-7.2p1";
30 name = "openssh-7.2p1";
28
31
29 src = fetchurl {
32 src = fetchurl {