./misc/dpkg, Package maintenance system for Debian

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.22.18, Package name: dpkg-1.22.18, Maintainer: pkgsrc-users

This package contains the programs which handle the installation and
removal of Debian packages on your system. The primary interface for
the dpkg suite is the `dselect' program; a more low-level and less
user-friendly interface is available in the form of the `dpkg'
command.


Required to run:
[archivers/gtar-base] [lang/perl5] [devel/patch]

Required to build:
[textproc/po4a] [pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 5618.531 KB

Version history: (Expand)


CVS history: (Expand)


   2025-03-11 17:25:21 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
dpkg: updated to 1.22.18

dpkg (1.22.18) unstable; urgency=medium

  [ Guillem Jover ]
  * Perl modules:
    - Dpkg::OpenPGP::Backend::Sequoia: Add missing Dpkg::Gettext import.
  * Packaging:
    - Bump Standards-Version to 4.7.2 (no changes needed).

  [ Helge Kreutzmann ]
  * Localization:
    - Update German man pages translation.
    - Update German scripts translation.

dpkg (1.22.17) unstable; urgency=medium

  * Code internals:
    - libdpkg: Do not crash on missing sysuser or sysgroup system database
      files. Reported by Marc Haber <[email protected]>.

dpkg (1.22.16) unstable; urgency=medium

  [ Guillem Jover ]
  * Add support for native arch definition for chroots.
  * dpkg-db-keeper: Fix pathname in example dpkg.cfg snippet.
  * Portability:
    - start-stop-daemon: Move <compat.h> and <dpkg/macros.h> after OS and
      header setup macros.
  * Perl modules:
    - Dpkg::OpenPGP::Backend::GnuPG: Do not require cmdstore for backend
      command.
    - Dpkg::OpenPGP::Backend: Generalize has_verify_cmd().
    - Dpkg::OpenPGP::Backend: Support disabling cmd and cmdv via 'none' value.
    - Dpkg::OpenPGP::Backend::SOP: Add sopv support.
    - Dpkg::OpenPGP::Backend::GnuPG: Refactor newline workaround into a
      function.
    - Dpkg::OpenPGP::Backend::GnuPG: Do not add the newline workaround for
      gpg-sq.
    - Dpkg::OpenPGP::Backend::Sequoia: Add a hint about authorizing own keys.
    - Dpkg::OpenPGP::Backend::Sequoia: Refactor cmd and cmdv handling.
  * Documentation:
    - man: Remove trailing space.
    - doc: Remove trailing angle bracket.
    - doc: Split and sort copyright statements.
  * Code internals:
    - libdpkg: Add new strvec module.
    - libdpkg: Add new path_canonicalize() function.
    - libdpkg: Add new file_realpath() function.
    - libdpkg: Add new file_canonicalize() function.
    - libdpkg: Normalize root dir setting.
    - libdpkg: Remove unused pwd.h and grp.h header includes.
    - libdpkg: Refactor passwd and group fetching into functions.
    - libdpkg: Cache root user/group to UID/GID mapping to speed up unpacking.
    - libdpkg: Update missing symbols to the version map.
    - start-stop-daemon: Move Solaris _FILE_OFFSET_BITS undef after other
      header setup macros.
    - dselect, test: Mark C++ destructors on derived classes as override.
    - start-stop-daemon: Reformat license/copyright comment header.
    - libcompat: Add compatibility functions for fgetpwent() and fgetgrent().
    - libdpkg: Add support for sysuser/sysgroup specific to each chroot.
  * Build system:
    - Avoid explicitly escaped hash characters in automake files.
  * Packaging:
    - Add OpenPGP tools to Build-Depends as pkg.dpkg.author-testing build
      profile.
    - Move gnupg and gpgv as the last alternatives.
    - Add a NEWS entry to dpkg-dev for Rules-Requires-Root default change.
  * Test suite:
    - Skip OpenPGP backend tests based on available cmd and cmdv programs.
    - Rework OpenPGP backend selection to prepare for cmdv support.
    - Add OpenPGP cmdv testing support.
    - Refactor database files creation into new DPKG_GEN_DB_FILE macro.
    - Update cppcheck to request C++14 to match expected baseline.
    - Pass --root-owner-group to dpkg-deb in functional tests.
  * Localization:
    - Update Brazilian Portuguese translations.
      Thanks to Paulo Henrique de Lima Santana <[email protected]>.
    - Update Dutch man pages translations.
      Thanks to Frans Spiesschaert <[email protected]>.

  [ Helge Kreutzmann ]
  * Localization:
    - Update German man pages translation.

  [ Sven Joachim ]
  * Localization:
    - Update German programs translation.
   2025-02-06 09:50:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
dpkg: updated to 1.22.15

dpkg (1.22.15) unstable; urgency=medium

* Perl modules:
  - Dpkg::BuildDriver::DebianRules: Remove unused Dpkg::BuildAPI import.
  - Dpkg::OpenPGP::Backend::GnuPG: Sign file with fixed up newline.
  - Dpkg::Substvars: Add new set_as_optional() and set_as_required() methods.
* Documentation:
  - man: Change verb tense for Makefile fragment files descriptions.
  - man: Document that buildapi.mk sets a variable.
  - man: Add reference to buildtools and vendor make fragments to related
    tools.
  - man: Split architecture examples into their own paragraphs.
  - man: Clarify architecture terms and the architecture forms.
  - man: Clarify that build and target are not usual variables to use.
  - doc: Remove duplicate words across newlines.
* Build system:
  - Add array bounds warning.
  - Add new dialect checks for strict flex array behavior and warnings.
  - Add compiler hardening support.

* Localization:
  - Update German programs translation.
   2025-01-20 07:18:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
dpkg: updated to 1.22.14

dpkg (1.22.14) unstable; urgency=medium

[ Guillem Jover ]
* dpkg-deb: Switch from info() to hint() for hint message.
* Perl modules:
  - Dpkg::BuildDriver::DebianRules: Fix R³ namespace check to only refuse
    unknown dpkg keywords.
* Make fragments:
  - Use flavor to avoid re-caching empty variables.
* Shell library:
  - Abstract color clearing with a new variable.
  - Lowercase and namespace private variables with _dpkg_.
  - Fix debug output format to print debug in lowercase after progname.
  - Document library interface basics and the version when introduced.
  - Add support for notice(), info() and hint() functions.
* Code internals:
  - libdpkg: Add support for hint printing.
* Test suite:
  - Remove redundant <cstdbool> include deprecated in C++17.
* Localization:
  - Update Brazilian Portuguese dselect translations.
    Thanks to Paulo Henrique de Lima Santana (phls) <[email protected]>.

[ Helge Kreutzmann ]
* Localization:
  - Update German man pages translation.
  - Update German scripts translation.

[ Sven Joachim ]
* Localization:
  - Update German programs translation.
   2025-01-06 08:54:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
dpkg: updated to 1.22.13

dpkg (1.22.13) unstable; urgency=medium

* dpkg-deb: Add support for filesystem metadata checks.
* Perl modules:
  - Dpkg::OpenPGP::Backend::Sequoia: Handle all KeyHandle types in
    inline_sign().
  - Dpkg::OpenPGP::Backend::Sequoia: Check whether we can use the key.
  - Dpkg::OpenPGP::Backend: Add missing imports.
  - Dpkg::BuildDriver::DebianRules: Change default R³ value to «no».
* Documentation:
  - man: Document the version since the Section and Priority fields have
    defaults.
  - man: Clarify Priority values by mentioning known important and unknown
    ones.
  - man: Clarify Section and Priority values usage tied to distribution
    policies.
  - man: Refer to --sign-keyid instead of --sign-key in DEB_SIGN_KEYID
    description.
* Code internals:
  - libdpkg: Add test cases for varbuf C++ operators.
  - libdpkg: Do not call varbuf_init() from operator=().
  - dselect: Make sure the search varbuf always has allocated space.
  - dselect: Update the search varbuf to account for the used size.
  - dselect: Fix logic inversion in repeat search keybinding.
  - dselect: Fix formatting for return in keybindings::find().
  - scripts: When printing a field value quote it with double quotes.
  - dpkg-gencontrol: Add missing field name to warning message.
  - dpkg-genchanges: Set Section and Priority defaults even with no fields.
   2025-01-03 14:41:51 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
dpkg: updated to 1.22.12

dpkg (1.22.12) unstable; urgency=medium

[ Guillem Jover ]
* libdpkg: Check for pager presence and fallback to less, more and cat.

* dpkg-shlibdeps: Add symbolic name alternative to --warnings bits.
* Update URLs.
* dpkg-deb: Add --no-check option and keep --nocheck as an alias.
* dpkg: Unify package and version printing format to «package (version)».
* dpkg-buildtree: Add new command is-rootless.
  Suggested by Niels Thykier <[email protected]>.
* scripts: Switch messages to be hints.
* dpkg-buildpackage: Reword hint on unsatisfied dependencies.
* dpkg-checkbuilddeps: Improve unmet dependency error messages.
* dpkg-buildpackage: Switch unmet dependency abort message from warning to
  error.
* scripts: Change and inject default value for Section and Priority fields.
* Perl modules:
  - Dpkg::Deps::Multiple: Document that the constructor takes @deps not
    %opts.
  - Dpkg::Changelog::Parse: Use %opts instead of %opt in function POD.
  - Dpkg::Control: Deprecate the backwards compatibility type aliases.
  - Dpkg::OpenPGP::Backend::GnuPG: Ignore
    ValuesAndExpressions::ProhibitMagicNumbers.
  - Dpkg::Vendor: Simplify module loading logic.
  - Dpkg::OpenPGP::Backend::SOP: Add rsop as an alternative SOP
    implementation.
  - Dpkg::OpenPGP::Backend::SOP: Add gosop as an alternative SOP
    implementation.
  - Dpkg::OpenPGP::Backend::Sequoia: Adapt to new CLI 0.40.0 API.
  - Dpkg::OpenPGP::Backend::Sequoia: Add keystore support.
  - Dpkg::Shlibs: Improve code comments.
  - Dpkg::Archive::Ar: Copy only the number of bytes we have read.
  - Dpkg::Vendor: Remove backwards compatibility module and origin name
    mangling.
  - Dpkg::BuildInfo: Add GNUMAKEFLAGS as an allowed environment variable.
    Thanks to Santiago Vila <[email protected]>.
  - Dpkg::BuildDriver::DebianRules: Handle missing root_cmd option.
  - Dpkg::ErrorHandling: Add support for hint printing.
  - Dpkg::OpenPGP::Backend::GnuPG: Handle and warn on concatenated ASCII
    Armor blocks.
  - Revert "Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if
    present".
  - Dpkg::OpenPGP::Backend::GnuPG: Move armor/dearmor implementation to base
    class.
  - Dpkg::OpenPGP::Backend::SOP: Use the parent class armor/dearmor
    implementations.
  - Dpkg::Vendor::Debian: Remove merged-/usr taint logic.
  - Dpkg::Control::FieldsCore: Add new field_get_default_value() function.
* Make fragments:
  - Document DPKG_BUILD_API in buildapi.mk.
  - Document public API and expected directory to include from.
    Prompted by Helmut Grohne <[email protected]>.
  - Capitalize variable descriptions.
  - Clarify format for version variables from pkg-info.mk.
  - Add support for new DEB_VERSION_EPOCH and DEB_VERSION_REVISION.

* Shell library:
  - Add a default PROGNAME to dpkg-error.sh.
  - Move setup_colors() contents into dpkg-error.sh script scope.
* Documentation:
  - man: Update debian/control example in deb-src-control(5).
  - man: Use arch-bits in deb-src-symbols(5) example dependent on bitness.
  - man: Use modern architectures for manual page examples.
  - doc: Fix typos in ChangeLog.old.
  - man: Document purpose of origin files and how they tie to packages.
    See https://github.com/grml/grml-debian-keyring/issues/7.
  - man: Use «must» instead of «should» for mandatory behavior.
    Requested by Niels Thykier <[email protected]>.
    See https://bugs.debian.org/1089794.
* Code internals:
  - lib: Remove compatibility code for C++ earlier than C++11.
  - scripts: Use %opts instead of %options for constructor and function
    options.
  - scripts: Document when constructors take %opts.
  - scripts: Use %opts instead of %args for function and method options.
  - scripts: Rename changelog options in programs to %changelog_opts.
  - scripts: Unify constructor and function options documentation.
  - libdpkg: Remove const from execname.
  - libdpkg: Use size_t instead of unsigned int for nargs.
  - start-stop-daemon: Refactor closefrom() and use it only if the system
    lacks it.
  - start-stop-daemon: Try to use close_range() if present to implement
    closefrom().
  - scripts: Fix module loading.
    Prompted by Holger Levsen <[email protected]>.
    Prompted by Niels Thykier <[email protected]>.
  - src: Do not name option variables as no<thing>.
  - dpkg-deb: Rename control area functions to check_ctrl_*().
  - dpkg-deb: Rename check_control_area() to check_build_files().
  - dpkg-deb: Fix doxygen comment to match function argument.
  - perl: Remove function prototypes.
  - libdpkg: Rename varbuf_rollback_start() to varbuf_rollback_end().
  - libdpkg: Rename varbuf_*printf() to varbuf_add_*fmt().
  - libdpkg: Add new varbuf_set_*fmt() functions.
  - dpkg: Switch from varbuf_reset()+varbuf_add_str() to varbuf_set_str().
  - Replace varbuf_reset()+varbuf_*printf() with varbuf_set_*fmt().
  - Replace varbuf_*printf() with varbuf_add_*fmt().
  - libdpkg: Rename varbuf C++ *fmt() methods to add_*fmt().
  - dpkg: Replace sprintf() usage with a varbuf in depisok().
  - Use snprintf() instead of sprintf().
  - libdpkg: Switch varbuf::reset() to use varbuf_reset().
  - libdpkg: Rename varbuf::string() to varbuf::str().
  - libdpkg: Add new varbuf C++ methods for all functions.
  - libdpkg: Add new varbuf_state C++ methods for all functions.
  - libdpkg: Add new varbuf C++ constructor initialized from a C string.
  - libdpkg: Add new varbuf C++ operator+= methods.
  - dselect: Switch from operator() to operator+=.
  - libdpkg: Remove varbuf C++ operator() methods.
  - libdpkg: Add new varbuf C++ len() method.
  - libdpkg: Add new varbuf_swap() function.
  - libdpkg: Add new varbuf C++ copy constructors.
  - libdpkg: Add new varbuf C++ move constructors.
  - libdpkg: Add new varbuf_array() and C++ operator[] methods.
  - dselect: Switch to use varbufs instead of sprintf in keybindings.
  - dselect: Switch to use varbufs instead of sprintf for searchstring.
  - dselect: Switch to use varbufs instead of sprintf for describemany().
  - dselect: Use file_slurp() instead of open-coding it.
  - dselect: Switch to use varbufs instead of sprintf for method parser.
  - dselect: Mark assignment inside baselist::kd_search() as a move
    assignment.
  - Cast char to unsigned char for ctype functions.
  - Remove dpkg-error.sh boilerplate.
  - scripts: Remove dpkg-fsys-usrunmess program.
  - dpkg-source: Generalize Package-List field attributes handling.
  - scripts: Unify handling of default Priority and Section values.
  - scripts: Switch to use the default per field value for Section and
    Priority.
* Build system:
  - Make C++ baseline version a hard requirement.
  - Generalize C/C++ check macros to select the version as an argument.
  - Bump minimum required C++ standard to C++14.
  - Warn on C++17, C++20, C++23 and C++26 extensions usage.
  - Check for C++11 __func__ availability.
  - Undefine _TIME_BITS when checking for the base off_t size.
  - Do not use an obsolete x prefix for shell test checks.
  - Add a new changelog section for the shell library.
* Packaging:
  - Bump Standards-Version to 4.7.0 (no changes needed).
  - Add a trailing comma to debian/tests/control dependency.
  - Inline sequoia-chameleon-gnupg dependencies depending on context.
  - Remove merged-/usr warning logic.
* Test suite:
  - Enable ValuesAndExpressions::ProhibitMagicNumbers except for octals.
  - Mark variables around longjmp() as volatile.
  - Add tests for varbuf C++ API.
* Localization:
  - Update Brazilian Portuguese programs translation.
  - Update Czech translations.
  - Update Dutch translations.
  - Update Portuguese man pages translation.
  - Update Romanian programs translation.
  - Update Swedish translations.

[ Helge Kreutzmann ]
* Localization:
  - Update German man pages translation.

[ Sven Joachim ]
* Localization:
  - Update German dselect translation.
  - Update German programs translation.
   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2024-08-05 11:25:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
dpkg: updated to 1.22.11

dpkg (1.22.11) unstable; urgency=medium

[ Guillem Jover ]
* Perl modules:
  - Dpkg::Shlibs::Cppfilt: Do not normalize angle brackets for operators.
    Closes: #1076067
* Documentation:
  - doc: Replace references to crypto-refresh and RFC4880 with RFC9580.
* Build system:
  - Use 'command -v' instead of 'which'.
  - Remove generated spacesyms.o and spacesyms.c on clean.
  - Add declaration for funcs symbols in spacesyms.c.
* Test suite:
  - Fix coding style in perl test cases.
  - Improve Dpkg::Changelog data test case message.
  - Refactor setup_changelog() in Dpkg::Changelog test.
  - Unroll Dpkg::Changelog file tests loop.
  - Refactor load_objdump_obj().

[ Helge Kreutzmann ]
* Localization:
  - Update German man pages translation.
  - Update German scripts translation.

[ Sven Joachim ]
* Localization:
  - Update German programs translation.
   2024-07-31 10:04:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
dpkg: updated to 1.22.10

dpkg (1.22.10) unstable; urgency=medium

  [ Guillem Jover ]
  * Perl modules:
    - Dpkg::Changelog::Entry::Debian: Remove obsolete /o modifier from regex.
    - Dpkg::Changelog: Remove useless escaping for -.
  * Make fragments:
    - Revert "scripts/mk: Reduce the number of subprocesses".
  * Build system:
    - Do not define macros for C/C++ standard level.
    - Use pre-defined macros to check C/C++ conformance requirements.
    - Fix length for comment bar line after autoconf functions.
    - Fix dpkg_cv_c99 assignment in DPKG_C_C99 macro.
    - Simplify C standard check output.

dpkg (1.22.9) unstable; urgency=medium

  [ Guillem Jover ]
  * dpkg-deb: Add long options for short-only compression ones.
  * dpkg-deb: Print pathname instead of filename and directory in error output.
  * start-stop-daemon: Use a stop context to track the current state.
  * Make fragments:
    - Fix pkg-info.mk evaluation by adding new DEB_TIMESTAMP variable.
  * Code internals:
    - dpkg-deb: Track maintscript information in a new struct.
  * Test suite:
    - Fix typos in Makefile comments.