/*------- patch version 2.5.4 for OS/2 release 1 (Feb 12 2001) -----------*/ Table of contents ================= Introduction @int Required Environment @req Installation @ins IMPORTANT NOTICE @not Mannuals @txt Manpages @man Make binary from Source @mak Make rpm package @rpm Introduction @int ============ This is an experimental package of OS/2 RPM Project. The very fact you read this file means that you installed OS/2 ported rpm successfully. Fixed problem since 1999 verson: - when filename for backup exists program failed If you have questions and suggestions, please mail me. SAWATAISHI JUN, YOKOHAMA JAPAN http://www2s.biglobe.ne.jp/~vtgf3mpr/indxos2.htm Required Environment @req ==================== emx runtime version 0.9d (or later): Not included ftp://hobbes.nmsu.edu/pub/os2/dev/emx/v0.9d/ emxrt.zip 549675 1998/12/22 emx runtime package Installation @ins ============ Set environment variable, TMPDIR, TMP, or TEMP in your `config.sys'. Because patch searches for TMPDIR variable 1st, you shoud set this variable like this. set TMPDIR=d:/tmp (use '/' not '\') Mannuals @txt ======== Read documentation in `X:/emx/doc/patch-2.5.4' Manpages @man ======== You can get manpage system fro ftp sites English only version ftp://hobbes,hobbes.nmsu.edu/pub/os2/dev/help/ gnuman.zip 44610 1995/01/31 GNU man 1.0 (for use with groff) ftp://hobbes,hobbes.nmsu.edu/pub/os2/tex/ gnugroff.zip 2153647 1996/05/07 GNU groff v1.10 Japanized version ( in my web page) http://www2s.biglobe.ne.jp/~vtgf3mpr/manpage/groff-man.tar.bz2 Make binary from from source @mak ============================= Source: ftp://alpha.gnu.org/gnu/patch/patch-2.5.4.tar.gz Patch: Include in this rpm package and you already have installed it X:/emx/src/redhat/SOURCES/patch-2.5.4-OS2.diff.gz To run shell script in `Makefile', `sh.exe' must be available. You can get it from ftp sites: ftp.leo.org/pub/comp/os/os2/leo/shells/pdksh-5.2.13-emx.zip Use GNU patch, patch.exe' or `gpatch.exe': OS/2 default `patch.exe' can't be used. GNU gcc and GNU file utilities must be available. First of all, copy `patch-2.5.4.tar.gz' in your rpm SOURCES directory x:\foo> tar zxvf X:/emx/src/redhat/SOURCES/patch-2.5.4.tar.gz x:\foo> zcat X:/emx/src/redhat/SOURCES/patch-2.5.4-OS2.diff.gz |patch -p1 x:\foo> touch config.cache x:\foo> touch config.status x:\foo> sh config.status x:\foo> make x:\foo> make install prefix=SOMEWHERE x:\foo> rpm -bc X:/emx/src/redhat/SPECS/patch-2.5.4-os2.spec Make rpm package ================ x:\foo> rpm -bb(or -ba) --clean X:/emx/src/redhat/SPECS/patch-2.5.4-os2.spec Makef diff file =============== After you unpacked *.tar.gz and applied diff file, you can find `Makefile.rpm'. Open this makefile, and edit it. To create gzipped diff file in your rpm SOURCES directory: x:\foo\patch-2.5.4-os2> make -f Makefile.rpm diff To make rpm binary package: x:\foo\patch-2.5.4-os2> make -f Makefile.rpm rpm That' all SAWATAISHI JUN, YOKOHAMA JAPAN http://www2s.biglobe.ne.jp/~vtgf3mpr/indxos2.htm /*----- end of document -------------------------------------------------------*/