\input texinfo   @c -*-texinfo-*-
@setfilename lxpsf.info

@comment ===============================================================
@comment WARNING: Do NOT edit this file.  It was produced automatically
@comment by man2info on Tue Sep  7 20:25:45 EDT 2010
@comment for jhl@
@comment from man/man1/lxpsf.1
@comment in /home/jhl/swbisdoc/swbis/doc
@comment ===============================================================

@comment @documentencoding ISO-8859-1

@comment troff -man typesetting style: headers, footers, no paragraph indentation

@paragraphindent none

@iftex
@parskip = 0.5@normalbaselineskip plus 3pt minus 1pt
@end iftex

@set lq ``
@set rq ''

''' lxpsf.1
'''
'''
'''
@comment TROFF INPUT: .TH LXPSF 1 \" -*- nroff -*-

@headings off
@everyheading LXPSF(1) @| @| LXPSF(1)
@everyfooting \ @| @thispage @| -*-

@node Top

@chapter LXPSF 1 \" -*- nroff -*-

@comment TROFF INPUT: .SH NAME
@c DEBUG: print_menu("Top")

@ifnottex
@menu
* NAME::
* SYNOPSIS::
* DESCRIPTION::
* HOWTO Use with swpackage::
* FILES::
* RELATED STANDARDS::
* IDENTIFICATION::
* SEE ALSO::
* BUGS::

@end menu
@end ifnottex

@comment MAN2TEXI: EON

@node NAME

@section NAME

lxpsf @minus{} Translate packages to a tar archive with a PSF.
@comment TROFF INPUT: .SH SYNOPSIS
@c DEBUG: print_menu("NAME")
@comment MAN2TEXI: EON

@node SYNOPSIS

@section SYNOPSIS

@b{lxpsf} [options] [package@t{_}file]
@comment TROFF INPUT: .SH DESCRIPTION
@c DEBUG: print_menu("SYNOPSIS")
@comment MAN2TEXI: EON

@node DESCRIPTION

@section DESCRIPTION

@comment TROFF INPUT: .B Lxpsf
@b{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 layout
has a single leading directory named according to the name, version, and release
attributes.
@comment TROFF INPUT: .PP

The first regular file is ``PSF'', and is a IEEE 1387.2-1995 (ISO/IEC 15068-2:1999) Product Specification 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
@comment TROFF INPUT: .B swpackage
@b{swpackage}
utility is able to form a Posix package from the installed output.
@comment TROFF INPUT: .PP

Currently,  RPM format v3 (both source and binary), Debian Package format, Slackware runtime packages and
plain vanilla tarballs (with a leading directory path) are supported for translation.
@comment TROFF INPUT: .PP

@comment TROFF INPUT: .SS Options
@c DEBUG: print_menu("DESCRIPTION")

@ifnottex
@menu
* Options::

@end menu
@end ifnottex

@comment MAN2TEXI: EON

@node Options

@subsection Options

@comment TROFF INPUT: .TP

@c ---------------------------------------------------------------------
@table @code
@item 
@comment WARNING: man/man1/lxpsf.1:29:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:29:%%new font R started without closing previous font I

@b{-p }@i{,--psf-only}
Write only the psf file to stdout.
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:32:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:32:%%new font R started without closing previous font I

@b{-A }@i{,--psf-form1}
A PSF form for RPM translation (deprecated).
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:35:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:35:%%new font R started without closing previous font I

@b{-A }@i{,--psf-form2}
A second PSF form for RPM translation (deprecated).
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:38:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:38:%%new font R started without closing previous font I

@b{-A }@i{,--psf-form3}
A third PSF form for RPM translation (current).
@comment TROFF INPUT: .TP
@comment TROFF INPUT: .TP

@item 
@item 
@comment WARNING: man/man1/lxpsf.1:42:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:42:%%new font R started without closing previous font I

@b{-H }@i{format}
Force the specified format.
The choices are currently (only)
@i{ustar}.
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:47:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:47:%%new font R started without closing previous font I

@b{-x }@i{,--use-recursive-fileset}
Use "file *" instead of individual file definitions in the PSF.
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:50:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:50:%%new font R started without closing previous font I

@b{-r }@i{,--no-leading-path}
use "." as the leading archive path.
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:53:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:53:%%new font R started without closing previous font I

@b{-o }@i{,--info-only}
Write the INFO file for the rpm archive to stdout.
@comment TROFF INPUT: .TP

@item 
@comment WARNING: man/man1/lxpsf.1:56:%%new font I started without closing previous font B


@comment WARNING: man/man1/lxpsf.1:56:%%new font R started without closing previous font I

@b{-D }@i{,debug-level}=TYPE
Always set to "link"
@comment TROFF INPUT: .SH HOWTO Use with swpackage
@comment MAN2TEXI: EON

@end table

@c ---------------------------------------------------------------------

@node HOWTO Use with swpackage

@section HOWTO Use with swpackage

Either install into file system or use the
@comment TROFF INPUT: .B -W source=-
@b{-W source=-}
option of GNU
@comment TROFF INPUT: .B swpackage.
@b{swpackage.}
@comment TROFF INPUT: .PP

@comment TROFF INPUT: .nf

@c ---------------------------------------------------------------------
@display
  cat your@t{_}rpm.rpm |
  lxpsf --format=ustar --psf-form3 |
  (mkdir /tmp/swbis; cd /tmp/swbis && tar xpf -; exit $?) &&
  (cd /tmp/swbis && swpackage -s PSF @@- ) | tar tvf -
@comment TROFF INPUT: .ni
@comment .ni
@comment TROFF INPUT: .PP

@comment TROFF INPUT: .nf

@c ---------------------------------------------------------------------
@display
  cat your@t{_}rpm.rpm |
  lxpsf --format=ustar --psf-form3 |
  swpackage -W source=- -s@@PSF @@- | tar tvf -
@comment TROFF INPUT: .ni
@comment .ni
@comment TROFF INPUT: .SH FILES
@c DEBUG: print_menu("HOWTO Use with swpackage")
@comment MAN2TEXI: EON

@end display

@c ---------------------------------------------------------------------

@end display

@c ---------------------------------------------------------------------

@node FILES

@section FILES

@comment TROFF INPUT: ./PSF
@comment ./PSF
@comment TROFF INPUT: .SH "RELATED STANDARDS"
@c DEBUG: print_menu("FILES")
@comment MAN2TEXI: EON

@node RELATED STANDARDS

@section RELATED STANDARDS

@comment TROFF INPUT: .PP

POSIX.1, IEEE 1387.2, XDSA C701
@comment TROFF INPUT: .SH "IDENTIFICATION"
@c DEBUG: print_menu("RELATED STANDARDS")
@comment MAN2TEXI: EON

@node IDENTIFICATION

@section IDENTIFICATION

@comment TROFF INPUT: .PP

 The RPM translation program of the swbis project.
 DATE: 2010-02-22
 Revision: 1.5
@comment TROFF INPUT: .SH "SEE ALSO"
@c DEBUG: print_menu("IDENTIFICATION")
@comment MAN2TEXI: EON

@node SEE ALSO

@section SEE ALSO

swbisparse(1), swpackage(8)
@comment TROFF INPUT: .SH BUGS
@c DEBUG: print_menu("SEE ALSO")
@comment MAN2TEXI: EON

@node BUGS

@section BUGS

Probably many. A de-facto conversion policy is intimated in the PSF by this program.

@bye
