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

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