openssh: Upgrade from 6.4p1 -> 6.5p1
This commit is contained in:
parent
cdac4b69c9
commit
62e78f6b23
|
@ -13,15 +13,16 @@ let
|
||||||
url = mirror://sourceforge/hpnssh/openssh-6.3p1-hpnssh14v2.diff.gz;
|
url = mirror://sourceforge/hpnssh/openssh-6.3p1-hpnssh14v2.diff.gz;
|
||||||
sha256 = "1jldqjwry9qpxxzb3mikfmmmv90mfb7xkmcfdbvwqac6nl3r7bi3";
|
sha256 = "1jldqjwry9qpxxzb3mikfmmmv90mfb7xkmcfdbvwqac6nl3r7bi3";
|
||||||
};
|
};
|
||||||
|
optionalString = stdenv.lib.optionalString;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openssh-6.4p1";
|
name = "openssh-6.5p1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.nl.uu.net/pub/OpenBSD/OpenSSH/portable/${name}.tar.gz";
|
url = "ftp://ftp.nl.uu.net/pub/OpenBSD/OpenSSH/portable/${name}.tar.gz";
|
||||||
sha256 = "1lkmi7v83qvpcc04qrrqk4k7mafnmwxkfk1ccsisw51va4bgcc2m";
|
sha256 = "09wh7mi65aahyxd2xvq1makckhd5laid8c0pb8njaidrbpamw6d1";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = stdenv.lib.optionalString hpnSupport
|
prePatch = stdenv.lib.optionalString hpnSupport
|
||||||
|
@ -32,9 +33,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [ ./locale_archive.patch ];
|
patches = [ ./locale_archive.patch ];
|
||||||
|
|
||||||
buildInputs = [ zlib openssl libedit pkgconfig pam ] ++
|
buildInputs = [ zlib openssl libedit pkgconfig pam ]
|
||||||
(if withKerberos then [ kerberos ] else [])
|
++ stdenv.lib.optional withKerberos [ kerberos ];
|
||||||
;
|
|
||||||
|
|
||||||
# I set --disable-strip because later we strip anyway. And it fails to strip
|
# I set --disable-strip because later we strip anyway. And it fails to strip
|
||||||
# properly when cross building.
|
# properly when cross building.
|
||||||
|
@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
|
||||||
--with-libedit=yes
|
--with-libedit=yes
|
||||||
--disable-strip
|
--disable-strip
|
||||||
${if pam != null then "--with-pam" else "--without-pam"}
|
${if pam != null then "--with-pam" else "--without-pam"}
|
||||||
${if etcDir != null then "--sysconfdir=${etcDir}" else ""}
|
${optionalString (etcDir != null) "--sysconfdir=${etcDir}"}
|
||||||
${if withKerberos then "--with-kerberos5=${kerberos}" else ""}
|
${optionalString withKerberos "--with-kerberos5=${kerberos}"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
|
@ -67,11 +67,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
installTargets = "install-nosysconf";
|
installTargets = "install-nosysconf";
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.openssh.org/;
|
homepage = "http://www.openssh.org/";
|
||||||
description = "An implementation of the SSH protocol";
|
description = "An implementation of the SSH protocol";
|
||||||
license = "bsd";
|
license = "bsd";
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = stdenv.lib.maintainers.eelco;
|
maintainers = with maintainers; [ eelco ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue