Request for change in ssh-askpass location after pre12

David Rankin drankin at bohemians.lexington.ky.us
Fri Nov 19 12:06:38 EST 1999


I've been working on a NetBSD package for openssl-1.2pre12, and I've
noticed that Makefile.in installs ssh-askpass in $prefix/lib/ssh ($libdir)
instead of $libexecdir/ssh. Since it is an executable, IMHO it should be
in the latter spot.

In the patch below, I've fixed this, as well as made ASKPASS_PROGRAM
used during the install so that it's easier to maintain. 

Thanks,
David

--- Makefile.in.orig	Thu Nov 18 20:02:51 1999
+++ Makefile.in	Thu Nov 18 20:04:42 1999
@@ -7,7 +7,7 @@
 sysconfdir=@sysconfdir@
 
 SSH_PROGRAM=@bindir@/ssh
-ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass
+ASKPASS_PROGRAM=@libexecdir@/ssh/ssh-askpass
 
 CC=@CC@
 PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\"
@@ -81,12 +81,11 @@
 	ln -sf ssh.1 $(mandir)/man1/slogin.1
 
 	if [ "x at INSTALL_ASKPASS@" = "xyes" ] ; then \
-		install -d $(libdir) ; \
-		install -d $(libdir)/ssh ; \
+		install -d $(libexecdir)/ssh ; \
 		if [ -z "@GNOME_ASKPASS@" ] ; then \
-			install -m755 -c ssh-askpass $(libdir)/ssh/ssh-askpass; \
+			install -m755 -c ssh-askpass ${ASKPASS_PROGRAM}; \
 		else \
-			install -m755 -c gnome-ssh-askpass $(libdir)/ssh/ssh-askpass; \
+			install -m755 -c gnome-ssh-askpass ${ASKPASS_PROGRAM}; \
 		fi ; \
 	fi
 





More information about the openssh-unix-dev mailing list