summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-05 16:46:52 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-05 16:46:52 +0000
commit844997e250ab4528fbed79615e0e083e3213cc7e (patch)
tree38505d37e43a3ef0016e860dde1d9caa6a7a2ad8
parentea8ef189060d099d2acf2e4fbc988ccc84eb2175 (diff)
downloadopenssh-844997e250ab4528fbed79615e0e083e3213cc7e.tar.gz
openssh.morph: fix building in staging chroot
configure fails because it can't find a source of random numbers this happens because it checks if openssl does it or some other source of entropy exist. The check fails because /dev/u?random does not exist. ssh does allow the script to assume ssl works if cross compiling, so it is probably safe to force the assumption OPENSSL_SEEDS_ITSELF is not set to anything but yes, so if passed through the environment it should survive to where it is tested.
-rw-r--r--openssh.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssh.morph b/openssh.morph
index 29a96cb4..90c10b08 100644
--- a/openssh.morph
+++ b/openssh.morph
@@ -3,7 +3,7 @@
"kind": "chunk",
"configure-commands": [
"autoreconf -if",
- "./configure --prefix=/usr --sysconfdir=/etc/ssh --datadir=/usr/share/sshd --libexecdir=/usr/lib/openssh --with-privsep-path=/var/lib/sshd"
+ "OPENSSL_SEEDS_ITSELF=yes ./configure --prefix=/usr --sysconfdir=/etc/ssh --datadir=/usr/share/sshd --libexecdir=/usr/lib/openssh --with-privsep-path=/var/lib/sshd"
],
"build-commands": [
"make"