summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.in27
-rw-r--r--configure.in5
-rw-r--r--sshd.8.in4
4 files changed, 24 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 74c8ef9e9..77501f4e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@
17 - Patch from Christos Zoulas <christos@zoulas.com> 17 - Patch from Christos Zoulas <christos@zoulas.com>
18 - Try $prefix first when looking for OpenSSL. 18 - Try $prefix first when looking for OpenSSL.
19 - Include sys/types.h when including sys/socket.h in test programs 19 - Include sys/types.h when including sys/socket.h in test programs
20 - Substitute PID directory in sshd.8. Suggestion from Andrew
21 Stribblehill <a.d.stribblehill@durham.ac.uk>
20 22
2120000116 2320000116
22 - Renamed --with-xauth-path to --with-xauth 24 - Renamed --with-xauth-path to --with-xauth
diff --git a/Makefile.in b/Makefile.in
index 786cd4368..580065c03 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -5,15 +5,15 @@ sbindir=@sbindir@
5libexecdir=@libexecdir@ 5libexecdir=@libexecdir@
6mandir=@mandir@ 6mandir=@mandir@
7sysconfdir=@sysconfdir@ 7sysconfdir=@sysconfdir@
8piddir=@piddir@
9srcdir=@srcdir@
10top_srcdir=@top_srcdir@
8 11
9srcdir = @srcdir@
10top_srcdir = @top_srcdir@
11VPATH=@srcdir@ 12VPATH=@srcdir@
12 13
13SSH_PROGRAM=@bindir@/ssh 14SSH_PROGRAM=@bindir@/ssh
14ASKPASS_LOCATION=@libexecdir@/ssh 15ASKPASS_LOCATION=@libexecdir@/ssh
15ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass 16ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass
16FIXPATHS=@top_srcdir@/fixpaths
17 17
18CC=@CC@ 18CC=@CC@
19PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" 19PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\"
@@ -24,6 +24,7 @@ AR=@AR@
24RANLIB=@RANLIB@ 24RANLIB=@RANLIB@
25INSTALL=@INSTALL@ 25INSTALL=@INSTALL@
26PERL=@PERL@ 26PERL=@PERL@
27FIXPATHS=$(PERL) @top_srcdir@/fixpaths -Dsysconfdir=${sysconfdir} -Dpiddir=${piddir}
27LDFLAGS=-L. @LDFLAGS@ 28LDFLAGS=-L. @LDFLAGS@
28 29
29GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` 30GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui`
@@ -73,28 +74,28 @@ gnome-ssh-askpass: gnome-ssh-askpass.c
73 $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) 74 $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS)
74 75
75scp.1: scp.1.in 76scp.1: scp.1.in
76 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/scp.1.in 77 $(FIXPATHS) $(srcdir)/scp.1.in
77 78
78ssh-add.1: ssh-add.1.in 79ssh-add.1: ssh-add.1.in
79 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-add.1.in 80 $(FIXPATHS) ssh-add.1.in
80 81
81ssh-agent.1: ssh-agent.1.in 82ssh-agent.1: ssh-agent.1.in
82 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-agent.1.in 83 $(FIXPATHS) ssh-agent.1.in
83 84
84ssh-keygen.1: ssh-keygen.1.in 85ssh-keygen.1: ssh-keygen.1.in
85 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-keygen.1.in 86 $(FIXPATHS) ssh-keygen.1.in
86 87
87ssh.1: ssh.1.in 88ssh.1: ssh.1.in
88 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh.1.in 89 $(FIXPATHS) ssh.1.in
89 90
90sshd.8: sshd.8.in 91sshd.8: sshd.8.in
91 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} sshd.8.in 92 $(FIXPATHS) sshd.8.in
92 93
93sshd_config: sshd_config.in 94sshd_config: sshd_config.in
94 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} sshd_config.in 95 $(FIXPATHS) sshd_config.in
95 96
96ssh_config: ssh_config.in 97ssh_config: ssh_config.in
97 $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh_config.in 98 $(FIXPATHS) ssh_config.in
98 99
99clean: 100clean:
100 rm -f *.o *.a $(TARGETS) config.status config.cache config.log 101 rm -f *.o *.a $(TARGETS) config.status config.cache config.log
@@ -172,3 +173,7 @@ uninstall:
172 -rm -f ${ASKPASS_PROGRAM} 173 -rm -f ${ASKPASS_PROGRAM}
173 -rmdir $(libexecdir)/ssh ; 174 -rmdir $(libexecdir)/ssh ;
174 175
176preformat:
177 -rm -f catman
178 -mkdir catman
179 for x in $(MANPAGES) ; do man ./$${x}.in > catman/$${x}.in ; done
diff --git a/configure.in b/configure.in
index e7524cd62..b356beb59 100644
--- a/configure.in
+++ b/configure.in
@@ -661,14 +661,17 @@ AC_ARG_WITH(default-path,
661 ] 661 ]
662) 662)
663 663
664piddir=/var/run
664AC_ARG_WITH(pid-dir, 665AC_ARG_WITH(pid-dir,
665 [ --with-pid-dir=PATH Specify location of ssh.pid file], 666 [ --with-pid-dir=PATH Specify location of ssh.pid file],
666 [ 667 [
667 if test "x$withval" != "xno" ; then 668 if test "x$withval" != "xno" ; then
668 AC_DEFINE_UNQUOTED(PID_DIR, "$withval") 669 piddir=$withval
669 fi 670 fi
670 ] 671 ]
671) 672)
673AC_DEFINE_UNQUOTED(PID_DIR, "$piddir")
674AC_SUBST(piddir)
672 675
673dnl Check for mail directory (last resort if we cannot get it from headers) 676dnl Check for mail directory (last resort if we cannot get it from headers)
674if test ! -z "$MAIL" ; then 677if test ! -z "$MAIL" ; then
diff --git a/sshd.8.in b/sshd.8.in
index b5d925b87..671fe4ce5 100644
--- a/sshd.8.in
+++ b/sshd.8.in
@@ -9,7 +9,7 @@
9.\" 9.\"
10.\" Created: Sat Apr 22 21:55:14 1995 ylo 10.\" Created: Sat Apr 22 21:55:14 1995 ylo
11.\" 11.\"
12.\" $Id: sshd.8.in,v 1.2 2000/01/14 04:45:52 damien Exp $ 12.\" $Id: sshd.8.in,v 1.3 2000/01/17 11:02:18 damien Exp $
13.\" 13.\"
14.Dd September 25, 1999 14.Dd September 25, 1999
15.Dt SSHD 8 15.Dt SSHD 8
@@ -637,7 +637,7 @@ really used for anything; it is only provided for the convenience of
637the user so its contents can be copied to known hosts files. 637the user so its contents can be copied to known hosts files.
638These two files are created using 638These two files are created using
639.Xr ssh-keygen 1 . 639.Xr ssh-keygen 1 .
640.It Pa /var/run/sshd.pid 640.It Pa @piddir@/sshd.pid
641Contains the process ID of the 641Contains the process ID of the
642.Nm 642.Nm
643listening for connections (if there are several daemons running 643listening for connections (if there are several daemons running