summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in37
-rw-r--r--configure.in31
3 files changed, 38 insertions, 34 deletions
diff --git a/ChangeLog b/ChangeLog
index 110bbfdb8..05b67f373 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,8 @@
10 debug->debug3 10 debug->debug3
11 - (bal) renabled 'catman-do:' and fixed it. So now catman pages should 11 - (bal) renabled 'catman-do:' and fixed it. So now catman pages should
12 be working again. 12 be working again.
13 - (bal) Makfile day... Cleaned up multiple mantype support (Patch by
14 Mark D. Roth <roth+openssh@feep.net>), and fixed PIDDIR support.
13 15
1420010417 1620010417
15 - (bal) Add perl5 check for HP/UX, Removed GNUness from Makefile.in 17 - (bal) Add perl5 check for HP/UX, Removed GNUness from Makefile.in
@@ -5157,4 +5159,4 @@
5157 - Wrote replacements for strlcpy and mkdtemp 5159 - Wrote replacements for strlcpy and mkdtemp
5158 - Released 1.0pre1 5160 - Released 1.0pre1
5159 5161
5160$Id: ChangeLog,v 1.1138 2001/04/18 15:46:01 mouring Exp $ 5162$Id: ChangeLog,v 1.1139 2001/04/18 18:04:21 mouring Exp $
diff --git a/Makefile.in b/Makefile.in
index e2f2d56b9..b43c55e37 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.171 2001/04/18 15:46:03 mouring Exp $ 1# $Id: Makefile.in,v 1.172 2001/04/18 18:04:22 mouring Exp $
2 2
3prefix=@prefix@ 3prefix=@prefix@
4exec_prefix=@exec_prefix@ 4exec_prefix=@exec_prefix@
@@ -6,6 +6,7 @@ bindir=@bindir@
6sbindir=@sbindir@ 6sbindir=@sbindir@
7libexecdir=@libexecdir@ 7libexecdir=@libexecdir@
8mandir=@mandir@ 8mandir=@mandir@
9mansubdir=@mansubdir@
9sysconfdir=@sysconfdir@ 10sysconfdir=@sysconfdir@
10piddir=@piddir@ 11piddir=@piddir@
11srcdir=@srcdir@ 12srcdir=@srcdir@
@@ -20,7 +21,8 @@ SFTP_SERVER=$(libexecdir)/sftp-server
20PATHS= -DETCDIR=\"$(sysconfdir)\" \ 21PATHS= -DETCDIR=\"$(sysconfdir)\" \
21 -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ 22 -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
22 -D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \ 23 -D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \
23 -D_PATH_SFTP_SERVER=\"$(SFTP_SERVER)\" 24 -D_PATH_SFTP_SERVER=\"$(SFTP_SERVER)\" \
25 -D_PATH_SSH_PIDDIR=\"$(piddir)\"
24 26
25CC=@CC@ 27CC=@CC@
26LD=@LD@ 28LD=@LD@
@@ -126,9 +128,9 @@ $(MANPAGES)::
126 manpage=$@; \ 128 manpage=$@; \
127 fi; \ 129 fi; \
128 if test "$(MANTYPE)" = "man"; then \ 130 if test "$(MANTYPE)" = "man"; then \
129 $(FIXPATHSCMD) $(srcdir)/$${manpage} | $(PERL) $(srcdir)/mdoc2man.pl > $@.out; \ 131 $(FIXPATHSCMD) $${manpage} | $(PERL) $(srcdir)/mdoc2man.pl > $@.out; \
130 else \ 132 else \
131 $(FIXPATHSCMD) $(srcdir)/$${manpage} > $@.out; \ 133 $(FIXPATHSCMD) $${manpage} > $@.out; \
132 fi 134 fi
133 135
134$(CONFIGFILES):: 136$(CONFIGFILES)::
@@ -165,6 +167,8 @@ install-files:
165 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) 167 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
166 $(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir) 168 $(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
167 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir) 169 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
170 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1
171 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
168 $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir) 172 $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
169 $(INSTALL) -m $(SSH_MODE) -s ssh $(DESTDIR)$(bindir)/ssh 173 $(INSTALL) -m $(SSH_MODE) -s ssh $(DESTDIR)$(bindir)/ssh
170 $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp 174 $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp
@@ -175,22 +179,15 @@ install-files:
175 $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd 179 $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd
176 @NO_SFTP@$(INSTALL) -m 0755 -s sftp $(DESTDIR)$(bindir)/sftp 180 @NO_SFTP@$(INSTALL) -m 0755 -s sftp $(DESTDIR)$(bindir)/sftp
177 @NO_SFTP@$(INSTALL) -m 0755 -s sftp-server $(DESTDIR)$(SFTP_SERVER) 181 @NO_SFTP@$(INSTALL) -m 0755 -s sftp-server $(DESTDIR)$(SFTP_SERVER)
178 if test "$(MANTYPE)" = "doc"; then \ 182 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
179 mansubdir="man"; \ 183 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
180 else \ 184 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
181 mansubdir="$(MANTYPE)"; \ 185 $(INSTALL) -m 644 ssh-agent.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1
182 fi; \ 186 $(INSTALL) -m 644 ssh-keygen.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
183 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$${mansubdir}1; \ 187 $(INSTALL) -m 644 ssh-keyscan.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
184 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$${mansubdir}8; \ 188 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
185 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/ssh.1; \ 189 @NO_SFTP@$(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
186 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/scp.1; \ 190 @NO_SFTP@$(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
187 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/ssh-add.1; \
188 $(INSTALL) -m 644 ssh-agent.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/ssh-agent.1; \
189 $(INSTALL) -m 644 ssh-keygen.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/ssh-keygen.1; \
190 $(INSTALL) -m 644 ssh-keyscan.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/ssh-keyscan.1; \
191 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$${mansubdir}8/sshd.8; \
192 @NO_SFTP@$(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$${mansubdir}1/sftp.1; \
193 @NO_SFTP@$(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$${mansubdir}8/sftp-server.8;
194 -rm -f $(DESTDIR)$(bindir)/slogin 191 -rm -f $(DESTDIR)$(bindir)/slogin
195 ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin 192 ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
196 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 193 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
diff --git a/configure.in b/configure.in
index 4850308f7..1c1ed3f6b 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
1# $Id: configure.in,v 1.277 2001/04/17 17:57:11 mouring Exp $ 1# $Id: configure.in,v 1.278 2001/04/18 18:04:23 mouring Exp $
2 2
3AC_INIT(ssh.c) 3AC_INIT(ssh.c)
4 4
@@ -70,11 +70,9 @@ case "$host" in
70 AC_DEFINE(NO_X11_UNIX_SOCKETS) 70 AC_DEFINE(NO_X11_UNIX_SOCKETS)
71 no_libsocket=1 71 no_libsocket=1
72 no_libnsl=1 72 no_libnsl=1
73 MANTYPE=doc
74 ;; 73 ;;
75*-*-dgux*) 74*-*-dgux*)
76 AC_DEFINE(IP_TOS_IS_BROKEN) 75 AC_DEFINE(IP_TOS_IS_BROKEN)
77 MANTYPE=doc
78 ;; 76 ;;
79*-*-hpux10*) 77*-*-hpux10*)
80 if test -z "$GCC"; then 78 if test -z "$GCC"; then
@@ -124,7 +122,6 @@ case "$host" in
124 AC_DEFINE(DONT_TRY_OTHER_AF) 122 AC_DEFINE(DONT_TRY_OTHER_AF)
125 AC_DEFINE(PAM_TTY_KLUDGE) 123 AC_DEFINE(PAM_TTY_KLUDGE)
126 inet6_default_4in6=yes 124 inet6_default_4in6=yes
127 MANTYPE=doc
128 ;; 125 ;;
129mips-sony-bsd|mips-sony-newsos4) 126mips-sony-bsd|mips-sony-newsos4)
130 AC_DEFINE(HAVE_NEWS4) 127 AC_DEFINE(HAVE_NEWS4)
@@ -132,15 +129,12 @@ mips-sony-bsd|mips-sony-newsos4)
132 AC_CHECK_LIB(iberty, xatexit, AC_DEFINE(HAVE_XATEXIT), 129 AC_CHECK_LIB(iberty, xatexit, AC_DEFINE(HAVE_XATEXIT),
133 AC_MSG_ERROR([*** libiberty missing - please install first or check config.log ***]) 130 AC_MSG_ERROR([*** libiberty missing - please install first or check config.log ***])
134 ) 131 )
135 MANTYPE=doc
136 ;; 132 ;;
137*-*-netbsd*) 133*-*-netbsd*)
138 need_dash_r=1 134 need_dash_r=1
139 MANTYPE=doc
140 ;; 135 ;;
141*-*-freebsd*) 136*-*-freebsd*)
142 check_for_libcrypt_later=1 137 check_for_libcrypt_later=1
143 MANTYPE=doc
144 ;; 138 ;;
145*-next-*) 139*-next-*)
146 conf_lastlog_location="/usr/adm/lastlog" 140 conf_lastlog_location="/usr/adm/lastlog"
@@ -153,7 +147,6 @@ mips-sony-bsd|mips-sony-newsos4)
153 AC_DEFINE(BROKEN_SAVED_UIDS) 147 AC_DEFINE(BROKEN_SAVED_UIDS)
154 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 148 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
155 CFLAGS="$CFLAGS" 149 CFLAGS="$CFLAGS"
156 MANTYPE=doc
157 ;; 150 ;;
158*-*-solaris*) 151*-*-solaris*)
159 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 152 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
@@ -1416,13 +1409,25 @@ AC_ARG_WITH(catman,
1416 AC_MSG_ERROR(invalid man type: $withval) 1409 AC_MSG_ERROR(invalid man type: $withval)
1417 ;; 1410 ;;
1418 esac 1411 esac
1419 ], [
1420 if test -z "$MANTYPE" ; then
1421 MANTYPE=man
1422 fi
1423 ] 1412 ]
1424) 1413)
1414if test -z "$MANTYPE"; then
1415 AC_PATH_PROGS(NROFF, nroff awf, /bin/false, /usr/bin)
1416 if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then
1417 MANTYPE=doc
1418 elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then
1419 MANTYPE=man
1420 else
1421 MANTYPE=cat
1422 fi
1423fi
1425AC_SUBST(MANTYPE) 1424AC_SUBST(MANTYPE)
1425if test "$MANTYPE" = "doc"; then
1426 mansubdir=man;
1427else
1428 mansubdir=$MANTYPE;
1429fi
1430AC_SUBST(mansubdir)
1426 1431
1427# Check whether to enable MD5 passwords 1432# Check whether to enable MD5 passwords
1428MD5_MSG="no" 1433MD5_MSG="no"
@@ -1896,7 +1901,7 @@ B=`eval echo ${bindir}` ; B=`eval echo ${B}`
1896C=`eval echo ${sbindir}` ; C=`eval echo ${C}` 1901C=`eval echo ${sbindir}` ; C=`eval echo ${C}`
1897D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}` 1902D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}`
1898E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}` 1903E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}`
1899F=`eval echo ${mandir}` ; F=`eval echo ${F}` 1904F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}`
1900G=`eval echo ${piddir}` ; G=`eval echo ${G}` 1905G=`eval echo ${piddir}` ; G=`eval echo ${G}`
1901H=`eval echo ${user_path}` ; H=`eval echo ${H}` 1906H=`eval echo ${user_path}` ; H=`eval echo ${H}`
1902 1907