home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Amiga / workbench / archivers / GNUtar15.readme < prev    next >
Text File  |  1997-09-10  |  13KB  |  268 lines

  1. Short:    GNUTar 1.11.2, Amiga V1.5 (68000,030,040,060), plus source
  2. Author:   Andreas_Kleinert@t-online.de
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Type:     util/arc
  5. Replaces: GNUtar13.LHA, GNUtar14.lha
  6.  
  7.  GNUTar Amiga Port of V1.11.2 (no ixemul)
  8.  (originally from 25 Mar 1993)
  9.  
  10.  Amiga Port release version: V1.5
  11.  Release Date:               23.8.1997
  12.  --------------------------------------
  13.  1995-97 rework, SAS/C V6.58 recompilation, GNUTar V1.11+ adaption,
  14.  and 68030, 040, 060 version by Andreas R. Kleinert (email below).
  15.  
  16.  Original port of GNUTar V1.09 done by Ed Berger (email below).
  17.  
  18.  
  19.  About
  20.  -----
  21.  When extracting TAR archives on the AMIGA there always had been a problem:
  22.  the only available GNUTar port was hard to find and if you got it
  23.  finally, it was quite old and just unoptimized for higher 68k CPUs.
  24.  
  25.  On the other hand, a simple recompilation wasn't easy for most people,
  26.  since the GNU-C (GCC) Compiler isn't very widely used and adaptions
  27.  for other compilers aren't that easy (as I finally found out ;-)
  28.  
  29.  My first step to solve this problem was porting the nice, small and
  30.  handy "DeTar" utility from MS-DOS to Amiga (util/arc/DeTar12.LHA).
  31.  
  32.  The usage was really simple and easy, since you'd just had to call
  33.  "DeTar [archive]" and the whole archive would have been unpacked.
  34.  While searching for Bugs within DeTar (thus using the available GNUTar
  35.  port) I decided to port GNUTar directly (since there actually appeared
  36.  some effects I thought of as bugs of DeTar, but as well possibly
  37.  could have been bugs of the Amiga version of GNUTar ;-)
  38.  
  39.  So there suddenly was a new SAS/C V6.55 port of GNUTar for the Amiga,
  40.  which wasn't perfect at all, but was thought as a base for further
  41.  actions by other people (or me :-)
  42.  
  43.  People greatly reacted on this new GNUTar port and reported bugs
  44.  as well as requested updates, which should make use of features
  45.  of newer GNUTar versions.
  46.  
  47.  So I dropped the old V1.09 sources ported by Ed Berger and began
  48.  porting V1.11.2 (a beta test release) to the Amiga, still using
  49.  some of the old port stubs (but GCC stuff became useless now).
  50.  
  51.  Yet did not succeed in correctly porting 1.11.8
  52.  (even did not try since April '96 ;-)
  53.  
  54.  
  55.  Known Problems
  56.  --------------
  57.  Please note:
  58.  
  59.   - SAS/C did report about some actually uninitialized variables
  60.     and such a stuff. I did not fix that, since perhaps the concerned
  61.     routines are not often used, and since it might soon become too
  62.     much work actually digging in that code. Maybe it has been fixed
  63.     for newer versions - if not, one perhaps should report it to
  64.     the authors...
  65.     (they don't seem to have so attentive compilers ;-))
  66.  
  67.   - some of the defines and/or functions, which hadn't be present
  68.     for the GCC are actually available for SAS/C and vice versa.
  69.     So there are still some dummy-functions or (hopefully)
  70.     equivalent replacements for such things.
  71.     See the files "sas_amiga.c" and "sas_amiga2.c" for code-replacements
  72.     and the headers within "sasinclude/" and "sasinclude/sys/"
  73.     for additional defines.
  74.     I went this way, since this prevented me from changing _much_
  75.     within the original source - altough sometime it looks a little
  76.     bit like a hack.
  77.  
  78.     But the most important thing to be done was setting definitions
  79.     and compiler options in the best way and then fill in the missing
  80.     parts (sounds easier, than it was %-)
  81.  
  82.     See source/CHANGES.AMIGA for more actual changes to the source.
  83.  
  84.   - ahm...well: while compiling there occured several problems
  85.     (warnings, missing functions, which had to be substituted
  86.     by well-enough-dummies, etc.). So remember: it works, but
  87.     there's really no guarantee for anything !
  88.  
  89.   -  it seems to run stable and to be useful nevertheless :-)
  90.  
  91.  Disclaimer
  92.  ----------
  93.  There's no guarantee or responsability taken for anything.
  94.  For the rest, please take a look into the included GNU license.
  95.  
  96.  Who did the port
  97.  ----------------
  98.  Andreas R. Kleinert, Fido   2:2457/350.18
  99.                       UseNet Andreas_Kleinert@superview.ftn.neckar-alb.de
  100.                              Andreas_Kleinert@t-online.de
  101.                              ARK@News.wwbnet.de
  102.  
  103.  I've also been known as the author of SuperView(-Library), some
  104.  datatypes (SVG, akJFIF, akPNG) and so on...
  105.  
  106.  Contributors
  107.  ------------
  108.    - Ed Berger              - Stefan Becker        - Christopher P. Parris
  109.    - Kjell Irgens           - Osma Ahvenlampi      - Regis Rampnoux
  110.    - Christian Bauernfeind  - David Balazic
  111.  
  112.  Port Version History
  113.  --------------------
  114.   V1.5   (23.8.1997):  - completely recompiled with SAS/C V6.58
  115.                        - better optimization
  116.                        - updated eMail adresses
  117.                        - there's another version on Aminet,
  118.                          check it out (maybe it's better ;)
  119.  
  120.   V1.4   (12.11.1996): - completely recompiled with SAS/C V6.57
  121.                        - now different versions for
  122.                          68000, 030, 040 and 060
  123.                        - optimizing for time, not size
  124.                        - new GST
  125.                        - updated eMail adresses
  126.  
  127.   V1.3   (19.04.1996): - V1.1/1.2 had a serious bug in archive creation,
  128.                          since I did not insert the "#ifdef AMIGA" code
  129.                          fragments, which Ed Berger added to access
  130.                          devices and paths in an AmigaDOS-conformeous way
  131.                          (-> Stefan Becker, stefanb@yello.ping.de,
  132.                           who seemed to be the only one actually
  133.                           *creating* archives with GNUtar ?!)
  134.                          Fixed by adding the specific parts of 1.09-create.c
  135.                          to 1.11.2.-"create.c" only
  136.                        - GNUtar could not extract any files containing
  137.                          ":" in their names, since AmigaDOS would think
  138.                          these were actually devices (or bad device-names
  139.                          containing more than one ":").
  140.                          Fixed within "extract.c" where these additional
  141.                          ":" will be replaced by "_", also giving a
  142.                          warning message.
  143.                          (-> Christopher P. Parris, CPP1233@tntech.edu)
  144.                        - Why did I port such an old version ?
  145.                          (-> Kjell Irgens, kjelli@stud.cs.uit.no)
  146.                          Well, first I had not newer sources. Then, when
  147.                          I found one, I tried to port 1.11.8 (yesterday),
  148.                          but it seems as if the compilter produces broken
  149.                          code with unreproduceable crashes.
  150.                          It was a lot easier fixing 1.11.2 instead of
  151.                          straightly porting 1.11.8 with these fixes.
  152.                          Nevertheless, it may follow-up.
  153.  
  154.   V1.2   (11.03.1996): - fully recompiled with SAS/C V6.56
  155.                        - added Osma Ahvenlampi's fix for the
  156.                          1.0.2 protection bit problem (archive
  157.                          appeared at "util/shell" on AmiNet).
  158.  
  159.                          I adapted it to the new 1.11.2 source and
  160.                          changed the way binding it into the source
  161.                          (fully via REDEFINES.WTH, no changes to tar.h,
  162.                           thus had to call lstat() from sas_amiga.c instead
  163.                           of stat() to avoid recursion).
  164.  
  165.                          Here's what Osma originally said:
  166.  
  167.                          'This patch makes an attempt to translate Amiga
  168.                          protection bits to the closest UNIX equivalents.
  169.                          When extracting UNIX archives, it also sets the
  170.                          group and world bits as specified in the archive,
  171.                          for those with multiuser filesystems.
  172.                          When creating an archive, these bits are
  173.                          unfortunately not retained, since SAS/C's stat()
  174.                          function ignores them.'
  175.                          (-> Osma.Ahvenlampi@hut.fi)
  176.  
  177.   V1.1   (16.09.1995): - did change version counting: it's too
  178.                          confusing the old way.
  179.                          The original version number of the GNUTar
  180.                          we base on, still is mentioned at the top of
  181.                          this documentation
  182.                        - completely redid the port: we now do use
  183.                          the original GNUTar 1.11.2 (a so-called beta
  184.                          test release) instead of the AMIGA/GCC-adapted
  185.                          GNUTar 1.09.
  186.                          Kind of an update: I simply copied the new
  187.                          source over the old one, changed the compiler
  188.                          settings, added some more include files and
  189.                          resolved all inconsistencies - of course
  190.                          *without directly changing any piece* of
  191.                          the original GNU C-Sources!
  192.                          (-> Regis Rampnoux, ...)
  193.                        - README and GNU-License (COPYING) also have been
  194.                          updated - old GNU license replaced by newer one.
  195.                          There was no update to Tar.man - sorry
  196.                          (but I added a specific note to it, to cover this).
  197.                        - removed some GCC-addon's, which Ed Berger had
  198.                          designed for V1.09, but which won't work with
  199.                          V1.11.2 any longer. You may take them from
  200.                          Amiga release V1.0.2 (23.07.1995) and adapt them
  201.                          - if you like or need them for GCC.
  202.                        - again did change chmod() - there was a mysterious
  203.                          effect, which caused it to be restored to the
  204.                          old, wrong way
  205.                        - replaced 68030 and 68040 versions by a combined
  206.                          68030/040 version, since SAS/C does not
  207.                          actually make any differences for our code.
  208.  
  209.   V1.0.2 (23.07.1995): - hey, found out that the base version actually
  210.                          had been released as V1.09.
  211.                          Added note to this readme.
  212.                        - two people complained, that my GNUTar port did
  213.                          not set correct flags out of "hsparwed" for the
  214.                          amiga files when extracting from archives, as the
  215.                          old GNUTar did.
  216.                          Well, foudn out, that the old one just _did_ _not_
  217.                          _change_ the default flags (always "rwed") and
  218.                          we're now just doing the same, since the mode
  219.                          field of unix TARs is either broken ("hpw" always
  220.                          after conversion Unix->Amiga) or SAS/C's definition
  221.                          for the S_IREAD (and so on) flags aren't compatible.
  222.                          Now "rwed" will be set always.
  223.                          You may change this behaviour within "sas_chmod()"
  224.                          in "sas_amiga.c".
  225.                          (-> bussjaeg@informatik.tu-muenchen.de;
  226.                           Christian Bauernfeind,
  227.                           crisbf@theorie3.physik.uni-erlangen.de)
  228.                        - mkdir(), which needs only one argument with SAS/C
  229.                          had been called with two (got warnings).
  230.                          Now we're doing this:
  231.                            #define mkdir(x, y) mkdir(x)
  232.                          Well, it works ;-)
  233.  
  234.   V1.0.1 (07.07.1995): - re-compiled with SAS/C V6.55
  235.                        - added 68040 version
  236.                        - removed object files from archive due to size
  237.                        - fixed bug note in documentation; was not a bug
  238.                          (-> David Balazic, david.balazic@uni-mb.si)
  239.  
  240.   V1.00  (23.03.1995): - first release, compiled with SAS/C V6.51
  241.  
  242.  
  243. Original Docs
  244. -------------
  245. Following is, what Ed Berger originally wrote in "readme.1st"
  246. for V1.09. As with Amiga release V1.1 (GNUTar V1.11.2, first port release)
  247. I re-switched to the original GNU-sources in combination with some
  248. of the old code-workarounds:
  249.  
  250. ****************************************************************************
  251.  
  252. I was looking for a tar program for the Amiga, since the gcc distribution,
  253. and minix distribution files are often in this format.  Tarsplit from an
  254. old fish disk was not sufficient.  I kept hearing about gnu-tar, but
  255. never saw it archived anywhere, until now.
  256.  
  257. Since I was not able to find gnu-tar, under any separate archive on the
  258. fish disks, or on my favorite ftp-sites, I pulled this out of the UUCP
  259. distribution from uunet.  The binary and man page were on disk 2, and
  260. the source files were on disk 3.  I hope that I didn't miss anything
  261. important.  I apologize for any inconvenience this may cause.  If in doubt
  262. go back to the UUCP distribution.
  263.  
  264. -Ed Berger
  265.  eb15@andrew.cmu.edu
  266.  
  267. ****************************************************************************
  268.