MAN page from OpenSuSE alien-8.95.6-lp154.2.1.noarch.rpm
Alien::Package::Slp
Section: User Contributed Perl Documentation (3)
Updated: 2023-08-01
Index NAME
Alien::Package::Slp - an object that represents a slp package
DESCRIPTION
This is an object class that represents a slp package. It is derived fromAlien::Package.
CLASS DATA
The following data is global to the class, and is used to describe the slppackage format, which this class processes directly.
- footer_size
- Complete sizeof(slpformat) from slp.h in the stampede package managersource.
- footer_packstring
- This is the pack format string for the footer. (A=space terminatedcharacter, I=unsigned integer.)
- footer_version
- What package format are we up to now? (Lowest one this is stillcompatible with.)
- archtrans
- This is a translation table between architectures and the numberthat represents them in a slp package.
- fieldlist
- This is a list of all the fields in the order they appear in the footer.
FIELDS
- compresstype
- Holds the compression type used in the slp file.
- slpkgversion
- Holds the slp package format version of the slp file.
METHODS
- checkfile
- Detect slp files by their extension.
- install
- Install a slp. Pass in the filename of the slp to install.
- getfooter
- Pulls the footer out of the slp file and returns it.
- scan
- Implement the scan method to read a slp file.
- unpack
- Unpack a slp file. They can be compressed in various ways, depending onwhat is in the compresstype field.
- build
- Build a slp.
- conffiles
- Set/get conffiles.
When the conffiles are set, the format used by slp (a colon-delimited list)is turned into the real list that is used internally. The list is changedback into slp's internal format when it is retrieved.
- copyright
- Set/get copyright.
When the copyright is set, the number used by slp is changed into a textualdescription. This is changed back into a number when the value isretrieved.
- arch
- Set/get arch.
When the arch is set, the number used by slp is changed into a textualdescription. This is changed back into a number when the value isretrieved.
- release
- Set/get release version.
When the release version is retrieved, it is converted to an unsignedinteger, as is required by the slp package format.
AUTHOR
Joey Hess <joeyAATTkitenet.net>
Index
- NAME
- DESCRIPTION
- CLASS DATA
- FIELDS
- METHODS
- AUTHOR
This document was created byman2html,using the manual pages.