"What the hell are these files?"
--------------------------------

*** Autopackage library (bash functions) ***

apkg-bashlib
	Autopackage-independend general-purpose utility functions. Can be
	used in any shell script.

apkg-db
	Autopackage database support routines.

apkg-defs
	Constant definitions and translation bootstraps.

apkg-failsafelib
	Failsafe functions. See file for details.

apkg-io
	Frontend communication functions and user interface abstraction
	functions.

apkg-script-utils
	Utility functions used in package scripts. Unlike apkg-bashlib,
	these functions are autopackage-dependend and not general-purpose.

apkg-funclib
	Everything else not in the above files.


*** Templates ***

Templates are used for generating other files.

stub.4.template
	Used for generating the header of a .package file (the part which
	handles extracting the metadata payload, installing the support code,
	and executing package install).
	This template is for generating 1.4 autopackages.
stub.2.template
	Same as stub.3.template, but used for generating 1.2 autopackages.
stub.template
	Same as stub.2.template, but used for generating 1.0 autopackages.

installer.2.template
	Bootstrap script. This script is called by stub.template after
	metadata payload extraction. Used for generating 1.2 autopackages.
	This file is called apkg-installer inside the metadata payload.
	Since 1.4 this isn't anymore a part of the package file.
installer.template
	Used for generating 1.0 autopackages.

downloader.2.template
	This script is called by apkg-installer if the autopackage runtime
	hasn't already been installed. It downloads & installs the autopackage
	runtime code. Used for generating 1.2 and 1.4 autopackages.
	This file is called apkg-downloader in the metadata payload.
downloader.template
	Used for generating 1.0 autopackages.

backend.template
	The package's preparation and install scripts are embedded into this
	template. The template sets up some useful stuff, and synchronises
	the script with the frontend, then runs the package's script.
	Since 1.4 this is only used at installation time.


*** Other ***

apkg-ttyfe
	The console-mode frontend.


- Hongli Lai
October 22, 2005
