Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Dev

Alternate Install Location Patch Proposal

 

 

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded


rdkehn at yahoo

Nov 14, 2009, 7:00 AM

Post #1 of 2 (717 views)
Permalink
Alternate Install Location Patch Proposal

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
Attachments: openssh-5.3p1-alt-install-loc.patch (0.36 KB)


dtucker at zip

Nov 14, 2009, 2:12 PM

Post #2 of 2 (649 views)
Permalink
Re: Alternate Install Location Patch Proposal [In reply to]

Doug Kehn wrote:
> 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

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-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.