LXPSF(1)

NAME
lxpsf - Translate package to ustar with PSF metadata file.

SYNOPSIS
lxpsf [--psf-only|p] [-H format] [package_file]

DESCRIPTION
Lxpsf reads the input package and writes a tar or cpio archive to stdout, depending on the native (or encapsulated) format of the input package. The output archive's layout has a single leading directory named according to the name, version, and release attributes.

The first regular file is ``PSF'', and is a Posix.7.2 software definition file containing the package metadata. Subsequent files are control data represented as files; and, the files of the distribution. The output is designed so the swpackage(8) utility is able to form a Posix.7.2 package from the installed output.

Currently, only RPM format is supported.

  Options

-p  Write only the psf file to stdout.

-H format
    Force the specified format. The choices are currently (only) ustar.

FILES
none

RELATED STANDARDS

POSIX.1, POSIX.7.2 (IEEE 1387.2), XDSA C701

SEE ALSO
sw_parse()

BUGS
Probably many. Transforming lspsf's output to a Posix package is untested.