Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

alien::package::slp(3pm) [linux man page]

Alien::Package::Slp(3pm)				User Contributed Perl Documentation				  Alien::Package::Slp(3pm)

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 from Alien::Package. CLASS DATA
The following data is global to the class, and is used to describe the slp package format, which this class processes directly. footer_size Complete sizeof(slpformat) from slp.h in the stampede package manager source. footer_packstring This is the pack format string for the footer. (A=space terminated character, I=unsigned integer.) footer_version What package format are we up to now? (Lowest one this is still compatable with.) archtrans This is a translation table between architectures and the number that 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 extention. 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 on what 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 changed back into slp's internal format when it is retreived. copyright Set/get copyright. When the copyright is set, the number used by slp is changed into a textual description. This is changed back into a number when the value is retreived. arch Set/get arch. When the arch is set, the number used by slp is changed into a textual description. This is changed back into a number when the value is retreived. release Set/get release version. When the release version is retreived, it is converted to an unsigned integer, as is required by the slp package format. AUTHOR
Joey Hess <joey@kitenet.net> perl v5.12.3 2011-06-11 Alien::Package::Slp(3pm)

Check Out this Related Man Page

Alien::Package::Deb(3pm)				User Contributed Perl Documentation				  Alien::Package::Deb(3pm)

NAME
Alien::Package::Deb - an object that represents a deb package DESCRIPTION
This is an object class that represents a deb package. It is derived from Alien::Package. FIELDS
have_dpkg_deb Set to a true value if dpkg-deb is available. dirtrans After the build stage, set to a hash reference of the directories we moved files from and to, so these moves can be reverted in the cleantree stage. fixperms If this is set to true, the generated debian/rules will run dh_fixperms. METHODS
init Sets have_dpkg_deb if dpkg-deb is in the path. I prefer to use dpkg-deb, if it is available since it is a lot more future-proof. checkfile Detect deb files by their extention. install Install a deb with dpkg. Pass in the filename of the deb to install. test Test a deb with lintian. Pass in the filename of the deb to test. getcontrolfile Helper method. Pass it the name of a control file, and it will pull it out of the deb and return it. scan Implement the scan method to read a deb file. unpack Implement the unpack method to unpack a deb file. getpatch This method tries to find a patch file to use in the prep stage. If it finds one, it returns it. Pass in a list of directories to search for patches in. prep Adds a populated debian directory the unpacked package tree, making it ready for building. This can either be done automatically, or via a patch file. build Build a deb. cleantree Delete the entire debian/ directory. package Set/get package name. Always returns the packge name in lowercase with all invalid characters rmoved. The name is however, stored unchanged. version Set/get package version. When the version is set, it will be stripped of any epoch. If there is a release, the release will be stripped away and used to set the release field as a side effect. Otherwise, the release will be set to 1. More sanitization of the version is done when the field is retrieved, to make sure it is a valid debian version field. release Set/get package release. Always returns a sanitized release version. The release is however, stored unchanged. description Set/get description Although the description is stored internally unchanged, this will always return a sanitized form of it that is compliant with Debian standards. date Returns the date, in rfc822 format. email Returns an email address for the current user. username Returns the user name of the real uid. postinst Returns the postinst. This may include generated shell code to set owners and groups from the owninfo field, and update modes from the modeinfo field. AUTHOR
Joey Hess <joey@kitenet.net> perl v5.12.3 2011-06-11 Alien::Package::Deb(3pm)
Man Page