home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25168 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.2 KB  |  64 lines

  1. Newsgroups: comp.os.linux
  2. From: jaggy@purplet.demon.co.uk (Mike Jagdis)
  3. Path: sparky!uunet!pipex!demon!purplet!jaggy
  4. Subject: Re: SLS bug: a4 updates
  5. Organization: FidoNet node 2:252/305 - The Purple Tentacle, Reading
  6. Date: Fri, 22 Jan 1993 18:54:00 +0000
  7. Message-ID: <60.2B60842D@purplet.demon.co.uk>
  8. Sender: usenet@demon.co.uk
  9. Lines: 53
  10.  
  11. * In message: <1993Jan21.154421.13949@aw2.fsl.ca.boeing.com>,
  12.   Vincent D. Skahan said:
  13.  
  14. VS> it also goes to show that there is a DEFINITE need for some
  15. VS> method of identifying a version number for each and every
  16. VS> kit
  17. [...]
  18. VS> please...please...please...
  19.  
  20. VS> Come up with something to help us not get this frustrated
  21. VS> forever...
  22.  
  23. Nicely grovelled :-).
  24.  
  25. I'm working on something that should do what you need. It's a thingy sort of 
  26. similar to depot (if you ever looked at it).
  27.  
  28.   In a nutshell:
  29.  
  30. Each package sits in its own directory hierarchy.
  31.  
  32. Each package contains details of what it contains and how the various files 
  33. should be mapped into, say, a /usr/local hierarchy.
  34.  
  35. A script (called pkg for now) exists which can manage the mapping from 
  36. package directories to the /usr/local hierarchy.
  37.  
  38. For instance, assume you had just picked up TeX and untarred it under 
  39. /usr/packages/TeX. You would then install it using:
  40.  
  41.   $ pkg --target /usr/local --add /var/packages/TeX
  42.   (add the package to the /usr/local tree)
  43.  
  44.   $ pkg --target /usr/local --rebuild
  45.   (rebuild the /usr/local tree. At this stage the individual members
  46.    of the installed packages are mapped - using links, symlinks or
  47.    straight copies as specified in the package - into the target tree).
  48.  
  49. and you're off. pkg knows how to sort out multiple versions and will use the 
  50. latest version it can find in the set of installed packages. Hence if your 
  51. original tex was 3.14 and you got an upgrade package containing 3.2 you 
  52. could just install it and pkg would map in the newer version. You could also 
  53. deinstall it and pkg would go back to the old version.
  54.  
  55.   At the moment it's all very pre-alpha but the basics are working. Before 
  56. any sort of release I need to work on documentation quite a bit. Hell, even 
  57. the code needs commenting :-).
  58.  
  59.   Ultimately there should be no need for large unwieldy Linux 
  60. distributions...
  61.  
  62.                                 Mike  
  63.  
  64.