xref: /openbsd/gnu/usr.bin/cvs/emx/README (revision 2286d8ed)
1
2CVS for OS/2
3based on EMX 0.9c (patch 02)
4
5
6This port works well in local mode.  It fully respects the OS/2
7filename conventions, but only works on HPFS or other filesystem types
8which support long filenames (like ext2fs or Netware FS with OS/2
9namespace).  It does _not_ work on FAT partitions or any other fs which
10does not support long filenames.  The port also works in client mode.
11
12This port requires EMX 0.9c (patch 02) and the BSD libraries.  It should
13work in local mode, in client mode and also in server mode.  nServer mode
14will only work if the client uses the :server: method, because the CRLF
15handling of IBM's RSHD.EXE is not "compatible" with CVS.  (If you find a
16better rshd for OS/2, please let us know!)
17
18To compile CVS for OS/2, you must install the following packages:
19
20 - EMX 0.9c (patch 02) and the GNU-C-Compiler
21
22      EMXDEV1.ZIP
23      EMXDEV2.ZIP
24      EMXRT.ZIP
25      GNUDEV1.ZIP
26      GNUDEV2.ZIP
27      BSDDEV.ZIP
28      EMXFIX02.ZIP
29
30 - GNU make for OS/2
31
32      GNUMAKE.ZIP
33
34 - ufc.a (ufc-crypt) as a replacement for crypt (this may be something
35   different if you live inside the USA).  You don't need this one currently,
36   because the port of the server to OS/2 isn't done yet, but I'm mentioning
37   in case it is useful for future reference (we're probably better off
38   using a different password hash instead, as noted in item #184 of ../TODO).
39
40      GNUUFC.ZIP
41
42All packages can be found on ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu
43(You may also try http://www.leo.org/pub/comp/os/os2/leo/gnu).
44
45Change to the `emx' directory, do "make" and get emx\cvs.exe.  I had
46to comment out the "Makefile" rule in emx/Makefile to avoid a
47complaint about ../config.status not existing.  You also might need to
48edit srcdir to be "." and top_srcdir to be "..".
49
50Assuming you have edited the `install_dir' variable in the Makefile,
51you may type "make install-cvs" to put cvs.exe in the right place.
52You may also "make clean-cvs" to clean up object and library files.
53
54The cvs.exe generated will require emx.dll to run.  You can try
55compiling with -Zomf -Zsys to generate a cvs.exe without this
56requirement, but that almost surely will require significant changes
57to make it work.  For the client, the big known problem would be that
58EMX 0.9c doesn't have sockets with -Zsys (according to the
59documentation).  That seems like it would be hard to get around.  For
60local, the big known problem is that -Zsys doesn't have fork().  This
61one isn't as bad--using os2/run.c or something similar instead of
62src/run.c should solve this problem.
63
64You will get warnings in lib/getdate.c.  These are yacc's fault; ignore
65them.
66
67You will get about 5 warnings in lib/regex.c concerning "unused variable
68destination".  Ignore them.
69
70Report bugs to tepting@swol.de and bug-cvs@gnu.org.
71