Software Distributor: Cookbook
Creating a Software Depot swpackage The swpackage can create an unregistered depot. It's primarily used to package software products for later installation by swinstall. # swpackage -s /depot/psf_files/procmail.psf \-d /home/bass/depot The -s specifies the source, procmail.psf, a Product Specification File, which tells swpackage how to package up the product. The -d specifies the destination, /home/bass/depot, a depot subdirectory. The destination does not have to exist; swpackage will create it for you.
Packaging Software Products Using swpackage The swpackage command is used to gather the pieces of a software product together and stick them into a Software Depot. It's possible to specify lots of things about the product to swpackage. For example, like what other products have to be installed first, or what products also have to be on the system. For the purpose of this cookbook, you will just do the basics: gathering up the bits and putting them in the depot.
# swpackage -d /tmp/procmail.depot -x target_type=tape \-s /home/bass/depot procmail The addition of the -x target_type=tape forces swpackage to write the depot sequentially to the tape (or file) instead of creating a distribution directory.