Added GNOME passphrase requester support
This commit is contained in:
parent
d3dcfaf14d
commit
e0d444c4ba
|
@ -11,7 +11,8 @@ ASKPASS_PROGRAM=@libdir@/ssh/ssh-askpass
|
|||
CC=@CC@
|
||||
PATHS=-DETCDIR=\"@sysconfdir@\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DASKPASS_PROGRAM=\"$(ASKPASS_PROGRAM)\"
|
||||
CFLAGS=@CFLAGS@ $(PATHS) @DEFS@
|
||||
TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp
|
||||
EXTRA_TARGETS=@GNOME_ASKPASS@
|
||||
TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS)
|
||||
LIBS=@LIBS@
|
||||
AR=@AR@
|
||||
RANLIB=@RANLIB@
|
||||
|
@ -68,7 +69,11 @@ install:
|
|||
ln -sf ssh $(bindir)/slogin
|
||||
install -s -c scp $(bindir)/scp
|
||||
install -s -c ssh-add $(bindir)/ssh-add
|
||||
install -m755 -c ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
if [ -z "@GNOME_ASKPASS@"] ; then
|
||||
install -m755 -c ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
else
|
||||
install -m755 -c gnome-ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
fi
|
||||
install -s -c ssh-agent $(bindir)/ssh-agent
|
||||
install -s -c ssh-keygen $(bindir)/ssh-keygen
|
||||
install -s -c sshd $(sbindir)/sshd
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(auth-krb4.c)
|
||||
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
@ -63,4 +64,10 @@ dnl Checks for library functions.
|
|||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_CHECK_FUNCS(openpty strlcpy mkdtemp arc4random setproctitle)
|
||||
|
||||
dnl Check whether user wants GNOME ssh-askpass
|
||||
AC_ARG_WITH(gnome-askpass,
|
||||
[ --with-gnome-askpass Build and use the GNOME passphrase requester],
|
||||
[GNOME_ASKPASS="gnome-ssh-askpass"])
|
||||
AC_SUBST(GNOME_ASKPASS)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
|
Loading…
Reference in New Issue