MKSEAR ( 8U ) UWIN ADMINISTRATIVE COMMANDSMKSEAR ( 8U )


NAME

mksear - generate a UWIN self-extracting installation archive

SYNOPSIS

mksear [ options ] [ *.files | *.finish | file ] ...

DESCRIPTION

mksear generates a UWIN self-extracting installation archive. File operands matching *.files are files containing a list of $INSTALLROOT relative files, one per line, to be copied to the output archive. File entries matching *.files are scanned recursivley. Implicit for the base sear: posix.dll, ast54.dll , shell11.dll, cmd12.dll, ksh.

Each file entry is a / relative path of a file to be packaged. Symlinks only include the symlink, not the link target. Directories name themselves and recursively all contents. In general omitting directories and spelling out each file is preferable. Entries of the form to:op:[from] are controlled by the operation op when the sear is read. The operations are:

to::from

Map the local system physical path from to the package path to.
to::
Delete to on the system that unpackages the sear if it exists.
to:GENERATE:script

The shell script is executed with standard output redirected to to.
to:MAP:[from]

Generate a map/basename(to)/current archive for stack trace debugging, where from optionally specifies the source component directory where to is built.
to:PRESERVE:

to is added to the stdinstall(1) db with the --preserve attribute when the sear is created. to.new is created when the sear is read. After all files are read stdinstall(1) is called to determine if to.new or to prevails for all to.new.
to:RETAIN:

to is added to the stdinstall(1) db with the --retain attribute when the sear is created. to.new is created when the sear is read. After all files are read stdinstall(1) is called to determine if to.new or to prevails for all to.new.

File operands matching *.finish are scripts that will be run after all archive files have been extracted. Other file operands are simply copied to the output archive.

Local system files are viewpathed relative to $INSTALLROOT with / used as a last resort. EXCEPTION: the UWIN posix headers are typically packaged from /usr/include rather than a viewpathed build directory.

OPTIONS

-a, --ancestor=level

Check VPATH for ?(ast/|uwin/)arch/$HOSTTYPE ancestor directories up to level levels up.
-d, --description=text

Archive contents description listed at extraction time. If omitted then description based on the options and output archive base name is used.
-D, --debug=level

Set the install-uwin log debug level to level in the range 0..7; higher values produce more output. The default value is 2.
-i, --install

Generate a standalone installation archive that includes a subset of the UWIN environment required to run extraction scripts.
-I, --icon=file

The icon file. The default value is lib/sear/sear-exe-bits .ico.
-l, --list

List mapped file names as they are written to the archive.
-m, --maps=dir

Copy the map file for each lib.dll to dir/lib-md5.map , where md5 is the md5 sum of lib.dll.
-n, --exec

--noexec shows actions but does not execute. On by default; -n means --noexec.
-o, --output=name

Set the output archive base name to name. If --output is not specified then the output archive base name defaults to the base name of the first *.files operand.
-r, --release=release

release is the UWIN release string for which the output archive is intended. - means the current release. The default value is release.
-s, --start=program

program is a native windows program that is executed to start the extraction.
-u, --update=time-file

Generate an update archive containing files newer than the modify time of time-file.
-v, --verbose

List embedded and final archive members as they are written.
-V, --version=version

version is the UWIN version string for which the output archive is intended. - means the current version. The default value is version.
-w, --warn

Warn about but ignore missing files in *.files operands.

SEE ALSO

sear(1), stdinstall(1)

IMPLEMENTATION

version

mksear (AT&T Research) 2012-03-29
author

David Korn <dgk@research.att.com>
author

Glenn Fowler <gsf@research.att.com >
copyright

Copyright © 1996-2012 AT&T Intellectual Property
license

http://www.eclipse.org/org/documents/epl-v10.html