summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Raspbian automatic forward porter [Sat, 15 Mar 2025 01:22:01 +0000 (01:22 +0000)]
Merge version 1.22.15+rpi1 and 1.22.18 to produce 1.22.18+rpi1
Guillem Jover [Sun, 9 Mar 2025 18:00:01 +0000 (19:00 +0100)]
Merge dpkg (1.22.18) import into refs/heads/workingbranch
Guillem Jover [Sun, 9 Mar 2025 18:00:01 +0000 (19:00 +0100)]
dpkg (1.22.18) unstable; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Dpkg::OpenPGP::Backend::Sequoia: Add missing Dpkg::Gettext import.
Thanks to Yuri Konotopov <ykonotopov@gnome.org>. Closes: #
1099866
* Packaging:
- Bump Standards-Version to 4.7.2 (no changes needed).
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[dgit import package dpkg 1.22.18]
Peter Michael Green [Thu, 6 Mar 2025 16:01:09 +0000 (16:01 +0000)]
Manual merge of version 1.22.11+rpi1 and 1.22.15 to produce 1.22.15+rpi1
Guillem Jover [Mon, 3 Feb 2025 11:01:24 +0000 (12:01 +0100)]
Merge dpkg (1.22.15) import into refs/heads/workingbranch
Guillem Jover [Mon, 3 Feb 2025 11:01:24 +0000 (12:01 +0100)]
dpkg (1.22.15) unstable; urgency=medium
[ Guillem Jover ]
* 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.
Thanks to Michael Biebl <biebl@debian.org>. Closes: #
1093548
* Build system:
- Add array bounds warning.
- Add new dialect checks for strict flex array behavior and warnings.
- Add compiler hardening support.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
[dgit import package dpkg 1.22.15]
Guillem Jover [Thu, 16 Jan 2025 02:56:38 +0000 (03:56 +0100)]
Merge dpkg (1.22.14) import into refs/heads/workingbranch
Guillem Jover [Thu, 16 Jan 2025 02:56:38 +0000 (03:56 +0100)]
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. Closes: #
1092653
* Make fragments:
- Use flavor to avoid re-caching empty variables. See #
1092051.
* 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) <phls@debian.org>.
Closes: #1092593
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
[dgit import package dpkg 1.22.14]
Raspbian automatic forward porter [Sun, 18 Aug 2024 06:12:36 +0000 (07:12 +0100)]
Merge version 1.22.10+rpi1 and 1.22.11 to produce 1.22.11+rpi1
Raspbian automatic forward porter [Fri, 2 Aug 2024 12:21:05 +0000 (13:21 +0100)]
Merge version 1.22.9+rpi1 and 1.22.10 to produce 1.22.10+rpi1
Guillem Jover [Thu, 1 Aug 2024 10:39:16 +0000 (12:39 +0200)]
Merge dpkg (1.22.11) import into refs/heads/workingbranch
Guillem Jover [Thu, 1 Aug 2024 10:39:16 +0000 (12:39 +0200)]
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.
[dgit import package dpkg 1.22.11]
Raspbian automatic forward porter [Sun, 28 Jul 2024 01:08:32 +0000 (02:08 +0100)]
Merge version 1.22.7+rpi1 and 1.22.9 to produce 1.22.9+rpi1
Guillem Jover [Sat, 27 Jul 2024 03:43:38 +0000 (05:43 +0200)]
Merge dpkg (1.22.10) import into refs/heads/workingbranch
Guillem Jover [Sat, 27 Jul 2024 03:43:38 +0000 (05:43 +0200)]
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".
Closes: #1076904, #1077005
* 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.
[dgit import package dpkg 1.22.10]
Raspbian automatic forward porter [Thu, 25 Jul 2024 05:39:38 +0000 (06:39 +0100)]
Merge version 1.22.6+rpi1 and 1.22.7 to produce 1.22.7+rpi1
Guillem Jover [Wed, 24 Jul 2024 21:02:45 +0000 (23:02 +0200)]
Merge dpkg (1.22.9) import into refs/heads/workingbranch
Guillem Jover [Wed, 24 Jul 2024 21:02:45 +0000 (23:02 +0200)]
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.
Closes: #1076863
* Code internals:
- dpkg-deb: Track maintscript information in a new struct.
* Test suite:
- Fix typos in Makefile comments.
[dgit import package dpkg 1.22.9]
Guillem Jover [Tue, 16 Jul 2024 23:10:42 +0000 (01:10 +0200)]
Merge dpkg (1.22.7) import into refs/heads/workingbranch
Guillem Jover [Tue, 16 Jul 2024 23:10:42 +0000 (01:10 +0200)]
dpkg (1.22.7) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-buildpackage: Remove fallback handling for missing required targets.
* dpkg-buildpackage: Fix the debian/rules executable check to respect -R.
* dpkg-realpath: Rewrite in C.
* Revert "test: Pass -T+1 to xz to workaround spurious warning with xz
5.6.0".
* dpkg-genbuildinfo: Parse Provides as virtual packages.
* dpkg: Do not run hooks or loggers with --dry-run or while unprivileged.
Closes: #1071124
* dpkg-shlibdeps: Add support for new --package option.
* dpkg-buildpackage: Make newline injection during signing GnuPG specific.
See https://dev.gnupg.org/T7106.
* dpkg-realpath: Do not allow an empty pathname argument.
* dpkg-buildpackage: Add support for building from a specified .dsc or dir.
* dpkg-buildpackage: Reference the .dsc in .buildinfo if building from one.
Closes: #882511
* Perl modules:
- Dpkg::BuildDriver: Refactor build driver out of dpkg-buildpackage.
- Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of
-fno-cf-protection. Thanks to Matthias Klose <doko@ubuntu.com>.
- Dpkg::Vendor::Debian: On native builds map *_FOR_BUILD flags to * flags.
Closes: #1072332
- Dpkg::OpenPGP::ErrorCodes: Update error codes from SOP draft version 10.
See https://ietf.org/archive/id/draft-dkg-openpgp-stateless-cli-10.html.
- Dpkg::Vendor::Debian: Set -Wno-error on qa=-bug-implicit-func.
Closes: #1075769
- Dpkg::Shlibs::Cppfilt: Normalize demangled symbols with llvm or C++11
format.
- Dpkg::Archive::Ar: New module.
- Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env.
- Dpkg::Substvars: Add support for required substvars assigned with !=.
- Dpkg::Source::Package: Document method additions with an object.
- Dpkg::Source::Package::V3::Bzr: Remove unused variables.
- Dpkg::Source::Package: Add a new get_basedirname() method.
* Make fragments:
- Protect files against double inclusion.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Use filter instead of findstring.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Use explicit test of $(origin) instead of ?=.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Search once for parallel= in DEB_BUILD_OPTIONS.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Generate the _FOR_BUILD variant of each variable automatically.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Reduce the number of subprocesses.
Thanks to Nicolas Boulenguez <nicolas@debian.org>. Closes: #872381
- Stop hard-coding dpkg_datadir.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
* Documentation:
- doc: Add missing full stop to end of sentence.
- man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands.
Prompted by Thorsten Glaser <tg@mirbsd.de>.
- man: Add new libdpkg(7) manual page.
- man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring
them.
- man: Document missing Packages front-end fields in dpkg-query(1).
- man: Document weak checksum algorithms.
- man: Update verify format example to also include M.
- doc: Fix grammar for fallback.
- doc: Fix casing after admonition.
* Code internals:
- libdpkg: Factor out filesystem database file loading into new function.
Based on a patch by Simon Richter <sjr@debian.org>.
- libcompat: Include missing <string.h> in strnlen module.
Reported by Simon Richter <sjr@debian.org>.
- dpkg-buildpackage: Refactor build target hook execution.
- libdpkg: Handle readlink() failures in file_readlink().
- libdpkg: Change varbuf_get_str() to return "" instead of initializing it.
- libdpkg: Rename varbuf_get_str() to varbuf_str().
- Use varbuf_str() instead of direct access.
- libdpkg: Always NUL terminate varbufs.
- libdpkg: Remove varbuf_end_str() function.
- libdpkg: Add support for DPKG_NLS environment variable.
- libdpkg: Add new varbuf prefix and suffix handling functions.
- libdpkg: Add new file_getcwd() function.
- dpkg: Use a variable for each conffile pathname type.
- src: Fix timestamp parse error reporting. See #
1069846.
- src: Check whether SOURCE_DATE_EPOCH is set before parsing it.
Based on a patch by Rainer Weikusat <rweikusat@cyberadapt.com>.
Closes: #1069846
- libdpkg: Add missing header includes.
- libdpkg: Make file_slurp_fd() NUL-terminate the varbuf.
- libdpkg: Refactor lax problem reporting into parse_lax_problem()
function.
- libdpkg: Turn the warning on Provides version relation into a lax error.
See #930317.
- libdpkg: Make varbuf_detach() always return a string.
- libdpkg: Factor fsys_list_parse_buffer() out of
ensure_packagefiles_available().
- dpkg-shlibdeps: Refactor executable CLI parsing.
- dpkg: Refactor conffile disappearing check into a new function.
- Merge conffile obsolete and remove-on-upgrade into a single flags member.
- lib, src: Include missing <stdbool.h>.
Reported by Simon Richter <sjr@debian.org>.
- dpkg-ar: New internal ar implementation script.
- start-stop-daemon: Fix typos in code comments.
- libcompat: Fix vasprintf() to error out if vsnprintf() returns >=
INT_MAX.
- libdpkg: Do not accept len >= INT_MAX in fd_read() and fd_write().
- dpkg-realpath: Switch direct varbuf accesses to varbuf_str().
- Revert "dpkg-realpath: Switch direct varbuf accesses to varbuf_str()".
See https://bugs.debian.org/
1076061.
- dpkg-realpath: Guarantee varbufs have been allocated.
- Check for < 0 instead of == -1 from syscall return values.
- Check for >= 0 instead of != -1 for syscall return values.
- dpkg: Check for < 0 instead of == -1 for conffderef() return values.
- libdpkg: Check for limit >= 0 instead of != -1 in buffer_copy().
- libdpkg: Check for updateslength < 0 instead of == -1 in ulist_select().
- dselect: Use enum values instead of literal integers.
- libdpkg: Add new execname module.
- libdpkg: Try to print the executable name of the lock contending process.
Closes: #1070027
- perl: Use new Dpkg::Source::Package->get_basedirname() method.
* Build system:
- Re-enable the sanitizer for functional tests in CI.
- Add missing space before backslash line continuation character.
- Unconditionally include <stddef.h>.
- Do not check for memcpy(). Reported by Simon Richter <sjr@debian.org>.
- Do not check for functions used unconditionally.
- Partially revert the sanitizer for some functional tests in CI.
- Print the release version at the end of configure.
- Add support to track release VCS commit id.
- Pass abs_srcdir and abs_builddir to the TAP driver.
- Rework subst handling for built or installed artifacts.
- Workaround Tap::Harness verbose misbehavior on parallel mode.
See https://github.com/Perl-Toolchain-Gang/Test-Harness/issues/105.
- Fix test verbose and parallel option propagation.
- Add missing files and sort POTFILES.in.
- Check whether HAVE_* macros for headers are defined.
- Include a .dist-vcs-url file in the distributed tarball.
- Do not include VCS specific files in the distributed tarball.
* Packaging:
- Suppress start-stop-daemon compat symlink if /sbin is missing.
Thanks to Johannes Schauer Marin Rodrigues <josch@debian.org>.
Closes: #1071078
* Test suite:
- Do not fail the functional test suite due to memory leaks.
- Pass --check-level=exhaustive to cppcheck.
- Unset DEB_BUILD_MAINT_OPTIONS in build flags tests.
- Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Use loops instead of repetitions in mk fragment tests.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Replace double quotes with single quote in shell recipes.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Test exported variables in addition to Make variables.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Test variable override.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Test DEB_CXXFLAGS_MAINT_SET.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Add missing test for CPP build tool.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Test override of a build tool.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Refactor real and virtual package setup.
Based on a patch by Johannes Schauer Marin Rodrigues <josch@debian.org>.
- Set CC to gcc in make fragments functional tests.
- Parametrize all Makefile fragment functional tests.
- Clarify the Makefile fragment variable being tested via comments.
- Add new DPKG_CHECK_DIFF macro to abstract file comparisons.
- Only execute Dpkg::Shlibs checks on ELF platforms.
- Unify all ar invocations into create, extract and list.
- Refactor ar handling into m4 macros.
- Switch ar m4 macros to use internal dpkg-ar implementation.
* Localization:
- Update Dutch man pages translations.
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
Closes: #1070144
- Update Swedish translations.
Thanks to Peter Krefting <peter@softwolves.pp.se>. Closes: #
1070011
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
[dgit import package dpkg 1.22.7]
Raspbian automatic forward porter [Sat, 1 Jun 2024 11:54:11 +0000 (12:54 +0100)]
Merge version 1.22.5+rpi1 and 1.22.6 to produce 1.22.6+rpi1
Guillem Jover [Sun, 10 Mar 2024 19:21:24 +0000 (20:21 +0100)]
Merge dpkg (1.22.6) import into refs/heads/workingbranch
Guillem Jover [Sun, 10 Mar 2024 19:21:24 +0000 (20:21 +0100)]
dpkg (1.22.6) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-deb: Fix up compressor parameters for default legacy format.
* Perl modules:
- Dpkg::Vendor::Debian: Make it possible to disable qa=-bug-implicit-func.
Closes: #1065371
- Dpkg::Vendor::Debian: Unconditionally set qa bug-implicit-func.
See #
1065371.
* Documentation:
- man: Document dpkg versions supporting SOURCE_DATE_EPOCH for various
tools.
* Code internals:
- libdpkg: Use array access instead of pointer arithmetic for meminfo
parser.
- libdpkg: Use a macro to define the zstd default compression level.
* Build system:
- Test with minimal library dependencies in CI.
- Add gen-release script.
* Packaging:
- Fix typo in man page reference in changelog.
* Test suite:
- Refactor OpenPGP backend and commands list.
- Refactor certfile and keyfile filenames for OpenPGP test.
- Skip OpenPGP tests if the backend does not have a verify command.
Closes: #1065648
* Localization:
- Fix typos in Swedish man pages translations.
Thanks to Andreas Rönnquist <gusnan@debian.org>. Closes: #
1065672
- Fix typos in Swedish man pages translations. Closes: #
1065575
- Update Dutch man pages translations.
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
Closes: #1065518
- Update Portuguese man pages translations.
Thanks to Américo Monteiro <a_monteiro@gmx.com>. Closes: #
1065401
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
[dgit import package dpkg 1.22.6]
Raspbian automatic forward porter [Tue, 27 Feb 2024 16:21:27 +0000 (16:21 +0000)]
Merge version 1.22.4+rpi1 and 1.22.5 to produce 1.22.5+rpi1
Guillem Jover [Tue, 27 Feb 2024 03:28:03 +0000 (04:28 +0100)]
Merge dpkg (1.22.5) import into refs/heads/workingbranch
Guillem Jover [Tue, 27 Feb 2024 03:28:03 +0000 (04:28 +0100)]
dpkg (1.22.5) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-buildapi: Remove -v alias for --version.
* dpkg-query: Fix exit codes for --show. Closes: #
1064036
* Perl modules:
- Dpkg::OpenPGP::Backend::Sequoia: Update to new CLI API changes.
- Dpkg::OpenPGP::Backend::GnuPG: Add support for Sequoia gpg Chameleon.
- Dpkg::Vendor::Debian: Only append branch compiler flags if $flag is set.
- Dpkg::Vendor: Make the add_build_flags() a non-private method.
- Dpkg::Vendor::Ubuntu: Pass compiler flags to disable features.
Based on a patch by Matthias Klose <doko@ubuntu.com>.
- Dpkg::Vendor::Debian: Enable time64 feature by default except on
<some>-i386. Closes: #
1037136
Based on a patch by Steve Langasek <steve.langasek@ubuntu.com>.
- Dpkg::Vendor::Debian: Enable qa=+bug-implicit-func for abi=+time64
feature. Based on a patch by Steve Langasek <steve.langasek@ubuntu.com>.
* Documentation:
- man, doc: Fix dpkg-buildapi option and command grouping in descriptions.
- man: Add spaces around make variable assignments.
- man: Do not duplicate list of known feature areas in dpkg-buildflags.
- man: Document known feature areas in DEB_BUILD_OPTIONS for
dpkg-buildpackage.
- man: Improve build flags feature specification in environment variables.
Closes: #1063641
- man: Use L</> markup for inter link reference.
- man: Mention Build-Depends-Packages in dpkg-shlibdeps(1).
* Code internals:
- libdpkg: Add comment clarifying GNU long name tar format expectations.
- libdpkg: Use an intermediate mode variable in secure_unlink_statted().
- dpkg: Rename symlink_len to linksize.
- dpkg: Rename r variable for readlink() return value to linksize.
- dpkg: Reduce variable scope in conffderef().
- libdpkg: Refactor file_readlink() function.
- libdpkg: Deindent an else clause.
- lib, src: Fold if with last previous else.
- perl: Fold if into previous else.
- dpkg-mergechangelogs: Refactor merge_tail() sub from anonymous sub.
- dpkg-query: Rename rc variables tracking no matches to misses.
- dpkg-query: Rename failures variables tracking no matches to misses.
* Build system:
- Rename pkexec variables to polkitactions.
- Move directory definitions to configure.
- Use PACKAGE_TARNAME for pathname components in directories.
- Split each automake variable value into its own line.
- Reorder automake variables.
- Move update-alternatives rules within automake conditional.
- Move MD_LIBS from LDFLAGS to LDADD for libdpkg.
- Fix libdpkg library flags for static and dynamic linking.
- Add infrastructure for bash-completions.
* Test suite:
- Pass -T+1 to xz to workaround spurious warning with xz 5.6.0.
Closes: #1064856
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[dgit import package dpkg 1.22.5]
Raspbian forward porter [Thu, 8 Feb 2024 12:34:45 +0000 (12:34 +0000)]
Merge dpkg (1.22.4+rpi1) import into refs/heads/workingbranch
Raspbian forward porter [Thu, 8 Feb 2024 12:34:45 +0000 (12:34 +0000)]
dpkg (1.22.4+rpi1) trixie-staging; urgency=medium
[changes brought forward from 1.20.5+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sun, 02 Aug 2020 12:08:02 +0000]
* Hack up Vendor.pm so it doesn't fail
(see https://lists.debian.org/debian-dpkg/2020/08/msg00004.html )
[changes introduce in 1.21.17+rpi1 by Peter Michael Green]
* disable testsuite.
[dgit import package dpkg 1.22.4+rpi1]
Guillem Jover [Wed, 24 Jan 2024 12:12:31 +0000 (13:12 +0100)]
Merge dpkg (1.22.4) import into refs/heads/workingbranch
Guillem Jover [Wed, 24 Jan 2024 12:12:31 +0000 (13:12 +0100)]
dpkg (1.22.4) unstable; urgency=medium
[ Guillem Jover ]
* 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.
Closes: #1061404
- 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.
[dgit import package dpkg 1.22.4]
Guillem Jover [Mon, 18 Dec 2023 02:37:08 +0000 (03:37 +0100)]
Merge dpkg (1.22.2) import into refs/heads/workingbranch
Guillem Jover [Mon, 18 Dec 2023 02:37:08 +0000 (03:37 +0100)]
dpkg (1.22.2) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-shlibdeps: Do not require debian/control when parsing CLI options.
Closes: #1055536
* Architecture support:
- Remove arm64ilp32 support.
See https://lists.debian.org/debian-dpkg/2023/11/msg00007.html.
- Remove uclinux support.
See https://lists.debian.org/debian-dpkg/2023/11/msg00012.html.
- Remove knetbsd-any support.
- Restrict kfreebsd ports to amd64 and i386.
- Restrict kopensolaris ports to amd64 and i386.
- Restrict hurd ports to amd64 and i386.
- Restrict dragonflybsd ports to amd64.
- Restrict aix ports to powerpc and ppc64.
- Restrict solaris ports to amd64, i386, sparc and sparc64.
- Restrict darwin ports to amd64, arm, arm64, i386, powerpc and ppc64.
- Restrict freebsd ports to amd64, arm, arm64, i386, powerpc, ppc64, riscv.
- Split tupletable header names description into two paragraphs.
* Perl modules:
- Dpkg::OpenPGP::Backend::Sequoia: Switch to use --signer-file.
- Dpkg::Vendor::Debian: Mask PIE for alpha and ia64. Closes: #
1040062
- Dpkg::Control::Types: Add aliases for type enumerations.
* Documentation:
- man: Add dpkg-build-api behavior for Rules-Requires-Root field defaults.
- man: Improve description for dpkg-build-api v1 items.
- doc, man: Clarify terminology for Debian control files.
* Code internals:
- libcompat: Disable VLA usage for gettext.h.
- libdpkg: Remove dead code after non-returning error function call.
- libdpkg: Mark varbuf constructor as explicit.
- Reduce variables scope.
- update-alternatives: Wrap the bad_format() function pointer call into a
new function.
- start-stop-daemon: Rename local variables shadowing global info()
function name.
- libdpkg: Add underscore after NO to FHFF_NONEW and FHFF_NOCOPY enum
values.
- Use FHFF_NONE instead of a literal 0 in calls to fsys_hash_find_node().
Reported by Alexandre Detiste <alexandre.detiste@gmail.com>.
- dpkg-split: Change heading print logic to use a proper boolean.
- dpkg-shlibdeps: Defer add_library_dir() calls after option parsing.
- libdpkg: Remove unused DEFAULTSHELL and DEFAULTPAGER macros.
- dpkg-buildapi: Do not include newline in Usage text to be translated.
* Build system:
- Check whether we need to linkg against libtinfo explicitly.
- Add support for structured procfs via struct psinfo.
- Replace action-if-found with : for extra libselinux check.
- Check and print sizeof off_t and time_t on the configure summary.
* Packaging:
- Use installtest instead of test target in autopkgtests.
* Test suite:
- Reorder check on whether pkg is NULL.
- Split and sort cppcheck arguments to be one per line.
- Remove unused cppcheck suppressions.
- Improve cppcheck coverage.
- Pass -I<builddir> to cppcheck instead of «.» if <builddir> is defined.
* Localization:
- Update Catalan translations.
- Update Dutch translations.
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
Closes: #1058631, #1058637
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[dgit import package dpkg 1.22.2]
Guillem Jover [Mon, 30 Oct 2023 03:14:22 +0000 (04:14 +0100)]
Merge dpkg (1.22.1) import into refs/heads/workingbranch
Guillem Jover [Mon, 30 Oct 2023 03:14:22 +0000 (04:14 +0100)]
dpkg (1.22.1) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-deb: Reject --no-uniform-compression with format 0.939000.
* dpkg-deb: Force deb format 0.939000 to use gzip compression.
* update-alternatives: Fix typo in comment.
* update-alternatives: Unvendor documentation and --version output.
* scripts: Remove unused GCJ and GCJFLAGS support.
* scripts: Add basic support for _FOR_BUILD build flags.
* Perl modules:
- Dpkg::BuildAPI: Move DESCRIPTION before package declaration.
- Dpkg::Source::Archive: Use $Dpkg::PROGTAR instead of tar in error
message.
- Dpkg::Source::Patch: Warn when patching hard linked files.
- Dpkg::Vendor::Debian: Mark loong64 as having pie builtin.
Thanks to yalingfang <fangyaling@loongson.cn>. Closes: #
1053778
- Dpkg::BuildFlags: Refactor flags initialization by using a single list.
- Dpkg::Deps: Implicitly enable build_deps option on tests_deps.
Closes: #1053481
- Dpkg::Vendor::Debian: Fix stackclash condition to enable the feature
on armhf and armel. Closes: #
1054583
* Make fragments:
- Wrap DPKG_BUILDFLAGS_LIST into one entry per line.
* Documentation:
- man: Fix typo in stackclash feature name in dpkg-buildflags(1).
- doc: Fix typos in code comments.
- doc: Use macOS instead of Mac OS X in code comments.
- man: Document the list of editors tried on dpkg-source --commit.
Closes: #1051209
- doc: Update R³ default values to take dpkg-build-api into account.
- man: Clarify Maintainer field in dpkg-parsechangelog(1). See #
1053705.
- man: Document all dpkg-parsechangelog(1) output fields.
- doc, man: Use manual page instead of manpage.
- doc, man: Use field name or field-name instead of fieldname.
- man: Use web interface instead of both terms concatenated.
- man: Hyphenate 32-bit and 64-bit.
- doc, man: Use L</> markup for inter link references.
- doc: Use name() POD syntax instead of C<>, B<> or L<> for function names.
- doc: Use name() POD syntax instead of a bare function name.
- doc: Simplify references in CHANGES sections.
- doc, man: Use L<> for manual page references.
- doc, man: Use media discs instead of CD-ROM.
- man: Use /media/bdrom instead of /media/cdrom.
- man: Fix grammar in dpkg --force-confdef description.
- man: Avoid redundant action list in dpkg invoke hook description.
- man: Document the intermediary filenames used during unpack and
configure. Prompted by Florian Weimer <fweimer@redhat.com>.
See https://sourceware.org/pipermail/libc-alpha/2023-October/152245.html.
- man: Update dpkg EXAMPLES section.
- man: Recommend debsig-verify instead of debsums for additional
functionality.
- doc: Clarify compiler flag variables are for the host.
* Code internals:
- src: Use DEBEXT instead of hard-coding ".deb".
- dpkg-deb: Initialize threads_max in no-uniform-compression mode.
- dpkg-deb: Refactor legacy compress_params.
- libdpkg: Refactor struct treewalk_funcs compound initializer into a
macro.
- libdpkg: Initialize TREEWALK_OBJECT with a 0.
- libdpkg: Define DPKG_NULL to nullptr on C23 mode.
- libcompat: Fix comparison of integers of different sign in
obstack_blank().
- libcompat: Declare exit_failure as an extern variable.
* Build system:
- Remove dpkg prefix from default deb compressor configure knobs.
- Parametrize dpkg-deb default compressor in man page.
- Use TAR variable from configure instead of hard-coded tar.
- Split sanitizer CI unit tests from author checks.
- Rename the shared library CI tests to shlib-tests.
- Run make in parallel for autotest and TAP CI test jobs.
- Make default shell and pager selectable at configure time.
- Handle almost-POSIX shells that do not support -- after -c.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274650.
- Check for available pagers during configure.
- Add comment for the system the DPKG_LIB_SOCKET m4 macro is needed.
* Packaging:
- Do not stop the dpkg-db-backup timer and service during upgrade.
Closes: #1051085
- Fix typos in debian/control comments.
* Test suite:
- Update cppcheck suppressions for 2.12.0.
- Add installtest target and make test use the build tree programs.
- Add new DPKG_CWD m4 macro.
- Do not use -T for ln calls.
- Generate the .deb from scratch instead of adapting them.
- Update suppressions for codespell 2.2.6.
- Use «\\n» after «a» and «c» sed commands.
- Use perl instead of dd to create a zero-filled file.
- Pass argument S to ar to avoid generating a symbol table.
- Replace SED usage with PERL.
- Include <sys/mkdev.h> on Solaris for major() and minor().
* Localization:
- Update Dutch translations.
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
Closes: #1053235, #1053236, #1053237
- Update Portuguese man pages translation.
Thanks to Américo Monteiro <a_monteiro@gmx.com>. Closes: #
1051634
- Update Romanian dselect translation.
Thanks to Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>.
Closes: #1053364
- Update Romanian programs translation.
Thanks to Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>.
Closes: #1054196
- Update Swedish translations.
Thanks to Peter Krefting <peter@softwolves.pp.se>. Closes: #
1054510
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
[dgit import package dpkg 1.22.1]
Guillem Jover [Wed, 30 Aug 2023 03:39:24 +0000 (04:39 +0100)]
Merge dpkg (1.22.0) import into refs/heads/workingbranch
Guillem Jover [Wed, 30 Aug 2023 03:39:24 +0000 (04:39 +0100)]
dpkg (1.22.0) unstable; urgency=medium
[ Guillem Jover ]
* dpkg: Do not reset the line number for each --command-fd parsed command.
* dselect: Add non-free-firmware archive area support.
* dselect: Relicense ftp method from GPL-2 to GPL-2+.
* dpkg-deb: Do not print trailing spaces in --info output.
* dpkg: Clarify that commands can take package-name or --pending in error
message. Closes: #
1034466
* Remove avr32, m32r and tilegx obsolete architectures.
See Linux commit
26202873bb51fafdaa51be3e8de7aab9beb49f70 (avr32).
See Linux commit
553b085c2075f6a4a2591108554f830fa61e881f (m32r).
See Linux commit
bb9d812643d8a121df7d614a2b9c60193a92deb0 (tile).
* dpkg-db-keeper: Add helper script to assist with tracking database changes.
* dpkg-buildpackage: Add support for new preinit hook. Closes: #
1023753
* dselect: Remove handling of .GZ, .Z and .z compressed Package files.
* dselect: Fix stdout+stderr discarding redirection in ftp method.
Prompted by shellcheck.
* dpkg-buildpackage: Fix build hook action substitution string handling.
* dpkg-buildpackage: Set the hook options in an environment variable.
Closes: #902856
* dpkg-buildpackage: Set DPKG_BUILDPACKAGE_HOOK_NAME envvar for hooks.
* dpkg-buildpackage: Handle missing information for hook substitutions.
* dpkg-deb: Fix short lived memory leak after fork().
* Switch from pkg-config to pkgconf.
* dpkg: Handle non-existent .dpkg-tmp files on read-only filesystems.
Closes: #1030149
* dpkg-buildpackage: Fix R³ namespace check to only refuse unknown dpkg
keywords. Closes: #
1036865
* dpkg-buildapi: New tool to fetch the dpkg-build-api level.
* dpkg-shlibdeps: On dpkg-build-api >= 1 require -l instead of
LD_LIBRARY_PATH.
* dpkg-buildpackage: On dpkg-build-api >= 1 default R³ to no.
* dpkg-buildpackage: On dpkg-build-api >= 1 avoid build target heuristics.
* Mark dpkg-build-api level 1 as stable.
* Architecture support:
- Restore "arch: Add support for loong64 CPU". Closes: #
1028654
* Perl modules:
- Dpkg::OpenPGP::ErrorCodes: Add new OPENPGP_CMD_CANNOT_SIGN error code.
- Dpkg::OpenPGP::Backend::GnuPG: On signing failure use
OPENPGP_CMD_CANNOT_SIGN. Closes: #
1030271
- Dpkg::Shlibs::Objdump::Object: Split from Dpkg::Shlibs::Objdump.
- Dpkg::Control::HashCore::Tie: Split from Dpkg::Control::HashCore.
- Dpkg::Vars: Fold into Dpkg::Package.
- Dpkg::Package: Rename source_package symbols to source_name.
- Dpkg::Changelog::Parse: Fix indentation of copyright and license notice.
- Dpkg::Version: Update POD for removed semantic_change::overload::bool
warning.
- Dpkg::Gettext: Relicense from BSD-2 to GPL-2+.
- Dpkg::Source::Archive: Fix file normalization for relative pathnames.
- Dpkg::Source::Archive: Reflow regex match in _add_entry().
- Dpkg::Control::FieldsCore: Deprecate implicit field_transfer_single()
argument.
- Dselect::Method::Ftp: Rename from Dselect::Ftp.
- Dselect::Method::Ftp: Modify config and site subs towards method
independence.
- Dselect::Method: Move to be generic functions from Dselect::Ftp.
- Dselect::Method::Ftp: Update package name.
- Dpkg::Vendor::Debian: Add time64 feature in the future area.
Based on a patch by Helge Deller <deller@gmx.de>. Closes: #
1030159
- Dpkg::Control::HashCore::Tie: Rename $last to $prev.
- Dpkg::Substvars: Handle exponential expansion gracefully.
- Dpkg::Shlibs::Objdump: Remove unsupported ELF machine types.
- Dpkg::Shlibs::Objdump: Add ELF machine types for all supported arches.
- Dpkg::Shlibs::Objdump: Add RISC-V ELF ABI tracking.
- Dpkg::Shlibs::Objdump: Add OR1K ELF ABI tracking.
- Dpkg::Shlibs::Objdump: Switch get_format() to return a colon-separated
string.
- Dpkg::Shlibs::Objdump: Add back the ARM ABI mismatch mask but commented
out. See #853793.
- Dpkg::Source::Quilt: Switch get_db_file() to be based off get_db_dir().
- Dpkg::Vendor::Debian: Mark PIE as builtin on hurd-amd64.
- Dpkg::Vendor::Debian: Only use ABI bits to suppress LFS or time64
features.
- Dpkg::Vendor::Debian: Only enable LFS when time64 is enabled for glibc.
- Dpkg::Vendor::Debian: Invert time64 suppression list logic.
- Dpkg::Vendor::Debian: Ignore musl libc systems for time64 suppression.
- Dpkg::Vendor::Debian: Add fallback values for ABI attributes.
- Dpkg::Source::Package::V2: Mark single-debian-patch as not needing
forwarding. Closes: #
1038121
- Dpkg::Vendor::Debian: Sync builtin pie arches with gcc-13.
- Dpkg::Vendor::Debian: Move time64 buildflags feature from future to abi.
Suggested by Steve Langasek <vorlon@debian.org>.
- Dpkg::Vendor::Debian: Move lfs from future to abi area and create an
alias. Suggested by Steve Langasek <vorlon@debian.org>.
- Dpkg::Vendor::Debian: Move builtin default setup before
init_build_features().
- Dpkg::Vendor::Debian: Handle abi feature flags as builtin.
- Dpkg::Vendor::Debian: Add support for new hardening branch feature.
Closes: #1021292
- Dpkg::Vendor::Debian: Add support for new stackclash hardening feature.
Closes: #918914
- Dpkg::Source::Quilt: Switch get_patch_file() to be based off
get_patch_dir().
- Dpkg::BuildAPI: New module.
* Make fragments:
- Add new buildapi.mk support.
- On dpkg-build-api >= 1 default to dpkg_vendor_derives_from_v1.
- On dpkg-build-api >= 1 include buildtools.mk in default.mk.
* Documentation:
- man: Add notes about reproducibility properties for path fixing build
features. Prompted by Sven Joachim <svenjoac@gmx.de>.
- man: Itemize remaining lists.
- man: Unify admonition markup and formatting.
- man: Move shell redirection operator close to the redirected file.
- man: Add versions where build flag features were added.
- doc: Update triggers spec.
- man: Fix OpenPGP backends list in dpkg-buildpackage(1).
- doc: Use «honor» and «behavior» uniformly in documentation and output.
- man: Clarify that dpkg-reconfigure is part of the debconf project.
- doc: Add a Status field to frontend-api spec.
- man: Clarify shared library name formats and their purpose.
- man: Add SECURITY sections.
- man: Spell out «manual page».
- man: Clarify C.UTF-8 locale setting hint. Closes: #
1028296
- man: Update methods provided by dselect(1).
- man: Turn buildinfo filename format selection into a list.
- man: Itemize supported deb-changelog(5) keyword/value entries.
- doc: Move Perl version baseline as the first perl coding style
subsection.
- doc: Clarify required C/C++ standards.
- doc: Require POSIX.1-2008.
- man: Mention .buildinfo in dpkg-buildpackage --sign-command description.
- doc: Fix typo.
- man: Document known DEB_BUILD_OPTIONS options. Closes: #
1038888
- man: Clarify the md5sums checks as integrity and not security checks.
Prompted by Sebastian Andrzej Siewior <sebastian@breakpoint.cc>.
- man: Clarify dpkg-architecture -c option.
Prompted by Paul Wise <pabs@debian.org>.
- man: Document version when new programs where introduced.
- man: Fix typo in future lfs feature introduction version.
- man: Open up dpkg-build-api level 1.
* Code internals:
- libdpkg: Move early return into the loop.
- libdpkg: Remove impossible condition.
- libdpkg: Turn bitmask parse_nv_flags into an actual enum parse_nv_mode.
- libdpkg: Move parse_nv() next word check inside else block.
- dpkg: Remove path_quote_filename() usage.
- dselect: Reduce variables scope.
- libcompat: Reduce variables scope.
- libdpkg: Reduce variables scope.
- update-alternatives: Reduce variables scope.
- src: Reduce variables scope.
- libdpkg: Rename mlib module to mustlib.
- dselect: Remove unused trailing semicolons.
- libdpkg: Surround macro within a do-while block.
- perl: Add $VERSION to all embedded perl packages.
- perl: Add POD to all private modules. Closes: #
1030660
- perl: Move POD sections before what they describe.
- scripts: Unpack function arguments.
- scripts: Remove duplicate variable declaration.
- dselect: Reduce variable scope to avoid shadowing.
- perl: Move $VERSION into package keyword.
- perl: Remove unused Dpkg::Version semantic_change warning suppression.
- scripts: Use «(undef) x N» to ignore tuples or function returns.
- perl: Stop removing «.» from @INC before loading modules.
- dpkg-scansources: Reorder captured variable and regex match.
- perl: Use List::Util instead of fixed string matches within a regex.
- perl: Pass $_ explicitly to field_transfer_single().
- perl: Rename filename related variables to distinguish them from field
ones.
- dpkg-genchanges: Move comment describing %sourcedefault before
declaration.
- perl: Rename Dpkg::Control variables from $f to $c or $ctrl.
- perl: Use an $f variable for fields instead of the topic variable.
- perl: Use fixed string comparisons for field name matches.
- scripts: Switch code to use chained comparisons.
- dselect: Update Andy Guy email address.
- dselect: Remove unused ismulti() function from media method actions.
- dpkg-deb: Use intermediate variable for exec mark on --info output.
- dpkg-deb: Refactor maintscript interpreter parser.
- dpkg-deb, dpkg-query: Rename option flags to opt_NAME.
- dpkg-trigger: Rename CLI option variables from f_ to opt_.
- libcompat: Declare variables before definitions.
- libdpkg: Make local variables static.
- libdpkg: Rename FHFF_NONE to FHFF_NONEW.
- libdpkg: Switch bitmasks enumerations into precise masks.
- libdpkg: Add enumerations for the default, unset and max cases.
- libdpkg: Add warning suppression macros.
- lib: Add an enum flags attribute.
- lib, src, utils: Use new enum flag C attributes.
- libdpkg: Unconditionally initialize c variable in parse_stanza().
- start-stop-daemon: Initialize variables in run_stop_schedule().
- dpkg-genchanges: Refactor .changes file description formatting into a
function.
- dpkg-genchanges: Replace Encode usage with utf8 encode/decode functions.
- dpkg-gensymbols: Use File::Compare instead of Digest::MD5.
- dselect: Reword odd code comment.
- dselect: Use «color» uniformly in variables and comments.
- libdpkg: Handle missing Version when formatting source:Upstream-Version.
Reported by John Scott <jscott@posteo.net>.
- perl: Remove «1;» from end of script in programs.
- libdpkg: Pass -- after sh -c to avoid bogus option parsing.
Prompted by Joe Simmons-Talbott <josimmon@redhat.com> (on libc-alpha).
- libdpkg: Mask the mode from the tar entry to only the file mode bits.
- lib: Define __has_include fallback if the compiler does not support it.
- libdpkg: Simplify progress output by using fputs() and putchar().
- libdpkg: Mark the progress percentage for translation. See #
1034378.
- dpkg-buildpackage: Turn items into lists for easier extensibility.
- libdpkg: Make headers self-contained.
Thanks to Simon Richter <sjr@debian.org>.
- libdpkg: Mark functions in headers as inline.
Thanks to Simon Richter <sjr@debian.org>.
- scripts: Do not set LANG unnecessarily.
- dpkg: Move comment next to the code it is describing.
- dpkg-buildpackage: Move hook invocation closer to artifact creation.
- dpkg-buildpackage: Default the enabled run_hook() parameter to true.
- dpkg-buildpackage: Turn the run_hook() enabled argument into a hash
option.
- libcompat: Use ptrdiff_t directly instead of using a macro.
- libcompat: Update getopt code from gnulib.
- libdpkg: Remove redundant check.
- lib, src: Add const qualifiers to variables.
- dselect: Add constVariableReference as a cppcheck suppression.
- libdpkg: Fix varbuf memory leak in pkg_source_version().
- dpkg-shlibdeps: Switch from exec() to Dpkg::IPC::spawn().
Prompted by Paul Wise <pabs@debian.org>.
- libdpkg: Fix coding style for varbuf module.
- libdpkg: Reorder varbuf functions.
- libdpkg: Add varbuf_add_varbuf() function.
- libdpkg: Add varbuf_add_strn().
- libdpkg: Add varbuf setter functions.
- libdpkg: Switch ustar filename construction to use varbuf_add_strn().
- dpkg-split: Use varbuf instead of ad-hoc allocation in read_info.
- Use varbuf_add_varbuf() instead of varbuf_add_buf()/_str().
- Use varbuf_set_*() instead of ad-hoc initialization.
- libdpkg: Generalize command_in_path() from find_command().
* Build system:
- Fix version script linker support detection.
- Enable -Wextra-semi compilation warning.
- Explicitly set the date when generating perl module man pages.
- Bump minimal Perl version to 5.32.1.
- Enable more compiler warnings.
- Remove unused AC_SIZEOF checks.
- Check for the host architecture attributes during configure.
- Detect whether we need librt for clock_gettime().
- Use an export symbols file if there is no version script support.
- Add -no-undefined libtool flag.
- Add support for .git-blame-ignore-revs file.
- Fix typo in .gitignore filename by renaming it.
Thanks to Simon Richter <sjr@debian.org>.
- Remove vim swap file entry from .gitignore.
- Ignore tags files.
Based on a patch by Simon Richter <sjr@debian.org>.
- Add perl prefixes into the Code Internals changelog section.
- Namespace COMPILER_*FLAGS with DPKG_.
- Add support for compiler sanitizer flags.
- Add support for compiler analyzer flags.
- Add new gcc-13 warnings.
- Warn on alloca() usage.
- Remove distcleancheck_listfiles override for CPAN dist-cpan target.
- Avoid Perl's exec() falling back to system().
Thanks to Paul Wise <pabs@debian.org>.
See https://perldoc.perl.org/functions/exec.html.
* Packaging:
- Merge copyright statements for the same holder.
- Remove executable permissions from maintscripts in source.
- Remove no longer needed alternatives fixup from postint.
- Remove no longer needed maintscripts for method renames.
- Fix removal of file method state directory on purge.
- Wrap fields in debian/tests/control file.
- Set Persistent=true for dpkg-db-backup systemd timer.
Thanks to Teemu Likonen <tlikonen@iki.fi>. Closes: #
1041730
- Do not start the dpkg-db-backup timer during installation.
* Test suite:
- Update perlcritic checks and suppressions.
- Disable perlcritic checks that are not relevant.
- Reduce scope of variable to avoid shadowing others.
- Do not use potentially bogus variable value.
- Enable perlcritic RegularExpressions::ProhibitCaptureWithoutTest.
- Disable -Wassign-enum for tests using out of range enum values.
- Make some perlcritic checks more strict.
- Update rationale for perlcritic check suppressions.
- Use the TAR detected at configure time in autotests.
- Use the SED detected at configure time in autotests.
- Use m4 to implement seq instead of assuming GNU seq is present.
- Add missing argument to DPKG_FILE_SIZE m4 function.
- Add more substvar recursive replace cases.
- Define lzma based on xz if missing.
- Switch deb non-uniform members test to use uncompressed control.tar.
- Use AT_DATA instead of touch to create empty files.
- Refactor deb-format package template generation into a new macro.
- Split deb-format tests per compressor.
- Fix t-disappear-depended test.
- Add cases for disappearing with diversions.
- Add cases for disappearance on diverted overwrites and third parties.
Suggested by Simon Richter <sjr@debian.org>.
- Quote command variables in case these contain spaces.
- Use the GREP/EGREP detected at configure time in autotests.
- Pass -n to gzip for all invocations.
- Generate the pkg-old.deb from controlled parts.
- Compute the sizes for «dpkg-deb -I» output dynamically.
- Add test cases for dpkg-buildpackage hook support.
- Use dpkg-buildpackage --no-sign instead of each --unsigned-* option.
- Add new stop words for codespell 2.2.5.
- Update cppcheck suppressions for 2.11.
- Define macros to help cppcheck analyze code.
- Fix varbuf memory leak in t-pkg-format test.
- Rename merge_changlogs test to match the command being tested.
- Add new test case checking Conflicts with Replaces.
- Fix t-conffile-divert-conffile case.
- Use «ar qc» to create archives with duplicate members.
- Move test_data_file() to test.h.
* Localization:
- Add Portuguese scripts translations.
Thanks to Américo Monteiro <a_monteiro@gmx.com>. Closes: #
1032562
- Clarify license for translation files.
- Fix Project-Id-Version to match the gettext domain.
- Unify translation header description.
- Update Dutch header boilerplate with an actual copyright line.
- Update French scripts translation.
Thanks to Sébastien Poher <sebastien@volted.net>.
- Update Romanian dselect translation.
Thanks to Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>.
Closes: #1040869
- Use Dpkg Developers instead of listing them individually.
[ Helge Kreutzmann ]
* man: Remove a now superfluous character from dpkg(1).
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[ Sven Joachim ]
* Localization:
- Update German dselect translation.
- Update German programs translation.
[dgit import package dpkg 1.22.0]
Guillem Jover [Tue, 7 Feb 2023 11:19:12 +0000 (11:19 +0000)]
Merge dpkg (1.21.20) import into refs/heads/workingbranch
Guillem Jover [Tue, 7 Feb 2023 11:19:12 +0000 (11:19 +0000)]
dpkg (1.21.20) unstable; urgency=medium
[ Guillem Jover ]
* Documentation:
- man: Remove duplicate word in dpkg-buildflags(1).
Thanks to Peter Krefting <peter@softwolves.pp.se>.
* Packaging:
- Fix versioned Build-Depends on debhelper. Closes: #
1030288
- Update lintian overrides.
* Test suite:
- Update suppressions for cppcheck 2.10.
- Skip auto-generated policykit policy file.
* Localization:
- Add Dutch scripts translation. Closes: #
1030712
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
- Unfuzzy translations due to typo fix.
- Update Czech translations. Closes: #
1029706, #
1030267
Thanks to Miroslav Kure <kurem@upcase.inf.upol.cz>.
- Update Dutch translations. Closes: #
1030710, #
1030711
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
- Update French man page translation. Closes: #
1030618
Thanks to Jean-Pierre Giraud <jenapierregiraud75@free.fr>.
- Update French programs translations.
Thanks to Sébastien Poher <sebastien@volted.net>.
- Update Hungarian programs translation.
Thanks to Nagy Elemér Károly <nagy.elemer.karoly@gmail.com>.
- Update Korean dselect translation.
Thanks to Sangdo Jun <sebuls@gmail.com>.
- Update Occitan programs translation.
Thanks to Quentin PAGÈS <quentinantonin@free.fr>.
- Update Portuguese programs translation.
Thanks to Miguel Figueiredo <elmig@debianpt.org>.
- Update Romanian programs translation.
Thanks to Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>.
- Update Russian translations. Closes: #
1030162, #
1030378
Thanks to Yuri Kozlov <yuray@komyakino.ru>.
- Update Simplified Chinese translations.
Thanks to Boyuan Yang <byang@debian.org>.
- Update Spanish dselect translation.
Thanks to jonatan porras <jonatanpc8@gmail.com>.
- Update Swedish translations.
Thanks to Peter Krefting <peter@softwolves.pp.se>.
- Update Thai programs translation.
Thanks to Theppitak Karoonboonyanan <thep@debian.org>.
- Update Traditional Chinese dselect translation.
Thanks to Cheng-Chia Tseng <pswo10680@gmail.com>.
- Workaround po4a formatting issue in French translation.
[dgit import package dpkg 1.21.20]
Guillem Jover [Tue, 24 Jan 2023 22:39:50 +0000 (22:39 +0000)]
Merge dpkg (1.21.19) import into refs/heads/workingbranch
Guillem Jover [Tue, 24 Jan 2023 22:39:50 +0000 (22:39 +0000)]
dpkg (1.21.19) unstable; urgency=medium
[ Guillem Jover ]
* Architecture support:
- Revert "arch: Add support for loong64 CPU". See #
1028654.
* Perl modules:
- Dpkg::OpenPGP::Backend::GnuPG: Set secure signing preferred algorithms.
Closes: #1028961
- Dpkg::OpenPGP::Backend::GnuPG: Touch trustedkeys.gpg on temporary gpg
home.
- Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if
present. Reported by Sven Joachim <svenjoac@gmx.de> (on IRC).
- Dpkg::Vendor::Ubuntu: Fix lto feature to honor DEB_BUILD_OPTIONS.
* Test suite:
- Set the permissions explicitly for the copied ChangeLog.old file.
- Add unit tests for lto build flags handling in Ubuntu.
Thanks to Shengjing Zhu <shengjing.zhu@canonical.com>.
See https://bugs.launchpad.net/bugs/
2002582.
* Localization:
- Update Catalan translation.
- Update Portuguese man pages translation.
Thanks to Américo Monteiro <a_monteiro@gmx.com>. Closes: #
1028981
[ Sven Joachim ]
* Localization:
- Update German programs translation.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
[dgit import package dpkg 1.21.19]
Guillem Jover [Tue, 10 Jan 2023 17:46:37 +0000 (17:46 +0000)]
Merge dpkg (1.21.18) import into refs/heads/workingbranch
Guillem Jover [Tue, 10 Jan 2023 17:46:37 +0000 (17:46 +0000)]
dpkg (1.21.18) unstable; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Dpkg::BuildFlags: Fix strip method to always work with duplicates.
Closes: #1028044
* Documentation:
- man: Add a note to dpkg-fsys-usrunmess(8) about Debian support.
Closes: #1008486
* Code internals:
- libdpkg: Move compression level max bound check from dpkg-deb.
- libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma.
- libdpkg: Split compression filter operation tracking from its status.
- libdpkg: Generalize compression stream action handling.
- libdpkg: Abstract compression stream status tracking.
- libdpkg: Add zstd support for .deb archives. Closes: #892664
* Build system:
- Update .mailmap mappings.
* Packaging:
- Update copyright years.
* Test suite:
- Add dpkg-deb build and extract tests.
[dgit import package dpkg 1.21.18]
Guillem Jover [Thu, 5 Jan 2023 11:34:05 +0000 (11:34 +0000)]
Merge dpkg (1.21.17) import into refs/heads/workingbranch
Guillem Jover [Thu, 5 Jan 2023 11:34:05 +0000 (11:34 +0000)]
dpkg (1.21.17) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-genbuildinfo: Do not fail if the cross-compiler cannot compile.
Closes: #1027966
* Code internals:
- dpkg-buildinfo: Fix indentation.
* Packaging:
- Stop shipping the «git log» changelog in exchange for no trimming.
Closes: #1027716
[dgit import package dpkg 1.21.17]
Guillem Jover [Mon, 19 Dec 2022 01:07:45 +0000 (01:07 +0000)]
Merge dpkg (1.21.13) import into refs/heads/workingbranch
Guillem Jover [Mon, 19 Dec 2022 01:07:45 +0000 (01:07 +0000)]
dpkg (1.21.13) unstable; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Test::Dpkg: Refactor OpenPGP requisite into test_needs_openpgp_backend().
- Dpkg::Backend::GnuPG: Ensure future signing interop with gpg --openpgp.
* Documentation:
- man: Move parallel-safe note from dpkg-buildpackage -j option to
--jobs-force.
* Code internals:
- start-stop-daemon: Cast struct sockaddr_un to struct sockaddr on bind()
call.
- lib: Stop using register keyword.
- libcompat: Remove unused arguments from ngettext() fallback macro.
- libcompat: Switch manual copying to memcpy() in obstack module.
- libcompat: Switch obstack to use size_t.
- libcompat: Use an union to track chunkfun and freefun.
- dpkg-architecture: Fix indentation.
- libdpkg: Fix pdb_lax_stanza_parser and pdb_allow_empty aliased values.
- libcompat: Add noreturn and sentinel C attributes.
- utils: Switch to use libcompat attributes.
- libdpkg: Add new multi-threaded xz decompression support. Closes: #956452
- libdpkg: Pass -T+1 instead of -T1 to xz when compressing.
- libdpkg: On threads-max > 0 pass --no-adjust to xz to force threaded
mode.
- Use hyphenated multi-threaded in text.
* Build system:
- Consider lib and utils prefixes as internal in gen-changelog.
- Fix m4 files coding style.
- Include <stdio.h> for printf() usage in __progname check.
* Packaging:
- Require liblzma >= 5.4.0 for multi-threaded compressor support.
- Clarify versioned dependency rationale comments.
- Add pkgconf as main Build-Depends alternative to pkg-config.
* Test suite:
- Skip deb-format tests if required compressors are not present.
- Use a custom dpkg database directory for dpkg-buildpackage tests.
- Switch Dpkg::Source::Package test to use test_needs_openpgp_backend().
- Skip deb-format tests if gzip is not present.
- Skip dpkg-source tests if xz is not present.
- Use the PERL detected at configure time in autotests.
- Use perl instead of yes+dd to generate a data-file for deb-split.
* Localization:
- Update Simplified Chinese programs translation.
Thanks to Boyuan Yang <byang@debian.org>. Closes: #
1025625
[dgit import package dpkg 1.21.13]
Guillem Jover [Tue, 6 Dec 2022 03:27:57 +0000 (03:27 +0000)]
Merge dpkg (1.21.12) import into refs/heads/workingbranch
Guillem Jover [Tue, 6 Dec 2022 03:27:57 +0000 (03:27 +0000)]
dpkg (1.21.12) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-architecture: Properly compute required information to gather.
Reported by Sören Tempel <soeren@soeren-tempel.net>.
* Code internals:
- dpkg-architecture: Rename information tracking constants and variables.
* Packaging:
- Set paths for configure in autopkgtests to match installed ones.
- Add libmd-dev to libdpkg-dev Depends.
Reported by Alexandre Detiste <alexandre.detiste@gmail.com>.
[dgit import package dpkg 1.21.12]
Guillem Jover [Fri, 1 Jul 2022 09:25:58 +0000 (10:25 +0100)]
Merge dpkg (1.21.9) import into refs/heads/workingbranch
Guillem Jover [Fri, 1 Jul 2022 09:25:58 +0000 (10:25 +0100)]
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. Closes: #
1012195
- Dpkg::BuildFlags: Document optimize feature area.
* Documentation:
- man: Clarify that statoverrides do not need to be known to dpkg.
Closes: #1011510
- man: Expand Protected and Essential field use cases. Closes: #
1008780
- 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.
[dgit import package dpkg 1.21.9]
Guillem Jover [Wed, 25 May 2022 08:39:29 +0000 (09:39 +0100)]
Merge dpkg (1.21.8) import into refs/heads/workingbranch
Guillem Jover [Wed, 25 May 2022 08:39:29 +0000 (09:39 +0100)]
dpkg (1.21.8) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-statoverride: Add support for --force-not-root. Closes: #
1009069
Based on a patch by John Spencer <maillist-dpkg@barfooze.de>.
* 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 <max@justi.cz>. 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 <niels@thykier.net>.
* 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. Closes: #
1010031, #
1010032, #
1010033
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
- Update Portuguese man pages translations. Closes: #
1011095
Thanks to Américo Monteiro <a_monteiro@gmx.com>.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
[dgit import package dpkg 1.21.8]
Guillem Jover [Fri, 1 Apr 2022 00:27:33 +0000 (01:27 +0100)]
Merge dpkg (1.21.7) import into refs/heads/workingbranch
Guillem Jover [Fri, 1 Apr 2022 00:27:33 +0000 (01:27 +0100)]
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.
Closes: #1008764
* Documentation:
- man: Fix typo. Thanks to Peter Krefting <peter@softwolves.pp.se>.
See #
1008706.
* Packaging:
- Silence warning about merged-usr-via-aliased-dirs on Debian.
* Localization:
- Fix gettext parameter reordering syntax for German translation.
Closes: #1008671
- Update Swedish translations.
Thanks to Peter Krefting <peter@softwolves.pp.se>. Closes: #
1008706
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
[dgit import package dpkg 1.21.7]
Guillem Jover [Sun, 13 Mar 2022 19:17:35 +0000 (19:17 +0000)]
Merge dpkg (1.21.2) import into refs/heads/workingbranch
Guillem Jover [Sun, 13 Mar 2022 19:17:35 +0000 (19:17 +0000)]
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 <donkult@debian.org>.
* 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.
Closes: #1003164
* scripts: Unify deprecated command-line option warnings.
* dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
Reported by Umut <ue16@gmx.de> (on IRC).
* update-alternatives: Use the target timestamp when the symlink does not
exist. Closes: #
1004557
* dselect: Handle window resizes in help and menu screens. Closes: #382307
* dselect: Do not beep on key press errors in method and package list
windows. Closes: #533639
* 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 <elbrus@debian.org>.
- Dpkg::Source::Package: Only generate the patch header if needed.
Prompted by Umut <ue16@gmx.de> (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).
Closes: #1001010
- man: Clarify that dpkg-divert --list pattern is optional.
Thanks to наб <nabijaczleweli@nabijaczleweli.xyz>. Closes: #
1001761
- 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 <josch@debian.org>.
* 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 <sebastian@breakpoint.cc>.
- 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.
Closes: #1004372
- 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 <nicolas@debian.org>.
- scripts/mk: Indent code in Makefile fragments.
Thanks to Nicolas Boulenguez <nicolas.boulenguez@free.fr>.
* 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 Павловец Сергей Николаевич
<s.pavlovets@ivcmf.by>.
- Add gitlab CI test for shared library building.
- Link all programs against libcompat.
Prompted by Jörg Sonnenberger <joerg@NetBSD.org>.
- 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 <nicolas@debian.org>.
- 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. Closes: #
1001695
- 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 <soeren+git@soeren-tempel.net>.
- Use a temporary file instead of unportable «sed -i».
Prompted by Nicolas Boulenguez <nicolas@debian.org>.
- Add test case for SOURCE_DATE_EPOCH.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Use «each» instead of «keys» and value fetching.
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
* Localization:
- Remove previous msgid for non-fuzzy translations.
- Update Catalan translations.
- Update Dutch translation. Closes: #
1003671, #
1003672, #
1003673
Thanks to Frans Spiesschaert <Frans.Spiesschaert@yucom.be>.
- Update Swedish translations. Closes: #
1003799, #
1007116
Thanks to Peter Krefting <peter@softwolves.pp.se>.
[ Sven Joachim ]
* Localization:
- Update German dselect translation.
- Update German programs translation.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[dgit import package dpkg 1.21.2]
Guillem Jover [Mon, 6 Dec 2021 20:04:18 +0000 (20:04 +0000)]
Merge dpkg (1.21.1) import into refs/heads/workingbranch
Guillem Jover [Mon, 6 Dec 2021 20:04:18 +0000 (20:04 +0000)]
dpkg (1.21.1) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-buildpackage: Remove duplicate command print for dpkg-genchanges.
* dpkg-buildpackage: Fix build description due to improper multiline match.
* dpkg-realpath: Remove spurious heading space from --help output.
* update-alternatives: When initializing admindir from DPKG_ADMINDIR append
"/alternatives". Closes: #
1001198
* Code internals:
- Remove <ar.h> inclusions.
* Packaging:
- Install deb-md5sums(5) into dpkg-dev package.
[dgit import package dpkg 1.21.1]
Guillem Jover [Wed, 8 Jul 2020 03:40:39 +0000 (04:40 +0100)]
Merge dpkg (1.20.5) import into refs/heads/workingbranch
Guillem Jover [Wed, 8 Jul 2020 03:40:39 +0000 (04:40 +0100)]
dpkg (1.20.5) unstable; urgency=medium
[ Guillem Jover ]
* Revert change to prefix the specs file spec string self_spec with +
instead of *. The prefix is supposed to go in the text itself
instead of the spec name, which already had it. This change only
apparently fixed the issue at hand because gcc started parsing it as
the «[SUFFIX]:» case, completely disabling the PIE handling.
Thanks to Thorsten Glaser <tg@mirbsd.de>.
* Perl modules:
- Dpkg::Source::Package::V1: Explicitly initialize constructor options to
their implicit values, otherwise other code end up assuming different
defaults. This is required here too as this class does not call the
initialization from its parent.
* Build system:
- Detect the GNU program variants for make, patch and tar in the CPAN
distribution to replace in the Dpkg module.
- Set DEB_BUILD_ARCH to a dummy “amd64” in the CPAN distribution tests
to not require a dpkg(1) in the system.
* Test suite:
- Only print the Dpkg::Path::check_directory_traversal() error on failure.
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.20.5]
Guillem Jover [Mon, 3 Jun 2019 21:22:35 +0000 (22:22 +0100)]
Merge dpkg (1.19.7) import into refs/heads/workingbranch
Guillem Jover [Mon, 3 Jun 2019 21:22:35 +0000 (22:22 +0100)]
dpkg (1.19.7) unstable; urgency=medium
[ Guillem Jover ]
* dpkg: Fix off-by-one error in dpkg --abort-error. Closes: #924886
Thanks to Tom Goulet <tomg@sentex.ca>.
* dpkg: Set the force defaults before loading the config file, otherwise we
incorrectly override them. Regression introduced in dpkg 1.19.5.
Closes: #928671
* dpkg: Split the trigger dependtry into two, the second of which will be
the one checking trigger cycles when deferring trigger processing due to
unsatisfiable dependencies. Closes: #928429
* dpkg-deb: Validate ar member magic before normalizing any of its fields.
* dpkg-deb: Honor --nocheck when building packages with newlines in
filenames. Regression introduced in dpkg 1.18.1. Closes: #929727
* Documentation:
- rootless-builds.txt: Expand what the builder means. Mention the
dpkg-deb option to use to set the owner and group to root. And reword
the prototyping section to be less confusing with what is currently
implemented. Closes: #929019
- README: Clarify when autopoint is needed. Closes: #929601
- Fix typos in docs and output strings. Warned by codespell.
[ Updated programs translations ]
* Catalan (Guillem Jover).
[ Updated dselect translations ]
* Catalan (Guillem Jover).
[ Updated scripts translations ]
* Catalan (Guillem Jover).
[ Updated man pages translations ]
* Dutch (Frans Spiesschaert). Closes: #926665
* French (Jean-Pierre Giraud). Closes: #929664
[dgit import package dpkg 1.19.7]
Guillem Jover [Mon, 25 Mar 2019 14:08:26 +0000 (14:08 +0000)]
Merge dpkg (1.19.6) import into refs/heads/workingbranch
Guillem Jover [Mon, 25 Mar 2019 14:08:26 +0000 (14:08 +0000)]
dpkg (1.19.6) unstable; urgency=medium
[ Guillem Jover ]
* libdpkg: Add a new TAR_FORMAT_UNKNOWN enum value.
* libdpkg: Set tar_entry to zero on tar_entry_destroy(), to avoid double
free()s and the subsequent crashes.
* libdpkg: Handle non end-of-tape errors from tar_header_decode().
* libdpkg: Use ERANGE instead of EINVAL for tar_atol8() out-of-range error.
* dpkg-gencontrol: Check presence of package build dir before traversing it.
* Perl modules:
- Dpkg::Source::Package::V1: Change default build option style to -sa.
Using -sA by default means the user might lose data on overwrite if
there is already a directory with the same name laying around.
Closes: #910737
- Dpkg::Source::Package: Handle Format field being undefined. On source
format 1.0, the default is for the debian/source/format file not being
present, which means we'll start with an empty Format field name.
Regression introduced in dpkg 1.19.3.
* Packaging:
- Update usertags.
- Install a lintian profile for dpkg based on the debian profile, so that
we can suppress Debian-specific tags, such as the controversial one on
vendor-specific patch series files.
- Add Breaks on lsb-base due to start-stop-daemon exposing breakage in
the killproc function from /lib/lsb/init-functions. Closes: #923861
* Test suite:
- Stop requiring (pseudo-)root in the functional test suite.
- Export and move TESTDATA definition close to the PATH definition.
- Quote the 'yes' command to make a comment clearer.
[ Updated programs translations ]
* Dutch (Frans Spiesschaert). Closes: #924776
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated man pages translations ]
* Dutch (Frans Spiesschaert). Closes: #924777
* German (Helge Kreutzmann).
[dgit import package dpkg 1.19.6]
Guillem Jover [Sat, 23 Feb 2019 17:00:54 +0000 (17:00 +0000)]
Merge dpkg (1.19.5) import into refs/heads/workingbranch
Guillem Jover [Sat, 23 Feb 2019 17:00:54 +0000 (17:00 +0000)]
dpkg (1.19.5) unstable; urgency=medium
[ Guillem Jover ]
* start-stop-daemon: Make sure that we get a meaningful errno on
parse_unsigned(), so that the error messages always make sense.
* start-stop-daemon: Add new fatalv() and fatale() functions and use the
latter for system errors, so that we are explicit on whether we want to
use errno for error reporting or not.
* start-stop-daemon: Always refuse to parse a world-writable pidfile,
except when that is /dev/null.
* dpkg: Print the current set of enabled force options on --force-help.
* dpkg: Parse and set new DPKG_FORCE environment variable for subprocesses.
Closes: #666147
* dpkg-statoverride: Add support for --force-* options.
* dpkg-statoverride: Switch from --force option to new --force-<thing>
options. Deprecate --force option which will be considered an alias for
--force-all for now.
* dpkg, dpkg-statoverride: Add new option --refuse-security-mac to control
SELinux. See #811037.
* dpkg: Clarify error on unknown system user/group in statoverride database.
Closes: #920880
* dpkg-buildpackage: Clarify the warning/error on short OpenPGP key IDs.
Closes: #922039
* dpkg-maintscript-helper: Restrict find for dir-to-symlink move to
-maxdepth 1. Thanks to Ralf Treinen <treinen@free.fr>. Closes: #922799
* dpkg-genbuildinfo: Add support for a new Build-Tainted-By field in
.buildinfo files. Suggested by Alexander E. Patrakov <patrakov@gmail.com>.
* libdpkg: Clarify field names in error and warning messages.
* libdpkg: Optimize error handling. Move the error reporting outside the
involved functions so that we do not need to call gettext if there is no
error, which has a significant performance cost.
* libdpkg: Merge nicknames table into fieldinfos, to stop penalizing the
lookup of non-obsolete fieldnames.
* libdpkg: Print a more accurate warning for Revision nicknames.
* libdpkg: Increase the pkg-hash bins size to 65521, to improve hash table
performance at the cost of a bit more memory usage.
* libdpkg: Blank packages that are not-installed with unknown selection.
Closes: #922410
* libdpkg, dpkg: Print the dpkg database directory on access errors.
Closes: #883700
* Perl modules:
- Dpkg::Vendor::Debian: Add support for merged-usr-via-symlinks tainted
tag. Suggested by Alexander E. Patrakov <patrakov@gmail.com>.
- Dpkg::Vendor::Debian: Add support for usr-local-has-* tainted tags.
- Dpkg::Source::Package: Add a missing use Dpkg::Source::Format.
Diagnosed by Ian Jackson <ijackson@chiark.greenend.org.uk>.
Closes: #921031
* Documentation:
- start-stop-daemon(1): Document behavior of --pidfile security checks.
Closes: #921557
- dpkg(1): Document the unknown selection state. Closes: #922407
* Code internals:
- dpkg: Move SELinux fallback label to the SELinux specific code path.
- dpkg: Simplify maintscript_set_exec_context().
- dpkg: Move force options support into its own file.
- dpkg: Do not hardcode the program name in the --force-help output.
- dpkg: Switch force options from individual variables to bit fields.
- dpkg: Switch from a char to an enum to track the force options types.
- dpkg: Switch to set the default force option from the forceinfos array.
- libdpkg: New benchmark programs and infrastructure.
- libdpkg: Add new dpkg_error_move() function.
- libdpkg: Add new dpkg_has_error() function.
- libdpkg: Move status names from parse errors to arguments.
- libdpkg: Use va_arg copy instead of the original on a vasprintf() call.
- libdpkg: Include <string.h> in pager.c.
Reported by Y <sevener@cock.li>. Closes: #922212
- libdpkg: Use pkg_set_want() instead of a direct assignment.
* Build system:
- Check whether this dist is a release, based only on the version format.
This will avoid having to do a two staged release to get a proper perl
distribution tarball.
* Packaging:
- autopkgtest: Add file to Depends fields.
- autopkgtest: Clarify behavior on root/non-root requirement.
- Bump Standards-Version to 4.3.0 (no changes required).
- Remove now unused assert usertag description.
- Remove trailing whitespace from changelog.
- Remove Origin and Bugs fields from control file.
- Include a bug-script to report on tainted merged-usr-via-symlinks.
* Test suite:
- libdpkg: Fix unit test for file_slurp(). Closes: #920974
Diagnosed by Frank Schaefer <kelledin@gmail.com>.
[ Updated programs translations ]
* Dutch (Frans Spiesschaert). Closes: #921942
* German (Sven Joachim).
* Simplified Chinese (Zhou Mo). Closes: #920972
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated man pages translations ]
* Dutch (Frans Spiesschaert). Closes: #921943
* French (Jean-Pierre Giraud). Closes: #920905
* German (Helge Kreutzmann).
[dgit import package dpkg 1.19.5]
Guillem Jover [Mon, 8 Oct 2018 09:43:48 +0000 (10:43 +0100)]
Merge dpkg (1.19.2) import into refs/heads/workingbranch
Guillem Jover [Mon, 8 Oct 2018 09:43:48 +0000 (10:43 +0100)]
dpkg (1.19.2) unstable; urgency=medium
[ Guillem Jover ]
* dpkg: Fix --force-not-root for chown() and chmod() based syscalls, and
give a more meaningful error message on chroot(). Closes: #614126
* dpkg-divert, dpkg-statoverride: Add new --instdir and --root options,
and make the commands honor the DPKG_ROOT environment variable.
* libdpkg: Call the pager with «$SHELL -c» to respect POSIX. Closes: #910009
* libdpkg: Do not spawn a pager if we are going to call «cat».
* libdpkg: Honor DPKG_PAGER when spawning a pager.
Suggested by Craig Sanders <cas@taz.net.au>.
* libdpkg: Set LESS to “-FRSXMQ” if not already set, when spawning a pager.
* libdpkg: Ignore SIGPIPE when setting up a pager, and then ignore EPIPE
errors when writing to stdout, otherwise if we quit the pager early, the
program will exit with an error code.
* libdpkg: Set stdout to be fully buffered when using a pager.
* dpkg, dpkg-query: Add new --no-pager option. For dpkg this is also a
configuration option. Closes: #909754
* Perl modules:
- Dpkg::OpenPGP: Ignore Version field in enarmored output.
Fixes CPAN#127217.
- Dpkg::OpenPGP: Do not read the gpg user configuration file.
- Dpkg::Source::Functions: Reimplement is_binary() w/o using diff(1).
- Dpkg::Source::Package::V2: Split the BinaryFiles module into its own
file, and give it a more generic name (Dpkg::Source::BinaryFiles).
- Dpkg::Source::Package::V2: Move binary file detection to BinaryFiles
module.
* Documentation:
- dpkg-buildpackage(1): Clarify --build=source explanation.
- dsc(5): Clarify what “flattened” means in Testsuite-Triggers.
Prompted by Mattia Rizzolo <mattia@debian.org>.
- dsc(5): Add a reference to where the source formats are described.
Prompted by Manuel A. Fernandez Montecelo <mafm@debian.org>.
- dpkg-source(1): Improve documentation on vendor-specific series files.
- deb-control(5): Document Build-Ids field.
Prompted by Stuart Prescott <stuart@debian.org>.
- dpkg(1): Clarify which fields are affected by dependency options.
Prompted by James Clarke <jrtc27@debian.org>.
- dpkg-query(1): Document the PAGER environment variable usage.
- Dpkg(1): Add POD documentation about the module hierarchy and API.
* Code internals:
- dpkg-split: Use nfstrnsave() instead of nfmalloc() + memcpy().
- libdpkg: Add new fsys-dir module.
- libdpkg: Pass the file contents to the pager instead of the filename.
- libdpkg: Add a pager kill switch, so that it can be forcefully disabled.
* Build system:
- Distribute a LICENSE file on CPAN.
- Do not make the Build.PL script executable.
- Generalize PACKAGE_CPAN_SIGN by setting PACKAGE_DIST_IS_RELEASE instead.
- Add a release_status key to the CPAN metadata.
- Fix typo in CPAN recommends key.
- Improve test and author CPAN dependencies.
* Packaging:
- Break libapt-pkg5.0 instead of apt. Closes: #909959
Analysis by Sven Joachim <svenjoac@gmx.de>.
* Test suite:
- Skip version checks involving «dpkg --compare-versions» if not available.
This is relevant on CPAN or on non-dpkg-based systems.
[ Updated programs translations ]
* Polish (Łukasz Dulny).
[ Updated man pages translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.19.2]
Guillem Jover [Wed, 17 May 2017 11:16:25 +0000 (11:16 +0000)]
Merge dpkg (1.18.24) import into refs/heads/workingbranch
Guillem Jover [Wed, 17 May 2017 11:16:25 +0000 (11:16 +0000)]
dpkg (1.18.24) unstable; urgency=medium
[ Guillem Jover ]
* Add missing symbols to the libdpkg map file.
* Fix dpkg-shlibdeps to preserve the Dpkg::Shlibs::find_library() order
when scanning symbols/shlibs files. This was causing generation of bogus
dependencies when multiple packages provide the same SONAME on different
directories. Regression introduced in dpkg 1.18.17. Closes: #860979
* Make dpkg-maintscript-helper print all unowned files from a directory
when printing the error message, to ease debugging those problems after
the fact. Closes: #813454, #860238
Based on a patch by Bastien ROUCARIÈS <roucaries.bastien@gmail.com>.
* Add duplicate prevention code for debian/files to dpkg-genbuildinfo, so
that successive runs with different versions and equivalent build types
do not generate multiple .buildinfo entries to be uploaded, which is
similar to what dpkg-gencontrol is doing for .deb files.
* Fix conffile takeover handling during unpack in dpkg on --root or
on diversions. Closes: #837051, #858004
* Fix digest inference for shared conffiles, causing bogus takeover
unpack errors. Regression introduced in dpkg 1.16.9. Closes: #861217
* Improve tar entry metadata parsing in dpkg:
- Do not parse device numbers for non block nor char tar entry objects.
- Make the existing octal parser more robust, by checking for the
expected format of leading zeros or spaces, followed by any ASCII
octal characters (0-7), followed by zero or more space or NULs.
- Add support for base-256 encoded numeric fields, to support large
values, for UID/GID, device number, size and even signed timestamps.
This is necessary not only to be able to store larger values, but to
cover packages that can already be generated by dpkg-deb, given that
it uses the system GNU tar when building. Closes: #850834
* Architecture support:
- Add support for ARM64 ILP32. Closes: #824742
Thanks to Wookey <wookey@wookware.org>.
* Perl modules:
- Remove obsolete hardening-wrapper support from Dpkg::Vendor::Ubuntu.
Thanks to Adam Conrad <adconrad@0c3.net>.
- Bump $Dpkg::Deps::VERSION to match the one documented in CHANGES.
- Ignore by default debian/files.new and debian/files for all source
formats in Dpkg::Source::Package, because these are generated files
with well known pathnames, part of the public interface, and with
dpkg-genbuildinfo always injecting .buildinfo entries into
debian/files, this meant this could disrupt previous workflows based
on not cleaning the source tree.
* Documentation:
- Many spelling fixes. Thanks to Josh Soref <jsoref@gmail.com>.
- Do not include mispellings in changelogs, as that makes detecting them
more difficult.
* Build system:
- Use libexec variable for auxiliary internal programs, and set it to
/usr/lib on Debian and derivatives.
- Check that the detected tar is a GNU tar.
- Check that the detected patch is a GNU patch, so that we get a directory
traversal resistant patch implementation. This fixes CVE-2017-8283 by
delegating those checks to patch(1), so that we trap blank-indented
diff hunks trying to escape from the source tree.
* Test suite:
- Add a test case for blank-indented patches which were the cause for
CVE-2017-8283.
- Handle files with non-zero sizes in c-tarextract libdpkg test code.
[ Updated programs translations ]
* Catalan (Guillem Jover).
* Czech (Miroslav Kure).
[ Updated dselect translations ]
* Catalan (Guillem Jover).
[ Updated scripts translations ]
* Catalan (Guillem Jover).
[ Updated man pages translations ]
* German (Helge Kreutzmann, David Rabel). Closes: #857449
* Spanish (Javier Fernández-Sanguino).
[dgit import package dpkg 1.18.24]
Guillem Jover [Mon, 6 Mar 2017 04:41:11 +0000 (04:41 +0000)]
Merge dpkg (1.18.23) import into refs/heads/workingbranch
Guillem Jover [Mon, 6 Mar 2017 04:41:11 +0000 (04:41 +0000)]
dpkg (1.18.23) unstable; urgency=medium
* Handle unmatched arch-qualified virtual packages in dpkg-genbuildinfo,
instead of letting perl die. Closes: #849944
* Declare .buildinfo format as stable with version 1.0.
* Do not depend on cxxabi.h to have declared __cxa_pure_virtual, use
the same “__cxxabiv1” namespace as specified in the C++ ABI, instead
of using the “abi” alias intended for use by userland.
Thanks to Jörg Sonnenberger <joerg@netbsd.org>.
* Add a comment on any C code switch case that falls through. Fixes new
gcc-7 warnings.
* Use snprintf() instead of sprintf() in libdpkg when constructing the ar
member header, as we might overflow depending on the input data.
* Portability:
- Do not redeclare sys_siglist in libcompat when the system does so.
Thanks to Thomas Klausner <wiz@NetBSD.org>.
- Rename err variable to ret in start-stop-daemon as the former is a
function on BSDs.
- Use 5-argument kvm_getprocs() call form on OpenBSD in start-stop-daemon.
- Use correct struct kinfo_proc ruid submember name on NetBSD in
start-stop-daemon.
- Define _KMEMUSER for NetBSD to get declarations for various
struct kinfo_proc members in start-stop-daemon.
* Perl modules:
- Do not special case EM_SPARC32PLUS for NetBSD in Dpkg::Shlibs::Objdump,
the code has been fixed in NetBSD as that situation could not happen.
- Fix read() error handling in Dpkg::Shlibs::Objdump::get_format() to
gracefully ignore non-ELF files again. Closes: #854536
- Emit an explicit warning from Dpkg::Shlibs::Objdump::Object::analyze()
for unknown executable formats instead of relying on objdump doing so.
- Do not parse bogus ELF binaries in Dpkg::Shlibs::Objdump::get_format().
Reported by Niels Thykier <niels@thykier.net>.
- Add ‘.mnt-ignore’ to the default ignore lists in Dpkg::Source::Package,
as we were already ignoring the ‘_MTN’ pathnames. Closes: #855450
Thanks to Nicolas Boulenguez <nicolas@debian.org>.
- Mark kfreebsd-amd64, kfreebsd-i386, sparc and sparc64 architectures as
having gcc builtin PIE in Dpkg::Vendor::Debian.
- Switch PIE handling in Dpkg::Vendor::Debian to have no default (!) and
delegate the setting to gcc or an explicit request by a user. This is
needed to cope with the general PIE brokenness situation in Debian, and
the current specific brokenness of a Debian gcc patch mangling the dpkg
build flags. Closes: #848129, #845550
* Documentation:
- Clarify the requirements for deb-conffile(5) pathnames. Closes: #854417
Proposed by Dieter Adriaenssens <dieter.adriaenssens@gmail.com>.
- Document dpkg-source --before-build and --after-build in --help output.
- Document dpkg-buildpackage --ignore-builtin-builddeps in --help output.
* Build system:
- Check <sys/proc.h> by also including <sys/param.h>, on several BSD
systems the header is not self-contained.
- Handle libmd implementations built into system libc, as found on some
BSD systems.
- Do not fail on missing compression libraries or headers on automatic
detection mode. Regression introduced in dpkg 1.18.14.
* Test suite:
- Use the detected perl interpreter instead of a random one from PATH.
[ Updated programs translations ]
* Dutch (Frans Spiesschaert). Closes: #856325
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated man pages translations ]
* Dutch (Frans Spiesschaer). Closes: #856326
[dgit import package dpkg 1.18.23]
Guillem Jover [Wed, 1 Feb 2017 04:48:58 +0000 (04:48 +0000)]
Merge dpkg (1.18.22) import into refs/heads/workingbranch
Guillem Jover [Wed, 1 Feb 2017 04:48:58 +0000 (04:48 +0000)]
dpkg (1.18.22) unstable; urgency=medium
[ Guillem Jover ]
* Turn status file parser errors on bogus field blank lines into warnings,
otherwise the system cannot be easily recovered from. Regression
introduced in dpkg 1.16.1. Reported by Jay Freeman <saurik@saurik.com>.
* Perl modules:
- Mask ARM ABI bits in the ELF processor flags in Dpkg::Shlibs::Objdump.
These are too unreliable to be used for exact matching. Closes: #853793
[ Updated programs translations ]
* Turkish (Mert Dirik). Closes: #853202
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.18.22]
Guillem Jover [Tue, 20 Dec 2016 12:53:12 +0000 (12:53 +0000)]
Merge dpkg (1.18.18) import into refs/heads/workingbranch
Raspbian Automatic git importer [Fri, 23 Dec 2016 12:02:20 +0000 (12:02 +0000)]
Merge dpkg (1.18.15) import into refs/heads/workingbranch
Raspbian Automatic git importer [Fri, 23 Dec 2016 12:02:06 +0000 (12:02 +0000)]
Merge dpkg (1.18.14) import into refs/heads/workingbranch
Guillem Jover [Tue, 20 Dec 2016 12:53:12 +0000 (12:53 +0000)]
dpkg (1.18.18) unstable; urgency=medium
[ Guillem Jover ]
* Documentation:
- Document DPKG_DATADIR in an ENVIRONMENT section in dpkg-architecture(1).
- Add a rationale for the purpose of Testsuite-Triggers in dsc(5).
Prompted by Mattia Rizzolo <mattia@debian.org>.
* Packaging:
- Revert the perl to perl:any dependency change in libdpkg-perl, as that
breaks debootstrap in stable (jessie), testing (stretch) and unstable,
which do not support arch-qualified dependencies. We'll have to live
with the Multi-Arch hinter being unhappy for now.
[ Updated man pages translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.18.18]
Guillem Jover [Wed, 16 Nov 2016 02:28:05 +0000 (02:28 +0000)]
dpkg (1.18.15) unstable; urgency=medium
[ Guillem Jover ]
* Improve PIE flags support:
- Do not enable PIE when linking static programs. glibc-based systems
do not support this combination and produce very bogus output.
Proposed by Szabolcs Nagy <nsz@port70.net>. Closes: #843714
* On source builds add 'source' to the Architecture field in the
.buildinfo file in dpkg-genbuildinfo.
* Add new Build-Date field to .buildinfo files.
* Generate deterministic .buildinfo filenames in dpkg-genbuildinfo,
following the same pattern as used for .changes files.
* Bump .buildinfo Format to version 0.2.
* Change dpkg-buildpackage -j and -J on “auto” mode to fallback to serial
execution when we cannot infer the number of online processors on
unsupported or exotic systems. This should be a safer mode of operation.
Proposed by Simon McVittie <smcv@debian.org>.
* Only preallocate disk size in dpkg for unpacked files bigger than 16 KiB.
Closes: #824636
* Perl modules:
- Validate architecture arguments in Dpkg::Deps deps_parse().
Prompted by Johannes Schauer <josch@debian.org>.
* Documentation:
- Escape dashes in field names in dpkg-buildinfo(1).
* Test suite:
- Mark partially documented POD modules as TAP TODO.
[ Updated man pages translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.18.15]
Guillem Jover [Fri, 11 Nov 2016 01:26:08 +0000 (01:26 +0000)]
dpkg (1.18.14) unstable; urgency=medium
[ Guillem Jover ]
* Improve PIE flags support:
- Rename the spec name cc1_options to self_spec.
Suggested by James Clarke <jrtc27@jrtc27.com>
- Do not set PIE options if they have been negated, and do not reset
them if they have been requested.
Closes: #843791, #843826
* Fix use after free error in dpkg. It was trying to print messages that
had already been freed as part of the database memory pool, causing in
some cases segfaults when reporting the error summary at the end.
Regression introduced in dpkg 1.18.11. Closes: #843874
* Change default color behavior to auto.
* Perl modules:
- Fix confusing date parse error message in Dpkg::Changelog::Entry::Debian
when the date contains “May”. Closes: #843829
Thanks to Nishanth Aravamudan <nish.aravamudan@canonical.com>.
- New module Dpkg::Build::Info module refactored from dpkg-genbuildinfo.
Requested by Johannes Schauer <josch@debian.org>.
* Documentation:
- Improve the DEB_BUILD_OPTIONS description in dpkg-buildpackage(1).
And mention the parallel option there.
- Explicitly mention in dpkg-buildpackage(1) that setting the number
of parallel jobs to 1, restores the serial behavior.
Prompted by Thorsten Glaser <t.glaser@tarent.de>.
* Packaging:
- List public Dpkg::Control::Tests module in libdpkg-perl description.
* Test suite:
- Do not fail tests on missing fakeroot, just skip them.
* Build system:
- Fix inversion logic in libmd configure check when requested explicitly.
- Do not consider the compressor libraries available in configure if the
headers are not usable.
- Fix DPKG_BUILD_RELEASE_DATE to require DPKG_PROG_PERL, as it uses perl.
- Change DPKG_BUILD_RELEASE_DATE to use perl instead of date(1) to
format the timestamp, as the former is more portable.
[ Updated man pages translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.18.14]
Guillem Jover [Sun, 31 Jul 2016 10:57:02 +0000 (10:57 +0000)]
dpkg (1.18.10) unstable; urgency=medium
[ Guillem Jover ]
* Fix a short-lived memory leak in dpkg archive argument parsing.
* When activating file triggers on conffile purge, use the conffile name
instead of the real pathname it might refer to. This fixes a segfault
when using --instdir, or when the conffile has been moved around and
replaced with a symlink to the target.
Regression introduced in dpkg 1.18.8. Closes: #830267
* Perl modules:
- Disable fixdebugpath feature on unsafe characters in the path.
- Generate reproducible source tarballs by using the new GNU tar
--clamp-mtime option in Dpkg::Source::Archive, to make sure no file
in source packages has an mtime later than the changelog entry time.
- Enable fixdebugpath build flag feature by default.
Thanks to Mattia Rizzolo <mattia@debian.org>. Closes: #832179
- Rename various private methods and functions with an underscore prefix
and unified names.
- Refactor perl modules directory list into a new function in Test::Dpkg.
* Test suite:
- Add new POD coverage author test for public perl modules.
* Documentation:
- Document Testsuite-Triggers in dsc(5).
- Fix deb-changes(5) description to talk about .changes instead of .dsc.
Reported by HW42 <hw42@ipsumj.de>.
- Use debian/control as the SYNOPSIS in deb-src-control(5).
- Add new deb-conffiles(5) man page.
- Add references to deb-control(5) and deb-triggers(5) in dpkg(1).
- Fix typos for repeated “the” word.
Prompted by Valentin Samir <valentin.samir@crans.org> in #830989.
- Fix misspelled -fdebug-prefix-map flag in dpkg-buildflags(1).
Reported by Mattia Rizzolo <mattia@debian.org>.
- Remove mention of source format 1.0 supporting building with upstream
tarball signatures from dpkg-source(1), as this was disabled in 1.18.8.
- Document all public methods in Dpkg::Changelog::Entry::Debian.
- Escape dashes in deb-changes(5) and dsc(5) man pages.
- Fix typos in dpkg-shlibdeps(1). Closes: #832434
Thanks to Carsten Leonhardt <leo@debian.org>.
[ Updated programs translations ]
* German (Sven Joachim).
* Turkish (Mert Dirik). Closes: #832070
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.18.10]