* OpenSSH 4.7p1. Also pass --with-mantype=man to prevent an impurity
where "make install" installs the manpages under either "man" or "cat" depending on whether it can run /usr/bin/groff (or something like that). svn path=/nixpkgs/trunk/; revision=9503
This commit is contained in:
parent
b46d7a86f6
commit
deb889e5f2
|
@ -5,11 +5,11 @@
|
||||||
assert pamSupport -> pam != null;
|
assert pamSupport -> pam != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "openssh-4.6p1";
|
name = "openssh-4.7p1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.nluug.nl/pub/security/OpenSSH/openssh-4.6p1.tar.gz;
|
url = ftp://ftp.nluug.nl/pub/security/OpenSSH/openssh-4.7p1.tar.gz;
|
||||||
sha256 = "0fpjlr3bfind0y94bk442x2ps060byv1s4cnrgcxij40m9zjggkv";
|
sha256 = "1g28npm025a5a8dd2g7sqz8nh8pwi7rvv9wdpy4jhzbkqvq36wfl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [zlib openssl perl
|
buildInputs = [zlib openssl perl
|
||||||
|
@ -17,6 +17,7 @@ stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = "
|
configureFlags = "
|
||||||
|
--with-mantype=man
|
||||||
${if pamSupport then "--with-pam" else ""}
|
${if pamSupport then "--with-pam" else ""}
|
||||||
";
|
";
|
||||||
|
|
||||||
|
@ -29,7 +30,7 @@ stdenv.mkDerivation {
|
||||||
# Install ssh-copy-id, it's very useful.
|
# Install ssh-copy-id, it's very useful.
|
||||||
cp contrib/ssh-copy-id $out/bin/
|
cp contrib/ssh-copy-id $out/bin/
|
||||||
chmod +x $out/bin/ssh-copy-id
|
chmod +x $out/bin/ssh-copy-id
|
||||||
cp contrib/ssh-copy-id.1 $out/share/man/cat1/
|
cp contrib/ssh-copy-id.1 $out/share/man/man1/
|
||||||
";
|
";
|
||||||
|
|
||||||
installTargets = "install-nokeys";
|
installTargets = "install-nokeys";
|
||||||
|
|
Loading…
Reference in New Issue