Dpkg - module with core variables
The Dpkg module provides a set of variables with information concerning this
system installation.
It is also the entry point to the Dpkg module hierarchy.
- $Dpkg::PROGNAME
- Contains the name of the current program.
- $Dpkg::PROGVERSION
- Contains the version of the dpkg suite.
- $Dpkg::PROGMAKE
- Contains the name of the system GNU make program.
- $Dpkg::PROGTAR
- Contains the name of the system GNU tar program.
- $Dpkg::PROGPATCH
- Contains the name of the system GNU patch program (or another
implementation that is directory traversal resistant).
- $Dpkg::CONFDIR
- Contains the path to the dpkg system configuration directory.
- $Dpkg::ADMINDIR
- Contains the path to the dpkg database directory.
- $Dpkg::LIBDIR
- Contains the path to the dpkg methods and plugins directory.
- $Dpkg::DATADIR
- Contains the path to the dpkg architecture tables directory.
The following is the list of public modules within the Dpkg hierarchy. Only
modules with versions 1.00 or higher, and only the interfaces documented in
their POD are considered public.
- Dpkg
- This module, 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::BuildProfiles
- 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::FileHandle
- Transparently compress and decompress files.
- Dpkg::Compression::Process
- Wrapper around compression tools.
- 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::Control::Tests::Entry
- Represents a debian/tests/control stanza.
- Dpkg::Deps
- Parse and manipulate dependencies.
- Dpkg::Deps::Simple
- Represents a single dependency statement.
- Dpkg::Deps::Multiple
- Base module to represent multiple dependencies.
- Dpkg::Deps::Union
- List of unrelated dependencies.
- Dpkg::Deps::AND
- List of AND dependencies.
- Dpkg::Deps::OR
- List of OR dependencies.
- Dpkg::Deps::KnownFacts
- List of installed and virtual packages.
- 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::Format
- Parse and manipulate debian/source/format files.
- 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.
New variable: $PROGPATCH.
New variable: $PROGTAR,
$PROGMAKE.
New variables: $PROGNAME,
$PROGVERSION, $CONFDIR,
$ADMINDIR, $LIBDIR and
$DATADIR.
Deprecated variables: $version,
$admindir, $dpkglibdir and
$pkgdatadir.
Mark the module as public.