[PATCH]: Cygwin port of 2.2.0p1
Robert Mooney
rjmooney at atl.mediaone.net
Sun Sep 3 08:04:13 EST 2000
When will OpenSSH natively support Cygwin? I apologize in advance of this
has already been discussed...
-----Original Message-----
From: owner-openssh-unix-dev at mindrot.org
[mailto:owner-openssh-unix-dev at mindrot.org]On Behalf Of Corinna Vinschen
Sent: Saturday, September 02, 2000 1:47 PM
To: openssh
Subject: [PATCH]: Cygwin port of 2.2.0p1
Attached is the patch for the Cygwin port of 2.2.0p1. As usual I didn't
attach the patch to `configure' but only the patch to `configure.in'.
BTW: I have attached a gzip'd version of the patch since it's size
is > 20K and I thought that it might be too big. The gzip'd diff is
< 8K.
What are "Small attachments (such as diff files) within the bounds
of common sense" as mentioned on the OpenSSH home page? Which max.
size of diff's is accepted without compression?
The binaries and patched sources are accessible via ftp:
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Cori
nna/V1.1.4
Files:
openssh-2.2.0p1.README readme
openssh-2.2.0p1.tar.gz binaries
openssh-2.2.0p1-src.tar.gz sources
This version is finally compiled with OpenSSL-0.9.5a. Binaries
and sources could as well be found under the above path.
Files:
openssl-0.9.5a.README readme
openssl-0.9.5a.tar.gz binaries
openssl-0.9.5a-src.tar.gz sources
Regards,
Corinna
ChangeLog:
==========
- Makefile.in: Changed to support $EXEEXT transparently. Added
`cygwin_util.o' to the dependencies of LIBSSH_OBJS.
- acconfig.h: Add defines for HAVE_CYGWIN and BROKEN_VHANGUP.
- auth-passwd.c: Support getting NT passwords via Cygwin special
functions. Disable check for uid 0 when HAVE_CYGWIN is set.
- auth1.c: Reject changing user context if not authenticated via
password under Windows NT. Disable check for uid 0 when HAVE_CYGWIN
is set.
- authfile.c: Disable check for file modes when HAVE_CYGWIN is set.
- bsd-daemon.c: Avoid possible race condition under Cygwin.
- bsd-mktemp.c: Define `open' as `binary_open' when HAVE_CYGWIN is set.
- channels.c: Disable check for uid 0 when HAVE_CYGWIN is set.
- config.h.in: Add HAVE_CYGWIN.
- configure.in: Add *-*-cygwin as target. Call AC_EXEEXT now.
- cygwin_util.c: New file containing `binary_open' and `binary_pipe'
function.
- defines.h: Check for BROKEN_VHANGUP to set USE_VHANGUP.
- includes.h: Use HAVE_CYGWIN to care for include files. Define `open'
as `binary_open' and `pipe' as `binary_pipe' when HAVE_CYGWIN is set.
- loginrec.c: Disable check for uid 0 when HAVE_CYGWIN is set.
- pty.c: Check for USE_VHANGUP instead of HAVE_VHANGUP.
Don't call I_PUSH ioctl's under Cygwin.
- readconf.c: Disable check for uid 0 when HAVE_CYGWIN is set.
- scp.c: Call tcgetpgrp() instead of ioctl(..., TIOCGPGRP) to get the
controlling terminal when HAVE_CYGWIN is set.
- session.c: Close xauthfiles immediatly to avoid implicit file
lockings on Windows NT systems. Changes in environment setting.
Disable check for uid 0 when HAVE_CYGWIN is set. Don't call xauth
with `.../unix' syntax under Cygwin.
- ssh.c: Disable setrlimit call under Cygwin. Take care for `.exe' file
extension. Disable check for uid 0 when HAVE_CYGWIN is set.
- sshconnect.c: Disable check for euid 0 when HAVE_CYGWIN is set.
- sshd.c: Open pid file explicit binary.
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin at sources.redhat.com
Red Hat, Inc.
mailto:vinschen at cygnus.com
More information about the openssh-unix-dev
mailing list