head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.18 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.16 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.14 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.12 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.10 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.8 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.6 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.4 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.2 pkgsrc-2024Q1-base:1.3 pkgsrc-2022Q3:1.1.0.20 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.18 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.16 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.14 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.12 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.10 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.8 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2024.02.17.10.57.05; author adam; state Exp; branches; next 1.2; commitid mw93rFad9V0B9MYE; 1.2 date 2022.11.02.10.47.32; author adam; state dead; branches; next 1.1; commitid 3mBCTnrKgNeSg70E; 1.1 date 2020.05.22.01.24.36; author joerg; state Exp; branches; next ; commitid PVqWIWUHvqOETa9C; desc @@ 1.3 log @dpkg: updated to 1.22.4 1.22.4 * Code internals: - dpkg: Rename r variable for readlink() return value to symlink_len. - dpkg: Rename r variable for fd_read() return value to n. - dpkg-deb: Rename r variable for fd_read() return value to nread. - dpkg-deb: Rename r variables for fd_read() call chain return value to rc. - dpkg-split: Rename r variable for strtoimax() return value to ret. - libdpkg: Rename r variable for path_quote_filename() return to ret. - libdpkg: Rename r variable for fclose() return value to rc. - libdpkg: Rename r variables for printf()-like return values to n. - libdpkg: Handle tar long GNU names and links not being NUL terminated. - perl: Use qw() when importing symbols. - dpkg-gensymbols: Move foreach inlined array elements into a list. - dpkg-scansources: Fix newline breaks for ternary operators. * Packaging: - Update copyright years. @ text @$NetBSD$ On systems without version script support, autoconf doesn't resolve wildcards. --- lib/dpkg/libdpkg.map.orig 2024-02-17 10:43:39.935868380 +0000 +++ lib/dpkg/libdpkg.map @@@@ -185,8 +185,9 @@@@ LIBDPKG_PRIVATE { fd_write; fd_allocate_size; buffer_digest; - buffer_skip_*; - buffer_copy_*; + buffer_skip_Int; + buffer_copy_IntInt; + buffer_copy_IntPtr; # Subprocess and command handling subproc_signals_ignore; @ 1.2 log @dpkg: updaed to 1.21.9 dpkg (1.21.9) unstable; urgency=medium [ Guillem Jover ] * dpkg-deb: Add support for --threads-max and DPKG_DEB_THREADS_MAX. Prompted by vv221 on IRC. * Perl modules: - Dpkg::Source::Package::V2: Always fix the permissions for upstream tarballs. - Dpkg::BuildFlags: Document optimize feature area. * Documentation: - man: Clarify that statoverrides do not need to be known to dpkg. - man: Expand Protected and Essential field use cases. - doc: Rename frontend.txt to frontend-api.txt. - doc: Move specifications under doc/spec. - man: Add references to rootless-builds.txt spec. * Code internals: - libdpkg: Refactor command actions for compression. * Build system: - Split the test-runner into its own script. [ Helge Kreutzmann ] * Localization: - Update German man pages translation. - Update German scripts translation. -- Guillem Jover Fri, 01 Jul 2022 11:25:58 +0200 dpkg (1.21.8) unstable; urgency=medium [ Guillem Jover ] * dpkg-statoverride: Add support for --force-not-root. Based on a patch by John Spencer . * dpkg: Fix «De-configuring» message to allow configuration to use new version. * Perl modules: - Dpkg::Source::Archive: Prevent directory traversal for in-place extracts. Reported by Max Justicz . Fixes CVE-2022-1664. - Dpkg::Substvars: Add support for optional substvars assigned with ?=. * Documentation: - man: Reference deb-substvar(5) from dpkg-source(1) and dpkg-shlibdeps(1). - man: Structure and clarify deb-substvars(5). Prompted by Niels Thykier . * Build system: - Unhook dist-cpan from make dist target. * Packaging: - Silence warning about merged-usr-via-aliased-dirs on Ubuntu. - Remove useless [] around tr sets. * Localization: - Update Dutch translations. Thanks to Frans Spiesschaert . - Update Portuguese man pages translations. Thanks to Américo Monteiro . [ Helge Kreutzmann ] * Localization: - Update German man pages translation. -- Guillem Jover Wed, 25 May 2022 10:39:29 +0200 dpkg (1.21.7) unstable; urgency=medium - The “Social Contract §3: We will not hide problems” and “Persuasion through bullying and abuse” release. - [ Guillem Jover ] * dpkg-fsys-usrunmess: Handle /lib/modules itself also being untracked. * Documentation: - man: Fix typo. Thanks to Peter Krefting . * Packaging: - Silence warning about merged-usr-via-aliased-dirs on Debian. * Localization: - Fix gettext parameter reordering syntax for German translation. - Update Swedish translations. Thanks to Peter Krefting . [ Helge Kreutzmann ] * Localization: - Update German man pages translation. -- Guillem Jover Fri, 01 Apr 2022 02:27:33 +0200 dpkg (1.21.6) unstable; urgency=medium - This also clears a bullying NMU. - [ Guillem Jover ] * Documentation: - man: Document untracked kernel module files handling in dpkg-fsys-usrunmess(8). -- Guillem Jover Tue, 29 Mar 2022 11:56:58 +0200 dpkg (1.21.5) unstable; urgency=medium [ Guillem Jover ] * dpkg-fsys-usrunmess: Explicitly set user/group and mode for created dirs. * dpkg-fsys-usrunmess: Set a known umask before starting. * dpkg-fsys-usrunmess: Special case untracked kernel module files. * Perl modules: - Dpkg::Control::Types: Use bit shifts instead of literals in enum. - Dpkg::Control::Fields: Fix field_register() to return nothing. - Dpkg::Control::Fields: Refactor manifest types into new ALL_FILE_MANIFEST. - Dpkg::Control::Fields: Fix POD to end sentences with a dot. - Dpkg::Control::Fields: Fix POD to add missing spaces and blank lines. - Dpkg::Control::Fields: Document and clarify return types and values in POD. * Code internals: - libdpkg: Rename f_revision() to f_obs_revision(). - libdpkg: Warn when parsing obsolete Recommended/Optional/Class fields. Prompted by David Kalnischkies . - libdpkg: Add missing dependency type to obsolete dependency fields. - libdpkg: Update code comment for obsolete fields. * Test suite: - Add test cases for obsolete fields. [ Helge Kreutzmann ] * Localization: - Update German man pages translation. -- Guillem Jover Tue, 29 Mar 2022 02:52:14 +0200 dpkg (1.21.4) unstable; urgency=medium [ Guillem Jover ] * dpkg-shlibdeps: Require non-empty name and version in SONAME formats. * Perl modules: - Dpkg::Control::Fields: Remove duplicate *Built-Using from field order lists. Reported by David Kalnischkies . * Documentation: - man: Clarify uses cases for Static-Built-Using. Prompted by Shengjing Zhu . * Test suite: - Use actual octal numbers for chmod() calls. - Do not use non-POSIX shell syntax for arithmetic expressions. Based on a patch by Sören Tempel . [ Helge Kreutzmann ] * Localization: - Update German man pages translation. -- Guillem Jover Sat, 26 Mar 2022 13:38:44 +0100 dpkg (1.21.3) unstable; urgency=medium [ Helge Kreutzmann ] * Localization: - Update German man pages translation. - Update German scripts translation. [ Guillem Jover ] * dpkg-db-backup: Check for required commands before starting. * dpkg: Allow absolute pathnames for configurable external run-time tools. Based on a patch by Adrian Ho . * dpkg-fsys-usrunmess: Add options and prompt about regression prevention package. Prompted by Paul Wise . * dpkg-deb: Move duped control member check inside the detection conditional. * dpkg-deb: Fix movecontrol() to take a directory argument. * dselect: Remove non-multi-cd code from multi_cd method. * dselect: Rename multicd method to media. * dselect: Remove left overs for mount support from disk method. * dselect: Remove bogus quote escaping from method setup scripts. * dselect: Rename disk method to file. * scripts: Use backport-version-regex vendor hook instead of hardcoding the marker. * Perl modules: - Dpkg::Source::Package::V3::Git: Name bundle remote as bundle. - Dpkg::Source::Package::V3::Git: Set origin remote to Vcs-Git if present. - Dpkg::Path: Resolve /dev/null before comparing canonicalized pathnames. - Dpkg::Compression: Conditionally use the gzip --rsyncable option. - Dpkg::Compression: Use gzip -n instead of --no-name. - Dpkg::Vendor: Add a new backport-version-regex hook. - Dpkg::Control::Fields: Add Static-Built-Using field support. * Documentation: - man: Clarify Built-Using field purpose and format. * Code internals: - libdpkg: Refactor file_is_exec(). - libdpkg: Check that executables are regular files. - dpkg-fsys-usrunmess: Refactor prompting into a new function. - dpkg: Rename r variable to remainder. * Packaging: - Clarify the merged-usr-via-aliased-dirs warning. Prompted by Paul Wise . - Sync original bug-script merged-usr warning with postinst updates. * Test suite: - Check deb format with duplicate debian-binary and control.tar members. - Add further deb-split format checks. - Place deb-old and deb checks on their own test groups. - Check all currently supported deb-old formats. * Localization: - Update Portuguese man pages translation. Thanks to Américo Monteiro . -- Guillem Jover Thu, 24 Mar 2022 21:00:24 +0100 dpkg (1.21.2) unstable; urgency=medium [ Guillem Jover ] * dpkg: Fix memory leak in remove-on-upgrade handling. * dpkg-deb: Fix unexpected end of file conditions on .deb extract. * Use anchor links for the dpkg FAQ URLs. * update-alternatives: Do not skip --config with a single entry. Reported by David Kalnischkies . * update-alternatives: Refactor alternative_install(). * update-alternatives: Use intermediate variables when parsing actions. * update-alternatives: Clarify option parse errors by printing the wrong values. * update-alternatives: Clarify bad usage message by enclosing in angles and quoting arguments. * dpkg-buildpackage: Switch terse make from -s to --no-print-directory. * scripts: Unify deprecated command-line option warnings. * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats. Reported by Umut (on IRC). * update-alternatives: Use the target timestamp when the symlink does not exist. * dselect: Handle window resizes in help and menu screens. * dselect: Do not beep on key press errors in method and package list windows. * dselect: Add support for --instdir. * Perl modules: - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER. - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable. - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common variable. - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control field. - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release files. - Dpkg::Control::FieldsCore: Add field order for all control types. - Dpkg::Index: Switch key function for control tests to be a stanza index. Reported by Paul Gevers . - Dpkg::Source::Package: Only generate the patch header if needed. Prompted by Umut (on IRC). - Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation. * Documentation: - man: Mention on what actions triggers get processed in dpkg(1). - man: Clarify that dpkg-divert --list pattern is optional. Thanks to наб . - man: Use «main» git branch in examples. - man: Markup each individual element independently. - man: Refer to the relevant maintscript actions explicitly. - man: Add a missing preposition to deb-preinst(5). - man: Do not hardcode DPKG_ADMINDIR in update-alternatives. - man: Document that update-alternatives honors DPKG_ROOT. - man: Clarify --admindir and --instdir default values. Reported by Johannes Schauer Marin Rodrigues . * Code internals: - libdpkg: Check that cip is not NULL before dereferencing it. - libdpkg: Add missing symbols to the version map. - libdpkg: Use the amount of available memory instead phys_mem/2. Thanks to Sebastian Andrzej Siewior . - libdpkg: Refactor liblzma memlimit and cputhreads getters. - libdpkg: Dynamically allocate the buffers for de/compression I/O. - libdpkg: Increase I/O memory buffers from 4 to 32 KiB. - libdpkg: Pass struct compress_params as the first argument. - libdpkg: Pass struct compress_params to decompressors. - libdpkg: Refactor pkg_format_print() out from pkg_format_show(). - libdpkg: Do not restrict source:* virtual fields to installed packages. - libdpkg: Do not allow argv with no arguments. - update-alternatives: Refactor alternative_has_broken_symlink(). - update-alternatives: Move symlink removal inside fsys_symlink(). - update-alternatives: Move filename generation outside alternative setup. - dselect: Rework windows resize to be signal safe. - scripts: Expand long word list into one entry per line. - scripts/mk: Remove unneeded conditionals. Thanks to Nicolas Boulenguez . - scripts/mk: Indent code in Makefile fragments. Thanks to Nicolas Boulenguez . * Build system: - Terminate lists in variables with «# EOL». - Move build helper tools into build-aux/. - Reorganize dpkg programs source code under src/. - Move autotest suite under src/. - Move C test suite machinery into lib/dpkg/. - Fix relocated autotest test suite runner. - Fix gitignore for build-aux/ directory. - Namespace Config variable usage. Reported by Павловец Сергей Николаевич . - Add gitlab CI test for shared library building. - Link all programs against libcompat. Prompted by Jörg Sonnenberger . - Remove unused TESTDATA variable from autotest suite. - Rework TAP check hooking into the autotools machinery. - Move EXTRA_DIST close to the files it is acting on. - Refactor autotest dependencies into a new variable. - Refactor autotest machinery into an automake include file. - Fold autotest test suite machinery into src/ from src/at/. - Rename do_path_subst to do_make_subst. - Factor out installation variable substitution into a new subst.am file. - Move shell scripts into src/. - Make AS_TR_* calls more clear. - Support compression library names with dashes. - Add zlib-ng support. - Rename HAVE_LZMA_MT to HAVE_LZMA_MT_ENCODER. - Move zsh completion under a subdirectory. - Switch sed pseudo-in-place replace invocations with copy then move. - Add comment about «sed -i» not being portable. Prompted by Nicolas Boulenguez . - Mark libcompat and libdpkg as internal components in changelog. - Support specifying previous and next tags to gen-changelog. - Use non-capturing groups in regex in gen-changelog. - Do not hardcode «main» section for title check in gen-changelog. - Use sort flag instead of hardcoding the section in gen-changelog. - Do not put localization entries on their own changelog group. * Packaging: - Ignore directories for the alternatives state fixup. - Update bug-script to clarify usrmerge systems are unsupported. - Install aclocal m4 files into libdpkg-dev. - Install optional localized man pages with dh_installman. - Add a new not-installed file. - Switch to use the dh sequencer. - Make TESTSUITEFLAGS extensible. - Pass -jN to autotools autotest test suite via TESTSUITEFLAGS. - Update lintian overrides. - Use dpkg-error.sh in postinst. - Warn in postinst about merged-/usr-via-aliased-dirs breakage. * Test suite: - Move AT_TESTED to testsuite.at. - Run the tools with --version. - Rename DPKG_GEN_FILE to DPKG_GEN_CTRL_FILE. - Refactor control file template generation. - Rewrite dpkg-realpath test from TAP to autotest. - Rewrite dpkg-divert test from TAP to autotest. - Remove now unused TAP tests support from src/. - Print field type name instead of id in test case description. - Add new pkg-format unit tests. - Fix test_command_exec program invocation. Thanks to Sören Tempel . - Use a temporary file instead of unportable «sed -i». Prompted by Nicolas Boulenguez . - Add test case for SOURCE_DATE_EPOCH. Thanks to Nicolas Boulenguez . - Use «each» instead of «keys» and value fetching. Thanks to Nicolas Boulenguez . * Localization: - Remove previous msgid for non-fuzzy translations. - Update Catalan translations. - Update Dutch translation. Thanks to Frans Spiesschaert . - Update Swedish translations. Thanks to Peter Krefting . [ Sven Joachim ] * Localization: - Update German dselect translation. - Update German programs translation. [ Helge Kreutzmann ] * Localization: - Update German man pages translation. - Update German scripts translation. @ text @d1 1 a1 1 $NetBSD: patch-lib_dpkg_libdpkg.map,v 1.1 2020/05/22 01:24:36 joerg Exp $ d3 3 a5 1 --- lib/dpkg/libdpkg.map.orig 2020-05-22 00:11:43.620737999 +0000 d7 9 a15 5 @@@@ -353,6 +353,7 @@@@ LIBDPKG_PRIVATE { pkg_format_parse; pkg_format_show; pkg_format_free; + pkg_format_needs_db_fsys; d17 2 a18 2 # Package specifiers pkg_spec_is_illegal; @ 1.1 log @Fix various build issues. @ text @d1 1 a1 1 $NetBSD$ @