nixpkgs/pkgs/tools/networking/openssh
Tuomas Tynkkynen 919d44d29f openssh: Compile with '--with-pid-dir' to improve build purity
The configure script tries to probe whether /var/run exists when
determining the location for the pid file, which is not very nice when
doing chroot builds. Just set it explicitly to avoid the problem.

For reference, the culprit in configure.ac:
````
piddir=/var/run
if test ! -d $piddir ; then
        piddir=`eval echo ${sysconfdir}`
        case $piddir in
                NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;;
        esac
fi

AC_ARG_WITH([pid-dir],
        [  --with-pid-dir=PATH     Specify location of ssh.pid file],
...

````

Also, use the `install-nokeys` target in installPhase so we avoid
installing useless host keys into $out/etc/ssh and improve built purity
as well.
2015-12-28 18:40:21 +02:00
..
default.nix openssh: Compile with '--with-pid-dir' to improve build purity 2015-12-28 18:40:21 +02:00
locale_archive.patch Adding the openssh patch I forgot in a recent commit 2010-05-09 12:53:46 +00:00
openssh-6.9p1-security-7.0.patch openssh: Apply some Fedora security backports 2015-08-20 14:08:21 +02:00