Package dpkg-perl

Dpkg perl modules

https://tracker.debian.org/pkg/dpkg

This package provides the perl modules used by the scripts
in dpkg-dev. They cover a wide range of functionality. Among them
there are the following public modules:
.
 - Dpkg: core variables
 - Dpkg::Arch: architecture handling functions
 - Dpkg::Build::Info: build information functions
 - Dpkg::BuildFlags: set, modify and query compilation build flags
 - Dpkg::BuildOptions: parse and manipulate DEB_BUILD_OPTIONS
 - Dpkg::BuildProfile: parse and manipulate build profiles
 - Dpkg::Changelog: parse changelogs
 - Dpkg::Changelog::Entry: represents a changelog entry
 - Dpkg::Changelog::Parse: generic changelog parser for dpkg-parsechangelog
 - Dpkg::Checksums: generate and parse checksums
 - Dpkg::Compression: simple database of available compression methods
 - Dpkg::Compression::Process: wrapper around compression tools
 - Dpkg::Compression::FileHandle: transparently (de)compress files
 - Dpkg::Conf: parse dpkg configuration files
 - Dpkg::Control: parse and manipulate Debian control information
   (.dsc, .changes, Packages/Sources entries, etc.)
 - Dpkg::Control::Changelog: represent fields output by dpkg-parsechangelog
 - Dpkg::Control::Fields: manage (list of known) control fields
 - Dpkg::Control::Hash: parse and manipulate a block of RFC822-like fields
 - Dpkg::Control::Info: parse files like debian/control
 - Dpkg::Control::Tests: parse files like debian/tests/control
 - Dpkg::Deps: parse and manipulate dependencies
 - Dpkg::Exit: push, pop and run exit handlers
 - Dpkg::Gettext: wrapper around Locale::gettext
 - Dpkg::IPC: spawn sub-processes and feed/retrieve data
 - Dpkg::Index: collections of Dpkg::Control (Packages/Sources files for
   example)
 - Dpkg::Interface::Storable: base object serializer
 - Dpkg::Path: common path handling functions
 - Dpkg::Source::Package: extract Debian source packages
 - Dpkg::Substvars: substitute variables in strings
 - Dpkg::Vendor: identify current distribution vendor
 - Dpkg::Version: parse and manipulate Debian package versions
