diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2004-08-30 13:53:48 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2004-08-30 13:53:48 +0000 |
commit | 4812b512f155da72960da60a58a65787356c7a61 (patch) | |
tree | b7c8aeaa7dfeba62f6e90dfe1c8f4d5f71825079 /pkgs | |
parent | 38f6f3688958ad8379cc110834c5423bd3436fcc (diff) | |
download | nixpkgs-4812b512f155da72960da60a58a65787356c7a61.tar nixpkgs-4812b512f155da72960da60a58a65787356c7a61.tar.gz nixpkgs-4812b512f155da72960da60a58a65787356c7a61.tar.bz2 nixpkgs-4812b512f155da72960da60a58a65787356c7a61.tar.lz nixpkgs-4812b512f155da72960da60a58a65787356c7a61.tar.xz nixpkgs-4812b512f155da72960da60a58a65787356c7a61.tar.zst nixpkgs-4812b512f155da72960da60a58a65787356c7a61.zip |
remove the generated keys (good? bad? not sure) and change the permissions of
the keysign binary. This is because of suid-nix on which the NixOS scripts barf svn path=/nixpkgs/trunk/; revision=1366
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/openssh/builder.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/networking/openssh/builder.sh b/pkgs/tools/networking/openssh/builder.sh index 8397626c00f..f9fc634dce9 100644 --- a/pkgs/tools/networking/openssh/builder.sh +++ b/pkgs/tools/networking/openssh/builder.sh @@ -1,3 +1,9 @@ . $stdenv/setup + +configureFlags="--with-privsep-path=$out/empty" genericBuild + +rm $out/etc/ssh_host_dsa_key $out/etc/ssh_host_dsa_key.pub $out/etc/ssh_host_key $out/etc/ssh_host_key.pub $out/etc/ssh_host_rsa_key $out/etc/ssh_host_rsa_key.pub + +chmod +r $out/libexec/ssh-keysign |