home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Amiga / workbench / archivers / GNUtar15.lha / GNUtar / README.AMIGA < prev    next >
Text File  |  1997-08-23  |  13KB  |  262 lines

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