summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.in15
-rw-r--r--configure.in7
3 files changed, 23 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f72d78985..69698457e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,9 @@
19 [ssh-keygen.c ssh.h] 19 [ssh-keygen.c ssh.h]
20 print keytype when generating a key. 20 print keytype when generating a key.
21 reasonable defaults for RSA1/RSA/DSA keys. 21 reasonable defaults for RSA1/RSA/DSA keys.
22 - (djm) Patch from Pekka Savola <Pekka.Savola@netcore.fi> to include a few
23 more manpage paths in fixpaths calls
24 - (djm) Also add xauth path at Pekka's suggestion.
22 25
2320001125 2620001125
24 - (djm) Give up privs when reading seed file 27 - (djm) Give up privs when reading seed file
diff --git a/Makefile.in b/Makefile.in
index 6588b1b99..3e7d7a89b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,6 +27,7 @@ RANLIB=@RANLIB@
27INSTALL=@INSTALL@ 27INSTALL=@INSTALL@
28PERL=@PERL@ 28PERL=@PERL@
29ENT=@ENT@ 29ENT=@ENT@
30XAUTH_PATH=@XAUTH_PATH@
30LDFLAGS=-L. @LDFLAGS@ 31LDFLAGS=-L. @LDFLAGS@
31EXEEXT=@EXEEXT@ 32EXEEXT=@EXEEXT@
32SSH_MODE= @SSHMODE@ 33SSH_MODE= @SSHMODE@
@@ -49,7 +50,19 @@ MANPAGES = @MANTYPE@
49 50
50CONFIGFILES=sshd_config ssh_config primes 51CONFIGFILES=sshd_config ssh_config primes
51 52
52PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/usr/libexec=$(libexecdir) -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/etc/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key -D/etc/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key -D/var/run/sshd.pid=$(piddir)/sshd.pid -D/etc/primes=$(sysconfdir)/primes 53PATHSUBS = \
54 -D/etc/ssh_config=$(sysconfdir)/ssh_config \
55 -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts \
56 -D/etc/sshd_config=$(sysconfdir)/sshd_config \
57 -D/usr/libexec=$(libexecdir) \
58 -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv \
59 -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key \
60 -D/etc/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key \
61 -D/etc/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key \
62 -D/var/run/sshd.pid=$(piddir)/sshd.pid \
63 -D/etc/primes=$(sysconfdir)/primes \
64 -D/etc/sshrc=$(sysconfdir)/sshrc \
65 -D/usr/X11R6/bin/xauth=$(XAUTH_PATH)
53 66
54FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) 67FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS)
55 68
diff --git a/configure.in b/configure.in
index 01c541013..50e9d47ec 100644
--- a/configure.in
+++ b/configure.in
@@ -936,8 +936,13 @@ AC_ARG_WITH(xauth,
936 ] 936 ]
937) 937)
938 938
939if test ! -z "$xauth_path" ; then 939if test -z "$xauth_path" ; then
940 XAUTH_PATH="undefined"
941 AC_SUBST(XAUTH_PATH)
942else
940 AC_DEFINE_UNQUOTED(XAUTH_PATH, "$xauth_path") 943 AC_DEFINE_UNQUOTED(XAUTH_PATH, "$xauth_path")
944 XAUTH_PATH=$xauth_path
945 AC_SUBST(XAUTH_PATH)
941fi 946fi
942if test ! -z "$rsh_path" ; then 947if test ! -z "$rsh_path" ; then
943 AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path") 948 AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path")