man-pages/man3/Dpkg.3perl.html
2021-03-31 01:06:50 +01:00

314 lines
6.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Dpkg</TITLE>
</HEAD><BODY>
<H1>Dpkg</H1>
Section: libdpkg-perl (3perl)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Dpkg - module with core variables
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The Dpkg module provides a set of variables with information concerning
this system installation.
<P>
It is also the entry point to the Dpkg module hierarchy.
<A NAME="lbAD">&nbsp;</A>
<H2>VARIABLES</H2>
<DL COMPACT>
<DT id="1">$Dpkg::PROGNAME<DD>
Contains the name of the current program.
<DT id="2">$Dpkg::PROGVERSION<DD>
Contains the version of the dpkg suite.
<DT id="3">$Dpkg::PROGMAKE<DD>
Contains the name of the system <FONT SIZE="-1">GNU</FONT> make program.
<DT id="4">$Dpkg::PROGTAR<DD>
Contains the name of the system <FONT SIZE="-1">GNU</FONT> tar program.
<DT id="5">$Dpkg::PROGPATCH<DD>
Contains the name of the system <FONT SIZE="-1">GNU</FONT> patch program (or another implementation
that is directory traversal resistant).
<DT id="6">$Dpkg::CONFDIR<DD>
Contains the path to the dpkg system configuration directory.
<DT id="7">$Dpkg::ADMINDIR<DD>
Contains the path to the dpkg database directory.
<DT id="8">$Dpkg::LIBDIR<DD>
Contains the path to the dpkg methods and plugins directory.
<DT id="9">$Dpkg::DATADIR<DD>
Contains the path to the dpkg architecture tables directory.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>MODULES</H2>
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 <FONT SIZE="-1">POD</FONT> are considered public.
<DL COMPACT>
<DT id="10">Dpkg<DD>
This module, core variables.
<DT id="11">Dpkg::Arch<DD>
Architecture handling functions.
<DT id="12">Dpkg::Build::Info<DD>
Build information functions.
<DT id="13">Dpkg::BuildFlags<DD>
Set, modify and query compilation build flags.
<DT id="14">Dpkg::BuildOptions<DD>
Parse and manipulate <B></B><FONT SIZE="-1"><B>DEB_BUILD_OPTIONS</B></FONT><B></B>.
<DT id="15">Dpkg::BuildProfiles<DD>
Parse and manipulate build profiles.
<DT id="16">Dpkg::Changelog<DD>
Parse changelogs.
<DT id="17">Dpkg::Changelog::Entry<DD>
Represents a changelog entry.
<DT id="18">Dpkg::Changelog::Parse<DD>
Generic changelog parser for <I>dpkg-parsechangelog</I>.
<DT id="19">Dpkg::Checksums<DD>
Generate and parse checksums.
<DT id="20">Dpkg::Compression<DD>
Simple database of available compression methods.
<DT id="21">Dpkg::Compression::FileHandle<DD>
Transparently compress and decompress files.
<DT id="22">Dpkg::Compression::Process<DD>
Wrapper around compression tools.
<DT id="23">Dpkg::Conf<DD>
Parse <I>dpkg</I> configuration files.
<DT id="24">Dpkg::Control<DD>
Parse and manipulate Debian control information (<I>.dsc</I>, <I>.changes</I>,
<I>Packages</I>/<I>Sources</I> entries, etc.).
<DT id="25">Dpkg::Control::Changelog<DD>
Represent fields output by <I>dpkg-parsechangelog</I>.
<DT id="26">Dpkg::Control::Fields<DD>
Manage (list of known) control fields.
<DT id="27">Dpkg::Control::Hash<DD>
Parse and manipulate a block of RFC822-like fields.
<DT id="28">Dpkg::Control::Info<DD>
Parse files like <I>debian/control</I>.
<DT id="29">Dpkg::Control::Tests<DD>
Parse files like <I>debian/tests/control</I>.
<DT id="30">Dpkg::Control::Tests::Entry<DD>
Represents a <I>debian/tests/control</I> stanza.
<DT id="31">Dpkg::Deps<DD>
Parse and manipulate dependencies.
<DT id="32">Dpkg::Deps::Simple<DD>
Represents a single dependency statement.
<DT id="33">Dpkg::Deps::Multiple<DD>
Base module to represent multiple dependencies.
<DT id="34">Dpkg::Deps::Union<DD>
List of unrelated dependencies.
<DT id="35">Dpkg::Deps::AND<DD>
List of <FONT SIZE="-1">AND</FONT> dependencies.
<DT id="36">Dpkg::Deps::OR<DD>
List of <FONT SIZE="-1">OR</FONT> dependencies.
<DT id="37">Dpkg::Deps::KnownFacts<DD>
List of installed and virtual packages.
<DT id="38">Dpkg::Exit<DD>
Push, pop and run exit handlers.
<DT id="39">Dpkg::Gettext<DD>
Wrapper around Locale::gettext.
<DT id="40">Dpkg::IPC<DD>
Spawn sub-processes and feed/retrieve data.
<DT id="41">Dpkg::Index<DD>
Collections of Dpkg::Control (<I>Packages</I>/<I>Sources</I> files for example).
<DT id="42">Dpkg::Interface::Storable<DD>
Base object serializer.
<DT id="43">Dpkg::Path<DD>
Common path handling functions.
<DT id="44">Dpkg::Source::Format<DD>
Parse and manipulate debian/source/format files.
<DT id="45">Dpkg::Source::Package<DD>
Extract Debian source packages.
<DT id="46">Dpkg::Substvars<DD>
Substitute variables in strings.
<DT id="47">Dpkg::Vendor<DD>
Identify current distribution vendor.
<DT id="48">Dpkg::Version<DD>
Parse and manipulate Debian package versions.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CHANGES</H2>
<A NAME="lbAG">&nbsp;</A>
<H3>Version 1.03 (dpkg 1.18.24)</H3>
New variable: <TT>$PROGPATCH</TT>.
<A NAME="lbAH">&nbsp;</A>
<H3>Version 1.02 (dpkg 1.18.11)</H3>
New variable: <TT>$PROGTAR</TT>, <TT>$PROGMAKE</TT>.
<A NAME="lbAI">&nbsp;</A>
<H3>Version 1.01 (dpkg 1.17.0)</H3>
New variables: <TT>$PROGNAME</TT>, <TT>$PROGVERSION</TT>, <TT>$CONFDIR</TT>, <TT>$ADMINDIR</TT>, <TT>$LIBDIR</TT> and
<TT>$DATADIR</TT>.
<P>
Deprecated variables: <TT>$version</TT>, <TT>$admindir</TT>, <TT>$dpkglibdir</TT> and <TT>$pkgdatadir</TT>.
<A NAME="lbAJ">&nbsp;</A>
<H3>Version 1.00 (dpkg 1.15.6)</H3>
Mark the module as public.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="49"><A HREF="#lbAB">NAME</A><DD>
<DT id="50"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="51"><A HREF="#lbAD">VARIABLES</A><DD>
<DT id="52"><A HREF="#lbAE">MODULES</A><DD>
<DT id="53"><A HREF="#lbAF">CHANGES</A><DD>
<DL>
<DT id="54"><A HREF="#lbAG">Version 1.03 (dpkg 1.18.24)</A><DD>
<DT id="55"><A HREF="#lbAH">Version 1.02 (dpkg 1.18.11)</A><DD>
<DT id="56"><A HREF="#lbAI">Version 1.01 (dpkg 1.17.0)</A><DD>
<DT id="57"><A HREF="#lbAJ">Version 1.00 (dpkg 1.15.6)</A><DD>
</DL>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:38 GMT, March 31, 2021
</BODY>
</HTML>