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_Corinna/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 -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh-2.2.0p1.p0.gz Type: application/x-gzip Size: 7596 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20000902/538d22b2/attachment.bin
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
I have to apologize. My previous patch missed a file :-( Attached to this mail you will find the corrected patch _with_ the missing file. Sorry, Corinna Corinna Vinschen wrote:> > 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_Corinna/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 -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh-2.2.0p1.p1.gz Type: application/x-gzip Size: 7534 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20000903/957c6274/attachment.bin
Seemingly Similar Threads
- [PATCH]: Allow SSHD to install as service under WIndows 9x/Me
- [PATCH]: scp could hang in Cygwin
- [PATCH]: Fix potential security hole in Cygwin version
- [PATCH] Updated patch to Cygwin port of 2.1.1p4
- [PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching