Source: dpkg
Section: admin
Priority: optional
Maintainer: Steven Pusser <stevep@mxlinux.org>
XSBC-Original-Maintainer: Fast Forward Maintainers <maintainers@lists.fastforward.deb822.org>
XSBC-Uploaders: Daniel Baumann <daniel@debian.org>
# XSBC-Original-Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
XSBC-Original-Uploaders: Guillem Jover <guillem@debian.org>
Bugs: mailto:maintainers@lists.fastforward.deb822.org
Homepage: https://wiki.debian.org/Teams/Dpkg
Vcs-Browser: https://git.fastforward.debian.net/trixie-fastforward-backports/dpkg
Vcs-Git: https://git.fastforward.debian.net/trixie-fastforward-backports/dpkg
XSBC-Original-Vcs-Browser: https://git.dpkg.org/cgit/dpkg/dpkg.git
XSBC-Original-Vcs-Git: https://git.dpkg.org/git/dpkg/dpkg.git
Standards-Version: 4.7.4
Build-Depends: debhelper-compat (= 13),
               aspell <pkg.dpkg.author-testing>,
               aspell-en <pkg.dpkg.author-testing>,
# Needed for the functional test.
               bzip2 <!nocheck>,
               ca-certificates <pkg.dpkg.author-release>,
               codespell <pkg.dpkg.author-testing>,
               cppcheck <pkg.dpkg.author-testing>,
# Needed for the test suite in author mode.
               fakeroot <pkg.dpkg.author-testing>,
# Version needed for ITS support.
               gettext (>= 0.19.7),
# Needed for the author release process.
               git <pkg.dpkg.author-release>,
               gnupg <pkg.dpkg.author-testing>,
               gosop <pkg.dpkg.author-testing>,
               gpg-sq <pkg.dpkg.author-testing>,
               gpgv-sq <pkg.dpkg.author-testing>,
               hopenpgp-tools (>= 0.25.1~) <pkg.dpkg.author-testing>,
               i18nspector <pkg.dpkg.author-testing>,
# Needed for code coverage reports.
               lcov <pkg.dpkg.code-coverage>,
               libbz2-dev,
               libdevel-cover-perl <pkg.dpkg.code-coverage>,
# Version needed for multi-threaded decompressor support.
               liblzma-dev (>= 5.4.0),
               libmd-dev,
               libmodule-build-perl <pkg.dpkg.author-release>,
               libncurses-dev (>= 6.1+20180210),
               libselinux-dev [linux-any] | libselinux1-dev [linux-any],
               libtest-minimumversion-perl <pkg.dpkg.author-testing>,
               libtest-perl-critic-perl <pkg.dpkg.author-testing>,
               libtest-pod-coverage-perl <pkg.dpkg.author-testing>,
               libtest-pod-perl <pkg.dpkg.author-testing>,
               libtest-spelling-perl <pkg.dpkg.author-testing>,
               libtest-strict-perl <pkg.dpkg.author-testing>,
               libtest-synopsis-perl <pkg.dpkg.author-testing>,
# Version needed for the new streaming API.
               libzstd-dev (>= 1.4.0),
               pkgconf,
# Version needed for --porefs defaults, conditional addenda and mode=eof.
               po4a (>= 0.59),
               rsop <pkg.dpkg.author-testing>,
               rsopv <pkg.dpkg.author-testing>,
               shellcheck <pkg.dpkg.author-testing>,
               sq <pkg.dpkg.author-testing>,
               sqop <pkg.dpkg.author-testing>,
               sqopv <pkg.dpkg.author-testing>,
               sqv (>= 1.3.0~) <pkg.dpkg.author-testing>,
# Version needed for multi-threaded decompressor support.
               xz-utils (>= 5.4.0) <!nocheck>,
               zlib1g-dev,
# Needed for the functional test.
               zstd <!nocheck>

Package: dpkg
Architecture: any
Multi-Arch: foreign
Essential: yes
Pre-Depends: ${shlibs:Depends}
Depends: ${misc:Depends}
Suggests: apt, debsig-verify
Breaks:
# Require new bash-completion API.
        bash-completion (<< 1:2.12~)
Replaces: bash-completion (<< 1:2.16.0-9)
Description: Debian package management system
 This package provides the low-level infrastructure for handling the
 installation and removal of Debian software packages.
 .
 For Debian package development tools, install dpkg-dev.

Package: libdpkg-dev
Section: libdevel
Priority: optional
Architecture: any
Multi-Arch: same
Depends: libbz2-dev,
# Version needed for multi-threaded decompressor support.
         liblzma-dev (>= 5.4.0),
         libmd-dev,
# Version needed for the new streaming API.
         libzstd-dev (>= 1.4.0),
         zlib1g-dev,
         ${misc:Depends}
Description: Debian package management static library
 This package provides the header files and static library necessary to
 develop software using libdpkg, the same library used internally by dpkg.
 .
 Note though, that the API is to be considered volatile, and might change
 at any time, use at your own risk.

Package: dpkg-dev
Section: utils
Priority: optional
Architecture: all
Multi-Arch: foreign
Depends: binutils,
         bzip2,
         libdpkg-perl (= ${source:Version}),
# Version needed for GNU make intcmp function usage.
         make (>= 4.4),
# Version needed for git-style diff support.
         patch (>= 2.7),
# Version needed for multi-threaded decompressor support.
         xz-utils (>= 5.4.0),
         ${misc:Depends},
         ${perl:Depends}
Recommends: build-essential,
            fakeroot,
            gcc | c-compiler,
# Used by dpkg-mergechangelogs.
            libalgorithm-merge-perl,
# OpenPGP implementations providing full support.
            sq | sqop | rsop | gosop | hopenpgp-tools | pgpainless-cli | gpg-sq | gnupg,
# OpenPGP implementations providing at least verification-only support.
            sqv | sqopv | rsopv | sopv | gosop | hopenpgp-tools | pgpainless-cli | gpgv-sq | gpgv
Suggests: debian-keyring, debian-tag2upload-keyring
Breaks:
# Require new bash-completion API.
        bash-completion (<< 1:2.12~),
# Require .pgp extensions
        debian-keyring (<< 2025.04.25~),
        devuan-keyring (<< 2025.07.30~),
# Uses new hop features, w/o requiring a hard dependency on hopenpgp-tools.
        hopenpgp-tools (<< 0.25.1~),
        pureos-archive-keyring (<< 2026.02.0~)
Replaces: bash-completion (<< 1:2.16.0-9)
Provides: dpkg-build-api (= 0), dpkg-build-api (= 1)
Description: Debian package development tools
 This package provides the development tools (including dpkg-source)
 required to unpack, build and upload Debian source packages.
 .
 Most Debian source packages will require additional tools to build;
 for example, most packages need make and the C compiler gcc.

Package: libdpkg-perl
Section: perl
Priority: optional
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${perl:Depends}
Recommends: bzip2,
# Used by Dpkg::File.
            libfile-fcntllock-perl,
# Used by Dpkg::Gettext.
            liblocale-gettext-perl,
# Version needed for multi-threaded decompressor support.
            xz-utils (>= 5.4.0)
Suggests: binutils,
# Needed by Dpkg::Source::Package::V3::Bzr
          bzr,
          debian-keyring,
          debian-tag2upload-keyring,
          gcc | c-compiler,
# Needed by Dpkg::Source::Package::V3::Git
          git,
          patch,
# Used (if available) by Dpkg::Source::Package::V2.
          sensible-utils,
# OpenPGP implementations providing full support.
          sq | sqop | rsop | gosop | hopenpgp-tools | pgpainless-cli | gpg-sq | gnupg,
# OpenPGP implementations providing at least verification-only support.
          sqv | sqopv | rsopv | sopv | gosop | hopenpgp-tools | pgpainless-cli | gpgv-sq | gpgv
Breaks:
# Uses the Dpkg::BuildProfiles in an incorrect way, which broke when making
# the parser more strict.
        dh-exec (<< 0.31~),
# Require .pgp extensions
        debian-keyring (<< 2025.04.25~),
        devuan-keyring (<< 2025.07.30~),
# Uses new hop features, w/o requiring a hard dependency on hopenpgp-tools.
        hopenpgp-tools (<< 0.25.1~),
        pureos-archive-keyring (<< 2026.02.0~)
Description: Dpkg perl modules
 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::BuildFlags: set, modify and query compilation build flags
  - Dpkg::BuildInfo: build information functions
  - 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 (de)compress 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: 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
 .
 All the packages listed in Suggests or Recommends are used by some of the
 modules.

Package: dselect
Priority: optional
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: libdpkg-perl, perl
Breaks:
# Require new bash-completion API.
        bash-completion (<< 1:2.12~)
Replaces: bash-completion (<< 1:2.16.0-9)
Description: Debian package management front-end
 dselect is a high-level interface for managing the installation and
 removal of Debian software packages.
 .
 Many users find dselect intimidating and new users may prefer to use
 apt-based user interfaces.
