diff -urN cvs-1.11.0-orig/CYGWIN-PATCHES/cvs-1.11.0.README cvs-1.11.0/CYGWIN-PATCHES/cvs-1.11.0.README
--- cvs-1.11.0-orig/CYGWIN-PATCHES/cvs-1.11.0.README	Wed Dec 31 19:00:00 1969
+++ cvs-1.11.0/CYGWIN-PATCHES/cvs-1.11.0.README	Mon Oct 23 01:43:09 2000
@@ -0,0 +1,165 @@
+The source archive already has the appropriate cygwin patch applied.
+To remove and revert to a 'clean' cvs-1.11.8
+  mv <srctop>/CYGWIN-PATCHES/cvs-1.11.0-X.patch <srctop>/..
+  cd <srctop>
+  patch -p1 -R < ../cvs-1.11.0-X.patch
+  
+------------------
+
+Direct Dependencies:
+  gdbm-1.8.0-3
+  crypt-1.0  (Corinna's DES-based version)
+  pr.exe must be accessible as /bin/pr (configure doesn't hunt for
+     pr, but the make just *assumes* that it is there)
+
+Optional Dependencies:
+  perl (necessary only to build/use the scripts in the contrib directory)
+
+Canonical homepage:
+http://www.cvshome.org/
+
+Canonical download:
+ftp://ftp.cvshome.org/pub/cvs-1.11/
+
+------------------
+
+To build the CVS for cygwin: 
+
+unpack cvs-1.11.0-X-src.tar.gz
+cd cvs-1.11.0
+./configure --prefix=/usr
+make
+make install
+
+------------------
+
+Files included in the binary distro
+
+  <prefix>/info/cvs*
+  <prefix>/bin/cvs
+  <prefix>/bin/cvsbug
+  <prefix>/man/man1/cvs.1
+  <prefix>/man/man5/cvs.5
+  <prefix>/man/man8/cvsbug.8
+  <prefix>/lib/cvs/contrib/README
+  <prefix>/lib/cvs/contrib/intro.doc
+  <prefix>/lib/cvs/contrib/cvscheck.man
+  <prefix>/lib/cvs/contrib/{perl scripts}
+  <prefix>/bin/rcs2log
+  <prefix>/doc/cvs-1.11.0/NEWS
+  <prefix>/doc/cvs-1.11.0/README
+  <prefix>/doc/cvs-1.11.0/FAQ
+  <prefix>/doc/cvs-1.11.0/MINOR-BUGS
+  <prefix>/doc/Cygwin/cvs-1.11.0.README
+  pcl-cvs NOT installed (this one is 1.05, the one with XEmacs is 1.40)
+
+------------------
+
+Port Notes:
+
+1.11.0 NOTES:
+*****************************************************
+Under 1.10.8, it turned out that you couldn't maintain a local repository
+  on Win9x because the ndbm emulation routines provided by gdbm rely
+  on hardlinks between foo.dir and foo.pag.  To fix this, I added 
+(a) another #define in src/options.h  (USE_GDBM)
+(b) if set, then use a "real", single-file gdbm database -- no hardlinks
+  necessary.
+
+----***** IMPORTANT *****-----
+Existing splitfile databases in CVSROOT must be updated!!!!!!
+  Do the following:  
+    cd ${CVSROOT}/CVSROOT 
+    conv2gdbm modules modules_db
+    conv2gdbm val-tags val-tags_db
+
+1.10.8 NOTES:
+*****************************************************
+works for me for everything I've tried. For whatever that's worth.
+
+------------------------
+At least one successful report of cvs + Corinna's openSSH 2.1.1p4 from
+Norman Vine, on Win98. 
+  http://sources.redhat.com/ml/cygwin/2000-08/msg00122.html
+
+1. untar the [OpenSSH] distribution
+2. run the /usr/local/bin/ssh-config script
+3. restart Cygwin
+4. export CVS_RSH=ssh
+5. and launch cvs
+
+------------------------
+Jason Tishler reports that this CVS, with cygwin-1.1.4, is about half 
+as fast as a native Win32 port of CVS. IMO, that's pretty good...but
+Trevor Forbes disagrees (see next item).
+
+------------------------
+cvs appears to upload the entire repository before doing an update.
+Really slows down 'cvs -u'. Occurs only with post-Cygwin-CD cygwin
+dll's. Using a clean CygwinCD installation, but with this version of
+cvs/gdbm, no slowdown observed. Drop in a new cygwin1.dll from 1.1.0 or
+later, and slowdown happens. Reported by Trevor Forbes.
+
+status: unconfirmed. No known explanation. 
+
+------------------------
+cvs can't do a checkout when pwd = '/'. Reported by Travis Howell
+(Win98SE + cygwin1.1.3)
+
+status: unconfirmed. I cannot reproduce; it works okay for me
+(W2K+cygwin1.1.4). 
+
+------------------------
+cvs can't work with packages that contain files whose names are illegal
+under MSWIN -- e.g. the eggdrop-1.5 package has a directory called
+'AUX'. Reported by Travis Howell.
+
+status: Ignore. cvs isn't the right place to fix this. If it is to be
+fixed, it should be done in the cygwin file access layer, not in cvs.
+(Personally, I thing the maintainer of eggdrop and other poorly-behaved
+packages should use names that are cross-platform compatible, but...)
+
+addendum: Corinna sez 'Yep'.
+  http://sources.redhat.com/ml/cygwin/2000-08/msg00448.html
+
+------------------------
+Jason Tishler reported that cvs gives annoying errors when using 
+cvs in client mode (e.g. using rsh) on Win98 
+  http://sources.redhat.com/ml/cygwin/2000-08/msg00462.html
+
+$ cvs update
+cvs update: error reading current directory: Function not implemented
+
+but the update functions properly.
+
+status: Probably fixed by a post-1.1.4 changes to cygwin. If you 
+observe this problem, please try a post-1.1.4 development snapshot 
+of cygwin (or cygwin-1.1.5 if it's available) -- but be warned: as 
+always, development snapshots are unsupported and not guaranteed to 
+work. 
+
+addendum: The 2000-08-11 snapshot fixed the "Function not implemented"
+error, but introduced a new problem:
+  "cvs [update aborted]: waiting for process 198: No children"
+Chris Faylor suggests that this is because (surprise) snapshots aren't
+guaranteed to work:
+  http://sources/redhat.com/ml/cygwin/2000-08/msg00550.html
+But in any case, it appears that the problems Jeffrey is seeing are 
+cygwin bugs, not cvs bugs. We'll have to wait until cygwin-1.1.5 to 
+know for sure.
+
+Remember, this only affects client/server mode when using rsh.
+
+------------------------
+Jeffrey Juliano reports that cvs + ssh (e.g. CVS_RSH=ssh) hangs. He's 
+using Win98SE + cygwin-1.1.4. cvs-1.10.8-1 cygwin cvs client, 
+openSSH-2.1.1p4-2 cygwin ssh client, and cvs-1.10.7 IRIX server, 
+ssh.com's ssh-1.2.22 IRIX server with AFS patches.
+  http://sources.redhat.com/ml/cygwin/2000-08/msg00518.html
+
+status: unconfirmed. no explanation -- only a guess that something
+funky with OpenSSH-->sshd-1.2.22+AFS is causing problems. However,
+Norman Vine reports successs using OpenSSH-2.1.1p4-2 and cvs-1.10.8-1.
+
+------------------------
+Cygwin port maintained by: Charles Wilson cwilson@ece.gatech.edu
diff -urN cvs-1.11.0-orig/Makefile.in cvs-1.11.0/Makefile.in
--- cvs-1.11.0-orig/Makefile.in	Fri Sep  8 14:28:02 2000
+++ cvs-1.11.0/Makefile.in	Mon Oct 23 02:55:59 2000
@@ -61,6 +61,9 @@
 # Where to put the manual pages.
 mandir = @mandir@
 
+docdir = $(prefix)/doc/cvs-1.11.0
+cygdocdir = $(prefix)/doc/Cygwin
+
 #### End of system configuration section. ####
 
 FLAGS_TO_PASS = \
@@ -123,12 +126,16 @@
 	cd doc && $(MAKE) $(FLAGS_TO_PASS) $@ || exit 1
 
 .PHONY: install-local
-install-local: all-local
-	@: nothing to do locally
+install-local: all-local installdirs-local
+	$(INSTALL_DATA) $(srcdir)/NEWS $(docdir)
+	$(INSTALL_DATA) $(srcdir)/README $(docdir)
+	$(INSTALL_DATA) $(srcdir)/FAQ $(docdir)
+	$(INSTALL_DATA) $(srcdir)/MINOR-BUGS $(docdir)
+	$(INSTALL_DATA) $(srcdir)/CYGWIN-PATCHES/cvs-1.11.0.README $(cygdocdir)
 
 .PHONY: installdirs-local
 installdirs-local: all-local
-	@: nothing to do locally
+	$(SHELL) $(top_srcdir)/mkinstalldirs $(docdir) $(cygdocdir)
 
 .PHONY: tags
 tags:
diff -urN cvs-1.11.0-orig/configure.in cvs-1.11.0/configure.in
--- cvs-1.11.0-orig/configure.in	Tue Aug  1 12:13:25 2000
+++ cvs-1.11.0/configure.in	Sun Oct 22 23:25:20 2000
@@ -277,20 +277,20 @@
 dnl things won't be that simple, before long.
 dnl AC_DEFINE(PRESERVE_PERMISSIONS_SUPPORT)
 
-dnl On cygwin32, we configure like a Unix system, but we use the
+dnl On cygwin, we configure like a Unix system, but we use the
 dnl Windows support code in lib/fncase.c to handle the case
 dnl insensitive file system.  We also need some support libraries.  We
 dnl do this at the end so that the new libraries are added at the end
 dnl of LIBS.
-AC_CACHE_CHECK(for cygwin32, ccvs_cv_sys_cygwin32,
-[AC_TRY_COMPILE([], [return __CYGWIN32__;],
-ccvs_cv_sys_cygwin32=yes, ccvs_cv_sys_cygwin32=no)])
-if test $ccvs_cv_sys_cygwin32 = yes; then
+AC_CACHE_CHECK(for cygwin, ccvs_cv_sys_cygwin,
+[AC_TRY_COMPILE([], [return __CYGWIN__;],
+ccvs_cv_sys_cygwin=yes, ccvs_cv_sys_cygwin=no)])
+if test $ccvs_cv_sys_cygwin = yes; then
   LIBOBJS="$LIBOBJS fncase.o"
   LIBS="$LIBS -ladvapi32"
 
   dnl On Windows you can only change file times if you can write to
-  dnl the file.  cygwin32 should really handle this for us, but as of
+  dnl the file.  cygwin should really handle this for us, but as of
   dnl January 1998 it doesn't.
   AC_DEFINE(UTIME_EXPECTS_WRITABLE)
 
diff -urN cvs-1.11.0-orig/configure cvs-1.11.0/configure
--- cvs-1.11.0-orig/configure	Tue Aug  1 12:13:25 2000
+++ cvs-1.11.0/configure	Sun Oct 22 23:30:19 2000
@@ -911,9 +911,9 @@
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL} -m 755 -s'
 
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755'
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
@@ -3515,9 +3515,9 @@
 fi # enable_server
 
 
-echo $ac_n "checking for cygwin32""... $ac_c" 1>&6
-echo "configure:3520: checking for cygwin32" >&5
-if eval "test \"`echo '$''{'ccvs_cv_sys_cygwin32'+set}'`\" = set"; then
+echo $ac_n "checking for cygwin""... $ac_c" 1>&6
+echo "configure:3520: checking for cygwin" >&5
+if eval "test \"`echo '$''{'ccvs_cv_sys_cygwin'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
@@ -3525,25 +3525,25 @@
 #include "confdefs.h"
 
 int main() {
-return __CYGWIN32__;
+return __CYGWIN__;
 ; return 0; }
 EOF
 if { (eval echo configure:3532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
-  ccvs_cv_sys_cygwin32=yes
+  ccvs_cv_sys_cygwin=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
   rm -rf conftest*
-  ccvs_cv_sys_cygwin32=no
+  ccvs_cv_sys_cygwin=no
 fi
 rm -f conftest*
 fi
 
-echo "$ac_t""$ccvs_cv_sys_cygwin32" 1>&6
-if test $ccvs_cv_sys_cygwin32 = yes; then
+echo "$ac_t""$ccvs_cv_sys_cygwin" 1>&6
+if test $ccvs_cv_sys_cygwin = yes; then
   LIBOBJS="$LIBOBJS fncase.o"
-  LIBS="$LIBS -ladvapi32"
+  LIBS="$LIBS"
 
         cat >> confdefs.h <<\EOF
 #define UTIME_EXPECTS_WRITABLE 1
diff -urN cvs-1.11.0-orig/contrib/Makefile.in cvs-1.11.0/contrib/Makefile.in
--- cvs-1.11.0-orig/contrib/Makefile.in	Fri Sep  8 14:28:02 2000
+++ cvs-1.11.0/contrib/Makefile.in	Sun Oct 22 23:25:20 2000
@@ -38,6 +38,7 @@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
 DISTFILES = \
 	ChangeLog README .cvsignore intro.doc \
@@ -83,10 +84,10 @@
 		$(INSTALL_DATA) $(srcdir)/$$f $(libdir)/cvs/contrib/$$f; \
 	done
 	for f in $(CONTRIB_PROGS) ; do\
-		$(INSTALL_PROGRAM) $$f $(libdir)/cvs/contrib/$$f; \
+		$(INSTALL_SCRIPT) $$f $(libdir)/cvs/contrib/$$f; \
 	done
 	for f in $(PROGS) ; do\
-		$(INSTALL_PROGRAM) $$f $(bindir)/$$f; \
+		$(INSTALL_SCRIPT) $$f $(bindir)/$$f; \
 	done
 .PHONY: install
 
diff -urN cvs-1.11.0-orig/lib/ChangeLog cvs-1.11.0/lib/ChangeLog
--- cvs-1.11.0-orig/lib/ChangeLog	Mon Jul 10 15:45:03 2000
+++ cvs-1.11.0/lib/ChangeLog	Sun Oct 22 23:25:21 2000
@@ -119,7 +119,7 @@
 Tue Jan 13 16:51:59 1998  Ian Lance Taylor  <ian@cygnus.com>
 
 	* fncase.c: New file, taken from windows-NT/filesubr.c.
-	* system.h: If __CYGWIN32__ or WIN32 are defined, define
+	* system.h: If __CYGWIN__ or WIN32 are defined, define
 	FOLD_FN_CHAR, FILENAMES_CASE_INSENSITIVE, and ISDIRSEP, and
 	declare fncmp and fnfold.  Taken from windows-NT/config.h.
 	* Makefile.in (SOURCES): Add fncase.c.
diff -urN cvs-1.11.0-orig/lib/system.h cvs-1.11.0/lib/system.h
--- cvs-1.11.0-orig/lib/system.h	Mon Feb 16 13:55:18 1998
+++ cvs-1.11.0/lib/system.h	Sun Oct 22 23:25:21 2000
@@ -469,7 +469,7 @@
 #define CVS_FNMATCH fnmatch
 #endif
 
-#if defined (__CYGWIN32__) || defined (WIN32)
+#if defined (__CYGWIN__) || defined (WIN32)
 
 /* Under Windows NT, filenames are case-insensitive, and both / and \
    are path component separators.  */
@@ -492,7 +492,7 @@
    definition for this.  */
 extern void fnfold (char *FILENAME);
 
-#endif /* defined (__CYGWIN32__) || defined (WIN32) */
+#endif /* defined (__CYGWIN__) || defined (WIN32) */
 
 /* Some file systems are case-insensitive.  If FOLD_FN_CHAR is
    #defined, it maps the character C onto its "canonical" form.  In a
diff -urN cvs-1.11.0-orig/src/ChangeLog cvs-1.11.0/src/ChangeLog
--- cvs-1.11.0-orig/src/ChangeLog	Tue Sep 19 17:18:16 2000
+++ cvs-1.11.0/src/ChangeLog	Sun Oct 22 23:25:21 2000
@@ -3940,7 +3940,7 @@
 	* sanity.sh (binfiles2): Correct test name binfile2-7-brmod to
 	binfiles2-7-brmod.
 
-	* release.c (release_delete): If __CYGWIN32__ is defined, don't
+	* release.c (release_delete): If __CYGWIN__ is defined, don't
  	worry about mismatched inodes.  This is a hack, but then I think
  	the test is rather peculiar anyhow.
 
diff -urN cvs-1.11.0-orig/windows-NT/ChangeLog cvs-1.11.0/windows-NT/ChangeLog
--- cvs-1.11.0-orig/windows-NT/ChangeLog	Mon Jun 26 16:14:08 2000
+++ cvs-1.11.0/windows-NT/ChangeLog	Sun Oct 22 23:25:21 2000
@@ -448,7 +448,7 @@
 Thu May 16 01:18:22 1996  noel  <noel@BOAT_ANCHOR>
 
 	* sanity.sh: Hacked version of src/sanity.sh for use under
- 	CYGWIN32.
+ 	CYGWIN.
 
 	* filesubr.c (expand_wild): Since FindFirstFile and FindNextFile
  	don't return the pathname of a file, we need to keep track of it
diff -urN cvs-1.11.0-orig/windows-NT/README cvs-1.11.0/windows-NT/README
--- cvs-1.11.0-orig/windows-NT/README	Tue Oct 13 16:26:19 1998
+++ cvs-1.11.0/windows-NT/README	Sun Oct 22 23:25:21 2000
@@ -64,13 +64,13 @@
 which support long file names, which you will need to unpack the CVS
 source distribution.
 
-The CYGWIN32 package is a port of various GNU tools for NT, providing
+The CYGWIN package is a port of various GNU tools for NT, providing
 bash as the shell and gcc as the compiler.  Basically, you don't want
-the stuff in this directory for CVS running under cygwin32; you want
+the stuff in this directory for CVS running under cygwin; you want
 the same stuff as for unix (../configure, Makefile.in, &c).  For
-cygwin32 information see
+cygwin information see
 
-	http://www.cygnus.com/misc/gnu-win32/
+	http://sources.redhat.com/cygwin/
 
 Morten Hindsholm's port of CVS 1.4A2 to Windows NT may be useful if
 you're modifying CVS itself:
