GZIP_PACKAGE
Section: User Commands (1)
Updated: March 1998
Index
Return to Main Contents
NAME
gzip_package - gzip Installer package's contents archive
gunzip_package - revert gzipped package to normal
SYNOPSYS
gzip_package [options] package-name...
gunzip_package [options] package-name...
DESCRIPTION
gzip_package
tries to reduce the size of NEXTSTEP Installer packages. It achieves this
by replacing the package's contents archive, which is compressed using
compress(1)
with a
gzip(1)ped
version of the archive. Since Installer expects a compress(1)ed
contents archive at installation time,
gzip_package
also installs special pre_ and post_install scripts to automatically
convert the contents archive back to its original compressed form before
actual installation. (If the original package contained pre_ and
post_install scripts, these will still be executed, of course.)
gunzip_package
or its equivalent
gzip_package -u
takes an Installer package previously converted with
gzip_package,
and expands it to its original compress(1)ed form.
OPTIONS
- -d, --debug
-
Enable debug mode. Intermediate results are left around.
- -h, --help
-
Show on-line help.
- -i, --info
-
Show summary information about the compression status of the package
instead of actually (un)gzipping.
Its possible values are:
gzipped,
compressed
or
installed.
If combined with
--verbose,
some additional size info (or location if installed) is shown.
- -k, --keep
-
Keep a backup copy of the original package around. Normal operation is to
replace the original package with the converted one.
- -q, --quiet
-
Shut up completely.
- -s n, --save=n
-
Set how much space should be saved at least by gzipping the package's
contents instead of using standard compression. If the savings
would be less than this limit, the original package is left undisturbed.
The argument
n
is taken as a number of kilobytes, or as a percentage if it is given as
a number followed by a percent sign (%). Default value is 5%.
- -u, --unzip
-
Expand gzipped package archive back to normal (compressed) form.
Equivalent with the
gunzip_package
command (which is actually a link to gzip_package).
- -v, --verbose
-
Talkative mode.
- -V, --version
-
Show name and version number of this program.
FILES
- /tmp/##gzip_package##package-name.tar.Z
-
Temporary gunzip(1)ped, re-compress(1)ed contents archive during package
installation.
- package-name.pkg/package-name.tar.gz
-
Contains the actual contents archive, compressed with
gzip(1).
- package-name.pkg/package-name.tar.Z
-
The original contents archive is replaced with a symbolic link to the
temporary contents archive.
- package-name.pkg/package-name.pre_install,
-
- package-name.pkg/package-name.post_install
-
These provide the pre_installation conversion back to compressed
contents archive, and the post_installation cleanup of the mess. If the
original package already contained pre_ and/or post_install scripts,
these are renamed to
real_pre_install
and
real_post_install,
inside the package wrapper respectively, and these are invoked by the
install scripts provided by gzip_package.
- package-name.pkg/package-name.sizes
-
Its contents is updated to reflect the size change of the
(uninstalled) package.
- package-name.pkg/funzip
-
Small m68k-only gunzip-compatible filter for those NeXTstep versions
that do not come with gzip in the standard distribution. (release 3.0
and before, i.e., black hardware only.)
LIMITATIONS
Installation of a gzip_package'd package is slow, since it needs to
gunzip and recompress the contents archive. Well, Installer expects an
archive compressed with compress(1), so there's really no way around
this (other than patching Installer.app on every NEXTSTEP installation
in existence, or else lobbying NeXT, Inc. to have Installer support
packages with gzipped contents archives. Yeah right ;-) The temporary
recompressed archive also takes up some space in your /tmp directory.
Multipart packages created by chunk_package cannot be gzip_packaged, and
conversely gzip_packaged packages cannot be chunk_packaged.
Gzipped packages cannot be automatically unpacked on NeXTstep release
2.2 and before, since its Installer does not understand pre_ and
post_install package scripts.
AUTHOR
Tom Hageman <tom@basil.icce.rug.nl>
VERSION
gzip_package version 2.7 March 1998
Index
- NAME
-
- SYNOPSYS
-
- DESCRIPTION
-
- OPTIONS
-
- FILES
-
- LIMITATIONS
-
- AUTHOR
-
- VERSION
-
This document was created by
man2html,
using the manual pages.
Time: 05:08:39 GMT, April 11, 2025