xref: /openbsd/gnu/usr.bin/cvs/emx/README (revision 2286d8ed)
12770ece5Stholo
22770ece5StholoCVS for OS/2
32770ece5Stholobased on EMX 0.9c (patch 02)
42770ece5Stholo
52770ece5Stholo
62770ece5StholoThis port works well in local mode.  It fully respects the OS/2
72770ece5Stholofilename conventions, but only works on HPFS or other filesystem types
82770ece5Stholowhich support long filenames (like ext2fs or Netware FS with OS/2
92770ece5Stholonamespace).  It does _not_ work on FAT partitions or any other fs which
102770ece5Stholodoes not support long filenames.  The port also works in client mode.
112770ece5Stholo
122770ece5StholoThis port requires EMX 0.9c (patch 02) and the BSD libraries.  It should
132770ece5Stholowork in local mode, in client mode and also in server mode.  nServer mode
142770ece5Stholowill only work if the client uses the :server: method, because the CRLF
152770ece5Stholohandling of IBM's RSHD.EXE is not "compatible" with CVS.  (If you find a
162770ece5Stholobetter rshd for OS/2, please let us know!)
172770ece5Stholo
182770ece5StholoTo compile CVS for OS/2, you must install the following packages:
192770ece5Stholo
202770ece5Stholo - EMX 0.9c (patch 02) and the GNU-C-Compiler
212770ece5Stholo
222770ece5Stholo      EMXDEV1.ZIP
232770ece5Stholo      EMXDEV2.ZIP
242770ece5Stholo      EMXRT.ZIP
252770ece5Stholo      GNUDEV1.ZIP
262770ece5Stholo      GNUDEV2.ZIP
272770ece5Stholo      BSDDEV.ZIP
282770ece5Stholo      EMXFIX02.ZIP
292770ece5Stholo
302770ece5Stholo - GNU make for OS/2
312770ece5Stholo
322770ece5Stholo      GNUMAKE.ZIP
332770ece5Stholo
342770ece5Stholo - ufc.a (ufc-crypt) as a replacement for crypt (this may be something
352770ece5Stholo   different if you live inside the USA).  You don't need this one currently,
362770ece5Stholo   because the port of the server to OS/2 isn't done yet, but I'm mentioning
372770ece5Stholo   in case it is useful for future reference (we're probably better off
382770ece5Stholo   using a different password hash instead, as noted in item #184 of ../TODO).
392770ece5Stholo
402770ece5Stholo      GNUUFC.ZIP
412770ece5Stholo
422770ece5StholoAll packages can be found on ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu
432770ece5Stholo(You may also try http://www.leo.org/pub/comp/os/os2/leo/gnu).
442770ece5Stholo
45*2286d8edStholoChange to the `emx' directory, do "make" and get emx\cvs.exe.  I had
46*2286d8edStholoto comment out the "Makefile" rule in emx/Makefile to avoid a
47*2286d8edStholocomplaint about ../config.status not existing.  You also might need to
48*2286d8edStholoedit srcdir to be "." and top_srcdir to be "..".
49*2286d8edStholo
50*2286d8edStholoAssuming you have edited the `install_dir' variable in the Makefile,
51*2286d8edStholoyou may type "make install-cvs" to put cvs.exe in the right place.
52*2286d8edStholoYou may also "make clean-cvs" to clean up object and library files.
532770ece5Stholo
542770ece5StholoThe cvs.exe generated will require emx.dll to run.  You can try
552770ece5Stholocompiling with -Zomf -Zsys to generate a cvs.exe without this
562770ece5Stholorequirement, but that almost surely will require significant changes
572770ece5Stholoto make it work.  For the client, the big known problem would be that
582770ece5StholoEMX 0.9c doesn't have sockets with -Zsys (according to the
592770ece5Stholodocumentation).  That seems like it would be hard to get around.  For
602770ece5Sthololocal, the big known problem is that -Zsys doesn't have fork().  This
612770ece5Stholoone isn't as bad--using os2/run.c or something similar instead of
622770ece5Stholosrc/run.c should solve this problem.
632770ece5Stholo
642770ece5StholoYou will get warnings in lib/getdate.c.  These are yacc's fault; ignore
652770ece5Stholothem.
662770ece5Stholo
672770ece5StholoYou will get about 5 warnings in lib/regex.c concerning "unused variable
682770ece5Stholodestination".  Ignore them.
692770ece5Stholo
70*2286d8edStholoReport bugs to tepting@swol.de and bug-cvs@gnu.org.
71