mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03: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:
parent
44cefeb142
commit
35a9f7ecb6
@ -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 ""}
|
||||
";
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user