7-Zip @VERSION@ for Mac OS X 10.4 Tiger

7-Zip @VERSION@, Igor Pavlov's file archiver, as its command-line program
7zz, built for Mac OS X 10.4 on every Mac that runs it: PowerPC (G3, G4
and G5) and Intel. It is one universal program, with every format built
in, and it needs nothing that Tiger does not have:

  /usr/local/bin/7zz
      7-Zip @VERSION@
  /usr/local/bin/7z
      a link to 7zz, the name most people type
  /usr/local/share/doc/7zip-tiger
      this Read Me, 7-Zip's readme.txt, History.txt and licenses, its
      manual (MANUAL/start.htm, in HTML), update-shell-profile.sh

What it opens

It packs and unpacks 7z, zip, tar, gzip, bzip2, xz and wim. It unpacks
many more: rar (RAR 4 and RAR 5), zstd, lzma, Z, cab, iso, udf, dmg, hfs,
apfs, xar (and so .pkg), cpio, rpm, deb (ar), arj, lzh, chm, msi, nsis,
squashfs, cramfs, ext, fat, ntfs, vhd, vhdx, vmdk, vdi and qcow2. 7z and
zip archives can have AES-256 encryption with a password.

Using it

The installer adds /usr/local/bin to the PATH in your shell profile
(~/.bash_profile for bash, the shell Tiger gives new accounts, or the
.bash_login or .profile you already have) and keeps the old profile beside
it as .7zipsave. Open a new Terminal window:

  7z x archive.rar
      unpacks the archive, with its folders, into the folder you are in
  7z l archive.zip
      lists what is in it
  7z a backup.7z Documents
      packs the folder Documents into a new 7z archive
  7z a -tzip photos.zip Pictures
      the same, as a zip, which every system opens
  7z a -p -mhe=on secret.7z Letters
      asks for a password, and encrypts the names as well as the data
  7z t archive.7z
      tests the archive: every file is unpacked and checked, not saved
  7z x -so source.tar.xz | tar xf -
      unpacks a .tar.xz in one step (7z alone gives you the .tar)
  7z h -scrcSHA256 file.dmg
      the SHA-256 of a file

7zz with no arguments lists its commands and switches; the manual has
them all (open /usr/local/share/doc/7zip-tiger/MANUAL/start.htm in
Safari).

On Tiger

File names are UTF-8, as 7-Zip writes them on every system. Tiger's disks
(HFS+) keep accented letters decomposed (e + an accent), so an archive
made here has them that way, as Tiger's own zip does.

7-Zip keeps the files' contents, names, folders, modes, modification
times and symbolic links. It does not keep the Mac's resource forks or
Finder information: for a Classic application or a file that needs them,
use Tiger's own ditto or a disk image. A symbolic link that 7-Zip unpacks
gets the time it is made: Tiger cannot change a link's own times.

7-Zip uses one thread for each processor. Packing with -mx=9 needs about
700 MB of memory with one thread; the default level needs about 200 MB.

Uninstalling

In Terminal:

  sudo rm /usr/local/bin/7zz /usr/local/bin/7z
  sudo rm -rf /usr/local/share/doc/7zip-tiger
  sudo rm -rf "/Library/Receipts/7-Zip @VERSION@.pkg"

If nothing else you use is in /usr/local/bin, take the "Setting PATH for
7-Zip" lines out of your shell profile.

How it was made

7-Zip was cross-compiled on Linux with GCC 13.4 for powerpc-apple-darwin8
(any G3 and up) and i686-apple-darwin8, against the Mac OS X 10.4u SDK,
with 7-Zip's own makefile for GCC. A small header goes before each of its
files, for four calls that Tiger lacks, and one patch keeps a time that
Tiger's 32-bit time_t cannot hold from going wrong. 7zz loads only
Tiger's libSystem: GCC's C++ library is inside it. The package and this
disk image were made on Mac OS X 10.4.11 with its own mkbom, pax and
hdiutil.

7-Zip is free software under the GNU LGPL 2.1, with the unRAR license
restriction for its RAR code and BSD licenses for some parts: see
License.txt. Everything it was built from (7-Zip's release, the header,
the patch and the build scripts) is in 7-Zip-@VERSION@-tiger-source.tar.gz,
beside this disk image.

Built @DATE@.
