summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Raspbian automatic forward porter [Tue, 13 Sep 2022 03:09:20 +0000 (04:09 +0100)]
Merge version 1.20.11+rpi1 and 1.20.12 to produce 1.20.12+rpi1
Guillem Jover [Thu, 1 Sep 2022 03:38:12 +0000 (04:38 +0100)]
Merge dpkg (1.20.12) import into refs/heads/workingbranch
Guillem Jover [Thu, 1 Sep 2022 03:38:12 +0000 (04:38 +0100)]
dpkg (1.20.12) bullseye; urgency=medium
[ Guillem Jover ]
* dpkg: Fix conffile removal-on-upgrade handling. Closes: #995387
* dpkg: Fix memory leak in remove-on-upgrade handling.
* dpkg-fsys-usrunmess: Move forced reconfiguration to the last step.
See #991190.
* dpkg-fsys-usrunmess: Install a local policy-rc.d to ignore service
restarts. Closes: #991190
* dpkg-fsys-usrunmess: Do not fail when removing lingering directories.
* dpkg-fsys-usrunmess: Fix typo in debug message.
* dpkg-fsys-usrunmess: Explicitly set user/group and mode for created dirs.
Closes: #1008478
* dpkg-fsys-usrunmess: Set a known umask before starting.
See #
1008478.
* dpkg-fsys-usrunmess: Special case untracked kernel module files.
Closes: #1008316
* dpkg-fsys-usrunmess: Handle /lib/modules itself also being untracked.
Closes: #1008764
* Architecture support:
- Add support for ARCv2 CPU.
Based on a patch by Alexey Brodkin <Alexey.Brodkin@synopsys.com>.
Closes: #980963
* Perl modules:
- Dpkg::Shlibs::Objdump: Fix apply_relocations to work with versioned
symbols. Closes: #
1000421
* Localization:
- Fix missing newline in Dutch man pages translation.
[dgit import package dpkg 1.20.12]
Raspbian automatic forward porter [Wed, 13 Jul 2022 16:23:21 +0000 (17:23 +0100)]
Merge version 1.20.10+rpi1 and 1.20.11 to produce 1.20.11+rpi1
Guillem Jover [Sat, 2 Jul 2022 03:08:46 +0000 (04:08 +0100)]
Merge dpkg (1.20.11) import into refs/heads/workingbranch
Guillem Jover [Sat, 2 Jul 2022 03:08:46 +0000 (04:08 +0100)]
dpkg (1.20.11) bullseye; urgency=medium
[ Guillem Jover ]
* dpkg-deb: Fix unexpected end of file conditions on .deb extract.
* libdpkg: Do not restrict source:* virtual fields to installed packages.
Closes: #1004372
* Perl modules:
- Dpkg::Source::Package::V2: Always fix the permissions for upstream
tarballs. Closes: #
1012195
* Build system:
- Build gitlab CI images for bullseye instead of sid.
[dgit import package dpkg 1.20.11]
Raspbian automatic forward porter [Fri, 27 May 2022 08:49:17 +0000 (09:49 +0100)]
Merge version 1.20.9+rpi1 and 1.20.10 to produce 1.20.10+rpi1
Guillem Jover [Tue, 24 May 2022 11:18:43 +0000 (12:18 +0100)]
Merge dpkg (1.20.10) import into refs/heads/workingbranch
Guillem Jover [Tue, 24 May 2022 11:18:43 +0000 (12:18 +0100)]
dpkg (1.20.10) bullseye-security; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Dpkg::Source::Archive: Prevent directory traversal for in-place extracts.
Reported by Max Justicz <max@justi.cz>. Fixes CVE-2022-1664.
* Localization:
- Update Swedish translations.
Thanks to Peter Krefting <peter@softwolves.pp.se>. Closes: #
1007116
[ Update man pages translations ]
* German (Helge Kreutzmann).
[dgit import package dpkg 1.20.10]
Raspbian automatic forward porter [Fri, 30 Apr 2021 01:17:06 +0000 (02:17 +0100)]
Merge version 1.20.7.1+rpi1 and 1.20.9 to produce 1.20.9+rpi1
Guillem Jover [Tue, 13 Apr 2021 22:43:39 +0000 (23:43 +0100)]
Merge dpkg (1.20.9) import into refs/heads/workingbranch
Guillem Jover [Tue, 13 Apr 2021 22:43:39 +0000 (23:43 +0100)]
dpkg (1.20.9) unstable; urgency=medium
[ Guillem Jover ]
* Test suite:
- Pass --ignore-builtin-builddeps to dpkg-buildpackage.
[dgit import package dpkg 1.20.9]
Peter Michael Green [Sun, 24 Jan 2021 22:19:58 +0000 (22:19 +0000)]
Manual merge of version 1.20.5+rpi1 and 1.20.7.1 to produce 1.20.7.1+rpi1
Guillem Jover [Sat, 9 Jan 2021 06:11:57 +0000 (06:11 +0000)]
Merge dpkg (1.20.7.1) import into refs/heads/workingbranch
Guillem Jover [Sat, 9 Jan 2021 06:11:57 +0000 (06:11 +0000)]
dpkg (1.20.7.1) unstable; urgency=medium
* Regenerate source package to include disappeared top-level Makefile.in.
[dgit import package dpkg 1.20.7.1]
Peter Michael Green [Sun, 2 Aug 2020 12:08:02 +0000 (13:08 +0100)]
Merge dpkg (1.20.5+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Sun, 2 Aug 2020 12:08:02 +0000 (13:08 +0100)]
dpkg (1.20.5+rpi1) bullseye-staging; urgency=medium
* Hack up Vendor.pm so it doesn't fail
(see https://lists.debian.org/debian-dpkg/2020/08/msg00004.html )
* disable testsuite.
[dgit import package dpkg 1.20.5+rpi1]
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]