Below (and attached) is a patch that will allow openssh to be installed in an alternate location. This is essential when cross-compiling. The cross-compile use case is:
configure [bunch-of-options]
make
DESTDIR=<alt-location> make install-nokeys
I believe the patch may also be useful for non-cross-compiling cases.
Regards,
...doug
---8<-----
diff -uraN openssh-5.3p1.orig/Makefile.in openssh-5.3p1/Makefile.in
--- openssh-5.3p1.orig/Makefile.in 2009-08-27 19:47:38.000000000 -0500
+++ openssh-5.3p1/Makefile.in 2009-11-14 08:02:29.000000000 -0600
@@ -19,7 +19,7 @@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
-DESTDIR=
+DESTDIR?=
VPATH=@srcdir@
SSH_PROGRAM=@bindir@/ssh
ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
You can already do that with "make install-nokeys DESTDIR=<alt-location>".
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-...@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev