Create software packages
epm [ -a architecture ] [ -f format ] [ -g ] [ -k ] [ -n[mrs] ] [ -s setup.xpm ] [ --setup-image setup.xpm ] [ --setup-program /foo/bar/setup ] [ --setup-types setup.types ] [ -v ] [ name=value name=value ] product [ listfile ]
epm generates software packages complete with installation, removal, and (if necessary) patch scripts. Unless otherwise specified, the files required for product are read from a file named "product.list".
The -a option ("architecture") specifies the actual architecture for the software. Without this option the generic processor architecture is used ("intel", "sparc", "mips", etc.)
The -f option ("format") specifies the distribution format:
Executable files in the distribution are normally stripped of debugging information when packaged. To disable this functionality use the -g option.
Intermediate (spec, etc.) files used to create the distribution are normally removed after the distribution is created. The -k option keeps these files in the distribution directory.
The -s and --setup-image options ("setup") include the ESP Software Wizard with the specified XPM image file with the distribution. This option is currently only supported by portable distributions.
The --setup-program option specifies the setup executable to use with the distribution. This option is currently only supported by portable distributions.
The --setup-types option specifies the setup.types file to include with the distribution. This option is currently only supported by portable distributions.
The -v option ("verbose") increases the amount of information that is reported. Use multiple v's for more verbose output.
Distributions normally are named "product-version-system-release-machine.ext" and "product-version-system-release-machine-patch.ext" (for patch distributions.) The "system-release-machine" information can be customized or eliminated using the -n option with the appropriate trailing letters. Using -n by itself will remove the "system-release-machine" string from the filename entirely.
Debian, IRIX, portable, and Red Hat distributions use the extensions ".deb", ".tardist", "tar.gz", and ".rpm" respectively.
EPM maintains a list of variables and their values which can be used to substitute values in the list file. These variables are imported from the current environment and taken from the command-line and list file as provided. Substitutions occur when the variable name is referenced with the dollar sign ($):
%install echo What is your name: %install read $$name %install echo Your name is $$name
f 0555 root sys ${bindir}/foo foo f 0555 root sys $datadir/foo/foo.dat foo.dat
Variable names can be surrounded by curley brackets (${name}) or alone ($name); without brackets the name is terminated by the first slash (/), dash (-), or whitespace. The dollar sign can be inserted using $$.
The RPMDIR environment variable will override where EPM looks for RPM distributions you generate. The default locations are /usr/src/redhat/RPMS, /usr/src/RPM/RPMS, /usr/src/packages/RPMS, and /usr/local/src/RPMS.
EPM does not currently support generation of IRIX software patches.
epm(1) - create software packages.
epminstall(1) - add a directory,
file, or symlink to a list file.
mkepmlist(1) - make an epm list file
from a directory.
epm.list(5) - epm list file format.
Copyright 1999-2001 by Easy Software Products, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.