Alternate Install Location Patch Proposal

Doug Kehn rdkehn at yahoo.com
Sun Nov 15 02:00:46 EST 2009


Hi All,

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


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-5.3p1-alt-install-loc.patch
Type: text/x-diff
Size: 373 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20091114/0354f2e9/attachment.bin>


More information about the openssh-unix-dev mailing list