home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5582 < prev    next >
Encoding:
Text File  |  1992-09-11  |  5.6 KB  |  161 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!sol.ctr.columbia.edu!eff!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Over 30 386BSD patches
  5. Message-ID: <1992Sep12.091958.18355@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: Weber State University  (Ogden, UT)
  8. Distribution: usa
  9. Date: Sat, 12 Sep 92 09:19:58 GMT
  10. Lines: 149
  11.  
  12.     I have recently (3:30 am) completed work on a patch kit system which
  13. enforces order when applying patches, includes the ability to generate
  14. multiple source file and replacement binary file patches, and contains over
  15. 30 patches which have either been posted in comp.unix.bsd or in some cases
  16. never posted before (ie: some of my own).
  17.  
  18.     Using the patch kit, it is possible to apply all the patches, deapply
  19. the patches, and generate new patches which know about being dependant on
  20. having previous patches.  This should allow users with source distributions
  21. to have a fully "up to date" kernel relatively painlessly, assuming you start
  22. from virgin sources.
  23.  
  24.     I will be uploading the patch kit itself to agate.berkeley.edu
  25. tomorrow (well, today, actually).  To the best of my knowledge, it has all
  26. known patches to 386BSD which are publicaly available.
  27.  
  28. The following is the README file:
  29.  
  30. ------------------------------------------------------------------------------
  31.  
  32.  
  33.                 PATCH KIT FOR 386BSD
  34.  
  35.                 Terry Lambert
  36.  
  37.                   Beta version 0.1
  38.  
  39.                   12 Sep 92
  40.  
  41.  
  42. 1.    What is the patch kit for 386bsd?
  43.  
  44.     This kit contains a tool called "patches" which provides a means
  45.     applying incremental patches to 386bsd, directories necessary to
  46.     support the tool, and a large number of compressed, ready to
  47.     install patches.
  48.  
  49.  
  50. 2.    What are the assumptions made in the patch kit?
  51.  
  52.     The patch kit assumes that you are starting with a "virgin" 386bsd
  53.     installation -- that is, a source distribution with absolutely no
  54.     patches installed.
  55.  
  56.  
  57. 3.    What does the patch kit do for me?
  58.  
  59.     The patch kit gives you the ability to incrementally install the
  60.     patches provided as "current" patches, as well as any new patches
  61.     distributed in "patchkit format" in the future.
  62.  
  63.     The main advantage to using the patch kit is the ability to add
  64.     patches incrementally, rather than haphazardly.  Until now, the
  65.     patches to 386bsd have often required that no other patches be
  66.     installed on the files being patched.  This means that you have
  67.     had to choose between two patches to the same file rather than
  68.     being able to have both at the same time.  This is because the
  69.     patches have not been incremental.  In the few cases where you
  70.     were told to "install patch xyz, then install this patch", there
  71.     hasn't been any real way to locate or uniquely identify the
  72.     prerequisite patches.  It's ridiculous to get an NFS patch that
  73.     you have been needing for a long time, but then not being able
  74.     to use it because of a missing patch you didn't think you needed.
  75.  
  76.     In addition, even though it has been possible to distribute new
  77.     files, it hasn't been possible to distribute new binary files
  78.     (patching old binaries is not currently supported, however
  79.     replacing them or adding new ones is).
  80.  
  81.  
  82. 4.    How do I install the patch kit?
  83.  
  84.     a)    cd /
  85.     b)    Download the file "patchkit-0.1.tar" from your
  86.         favorite archive.
  87.     c)    tar xvf patchkit-0.1.tar
  88.     d)    cd patch/bin
  89.     e)    mkpatchdirs
  90.  
  91.     This will create the directory "patch" with subdirectories "bin",
  92.     "ready", "inbound", "outbound", "installed", and "tmp".
  93.  
  94.     The subdirectories contain:
  95.  
  96.     bin    patches        The program to install and remove patches
  97.         mkpatchdirs    The empty directory creation script
  98.         mkpatch        [restricted release] The script to create
  99.                 new patches.
  100.  
  101.     inbound            Compressed tar files, one per patch
  102.  
  103.     outbound        [restricted release] Patches created by
  104.                 you packed for upload to an archive site
  105.  
  106.     ready            [empty] Directory to contain unpacked
  107.                 patches which used to be in inbound.  The
  108.                 patches in this directory have not been
  109.                 installed yet.
  110.  
  111.     installed        [empty] Directory to conating patches that
  112.                 have been installed and may now be
  113.                 deinstalled.
  114.  
  115.     tmp            A work directory for use by the patches and
  116.                 mkpatch programs.
  117.  
  118.  
  119.     Note:  Since the patch directory is current directory relative, you
  120.     may install it on a secondary disk or remotely mounted partition
  121.     without problems.  The location which will be used if step (a) is
  122.     followd above is /patch.
  123.  
  124.  
  125. 5.    How do I use the patch kit?
  126.  
  127.     Any new patches from an archive should be in compressed tar format.
  128.     Simply place them in the inbound directory (see #4 above) and they
  129.     will be immediately available for installation.
  130.  
  131.     When you wish to install or deinstall patches, you should:
  132.  
  133.         cd /patch/bin
  134.         patches
  135.  
  136.     The program will scan for patches in the inbound directory and
  137.     offer to unpack them.  Generally, you should always say "yes" (or
  138.     hit the return key, since it's the default) when asked if new
  139.     patches should be unpacked.
  140.  
  141.  
  142.     The program will then display statistics on the available patches;
  143.     hit return to get the main menu.  On line help is available for the
  144.     menu AND FOR EACH PATCH TO TELL YOU WHAT IT DOES.
  145.  
  146.  
  147. 6.    END OF DOCUMENT
  148. ------------------------------------------------------------------------------
  149.  
  150.                     Terry Lambert
  151.                     terry_lambert@gateway.novell.com
  152.                     terry@icarus.weber.edu
  153. ---
  154. Any opinions in this posting are my own and not those of my present
  155. or previous employers.
  156. -- 
  157. -------------------------------------------------------------------------------
  158.                                         "I have an 8 user poetic license" - me
  159.  Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
  160. -------------------------------------------------------------------------------
  161.