Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Alternate Install Location Patch Proposal

0 views
Skip to first unread message

Doug Kehn

unread,
Nov 14, 2009, 10:00:46 AM11/14/09
to
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


openssh-5.3p1-alt-install-loc.patch

Darren Tucker

unread,
Nov 14, 2009, 5:12:31 PM11/14/09
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-...@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

0 new messages