1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

* Remove the xauth dependency in openssh. We can set the xauth path

in sshd_config.

svn path=/nixpkgs/trunk/; revision=7547
This commit is contained in:
Eelco Dolstra 2007-01-07 10:18:34 +00:00
parent 44cefeb142
commit 35a9f7ecb6
2 changed files with 0 additions and 7 deletions

View file

@ -1,15 +1,12 @@
{ stdenv, fetchurl, zlib, openssl, perl
, pamSupport ? false, pam ? null
, xforwarding ? false, xauth ? null
}:
assert pamSupport -> pam != null;
assert xforwarding -> xauth != null;
stdenv.mkDerivation {
name = "openssh-4.5p1";
#builder = ./builder.sh;
src = fetchurl {
url = ftp://sunsite.cnlab-switch.ch/pub/OpenBSD/OpenSSH/portable/openssh-4.5p1.tar.gz;
md5 = "6468c339886f78e8a149b88f695839dd";
@ -17,11 +14,9 @@ stdenv.mkDerivation {
buildInputs = [zlib openssl perl
(if pamSupport then pam else null)
(if xforwarding then xauth else null)
];
configureFlags = "
${if xforwarding then "--with-xauth=${xauth}/bin/xauth" else ""}
${if pamSupport then "--with-pam" else ""}
";

View file

@ -435,9 +435,7 @@ rec {
openssh = import ../tools/networking/openssh {
inherit fetchurl stdenv zlib openssl pam perl;
inherit (xlibs) xauth;
pamSupport = true;
xforwarding = true;
};
par2cmdline = import ../tools/networking/par2cmdline {