.
All the packages listed in Suggests or Recommends are used by some of the
modules.
Library Functions (Section 3)
Dpkg
The Dpkg module provides a set of variables with information concerning this system installation.
Dpkg::Arch
The Dpkg::Arch module provides functions to handle Debian architectures, wildcards, and mapping from and to GNU triplets.
Dpkg::Build::Env
The Dpkg::Build::Env module is used by dpkg-buildflags to track the build environment variables being used and modified.
Dpkg::BuildFlags
The Dpkg::BuildFlags object is used by dpkg-buildflags and can be used to query the same information.
Dpkg::Build::Info
The Dpkg::Build::Info module provides functions to handle the build information.
Dpkg::BuildOptions
The Dpkg::BuildOptions object can be used to manipulate options stored in environment variables like DEB_BUILD_OPTIONS and DEB_BUILD_MAINT_OPTIONS.
Dpkg::BuildProfiles
The Dpkg::BuildProfiles module provides functions to handle the build profiles.
Dpkg::Build::Types
The Dpkg::Build::Types module is used by various tools to track and decide what artifacts need to be built. The build types are bit constants that are exported...
Dpkg::Changelog
Dpkg::Changelog is a class representing a changelog file as an array of changelog entries (Dpkg::Changelog::Entry). By deriving this object and implementing its...
Dpkg::Changelog::Debian
Dpkg::Changelog::Debian parses Debian changelogs as described in deb-changelog(5). The parser tries to ignore most cruft like # or /* */ style comments, CVS...
Dpkg::Changelog::Entry
This object represents a changelog entry. It is composed of a set of lines with specific purpose: an header line, changes lines, a trailer line. Blank lines can...
Dpkg::Changelog::Entry::Debian
This object represents a Debian changelog entry. It implements the generic interface Dpkg::Changelog::Entry. Only functions specific to this implementation are...
Dpkg::Changelog::Parse
This module provides a set of functions which reproduce all the features of dpkg-parsechangelog.
Dpkg::Checksums
This module provides an object that can generate and manipulate various file checksums as well as some methods to query information about supported checksums.
Dpkg::Compression
This modules provides a few public functions and a public regex to interact with the set of supported compression methods.
Dpkg::Compression::FileHandle
Dpkg::Compression::FileHandle is an object that can be used like any filehandle and that deals transparently with compressed files. By default, the compression...
Dpkg::Compression::Process
This module provides an object oriented interface to run and manage compression/decompression processes.
Dpkg::Conf
The Dpkg::Conf object can be used to read options from a configuration file. It can export an array that can then be parsed exactly like @ARGV.
Dpkg::Control
The Dpkg::Control object is a smart version of Dpkg::Control::Hash. It associates a type to the control information. That type can be used to know what fields...
Dpkg::Control::Changelog
This object derives directly from Dpkg::Control with the type CTRL_CHANGELOG.
Dpkg::Control::Fields
The module contains a list of vendor-neutral and vendor-specific fieldnames with associated meta-data explaining in which type of control information they are...
Dpkg::Control::FieldsCore
The modules contains a list of fieldnames with associated meta-data explaining in which type of control information they are allowed. The types are the CTRL_*...
Dpkg::Control::Hash
This module is just like Dpkg::Control::HashCore, with vendor-specific field knowledge.
Dpkg::Control::HashCore
The Dpkg::Control::Hash object is a hash-like representation of a set of RFC822-like fields. The fields names are case insensitive and are always capitalized...
Dpkg::Control::Info
It provides an object to access data of files that follow the same syntax as debian/control.
Dpkg::Control::Tests
It provides an object to access data of files that follow the same syntax as debian/tests/control.
Dpkg::Control::Tests::Entry
This object represents a test suite entry.
Dpkg::Control::Types
You should not use this module directly. Instead you more likely want to use Dpkg::Control which also re-exports the same constants. This module has been...
Dpkg::Deps
The Dpkg::Deps module provides objects implementing various types of dependencies. The most important function is deps_parse(), it turns a dependency line in a...
Dpkg::Exit
The Dpkg::Exit module provides support functions to run handlers on exit.
Dpkg::Gettext
The Dpkg::Gettext module is a convenience wrapper over the Locale::gettext module, to guarantee we always have working gettext functions, and to add some...
Dpkg::Index
This object represent a set of Dpkg::Control objects.
Dpkg::Interface::Storable
Dpkg::Interface::Storable is only meant to be used as parent class for other objects. It provides common methods that are all implemented on top of two basic...
Dpkg::IPC
Dpkg::IPC offers helper functions to allow you to execute other programs in an easy, yet flexible way, while hiding all the gory details of IPC (Inter-Process...
Dpkg::Path
It provides some functions to handle various path.
Dpkg::Source::Package
This module provides an object that can manipulate Debian source packages. While it supports both the extraction and the creation of source packages, the only...
Dpkg::Substvars
It provides some an object which is able to substitute variables in strings.
Dpkg::Vendor
The files in $Dpkg::CONFDIR/origins/ can provide information about various vendors who are providing Debian packages.
Dpkg::Vendor::Debian
This vendor object customizes the behaviour of dpkg scripts for Debian specific behavior and policies.
Dpkg::Vendor::Default
A vendor object is used to provide vendor specific behaviour in various places. This is the default object used in case there's none for the current vendor or...
Dpkg::Vendor::Ubuntu
This vendor object customizes the behaviour of dpkg scripts for Ubuntu specific behavior and policies.
Dpkg::Version
The Dpkg::Version module provides pure-Perl routines to compare dpkg-style version numbers (as used in Debian packages) and also an object oriented interface...