Publishing details
Changelog
dpkg (1.17.18~ubuntu12.04.1~ppa1) precise; urgency=medium
* No-change backport to precise
dpkg (1.17.18) unstable; urgency=low
[ Guillem Jover ]
* Handle empty minimum versions when initializing dependency versions,
as the code is mapping the minimum version 0 to '' to avoid outputting
useless versions. Regression introduced in dpkg 1.17.17. Closes: #764929
[ Updated programs translations ]
* Catalan (Guillem Jover).
[ Updated dselect translations ]
* Catalan (Guillem Jover).
* German (Sven Joachim).
dpkg (1.17.17) unstable; urgency=low
[ Guillem Jover ]
* Add dpkg-vendor, Dpkg/File.pm and Dpkg/Util.pm to the list of files with
translatable strings, so that they can be translated.
* Fix some typos for versioned and mentioned in comments and changelogs.
* Mark for translation and unify "rm cleanup" string in dpkg.
* Mark for translation and improve dselect method handling error messages.
* Defer trigger processing if the package does not fulfill dependencies.
Closes: #671711
* Do not write to the database when changing selections with --dry-run.
Closes: #764673
* Add missing imports from Dpkg::BuildProfiles in dpkg-genchanges.
Regression introduced in dpkg 1.17.14. Closes: #764216
Reported by Johannes Schauer <email address hidden>.
* Initialize dependencies with the correct minimum version from a symbols
file with multiple SONAMEs in dpkg-shlibdeps.
Thanks to Jérémy Bobbio <email address hidden>. Closes: #764721
* Perl modules:
- Allow multiple whitespace in Dpkg::BuildProfiles::get_build_profiles()
when parsing the DEB_BUILD_PROFILES environment variable.
Thanks to Johannes Schauer <email address hidden>.
- New Dpkg::Getopt private module.
- Document public module Dpkg.
- Document public module Dpkg::Gettext.
- Mark Dpkg::BuildProfiles as a public module.
- Document all public module versions in a CHANGES section.
- Remove EXPORTED from POD section titles.
- Document private modules as such in a CHANGES section.
* Set the DEB_TARGET_* dpkg-architecture variables from architecture.mk.
Missed in dpkg 1.17.14.
* Initialize DEB_TARGET_ARCH variable without requiring DEB_HOST_ARCH,
which is not being set at all when querying for DEB_TARGET_ variables.
* Normalize dpkg-architecture command-line parsing, so that «--option=value»
«--option value», «-ovalue» and «-o value» will all be accepted.
* Add long option names for all dpkg-architecture short options.
* Add support for --host-arch, --host-type, --target-arch and --target-type
long options in dpkg-buildpackage. These will get passed through to
dpkg-architecture. This restores the ability to specify the target
architecture when building cross-compilers. Regression introduced in
dpkg 1.17.14. Reported by Helmut Grohne <email address hidden>.
* Do not modify the topic variable values in list functions in perl code.
* List Dpkg::Exit and Dpkg::Interface::Storable as public modules in
libdpkg-perl package description.
[ Updated programs translations ]
* German (Sven Joachim).
* Vietnamese (Trần Ngọc Quân).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
dpkg (1.17.16) unstable; urgency=low
* Set the copyright holder in the po4a calls for man pages.
* Switch remaining topic to named variable in Dpkg::Source::Patch:analyze(),
otherwise the loop was expecting values in one variable but storing them
in another. Regression introduced in dpkg 1.17.14. Closes: #764206
* Set umask to 0 when creating symlinks in tar test case, to normalize
results. POSIX specifies that symlinks have undefined permissions in
their mode, so their setting is system dependent. Linux does not honor
the umask for symlinks, other systems like Hurd or kFreeBSD do.
Regression introduced in dpkg 1.17.14. Closes: #764171
dpkg (1.17.15) unstable; urgency=low
* Do not blacklist pie and stackprotector build flags on mips/mipsel.
Thanks to Aurelien Jarno <email address hidden>. Closes: #763672
* Fix build failures due to mismatched umask in libdpkg tar test case.
Set it to a known value of 0022.
dpkg (1.17.14) unstable; urgency=low
[ Guillem Jover ]
* Fix '--' to '-' on translations for single character options.
* Correct the copyright holder in the gettext Makevars files.
* Switch debian/copyright to machine-readable format 1.0, and extensively
update the information within.
* Bump Standards-Version to 3.9.6 (no changes needed).
* Disable unused run-time type information for dselect.
* Fix compiler flag detection with non-GCC compilers in the build system.
* Fix perl warning on dpkg-source when typing Ctrl-D on patch name prompt.
* Add new dpkg-deb --ctrl-tarfile command.
* dpkg-architecture:
- Add support for target system information via the new DEB_TARGET_ family
of variables, and new -A and -T options to override defaulting to the
host system.
- Clarify that -a, -t, -e and -i work with the host system.
* Place 'Commands:' before 'Options:' sections on --help output in
dpkg-architecture and dpkg-vendor.
* Always warn in dpkg-genchanges on missing Section or Priority value,
either empty or '-'.
* Fix order of Files field on generated .changes file in dpkg-genchanges.
Regression introduced in dpkg 1.17.7.
* Stop warning on unknown arbitrary fields from dpkg-deb.
* Remove unnecessary handling of obsolete Package_Revision field in dselect
ftp method.
* Fix the build system to parse the system curses.h header instead of
dselect-curses.h, to not just default on the builtin and override keys
for dselect key bindings support. Regression introduced in dpkg 1.15.1.
* Emit a warning when using the obsolete Dpkg::Deps check_package() function.
* Add support for versioned Provides to Dpkg::Deps::KnownFacts, missed in
dpkg 1.17.11.
* Man pages:
- Add a mention of packaging helpers support in dpkg-maintscript-helper(1).
Closes: #759754
- Move dpkg-buildflags(1) generic feature area details to the section top.
- Fix prerm invocation arguments in update-alternatives(8).
Reported by jre <email address hidden>. Closes: #761025
* Add new deps_iterate() function to Dpkg::Deps. Closes: #759747
Based on a patch by Dima Kogan <email address hidden>.
* Add support for relative symlinks to dpkg-maintscript-helper symlink_to_dir
command. Suggested by Don Armstrong <email address hidden>.
* Add a new dpkg-buildflags qa feature area:
- Add a new bug feature, disabled by default, which will enable fatal
warnings for code that can pose actual problems. Closes: #682659
- Add a new canary feature, disabled by default, which will allow tracking
build flags propagation. Closes: #628516
* Pass DEB_BUILD_OPTIONS to dpkg-buildflags in buildflags.mk, required to
get noopt to work at all, for example.
* Add a new dpkg-buildflags reproducible feature area:
- Add a new timeless feature, disabled by default, which will add
«-Wdate-time» to CPPFLAGS.
Thanks to Paul Wise <email address hidden>. Closes: #762683
* Fix error message from buffer_copy() read and write functions. This
affects error messages from partial or broken .deb packages for example.
Regression introduced in dpkg 1.17.10. Closes: #759498
* Remove lpia architecture support.
* Improvements and portability fixes to start-stop-daemon:
- Abort if the system or compatibility setsid() fails.
- Do not exit from the first parent before the pidfile has been created,
when using --background and --make-pidfile, to avoid the race condition.
Based on a patch by Nir Soffer <email address hidden>. Closes: #686420
- Make sure the pidfile is always created with a 022 umask.
Reported by Will Conley <email address hidden>. Closes: #760222
- Do not abort on --stop when only --pid or --ppid options are specified.
Thanks to Christos Trochalakis <email address hidden>. Closes: #763767
- On kFreeBSD systems do not unnecessarily make kvm_openfiles() open
/dev/mem. This causes issues on FreeBSD jails for example.
Reported by Steven Chamberlain <email address hidden>.
- On systems using libkvm, do not fail when kvm_getprocs() cannot find
any process.
* Map i786 to i386 also for the multiarch pathname in dpkg-architecture.
* Handle omitted binary packages due to build profiles in dpkg-genchanges.
Based on a patch by Johannes Schauer <email address hidden>. Closes: #758191
* Update restriction formula syntax for build profiles:
- Restriction lists are now restriction formulas.
- Restriction formulas are given in disjunctive normal form expression:
<foo> <bar baz> <blub>
- Removal of the implicit prefix/namespace mechanic.
- Construct the profiles entry of the Packages-List field by converting
the "<bar baz> <blub>" syntax into "bar,baz+blub".
- Include a temporary compatibility mapping with the old way to write
the Build-Profiles field in binary packages which can be removed once
all affected source packages have moved to the new syntax.
Thanks to Johannes Schauer <email address hidden>. Closes: #760158
* Normalize instdir in dpkg by removing trailing «/» and «/.». This gets
rid of several inconsistencies and doubled «/» in syscalls and output
messages.
* Never try to remove the root directory or its backups. There's no point in
it, and makes life more difficult for a read-only root with a read-write
overlay or a symlink farm. Requested by <email address hidden>.
* Remove arbitrary filename limit from dpkg-deb, which was lifted some
time ago when the code switched to a dynamic string via varbuf.
* Do not pipe the files to sign from dpkg-buildpackage to GnuPG. When GnuPG
uses the gpg-agent it is unable to detect the correct tty configuration
if stdin is a pipe instead of the current terminal. Closes: #762391
* Add a new --hash option to enable generating only specific file checksums
in dpkg-scanpackages. Requested by Thorsten Glaser <email address hidden>.
* Add architecture restriction options for dpkg-architecture -L. This allows
to select specific subsets of all valid known architectures, matching by
wildcard (-W), endianness (-E) or bits (-B). The restricting options can
be combined, or omitted altogether. Closes: #762635
* Say arch-wildcard instead of arch-alias in dpkg-architecture --help output.
* Test suite:
- Do not leave temporary files behind on failure or when interrupted.
- Add basic unit tests for the FNV hashing function.
- Add unit tests for the libdpkg tar extractor.
* Add --build and --extract command aliases to dpkg-source.
* Print file or package names instead of pointers in dpkg debug output,
to make it more meaningful and reproducible.
* Fix off-by-one error in libdpkg command argv size calculation.
Based on a patch by Bálint Réczey <email address hidden>. Closes: #760690
* Switch the libdpkg string hashing function from FNV-1 to the recommended
FNV-1a variant.
* Switch the dpkg files database string hashing function from what appears
to be a custom hash function to the libdpkg FNV-1a implementation. As a
side effect this fixes an integer overflow. Addresses: #760741
* Double the dpkg files database hash table size to the closest 2^18 prime.
Times have changed, and it's common to have at least these many files.
This reduces the amount of collisions.
* Document optional dpkg -C argument in --help output. Closes: #763000
* Consider a hardlink tar entry as a regular file for mode values, i.e.
assign to it S_IFREG instead of 0.
[ Raphaël Hertzog ]
* Explain better in deb-triggers(5) why interest/activate-noawait should be
favored.
[ Updated programs translations ]
* Catalan (Guillem Jover): Fix mismatched format string.
* Czech (Miroslav Kure).
* Polish (Łukasz Dulny).
* Turkish (Mert Dirik). Closes: #763825
[ Updated manpages translations ]
* German (Helge Kreutzmann).
* Italian (Guillem Jover): Swap order of some dpkg-deb arguments.
Thanks to xor <email address hidden>. Closes: #759149
dpkg (1.17.13) unstable; urgency=low
[ Guillem Jover ]
* Remove unbalanced trailing single-quote in dpkg-deb error message.
Reported by Trần Ngọc Quân <email address hidden>.
* Remove architecture blacklist from hardening build flag option
stackprotectorstrong. Thanks to Romain Francoise <email address hidden>.
* Documentation:
- Merge binary:Package descriptions in dpkg-query(1).
- Split --remove and --purge options in dpkg(1). This also clarifies on
which package states each option can operate. Closes: #576338
- Remove duplicate “of the” in dpkg-maintscript-helper(1).
* Fix dpkg-maintscript-helper dir_to_symlink to handle relative symlink
targets. Thanks to Helmut Grohne <email address hidden>.
* Fix dpkg-maintscript-helper symlink_to_dir to assure absolute pathnames
arguments.
* Fix dpkg-source not detecting modified files during --commit or -b.
Regression introduced in dpkg 1.17.11. Closes: #758426
Reported by Neil Williams <email address hidden>.
* Only test the strerror() compatible code if sys_errlist and sys_nerr
are present. This fixes a build failure on GNU/Hurd. Closes: #758199
* Switch start-stop-daemon on GNU/kFreeBSD systems to use libkvm, instead
of relying on linprocfs which is not the native procfs on kFreeBSD, and it
is usually not mounted as FreeBSD programs do not expect it to be present.
[ Updated programs translations ]
* Czech (Miroslav Kure).
* German (Sven Joachim).
* Vietnamese (Trần Ngọc Quân).
[ Updated manpages translations ]
* French (Jean-Pierre Giraud, Vincent Thomas, Raphaël Hertzog).
[ Updated scripts translations ]
* French (Raphaël Hertzog).
* German (Helge Kreutzmann).
dpkg (1.17.12) unstable; urgency=low
[ Guillem Jover ]
* Only build the compatibility selinux code if libselinux is available or
the user requested it. Also fixes build failures on non-Linux systems.
Closes: #757637
* Documentation:
- Add a short description to each virtual field in dpkg-query(1), and
mention the version they got introduced in dpkg.
- Fix formatting of last paragraphs inside dselect(1) --color description.
* Rework dselect columns code, to make it easier to maintain and read.
* Add new architecture columns to dselect package list view. The new
columns, shown by default, can be turned off with the new ‘A’ key,
or bound to another key via the new “archdisplay” keybinding.
* Fix a descriptor leak on dselect subprocesses when --debug is used.
* Use «tar --format=gnu» when creating source archives. This makes sure we
get a deterministic output format, regardless of what tar defaults to.
Thanks to Jan Blunck <email address hidden>..
* Use perl's length instead of defined when checking some environment
variables, if we require them to have content.
* Allow specifying the same build type option multiple times in
dpkg-buildpackage and dpkg-genchanges. There seems to be scripts with
such invocations in the wild. Closes: #757795
[ Updated programs translations ]
* German (Sven Joachim).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
dpkg (1.17.11) unstable; urgency=low
[ Guillem Jover ]
* Switch URLs in docs and code comments from http:// to https:// if the
latter is available (round two). This includes the quilt patch header
templates, and examples in man pages.
* Update some dpkg git URLs to the new and newer (cgit switch) scheme.
* Changes to libcompat:
- Make the library testable.
- Do not run qsort() over the scandir() list if it is NULL.
- Add a setexecfilecon() compatibility function out from dpkg code.
* Use SELinux setexecfilecon() if available in dpkg instead of ad-hoc code.
* Replace obsolete <sys/fcntl.h> with <fcntl.h>, which fixes compilation on
Android. Thanks to Fredrik Fornwall <email address hidden>. Closes: #752036
* Fix file triggers/Unincorp descriptor leak on subprocesses. Regression
introduced with the initial triggers implementation in dpkg 1.14.17.
Closes: #751021
* Do not disable the stack-protector build flags on arm64 in Debian and
derivatives, the toolchain supports them now.
Thanks to Adam Conrad <email address hidden>. Closes: #751032
* When parsing the statoverride database from dpkg-statoverride do not
consider it an error and refuse to operate at all if the user or group
names are not known to the system, just preserve them. Closes: #563307
* Do not write to the available file when unpacking binary packages. This
information is not useful as dpkg has never recorded the archive path,
so it has never been truly available for re-installation anyway.
* Add versioned Provides support:
- Add a new dpkg --assert-versioned-provides command.
- Packages can provide a specific version, “virtual (= 1.0)” which will
be honored, previously it would just be accepted when parsing.
- Non-versioned virtual packages will not satisfy versioned dependencies.
- Versioned virtual packages will satisfy non-versioned dependencies.
Based on skeletal code by Ben Collins <email address hidden>.
Closes: #7330, #24934, #112131, #134582, #180316
* On removal check Depends and Pre-Depends for packages in unpacked and
half-configured states too.
* Add support for new hardening build flag stackprotectorstrong in Debian
and derivatives, enabled by default. It will fallback to stackprotector
when the former is not functional or disabled by the user.
Thanks to Romain Francoise <email address hidden>.
* Change «dpkg-deb --field» code to use the libdpkg deb822 parser instead
of an ad-hoc one. This makes sure any field fixup and sanity check is
performed on the input, and gets reflected on the output.
* Add new dpkg-query virtual fields db:Status-Want, db:Status-Status and
db:Status-Eflag to allow fine-grained access to the Status values.
* Automatically add the Testsuite field in dpkg-source to the .dsc file.
* Spell nocheck option in dpkg-scanpackages wait_child() call correctly.
Spotted by James McCoy <email address hidden> (in devscripts).
* Move the explanation of functional checks from --verify-format to the
--verify command in the dpkg(1) man page. Closes: #747264
* Improve dpkg-buildpackage(1) man page:
- Mark DEB_CHECK_COMMAND environment variable in bold.
- Add final item for done hook in the actions sequence.
- Mention that -nc does not apply either when -F is specified.
- Mention that the --FOO-option options can be used multiple times.
- Fix a typo in the BUGS section.
* Mark the “and” between the filenames as regular format in dpkg-source(1).
* Add --format and --ignore-bad-version to dpkg-source --help output.
* Clarify error message in Dpkg::Source::Quilt when patches fail to apply,
to note that the patch might be malformed (besides not accepting patches
with fuzz).
* Try to preallocate the disk size for extracted files on unpack. This
might help in avoiding filesystem fragmentation, and possibly improve
performance on some filesystems.
* Print the correct removed binary filename when building a source package
with dpkg-source --include-removal. Closes: #755166
* Add powerpcel support to cputable. Thanks to Jae Junh <email address hidden>.
* Bump the i386 architecture GNU triplet to i586-linux-gnu to match the
change in gcc. Somewhat reluctantly, as i386 wants to be its unique
snowflake and use a GNU triplet not matching its baseline. This will
cause problems when cross-building and using unmatched combinations of
dpkg-dev and gcc. Closes: #751363
* Update i386 architecture GNU cpu regex in cputable to match i786 too.
* Remove unused pkglibdir variable from libdpkg.pc.in.
* Perl modules:
- Add new set_as_auto() method to Dpkg::Substvars.
- Add support for sig and delete_sig spawn() options in Dpkg::IPC.
- Add %opts to ensure_open() member in Dpkg::Compression::FileHandle.
- Change find_command() to handle an empty or undef argument in Dpkg:Path.
* Mark Format and Installed-Size as automatic substvars in dpkg-genchanges
and dpkg-gencontrol respectively.
* Warn on usage of deprecated Source-Version substvar.
* Say OpenPGP instead of PGP when referring to the standard on code comments
and output messages.
* Add a hint to the “no dependency information found” error message in
dpkg-shlibdeps, to check if the library is actually packaged.
Thanks to Sylvestre Ledru <email address hidden>. Closes: #756230
* Delete the current compressor SIGPIPE disposition in Dpkg::Source::Archive,
which fixes ignoring SIGPIPE from the calling process. Closes: #756526
* Ignore DEB_CHECK_COMMAND in dpkg-buildpackage if the command is not found.
* Emit a warning when using the deprecated -is/-ip/-isp/-ips options in
dpkg-gencontrol.
* Only print build type once in dpkg-genchanges, instead of once for each
specified -A or -B option and then yet another time for the general build
type description.
* Unify build options description in --help output for dpkg-buildpackage
and dpkg-genchanges.
* Only allow one build type option in dpkg-genchanges and dpkg-buildpackage.
* Correctly filter the host architecture on the Architecture field in the
generated .changes file from dpkg-genchanges, when the debian/files
contains arch-specific packages but dpkg-genchanges was called with
one of the build types excluding them.
* Add new -g and -G options to dpkg-genchanges and dpkg-buildpackage for
source plus arch-indep/specific builds. Closes: #756975
* Fix dpkg --add-architecture and --remove-architecture to check that they
get exactly one argument. Closes: #757254
[ Updated programs translations ]
* Danish (Joe Dalton). Closes: #754127
* French (Jean-Baka Domelevo Entfellner, Julien Patriarca).
* Portuguese (Miguel Figueiredo). Closes: #756920
* Spanish (Guillem Jover): Fix «dpkg-query -l» header. Closes: #756209
* Swedish (Peter Krefting).
[ Updated scripts translations ]
* Swedish (Peter Krefting).
[ Updated manpages translations ]
* Swedish (Peter Krefting).
dpkg (1.17.10) unstable; urgency=medium
[ Guillem Jover ]
* Use libtool to build the static libraries, which makes it possible to
embed libcompat inside libdpkg, as required by some external programs
linking against the latter. Closes: #746122
* Fix word wrapping logic in dselect. Regression introduced in dpkg 1.17.3.
* Fix possible out of bounds buffer read access in the error output on
bogus ar member sizes.
* Fix memory leaks in buffer_copy() on error conditions.
* Test suite:
- Improve C code coverage.
- Add template test cases for most perl modules.
- Add test cases for Dpkg::Deps OR relationships.
- Add minimal test case for Dpkg::Source::Quilt.
- Add test cases for Dpkg::Source::Patch CVE-2014-0471 and CVE-2014-3127.
- Add test case for patch disabling hunks; not security sensitive.
* Fix non-security sensitive TOCTOU race in triggers database loading.
* Fix non-security sensitive TOCTOU race in update-alternative alternative
database loading.
* Fix non-security sensitive TOCTOU race in update-alternative rename code.
* Add a workaround to start-stop-daemon for bogus OpenVZ Linux kernels that
prepend, instead of appending, the " (deleted)" marker in /proc/PID/exe.
Closes: #731530
* Move dpkg-architecture -L argument to the Commands --help output section.
* Make dpkg-maintscript-helper print only once that we are moving a
conffile, and not on every interim state transition. Closes: #747370
* Do not use global match variables in perl code.
* Man pages:
- Attempt to clarify and improve wording of some strange or confused
constructs. Reported by Helge Kreutzmann.
- Expand Vcs-* field names into each supported field name in
deb-src-control(5) to make it easier to search for them.
- Change control.tar.gz reference to simply control.tar in deb(5).
- Document in dpkg-deb(1) -Z option that bzip2 and lzma are deprecated.
- Add notes in dpkg-gensymbols(1) about symbol backward-compatibility.
Based on a patch by Bernhard R. Link <email address hidden>.
Closes: #746973
- Document that dpkg-buildpackage(1) -j argument is optional.
- Add current and deprecated media types to deb(5).
- Document in dpkg(1) that --audit now does more than just searching for
partially installed packages.
* Add support for automatic parallel job selection in dpkg-buildpackage,
matching currently active processors, when using -jauto. Closes: #748012
* Perl modules:
- Bump $VERSION for Dpkg::Patch, missed in 1.16.1.
- Bump $VERSION for Dpkg::Deps, missed in 1.17.0.
- Update and fix CHANGES POD sections for public modules.
- Add missing Dpkg::Deps::Multiple profile_is_concerned() and
reduce_profiles() methods, inherited by Dpkg::Deps::Union,
Dpkg::Deps::AND and Dpkg::Deps::OR.
* Do not mangle quilt series files with a missing newline on the last line.
Closes: #584233
* Quiesce tar warnings in cron job by redirecting stderr to /dev/null, as
it seems --warning=none does not work correctly. Closes: #748544
* Do not emit a trailing space from Dpkg::Control::Hash on a field's empty
first line. Bump dpkg-dev Breaks on devscripts to 2.14.4, as previous
versions expect a trailing space from dpkg-parsechangelog output.
Based on a patch by Johannes Schauer <email address hidden>. Closes: #749044
* Do not assume that sensible-editor is present on «dpkg-source --commit»,
as that command is very Debian specific. Fallback to try VISUAL, EDITOR,
or vi, if the previous commands are either unset or not found.
* Use badusage() instead of ohshit() on dpkg --ignore-depends argument
parsing errors.
* Add per package dpkg --audit support.
* Add support for DragonFlyBSD to ostable and triplettable.
Thanks to Hleb Valoshka <email address hidden>.
* Add support for DragonFlyBSD to start-stop-daemon. Closes: #734452
Based on a patch by Hleb Valoshka <email address hidden>.
* Correctly parse patch headers in Dpkg::Source::Patch, to avoid directory
traversal attempts from hostile source packages when unpacking them.
Reported by Javier Serrano Polo <email address hidden> as an unspecified
directory traversal; meanwhile also independently found by me both
#749183 and what was supposed to be #746498, which was later on published
and ended up being just a subset of the other non-reported issue.
Fixes CVE-2014-3864 and CVE-2014-3865. Closes: #746498, #749183
[ Updated programs translations ]
* Catalan (Guillem Jover).
* Italian (Milo Casagrande). Closes: #750105
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
[ Raphaël Hertzog ]
* Let dpkg-source unpack additional tarballs in a deterministic order.
Thanks to Samuel Bronson for the report. Closes: #747148
dpkg (1.17.9) unstable; urgency=high
[ Guillem Jover ]
* Do not allow patch files with C-style encoded filenames. Closes: #746306
Fixes CVE-2014-3127 and unconditionally fixes CVE-2014-0471.
Reported by Javier Serrano Polo <email address hidden>.
* Switch alternative database backups from xz to gzip. Closes: #746354
* Do not leak long tar names on bogus or truncated archives.
* Do not leak the filepackages iterator when a directory is used by other
packages.
* Fix short lived memory leaks in «dpkg-split --split».
* Fix memory leak in unused Keybindings screen in dselect.
* Do not leak color string on «dselect --color».
* Fix memory leaks when parsing alternatives.
* Fix off-by-one stack buffer overrun in start-stop-daemon on GNU/Linux and
GNU/kFreeBSD if the executable pathname is longer than _POSIX_PATH_MAX.
Although this should not have security implications as the buffer is
surrounded by two arrays (so those catch accesses even if the stack
grows up or down), and we are compiling with -fstack-protector anyway.
* Mark the command_get_pager() tests on a tty as TODO for now, so that
we do not get failures on build daemons.
* Make test suite errors abort the build again. Closes: #746331
[ Updated scripts translations ]
* French (Steve Petruzzello). Closes: #746350
* German (Helge Kreutzmann).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
dpkg (1.17.8) unstable; urgency=high
[ Guillem Jover ]
* Do not backup nonexistent database files from the cron.daily file.
And stop emitting tar warnings. Closes: #745592, #745651
* Test suite:
- Improve Perl code coverage.
- Improve C code coverage.
* Handle space-only strings when parsing versions in libdpkg.
* Document the environment requirements for the dpkg-maintscript-helper
supports command in the man page. Closes: #739634
* Improve wording for «dpkg --verify» and --verify-format in the man page.
Closes: #733057
* Switch test runner from Test::Harness to TAP::Harness.
* Use the perl TAP::Harness for the C test suite instead of the automake
tap-driver, to avoid requiring automake >= 1.12, currently not present
in stable.
* Enable failed test case reporting from the TAP::Harness, so that we get
more meaningful reports on failure from the C test suite.
* Correctly parse C-style diff filenames in Dpkg::Source::Patch, to avoid
directory traversal attempts from hostile source packages when unpacking
them. Reported by Jakub Wilk <email address hidden>. Fixes CVE-2014-0471.
[ Updated programs translations ]
* German (Sven Joachim).
* Russian (Yuri Kozlov). Closes: #745869
* Vietnamese (Trần Ngọc Quân).
dpkg (1.17.7) unstable; urgency=low
[ Guillem Jover ]
* Documentation:
- Mention in deb-symbols(5), that the “main-dependency-template” is
always used. Closes: #737731
- Clarify in deb-control(5) «Multi-Arch: no» field omission.
- Clarify in dpkg-buildpackage(1) --check-option description.
- Document dpkg-query --control-path life expectancy. See: #699647
- Fix indentation of “Extract options (with -x)” title in dpkg-source(1).
- Improve symlink <-> directory switch information in
dpkg-maintscript-helper(1). Closes: #739388
- Add missing flags affected by hardening options to dpkg-buildflags(1).
* Use exit instead of return to exit a subshell in dpkg-maintscript-helper.
Thanks to Richard Levitte <email address hidden>. Closes: #738957
* Localize $_ in Perl functions with while (<$fh>) style loops.
* Perl test suite cleanup:
- Switch test suite runner from ExtUtils::Command::MM to Test::Harness.
- Enable colors in test suite runner.
- Remove sequence number prefixes from test case filenames.
* Do not generate perl warnings on nonexistent fields with
«dpkg-parsechangelog --show».
* Fix bogus message on dependency parse errors in dpkg-checkbuilddeps.
Closes: #736778
* Document is_pgp_signed as a public Dpkg::Control::Hash option.
Closes: #735975
* Do not generate perl warnings on undef versions in
Dpkg::Deps::deps_compare(). See: #737731
* Clarify dpkg-genchanges error message on binary builds without any binary
artifact built. Closes: #726520
* Improve dpkg-source warning message when ignoring file removals,
by adding a hint about the --include-removal option.
Thanks to Moritz Muehlenhoff <email address hidden>. Closes: #738310
* Add a new dpkg-source extraction --ignore-bad-version option.
Closes: #740883
* Add Architecture and Build-Profiles information to Package-List field,
as optional name=value1,value2 entries, with names «arch» and «profile».
Use the now recognized field Build-Profiles from binary stanzas in the
source control file to fill the «profile» value.
* Do not interpret the .dsc filename as a regex when recomputing the
md5sum for the .changes file after signing the .dsc. Closes: #742535
* Cache vendor info Control::Hash objects in Dpkg::Vendor::get_vendor_info()
when parsing the vendor file on each hook invocation.
* If the vendor does not have a Dpkg::Vendor module, try loading a module
from the parent vendors, before falling back to Dpkg::Vendor::Default.
Closes: #735978
* Set Ubuntu build flags for ppc64el instead of ppc64, as Ubuntu never ended
up shipping a ppc64 architecture. Also honor noopt DEB_BUILD_OPTIONS flag.
Thanks to Adam Conrad <<email address hidden>. Closes: #738691
* Add OpenRISC or1k support to cputable.
Thanks to Christian Svensson <email address hidden>. Closes: #736717
* Add support for FCFLAGS, OBJCFLAGS and OBJCXXFLAGS build flags.
Closes: #744326
* Improvements and portability fixes to start-stop-daemon:
- When using the Linux procfs switch to use /proc/PID/status instead of
/proc/PID/stat to read the process name.
- Add a generic KVM-based implementation to initialize the entire
process list.
- Fix FreeBSD KVM code to use current kinfo_proc layout.
- Add a native FreeBSD pid_is_exec() method, which is more reliable than
the KVM-based one, and means neither linprocfs nor procfs are required
on such system anymore. Note that GNU/kFreeBSD is still using Linux
procfs code (which ends up using linprocfs).
- Fix OpenBSD KVM code to use current kinfo_proc layout.
- Detect system specific headers at configure time instead of hardcoding
their usage depending on system macros.
- Add a new --ppid matching option to check for parent PID.
Suggested by Alex Mestiashvili <email address hidden>.
- On GNU/Hurd do not link unnecessarily against libshouldbeinlibc and
libihash.
* Set TAR preprocessor variable at build time instead of hardcoding it.
This will allow non-GNU systems to easily use another value for their
GNU tar, which is usually either gnutar or gtar.
* Require compound literals support in the compiler at configure time.
* Fix compound literals usage with compilers in C99 mode, by not assigning
them to static variables.
* Test suite cleanup:
- Do not unnecessarily shut up stdout in t-subproc.
- Test command_exec() exit code.
- Test allocations with new test_alloc() instead of pass/fail macros.
- Switch C test suite to use TAP.
* Add support for Packages-files in dpkg --update-avail and --merge-avail
from pipes, or standard input if the argument is omitted or is ‘-’.
Closes: #357093, #367297
* Error out on not-installed packages passed to «dpkg --verify».
* Deprecate compressing .deb files with bzip2, by making dpkg-deb issue a
warning, as the compressor has been superseded by xz when it comes to
compression ratio, and in cases where higher compatibility or raw speed
is desired gzip is still the better option. Although unpacking will be
kept being supported to handle existing bzip2 compressed .deb files.
* Use GNU tar's --no-unquote when using -T in dpkg-deb to avoid mangling
filenames. Reported by Niels Thykier <email address hidden>. Closes: #743687
* Backup all databases with user data, not just the status database.
* Add Conflicts to dpkg against packages using install-info that were
removed after lenny or squeeze, but may have survived upgrades to wheezy.
Thanks to Andreas Beckmann <email address hidden>. Closes: #735159
* Be verbose on «make check» errors by printing the test suite log.
[ Updated dpkg translations ]
* German (Sven Joachim).
* Swedish (Peter Krefting).
* Thai (Theppitak Karoonboonyanan). Closes: #745032
* Vietnamese (Trần Ngọc Quân).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
* Swedish (Peter Krefting).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
* Italian (Beatrice Torracca). Closes: #742449
* Swedish (Peter Krefting).
dpkg (1.17.6) unstable; urgency=low
[ Guillem Jover ]
* Move signing in dpkg-buildpackage to the end of the build.
* Add new --check-command and --check-option options to dpkg-buildpackage,
and DEB_CHECK_COMMAND environment variable as a default value, to
specify a package checker to use before the signing process.
* Detect a missing gain-root-command even if dpkg-buildpackage is running
as root.
* Detect a missing sign-command in dpkg-buildpackage, before starting the
build, to avoid a failure at the end of the process.
* Remove trailing newlines from dpkg-deb warning message.
* Change dpkg-deb conffile name length warning into an error, as dpkg will
reject those packages at install time anyway.
* Unify and clarify dpkg-deb and dpkg conffile name length error message.
Closes: #108196
* Add new start-stop-daemon --pid option. Closes: #253265
* Mention Multi-Arch: no value in man pages. Closes: #732648
* Correctly hyphenate binary-only and source-only in dpkg-buildpackage
output messages.
* Use makedev(3) when extracting .deb archives rather than ad-hoc
computations, to be able to support large major/minor device numbers,
supported on at least Linux, NetBSD and OpenBSD based systems.
Thanks to Peter Chang <email address hidden>.
* Turn the ARM Embedded ABI symbols blacklist into a regex, to stop having
to keep up with the GNU toolchain, or other toolchains emitting different
symbols.
* Blacklist GOMP critical section symbols. Closes: #708033
* Add support for Ignore-Blacklist-Groups field in symbols files, with the
two available group values aeabi and gomp. Closes: #694524
* Allow updating checksums in Dpkg::Checksums without erroring out.
* Add shell hooks support to dpkg-buildpackage, based on the debuild
implementation in devscripts 2.13.9. Closes: #476221
* Add support for Testsuite source field.
* Clarify error message about missing revision in non-native source package.
Closes: #719348, #733746
* Set default compression options in source format specific modules instead
of dpkg-source. This makes sure the correct compression level is set, even
for “3.0 (native)” packages with non-default compressors. Closes: #733326
* Change default source package compressor for new formats (>= 2.0) to xz.
* Ignore the same packages in «dpkg-query --list» when computing the
column width as when printing the entries. Closes: #734114
* Do not produce .deb archives with uncompressed gzip members on
«dpkg-deb -Zgzip -z0», instead create them as non-compressed members,
as if -Znone had been passed, as documented. Closes: #718295
* Add support for .deb archives with a control member not compressed
(control.tar) or compressed with xz (control.tar.xz).
* Add support for creating uniformly compressed .deb archive members,
with the new dpkg-deb option --uniform-compression.
* Fix file descriptor leaks in diversions and statoverride databases.
Closes: #734783
* Allow missing prior-version argument in dpkg-maintscript-helper
dir_to_symlink and symlink_to_dir commands. Closes: #733980
[ Updated dpkg translations ]
* Swedish (Peter Krefting).
* Vietnamese (Trần Ngọc Quân).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
* Swedish (Peter Krefting).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
* Swedish (Peter Krefting).
dpkg (1.17.5) unstable; urgency=low
[ Guillem Jover ]
* Switch non-tty output to be line buffered by default, and set it to fully
buffered only for programs with precious and abundant output, not just
progress reporting output (i.e. dpkg-query). This was causing out-of-order
error and debug messages in relation to normal progress reporting, which
could be very confusing. Regression introduced in dpkg 1.17.2.
* Fix segfault in update-alternatives when adding or renaming slaves for
an existing alternative. Regression introduced in dpkg 1.17.2.
Closes: #731710
* Fix dpkg-maintscript-helper symlink_to_dir and dir_to_symlink commands:
- Always run postinst code regardless of prior-version, as the package
might have been never configured before.
- Be more strict when checking the expected state of paths.
- Rename subcommand shell code to check-files-ownership.
- Change dir_to_symlink switch code to use a staging empty directory,
to avoid dpkg removing files from other packages, when removing the
package old files during upgrade.
- Bump minimal version in man page to 1.17.5.
Closes: #731730
* Mention gpg2 too as one of the default sign commands in dpkg-buildpackage.
[ Updated dpkg translations ]
* German (Sven Joachim).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated manpages translations ]
* German (Helge Kreutzmann).
dpkg (1.17.4) unstable; urgency=low
* Keep the diversions and statoverride database files open during dpkg
runs, to avoid eager inode number reuse by the filesystem if these files
get replaced multiple times in maintainer scripts, as we rely on the
inode numbers being different when checking if the databases need to
be reloaded. Regression introduced in 1.17.2. Closes: #731524
* Add debug output to diversions and statoverride database loading code.
* Reset the statoverrides information from the in-core database when
reloading it from disk, otherwise removals in maintainer scripts will
not be seen during the current dpkg run.
* Get rid of dpkg-split global partqueue queue variable.
* Use warningv() in dpkg instead of ad-hoc printing message when
overriding with --force option.
* Switch URLs in docs and code comments from http:// to https:// if the
latter is available.
dpkg (1.17.3) unstable; urgency=low
[ Guillem Jover ]
* Check availability of warning flags at build time. Fixes a build failure
on systems with old g++ compilers not accepting -Wc++11-compat.
* Move DPKG_C_C99 call just after AC_PROG_CC, so that subsequent checks
can take advantage of the possibly set flags to enable C99 features.
* Improve configure C99 compiler check output.
* Use C++11 nullptr instead of 0 or NULL, which is way more descriptive
and has a better type. Check for C++11 compiler support, and fallback
nullptr to 0 if unavailable.
[ Updated programs translations ]
* Vietnamese (Trần Ngọc Quân). Closes: #731409
dpkg (1.17.2) unstable; urgency=low
[ Guillem Jover ]
* Make Dpkg::Arch debwildcard_to_debtriplet() more robust by matching
on exact 'any' strings, instead of substrings.
* Add manpages-it Replaces to dselect and dpkg-dev. Closes: #717983
Reported by Andreas Beckmann <email address hidden>.
* Document default dpkg-deb compressor change to xz in man page.
Thanks to Salvatore Bonaccorso <email address hidden>. Closes: #718437
* Version manpages-it in Replaces with (<< 2.80-4), now that the package
does not ship the overlapping paths any more.
* Automatically prepend needed spaces for continuation --force-help lines.
* Be more precise on deb format errors with data member in dpkg-deb.
* Do not allow deb packages with control and data members swapped.
* Clarify «dpkg-deb --extract» bad usage error message on missing arguments
by printing all required arguments at once. Closes: #718899
* Clarify the insertion order of _ members in deb(5) man page.
* Fix use after free in alternative_parse_fileset() on update-alternatives.
Reported by Pedro Ribeiro <email address hidden>.
* Fix use after free in dpkg_arch_load_list() on libdpkg.
Reported by Pedro Ribeiro <email address hidden>.
* Fix theoretical stack buffer overflow in w_dependency() on libdpkg, not
currently applicable. Reported by Pedro Ribeiro <email address hidden>.
* Add ppc64el support to cputable. Closes: #718945
Thanks to Jeff Bailey <email address hidden>.
* Use dpkg-gencontrol -c argument as a fallback lock file in case
debian/control does not exist. Closes: #667008
* Pass the package reference count (i.e. number of present instances) to
maintainer scripts via the new variable DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT.
Closes: #681370
* Fix field names on error messages in libdpkg, by either capitalizing them
or by renaming them to match reality.
* Do not capitalize error and warning messages.
* When ignoring invalid remove requests in dpkg consider that progress,
reset the loop detector and avoid the assert. Closes: #143307
* Activate all path components for file triggers on removal.
Regression introduced in 1.17.0. Closes: #725437
* Activate file triggers on disappearance more accurately, only when we know
we are inevitably removing things.
* Fix «dpkg-query --list» output when using multibyte character strings,
to avoid unaligned columns and mojibake. Closes: #257505, #718541
Based on a patch by Changwoo Ryu <email address hidden>.
* Use fully buffered output on non-tty stdout.
Reported by Shawn Landden <email address hidden>.
* Recognize «start-stop-daemon -C» as documented. Closes: #719746
Reported by Brian S. Julin <email address hidden>.
* When update-alternatives is told to change slave links, do not warn that
the link group is broken, just print a notice that the alternative is
being updated due to the changes.
* Add a new «dpkg --verify» command to check the integrity of packages
installed files. Add a --verify-format option to excplicitly select the
output format, currently only rpm compatible output is supported, but
the default might change in the future. Closes: #187019
* Improve dpkg “Preparing to replace” and “Unpacking” progress messages.
Closes: #32427, #71106
* Print the package version on main dpkg progress messages.
* Do not store timestamps in gzip headers when using the command, to try to
mimic the zlib behavior. This does not affect Debian as it's been using
zlib for a very long time. Closes: #719844
* Reset environment variables affecting compressor commands when not using
the shared library implementations. Namely XZ_DEFAULTS, XZ_OPT, BZIP and
BZIP2.
* Use a simple list to track packages owning a file, instead of using a
list of arrays of pointers which waste 10 pointers per non-shared file,
instead of 1. This significantly reduces dpkg memory usage.
* Honor new DEB_SIGN_KEYID environment variable in dpkg-buildpackage.
Suggested by Harald Dunkel <email address hidden>. Closes: #615813, #719418
* Always check subprocess exit codes in Dpkg::Source::Package modules.
Reported by Ian Jackson <email address hidden>.
* Add support for pie and stack-protector options to dpkg-buildflags FFLAGS,
and update the man page to mention FFLAGS are a subset of CFLAGS.
Closes: #726932
* Improve and unify -O option handling in dpkg-genchanges, dpkg-gensymbols
and dpkg-shlibdeps, by always taking an optional filename argument and
describing in the man page the default output files.
* Use “hyphen” instead of “dash” when we mean the ‘-’ character in the
documentation and code comments.
* Do not NULL-terminate the list in the compat scandir(), as this might
cause a segfault in case the function returns 0 entries.
* Always return from ensure_statoverrides() if file is NULL, otherwise
we might get us to read garbage from memory or segfault.
* Add new symlink_to_dir command to dpkg-maintscript-helper. Closes: #720712
Based on a patch by Bastien ROUCARIÈS <email address hidden>.
* Add new dir_to_symlink command to dpkg-maintscript-helper. Closes: #583585
* Distinguish dpkg error reports between errors while processing packages
and archives.
* Fix crashes in the first call to gettext() after fork() on Mac OS X, by
forcing the initialization at program start of the CoreFoundation cached
values in libintl.
* Set a default gettext domain for libdpkg code, so that other programs
using a different domain can still get correct translations, like dselect.
* Cleanup libdpkg-perl API:
- Dpkg::Compression: Deprecate $default_compression_level,
$default_compression and $compression_re_file_ext package variables.
- Dpkg::Exit: Deprecate @handlers package variable.
- Dpkg::Source::Package: Deprecate $diff_ignore_default_regexp and
@tar_ignore_default_pattern package variables.
- Dpkg::Changelog::Entry::Debian: Deprecate $regex_header and
$regex_trailer package variables.
* Add GnuPG 2.x support. Add gnupg2 and gpgv2 as alternative Recommends to
gnupg and gpgv (to not pull them by default), but prefer gpgv2 over gpgv,
and gpg2 over gpg at run-time if they are available.
* Switch dpkg conflictor tracking from a fixed-size array to a queue,
fixing several related issues, due to conflictors not being removed from
the array after processing them. dpkg could fill it due to additions in
previous package processing producing very confusing error messages; and
a theoretical problem where a package could get appended to be removed,
then reinstalled as a new version, to get removed again when revisiting
the array in a subsequent package processing. Closes: #726112
* Do not accept empty field names in dpkg.
* Do not accept an initial hyphen in field names.
* Add experimental build profiles support:
- Add support for <!profile.name> build-time restrictions in dependencies.
- Add support for DEB_BUILD_PROFILES environment variable.
- Add new option -P to dpkg-buildpackage and dpkg-checbuilddeps.
- Add new Built-For-Profiles output field in .deb and .changes files.
Based on a patch by Patrick "P. J." McDermott <email address hidden>,
Wookey <email address hidden> and Johannes Schauer <email address hidden>.
Closes: #661538
* Bump Standards-Version to 3.9.5.
* Document interactions of dpkg-source --extend-diff-ignore and -i in the
man page. Closes: #729874
[ Updated programs translations ]
* German (Sven Joachim).
* Vietnamese (Trần Ngọc Quân).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated manpages translations ]
* French (Christian Perrier): fix incorrectly translated sentence,
thanks to Fabien Givors.
* German (Helge Kreutzmann).
dpkg (1.17.1) unstable; urgency=low
* Man pages cleanup:
- Make explicit that dpkg-shlibdeps -e can be used multiple times.
- Improve documentation on how to update the available database before
setting package selections. Suggested by Klaus Ita <email address hidden>.
* Add manpages-it Replaces to dpkg due to new translated man pages.
Reported by Alessio Gaeta <email address hidden>. Closes: #717983
* Reword libdpkg-perl description and only list public modules.
* Remove space before value in dpkg-parsechangelog -S option on pkg-info.mk.
Closes: #718014
* Make the build system install start-stop-daemon directly under /sbin,
instead of moving it around in debian/rules.
dpkg (1.17.0) unstable; urgency=low
[ Guillem Jover ]
* Switch update-alternatives back to a fatal error on out of range priority
on --install.
* Document dpkg-deb --debug in --help output.
* Bump Standards-Version to 3.9.4 (no changes needed).
* Use the new canonical dpkg git Vcs URLs.
* Remove ancient version from zlibg1-dev Build-Depends.
* Add compression development packages to libdpkg-dev Depends.
* Man pages cleanup:
- Disable justification and hyphenation in SEE ALSO sections.
- Remove unneeded double quotes in .SH headings.
- Do not use “header” when “format” or “field” is meant.
- Move dangers of installing via dpkg-deb from BUGS to a NOTES section.
- Remove BUGS sections containing obvious or misplaced information.
- Move BUGS sections before EXAMPLES and SEE ALSO sections.
- Place ENVIRONMENT and FILES sections contiguously.
- Move EXIT STATUS section before ENVIRONMENT.
- Rename CAVEATS sections to NOTES.
- Fold BACKWARD COMPATIBILITY section into other sections.
- Document since when DEB_*_MULTIARCH variables are supported.
- Move compiler flags subsection from ENVIRONMENT to NOTES.
- Unify WARNING and ERROR sections into DIAGNOSTICS.
- Unify command-line options into a single OPTIONS section.
- Mark programs, variables, fields and command-line options in bold.
- Fold dpkg-architecture(1) DEBIAN/RULES section into EXAMPLES.
- Fix dpkg-architecture(1) debian/rules usage documentation.
- Move dpkg-buildflags(1) HARDENING into a new FEATURE AREAS subsection.
- Improve dpkg-buildflags(1) usage documentation.
Thanks to Matthijs Kooijman <email address hidden>. Closes: #657627
- Clarify that DPKG_MAINTSCRIPT_PACKAGE is not arch-qualified.
- Add triggers to the list of binary control information files.
Thanks to Charles Plessy <email address hidden>.
* Use colon instead of dot for user:group in dpkg debug output.
* Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian.
* Fix update-alternatives to use the current alternative link as the first
best value, to avoid flip-flops of alternatives with equal priority.
Closes: #699807
* Fix clang warnings due to change of alignment requirements.
* Change copyright file to point to GPL-2 instead of GPL.
* Do not pass -e in shell script shebangs, set it in the body.
* Add new dpkg-parsechangelog --show-field option to print a field value.
Closes: #284664
* Add new dpkg-buildpackage --force-sign option.
* By default do not sign builds for UNRELEASED uploads on dpkg-buildpackage.
Closes: #635117
* Also check Build-Depends-Arch for minimal versions in dpkg-shlibdeps.
Closes: #681470
* Document dpkg-buildflags export mode usage in man page. Closes: #691449
Thanks to Jonathan Nieder <email address hidden>.
* Rename dpkg-buildflags configure exporter to cmdline, but preserve
configure as a legacy alias.
* Mask fortify hardening option from dpkg-buildflags output on noopt.
New glibc 2.16 and later, issue a warning on this condition.
Closes: #691745
* Refer to path instead of file on dpkg-statoverride.
* Always print a descriptive architecture column, even for empty or missing
architectures on «dpkg-query --list».
* Rework SELinux code on unpack to reload the label database if it has
changed, for example while upgrading the SELinux policy package.
* Execute maintainer scripts in a new execution context, based on the
current one and the specific maintainer script filename, and if it's
not different to the current one, use "dpkg_script_t" as a fallback.
* Do not unnecessarily create a dpkg update log record on remove or purge.
* Always reset want status when removing or purging a package; so this
now resets holds among others. Closes: #163763
* Always reset want status when installing a package; so this now resets
holds among others. Closes: #162541
* Defer cleanup of .dpkg-new and .dpkg-tmp paths on removal to the point
when we are definitely removing the main path.
* Activate file triggers on removal more accurately, only when we know
we are inevitably removing things.
* Change dir to / before executing maintainer scripts. Closes: #686782
* Add new dpkg-deb --deb-format option and base --new and --old on it,
as the latter are not future-proof, and neither can be guaranteed to
produce a reliable output file format.
* Drop archtable. It serves no purpose, it's Debian specific, it's
usually outdated, and everyone should be using dpkg-architecture anyway.
* Add musl-linux support to ostable and triplettable.
Requested-by Kevin Bortis <email address hidden>.
* Remove update-alternatives, dpkg-divert and dpkg-statoverride
compatibility symlinks under /usr/sbin/.
* Remove install-info wrapper.
* Only ignore older packages if the existing version is informative. This
allows any program using libdpkg to parse the available file to see again
packages with versions lesser than 0-0 (like 0~0-0). Closes: #676664
* Fix Dpkg::Control::Hash set_options() to take a hash as argument instead
of two scalars.
* Add a new Dpkg::Vendor get_vendor_dir() function.
* Print correct path to vendor directory on error message in dpkg-vendor.
* Do not hardcode the dpkg system configuration directory in perl scripts,
respect build time setting.
* Deprecate Dpkg perl module lowercase and exported by default variables,
replaced by new unified uppercase non-exported by default ones.
* Do not set -fstack-protector in the default build flags on arm64 (it's
not yet supported). Thanks to Matthias Klose <email address hidden>.
Closes: #711936
* Add GCJFLAGS support to dpkg-buildflags. Closes: #708375
* Clarify that dpkg --set-selections needs an up-to-date available db,
by documenting it on the dpkg(1) man page, and warning whenever dpkg
finds unknown packages while setting the selections. Closes: #703092
* Print nicer error messages in perl scripts using Getopt::Long by trapping
$SIG{__WARN__} to call usageerr() on option parse errors.
* Move the exit call out from usage() in dpkg-scansources so that usageerr()
gives a correct exit code. Thanks to Bernhard R. Link <email address hidden>.
* Print correct error message on unknown dpkg-name options before --.
* Require at least one filename on dpkg-name after --.
* Switch program usage errors to not print entire --help output.
Closes: #681371
* Document that «dpkg-parsechangelog -l-» can be used to read from stdin.
* Support parsing compressed changelog files transparently. Closes: #684196
* Sort files inside new diffs generated by dpkg-source lexicographically.
Closes: #689193
* Add support for a build_arch option in Dpkg::Deps deps_parse().
Thanks to Colin Watson <email address hidden>. Closes: #697297
* Move epoch-less or revision-less output logic to Dpkg::Version.
Based on a patch by Bernhard R. Link <email address hidden>.
* Catch mismatches between version strings and format versions in
dpkg-source. Ensure that a 3.0 (quilt) package has a non-native version
and that a 3.0 (native) package has a native version. Closes: #700177
Thanks to Bernhard R. Link <email address hidden>.
* Add support for mipsn32(el) and mips64(el) to arch tables.
Thanks to YunQiang Su <email address hidden>. Closes: #685096, #707323
* Document --file and --label parser options in dpkg-parsechangelog(1).
* Add a new configure --with-dpkg-deb-compressor option to allow selecting
the default dpkg-deb compressor, mainly for downstreams.
* Switch dpkg-deb default compressor from gzip to xz. Build dpkg.deb using
gzip to make debootstrap life easier on non-Debian based systems.
* Add support for gzip compression strategies to dpkg-deb. The new
strategies are: filtered, huffman, rle and fixed.
* Change dpkg and dpkg-deb help output to recommend apt instead of dselect
as a user-friendly frontend.
* Remove temporary file on error during «dpkg-divert --rename».
* Fix value caching in Dpkg::Arch by not shadowing the variables.
* Fix chmod() arguments order in Dpkg::Source::Quilt. Closes: #710265
Thanks to Pablo Oliveira <email address hidden>.
* Add new dpkg-shlibdeps -l option to add private shared library directories.
This should be used instead of abusing LD_LIBRARY_PATH to pass the paths,
which might be problematic when cross-compiling. Closes: #698881
* Only apply empty line and comma cleanups when doing substvar replacements
on fields where those are relevant. Closes: #659814
* Do not scan control files twice for PGP signature presence.
[ Raphaël Hertzog ]
* Fix dpkg-maintscript-helper rm_conffile and mv_conffile to do nothing
when the conffile is no longer owned by the current (or named) package.
Thanks to Steve Langasek for the patch. Closes: #716948
* Improve dpkg-maintscript-helper behaviour in “Multi-Arch: same” packages
by arch-qualifying package names read from the environment. Also add
a warning about this potential problem in the manual page.
* Fix usage of non-existent _() function in multiple places of the Perl
code. Thanks to Lincoln Myers <email address hidden> for the patch.
Closes: #708607
[ Updated programs translations ]
* Fix typo in Spanish translation of update-alternatives.
Thanks to Javier Fernandez-Sanguino <email address hidden>. Closes: #713020
[ Updated programs translations ]
* Vietnamese (Trần Ngọc Quân). Closes: #715334
[ Added man page translations ]
* Italian (Beatrice Torracca). Closes: #711647
[ Updated man page translations ]
* Fix wrong translation of "fortify" in French dpkg-buildflags(1) man page.
Thanks to Christian Perrier <email address hidden>. Closes: #712976
* Fix typo in dpkg-source(1) man page French translation.
Thanks to Cédric Boutillier <email address hidden>. Closes: #708292
* Japanese (TAKAHASHI Motonobu). Closes: #704240
dpkg (1.16.10) unstable; urgency=low
[ Guillem Jover ]
* Fix typos in 1.16.9 changelog entry. Closes: #691954
Thanks to Nicolás Alvarez <email address hidden>.
* Add missing @LIBLZMA_LIBS@ to Libs.Private in libdpkg.pc.in.
* Do not use an undefined va_list variable in dpkg_put_errno().
* Abort installation if we cannot set the security context for a file.
* Fix OpenPGP armored signature parsing, to be resilient against doctored
input, including source package control files. Closes: #695919
* Make sure the OpenGPG armor contains a signature block, even on EOF.
* Do not accept Armor Header Lines inside a paragraph.
* Do not abort dselect when multiarch is detected, as that only makes
users downgrade and hold on an older version w/ worse multiarch support.
* Fix warning in Dpkg::Source::Archive with «perl -w» due to redefinition
of getcwd() by removing unused POSIX modules usage. Closes: #700978
[ Updated programs translations ]
* Esperanto (Felipe Castro).
* Spanish (Javier Fernández-Sanguino).
* Vietnamesea (Trần Ngọc Quân). Closes: #692100
[ Updated scripts translations ]
* Fix mistranslation in French translation of scripts.
Thanks to Filipus Klutiero. Closes: #698530
* Fix typos in French translation of scripts.
Thanks to Sylvestre Ledru. Closes: #702627
* Fix Russian translation (wrong order of parameters in a string).
Thanks to Andrey Rahmatullin for noticing and Yuri Kozlov for fixing
the translation. Closes: #698869
dpkg (1.16.9) unstable; urgency=low
[ Raphaël Hertzog ]
* Fix dpkg-source regression in "3.0 (quilt)" source packages while
unapplying patches that remove all files in a directory. Closes: #683547
* Fix segfault in field format parsing on empty strings, affecting
«dpkg-query -W -f ''» and «dpkg-deb -W --showformat=''». LP: #1035512
* Fix dpkg's French usage string which was missing the final “s“ in
--print-foreign-architectures. Closes: #685863
[ Guillem Jover ]
* Use “statoverrides” instead of “statusoverrides” in dpkg-statoverride.
Closes: #686995
* Comment out dpkg(1) documentation about disabled --command-fd option.
Closes: #685677
* Cleanup dpkg-divert unit-test environment to avoid build failures.
Closes: #687656
* Fix update-alternatives test suite to behave correctly on non-Debian
binary paths. Known to be affecting at least Gentoo and Mac OS X.
* Do not leak subcall command arguments in update-alternatives.
* Fix segfault on update-alternatives when passing --slave without any
action at all. LP: #1037431
* Fix memory leak in dpkg filesavespackage().
* Do not print garbage (or worse) on dpkg shared conffile debug output.
* Use a hash instead of a ref to a hash for keys() in Dpkg::BuildFlags
get_feature_areas(). This causes compilation failures with older perl
versions, which can be an issue with partial upgrades.
* Fix filter subpattern debug output format string to print an actual
value instead of just blanks.
* Ignore trailing filter subpattern slashes on reinclusion comparison.
This makes sure to reinclude directories previously excluded so that
contained files marked for inclusion do not fail to unpack due to a
missing directory. Closes: #688416
* Do not consider obsolete conffiles as actively owned by the package.
This ensures conffile entries are not mishandled nor mixed up when
configuring packages owning the non-obsolete conffiles. Closes: #689836
Based on a patch by Andreas Beckmann <email address hidden>.
* Properly mark in the database obsolete conffiles on package replaces.
* Sync the Conffiles field values for all package instances. Because
only the first package instance being configured will have a *.dpkg-new
conffile available to be processed, the subsequent ones need to use the
hash from the previously processed entries.
* Fix logic for previously configured conffiles, so that the shared
conffile checks actually work on reinstallation. Closes: #684776
* Avoid info database corruption and bogus accesses on unknown format
values, by always reading the format file and validating it.
* Clarify that the most probable reason for multiarch database
inconsistencies is due to upgrades from unofficial dpkg versions.
* Only satisfy a dependency on a “Multi-Arch: foreign” if arch-unqualified.
* Take architecture into account in virtual packages on remove and
configure dpkg actions. Closes: #683411
* Update update-alternatives --query format and examples in man page to
match the implementation.
* Add two missing 3rd person ‘s’ in dpkg-gensymbols(1). Closes: #689863
Thanks to Paul Menzel <email address hidden>.
* Fix regression on old-style binNMUs for packages that specify an
explicit binary version to dpkg-gencontrol, by always fixing up the
source version. Closes: #690823
[ Updated programs translations ]
* Catalan (Guillem Jover).
* Czech (Miroslav Kure).
* Danish (Joe Dalton). Closes: #690808
* French (Christian Perrier).
* German (Sven Joachim).
* Italian (Milo Casagrande).
* Japanese (Kenshi Muto).
* Polish (Michał Kułach). Closes: #690449
* Portuguese (Miguel Figueiredo). Closes: #682582, #690431
* Russian (Yuri Kozlov). Closes: #688050, #690415
* Slovak (Ivan Masár). Closes: #690426
* Swedish (Peter Krefting).
* Thai (Theppitak Karoonboonyanan). Closes: #690678
* Traditional Chinese (imacat). Closes: #687002
[ Updated scripts translations ]
* Polish (Michał Kułach). Closes: #683104
* Spanish (Omar Campagne). Closes: #685297
[ Updated dselect translations ]
* Basque (Iñaki Larrañaga Murgoitio). Closes: #686421
* Czech (Miroslav Kure).
* Danish (Joe Dalton). Closes: #689820
* Polish (Michał Kułach).
[ Updated man page translations ]
* French (Thomas Vincent, Sylvestre Ledru, Christian Perrier).
Closes: #682978, #683221
* German (Helge Kreutzmann).
* Japanese (Hideki Yamane). Closes: #685103
* Polish (Michał Kułach).
* Spanish (Omar Campagne, Guillem Jover). Closes: #683514
* Swedish (Peter Krefting).
dpkg (1.16.8) unstable; urgency=low
[ Updated programs translations ]
* Esperanto (Felipe Castro).
* French (Christian Perrier).
* Polish (Michał Kułach). Closes: #680561
* Russian (Yuri Kozlov). Closes: #677850, #680411
* Slovak (Ivan Masár).
* Spanish (Javier Fernández-Sanguino)
[ Updated man page translations ]
* French (Christian Perrier).
[ Updated scripts translations ]
* French (Christian Perrier).
* Russian (Yuri Kozlov).
[ Updated dselect translations ]
* Danish (Joe Dalton). Closes: #680108
* Russian (Yuri Kozlov).
* Traditional Chinese (Asho Yeh - 阿信).
dpkg (1.16.7) unstable; urgency=low
[ Guillem Jover ]
* Fix bogus dpkg-query --control-show badusage() strings.
[ Raphaël Hertzog ]
* Fix dpkg-gencontrol to correctly compute the source version
in the case of "old-style" bin-nmus. Closes: #679959
[ Updated dselect translations ]
* Catalan (Guillem Jover).
* French (Christian Perrier).
* German (Sven Joachim).
* Swedish (Peter Krefting).
[ Updated programs translations ]
* French (Christian Perrier).
* German (Sven Joachim).
* Italian (Milo Casagrande).
* Swedish (Peter Krefting).
[ Updated man page translations ]
* Swedish (Peter Krefting).
* French (Christian Perrier).
[ Updated scripts translations ]
* Swedish (Peter Krefting).
* French (Christian Perrier).
dpkg (1.16.6) unstable; urgency=low
[ Guillem Jover ]
* Do not translate SE Linux context to human readable form while unpacking,
as that might cause the operation to fail if the mcstransd daemon
stopped running during the transaction. Closes: #679641
Thanks to Russell Coker <email address hidden>.
* Add --control-list and --control-show to dpkg-query --help output.
[ Raphaël Hertzog ]
* Fix import of error functions in dpkg-buildflags. Regression introduced
in 1.16.5.
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated man page translations ]
* German (Helge Kreutzmann).
dpkg (1.16.5) unstable; urgency=low
[ Raphaël Hertzog ]
* dpkg-source will now clean up after a failed application of a quilt
patch. Closes: #652970
And it will display a message explaining the most likely cause of
failure (patch applying with fuzz).
* When dpkg-source regenerates the automatic patch (with formats "2.0"
or "3.0 (quilt)") it will keep the current patch header to avoid
losing changes made by the maintainer.
* Modify dpkg-source --commit to auto-whitelist modified binary files.
That way the same command can be used whatever kind of upstream files
has been modified.
* dpkg-source now supports a new option --no-unapply-patches to force
patches to be kept applied after build (used by formats "2.0" and "3.0
(quilt)"). Closes: #643043
[ Guillem Jover ]
* Add a dpkg-buildflags --status action to describe the flag settings.
Thanks to Bernhard R. Link <email address hidden>. Closes: #664058
* Add support for “binary-only” key-value option in changelogs, to allow
marking changelog entries as part of a binary only upload, having a
different version from the source package. Closes: #440094, #672723
* Minimize source architecture list on «dpkg-source -b» by removing
architectures already covered by architecture wildcards. Closes: #675333
* Do not assume $ENV{'HOME'} is defined in Dpkg::Source::Package.
Thanks to Niels Thykier <email address hidden>. Closes: #677631
* Document in more detail in deb(5) the supported ar archive format.
* Document in deb-src-control(5) the “Private-” field prefix.
* Add new start-stop-daemon --no-close option to disable closing file
descriptors on --background. Closes: #627333, #646425
* Switch source compression to xz.
* Detect ar header fields truncation due to too long member names or too
large member sizes. Closes: #678933
* Add new dpkg-query --control-list and --control-show commands, which
replace the now deprecated --control-path.
* Print master and slave alternarive link names in update-alternatives
--query and always print alternative link in --config. Closes: #679010
* Cleanup and clarify buffer I/O error reporting. Closes: #621763
* Avoid full stop and double newline at the end of errors and warnings.
Thanks to Jonathan Nieder <email address hidden>. Closes: #624000
* Change all programs to accept -? instead of -h for help output.
* Add support for specific arch-qualified dependencies. Closes: #676232
Thanks to Thibaut Girka <email address hidden>.
* Accept “:native” arch-qualified Build-Dependencies. Closes: #558095
Thanks to Thibaut Girka <email address hidden>.
* Do not use undefined values returned form deps_parse() in dpkg-shlibdeps.
Closes: #640676
* Add an Architecture column to «dpkg-query -l» before the Description
column. Suggested by Jonathan Nieder <email address hidden>. Closes: #673190
[ Updated dpkg translations ]
* Swedish (Peter Krefting).
[ Updated dselect translations ]
* Swedish (Peter Krefting).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated man page translations ]
* German (Helge Kreutzmann).
* Swedish (Peter Krefting).
dpkg (1.16.4.3) unstable; urgency=low
* On «update-alternatives --install» only warn for now on out of range
priorities and clamp the values, as there seems to be packages using
priorities > INT_MAX, which although bogus as they were previously
overflowing the int used to store them, that would cause installation
failures when upgrading from squeeze. This will be reverted to an
error after wheezy. Closes: #676874
dpkg (1.16.4.2) unstable; urgency=low
* Check correctly for out of range negative field width values in dpkg-query
--show format strings. Regression introduced in 1.16.4. Closes: #676796
dpkg (1.16.4.1) unstable; urgency=low
* Fix explicit file trigger activation. Regression introduced in 1.16.4.
Closes: #676684
dpkg (1.16.4) unstable; urgency=low
[ Guillem Jover ]
* Deprecate compressing .deb files with lzma, by making dpkg-deb issue a
warning, as the format has several deficiencies that have been addressed
by upstream in xz. Although unpacking will be kept being supported to
handle existing lzma compressed .deb files.
* Add alternative changelog formats documentation from the policy manual
to dpkg-parsechangelog(1). Closes: #584141
* Add MiNT support to ostable and triplettable.
Requested by Thorsten Glaser <email address hidden>.
* Add new frontend.txt file to dpkg-dev documenting some public interfaces
for dpkg frontends. Closes: #670897
* Clarify in dpkg(1) when --force-conf* options cause action.
Suggested by Sven Joachim <email address hidden>. Closes: #391818
* Add “gcc | c-compiler” to libdpkg-perl Suggests, due to Dpkg::Arch usage.
Closes: #671198
* Do not mask PIE from dpkg-buildflags on m68k, it appears to work now.
Requested by Thorsten Glaser <email address hidden>.
* Remove deprecated support for PGP style signing command interface from
dpkg-buildpackage.
* Remove obsolete --udeb dpkg-scanpackages option.
* Add arm64 support to cputable. Closes: #672408
Thanks Wookey <email address hidden>.
* Check parsed integers for invalid or no digit errors in start-stop-daemon
and update-alternatives.
* Check all parsed integers for out of range errors; i.e. that no negative
values are allowed if not appropriate, and that no overflows occur.
Closes: #580038
* Switch start-stop-daemon(8) man page examples from /var/run to /run.
* Do not obscure Dpkg::Source::Package ‘require’ errors with custom
error message. Thanks to Thomas Adam <email address hidden> and
Jonathan Nieder <email address hidden>.
* Add new Dpkg::Substvars::set_as_used() member function.
* Rename Dpkg::Substvars no_warn() member function to mark_as_used(), keep
the old name aliased to the new one producing a deprecation warning.
* Add support for Build-Depends-Arch and Build-Conflicts-Arch fields, and
a new -A option to dpkg-checkbuilddeps. Closes: #629480
Thanks to Roger Leigh <email address hidden>.
* Add support for “none” as a valid dpkg-deb compression strategy value.
Closes: #674711
* Clarify in dpkg(1) that the «dpkg -l» example only lists installed
packages, and that to list available packages «dpkg-query --load-avail»
has to be used instead. Closes: #673305
* Clarify also in the dpkg(1) man page (already present in the dpkg.cfg(5)
man page) the valid filenames for /etc/dpkg/dpkg.cfg.d/ fragment files.
Closes: #674674
* Fix start-stop-daemon to not follow symlinks when creating pidfiles.
Thanks to Carsten Hey <email address hidden>. Closes: #675918
* Refactor the file locking logic into a new Dpkg::File module, and move
the libfile-fcntllock-perl dependency from dpkg-dev to libdpkg-perl.
* Demote the libfile-fcntllock-perl Depends to a Recommends by falling back
to use flock based locking, because it being an XS module makes building
a new perl package bumping the perl ABI impossible, as both packages
become uninstallable. Thanks to Dominic Hargreaves <email address hidden>.
Closes: #675947
* Put an & before field_capitalize() calls in Dpkg::Control::Fields to
fix a usage before declaration warning with perl 5.16. Closes: #676262
* Do not warn in dpkg-divert on missing files list file for packages never
installed before. Closes: #673518
* Add support for liblzma to handle .xz and .lzma compressed files, and
switch to it instead of using xz-utils. This removes the xz-utils
Pre-Depends from dpkg. Thanks to Jonathan Nieder <email address hidden>.
* Always activate all path components for file triggers, this fixes file
trigger handling for conffiles and dpkg-trigger invocations.
Closes: #675613, #676061, #676062, #676107, #676118, #676122
* Do not reset Multi-Arch field in the update log when removing the package.
Closes: #676496
* Fix dpkg-split to honour the DPKG_ADMINDIR environment variable.
[ Updated man page translations ]
* German (Helge Kreutzmann).
* French (Christian Perrier). Fixes a mistranslation and some
inconsistencies reported by Vincent Danjean( thanks). Closes: #673158
dpkg (1.16.3) unstable; urgency=low
[ Guillem Jover ]
* Do not look for newline beyond the read buffer on dpkg-deb extract.
* Check update-alternative name and link arguments for all commands.
Closes: #665050
* Check all dpkg-divert filename arguments to be absolute and to not
contain newlines. Closes: #21722
* Print errors while reading the file list files on a new line instead
of just after the progress percentage. Closes: #552517
* Document in dpkg-source(1) that patches for source format “3.0 (quilt)”
are expected to apply without any fuzz. Closes: #666752
Based on a patch by Luca Capello <email address hidden>.
* Remove redundant -Wformat-security from default dpkg-buildflags, which
is already implied by -Werror=format-security. Closes: #664964
Suggested by Peter Eisentraut <email address hidden>.
* Document in dpkg-query(1) that commands producing multiple paragraphs
will preserve the order of the packages specified on the argument list.
* Change start-stop-daemon --exec on GNU/Hurd, FreeBSD, NetBSD, OpenBSD
and Solaris to check for executables matching device and inode numbers
instead of filenames.
* Change start-stop-daemon --name on GNU/Hurd to check the process' argv[1]
in addition to argv[0], to handle both binaries and interpreted scripts.
Reported by Mats Erik Andersson <email address hidden>.
* Handle deb format versions as major.minor integers instead of strings or
floats, the latter being susceptible to parsing errors depending on the
current locale (although this was only affecting the old deb format).
* Ignore the minor format version number for deb-split format, unifying
the behaviour with the deb format.
* Add support for an abitable containing arch attribute overrides.
* Add x32 support to abitable, ostable and triplettable. Closes: #667037
* Fix start-stop-daemon to work with relative --exec arguments and --chdir.
Closes: #669047
* Ignore request to rename a file owned by the diverting package on
«dpkg-divert --add --rename». Closes: #588077
* Clarify dpkg-gensymbols(1) by way of examples that architecture wildcards
are supported in symbols files. Closes: #670048
* Fix memory leak due to Dpkg::Control objects not being garbage-collected.
Thanks to Ben Harris <email address hidden>. Closes: #669012
* Compute the md5sum hash on unpack for empty files too, so that these
can be checked correctly for matching content when installing multiple
package instances.
* Generate md5sums files automatically at unpack time if missing from the
binary package. Closes: #155676, #155799
* Add missing list and md5sums database file checks to «dpkg --audit».
[ Helge Kreutzmann ]
* Fix a typo in man/dpkg-buildflags.1.
[ Updated dpkg translations ]
* French (Christian Perrier).
* German (Sven Joachim).
* Swedish (Peter Krefting).
[ Updated dselect translations ]
* French (Christian Perrier).
* German (Sven Joachim).
* Swedish (Peter Krefting).
[ Updated scripts translations ]
* French (Christian Perrier).
* Swedish (Peter Krefting).
[ Updated man translations ]
* French (Christian Perrier).
* German (Helge Kreutzmann).
* Swedish (Peter Krefting).
dpkg (1.16.2) unstable; urgency=low
[ Guillem Jover ]
* Move <config.h> and <compat.h> to the top of trigdeferred.l to properly
use the configured features and compat code.
* Honour --disable-nls when the system lacks obstack support, by updating
the obstack compat module from gnulib.
* Link the libdpkg unit tests with libcompat and libintl, so that systems
needing them will compile correctly.
* Check for the presence of the strnlen declaration and correctly provide
the compat one in case the systems lacks it.
* Do not assume existence of paths on the build system in the test suite.
* Do not fail to link dselect on MacOS X when using --disable-nls.
* Remove versioned coreutils Pre-Depends from dpkg due to the ancient
md5sum transition. Reported by Bill Allombert <email address hidden>.
Closes: #643746
* Change dpkg-architecture to only compute the requested variables. This:
- Fixes the bootstrapping problem, as the dpkg build system only needs
the host architecture, for which dpkg itself is not required.
- Reduces the amount of work performed, including loading and parsing
unnecessary table files or calling either of gcc or dpkg programs.
* Improve error message in dpkg-gencontrol and dpkg-gensymbols when
debian/control does not have any package stanza. Closes: #642473
Based on a patch by Kyle Willmon <email address hidden>.
* Add Pre-Depends on tar >= 1.23 (satisfied in stable) to dpkg due to it
using the ‘--warning=no-timestamp’ option. Closes: #642802
* Do not segfault on GNU/Linux when dpkg cannot retrieve the block size
for the filesystem containing the info database. LP: #872734
* Fix two memory leaks per tar entry in the tar extractor used on unpack.
* Mark dpkg and dselect as Multi-Arch foreign.
Reported by Steve Langasek <email address hidden>.
* Mark dpkg-dev and libdpkg-perl as Multi-Arch foreign. Closes: #648217
Thanks to Colin Watson <email address hidden>.
* Add new deb-origin.5 man page. Closes: #608884
Thanks to Matt Kraai <email address hidden>.
* Return correct status on start-stop-daemon --status when using --pidfile.
* Treat dpkg-deb compression level independently for each backend. This
has the effect of changing the current behaviour for level 0 on all
compressors except gzip.
* Add new dpkg-deb -S option to specify the compression strategy. The only
currently supported value is “extreme” for xz. Closes: #647915
* Stop using brace expansion to install man pages by using dh_installman
instead of dh_install, the former does not abort on empty glob expansion.
* Do not use absolute paths for programs in perl and shell code.
* Add missing ‘*’ in asprintf() and vasprintf() compat declarations.
* Add support for virtual output binary:Summary and db:Status-Abbrev fields.
Closes: #192619, #427945
* Add support for virtual output source:Package and source:Version fields.
Closes: #653575
* Use a different temporary file per process on libcompat's vsnprintf()
function to avoid race conditions from children after fork(3).
Reported by Daniel Ruoso <email address hidden>. Closes: #655411
* Fix start-stop-daemon --exec and --name options on FreeBSD, NetBSD and
OpenBSD by swapping the process matching implementations.
* Fix start-stop-daemon --name option on GNU/Hurd to match the process name.
* Document in more detail the implications of start-stop-daemon matching
options. Closes: #367608
* Improve and clarify dpkg-shlibdeps superfluous linking warning messages.
Based on a patch by Peter Eisentraut <email address hidden>. Closes: #656496
* Relax --merge-avail Packages file parser, to not fail on bogus versions.
* When building only arch-indep binaries with «dpkg-buildpackage -A», name
the .changes file using ‘all’ as architecture. Closes: #661638
* Handle unknown architectures gracefully in dpkg-buildflags.
Closes: #663004
* Add missing --status-logger to dpkg --help output.
* Do not print bogus errno string for invalid package names in dpkg
--ignore-depends option.
* Change dpkg-query to not load the available file by default for --list
and --show, add a new --load-avail option to expose the old behaviour.
* Only allow setting selections via «dpkg --set-selections» for known
packages (i.e. those present in either the status or available files).
* Always ignore older versions when parsing the available file, not only
for --update-avail and --merge-avail.
* Mark not-installed non-arch-qualified selections for removal.
* Add new «dpkg --assert-multi-arch» command to allow checking for
multi-arch support availability.
* Bump Standards-Version to 3.9.3 (no changes needed).
* Add architecture consistency checks to «dpkg --audit».
* Add new dpkg --add-architecture and --remove-architecture commands to
track supported architectures.
[ Raphaël Hertzog ]
* Update Dpkg::Shlibs to look into multiarch paths when cross-building
too. Closes: #595144
* Rewrite architecture.mk with explicit loops instead of duplicating many
similar lines. Based on a patch by Thorsten Glaser <email address hidden>.
* Modify dpkg-gencontrol and dpkg-distaddfile to grab a write lock
on debian/control before updating debian/files to avoid simultaneous
updates. Closes: #642608
Add libfile-fcntllock-perl to dpkg-dev's Depends since we use this module
to handle the locking.
* Update dpkg-gensymbols(1) to clarify that -e accepts shell patterns
expansions and not regular expressions. And let dpkg-gensymbols output a
warning when a pattern doesn't match any file. Closes: #649248
* Add new option "-a <arch>" to dpkg-checkbuilddeps to check build
dependencies for another architecture. This is really basic for now since
it assumes all build dependencies must be satisfied on the listed
architecture. Closes: #648180 Thanks to Colin Watson for the patch.
* Error out if a dpkg database .list file is not a regular file. LP: #369898
* Fix dpkg-mergechangelogs to not error out on invalid versions.
Closes: #651993
* Fix dpkg-source --commit on "3.0 (quilt)" when an explicit patch file
is given with a relative filename. Closes: #652414
* Further clarify in dpkg-source(1) the conditions under which it's possible
to pass an explicit patch file to dpkg-source --commit.
* Add new --query-features command to dpkg-buildflags. Thanks to Kees Cook
for the patch. Closes: #651481
* Fix description of Multi-Arch in deb-control(5). Closes: #654453
Thanks to Jakub Wilk for spotting the mistake.
* Drop misleading spaces in deb-symbols(5) in the format description.
* Clean up dpkg-architecture(1) dropping useless information and
adding a reference to /usr/share/dpkg/architecture.mk.
* Update dpkg-buildpackage to use the "build-arch" (for -B) and
"build-indep" (for -A) targets unless "make -qn" says that they do not
exist. Closes: #229357
* Improve deb-shlibs(5) to mention that the dependency field must
use the same syntax as a Depends field. Closes: #658696
* Update dpkg-maintscript-helper(1) to recommend usage of the version
removing/renaming a conffile with a "~" suffix as "priorversion"
parameter. Thanks to Sam Morris <email address hidden> for the patch.
Closes: #658854
* Fix debug output of dpkg-maintscript-helper. LP: #936340
[ Jonathan Nieder ]
* Bump po4a version in Build-Depends to 0.41, since earlier versions do
not handle --srcdir correctly. Closes: #644370
[ Guillem Jover, Steve Langasek, Raphaël Hertzog ]
* Add new dpkg --print-foreign-architectures command.
* Add support for virtual output binary:Package field.
* Implement Multi-Arch support.
[ Helge Kreutzmann ]
* Fix a typo in man/dpkg-deb.1.
[ Updated dpkg translations ]
* German (Sven Joachim).
* Italian (Milo Casagrande). Closes: #627832, #657849
* Swedish (Peter Krefting).
* French (Christian Perrier)
* Polish (Michał Kułach). Closes: #658126
[ Updated scripts translations ]
* German (Helge Kreutzmann).
* Spanish (Omar Campagne). Closes: #636238
* Swedish (Peter Krefting).
[ Updated man page translations ]
* German (Helge Kreutzmann), including typo fix in dpkg-genchanges
Closes: #646496, sub optimal translation of package states LP: #368783
and an fix by Chris Leick
* Japanese (TAKAHASHI Motonobu).
* Spanish (Omar Campagne). Closes: #643969
* Swedish (Peter Krefting).
* Minor errors corrected in French (thanks to David Prévot)
* Fix translation of -B and -A options of dpkg-buildpackage.
Thanks to Vincent Danjean. Closes: #654626
[ Updated dselect translations ]
* Dutch (Jeroen Schot). Closes: #651813
-- Daniel Pfeifer <email address hidden> Fri, 17 Oct 2014 11:14:58 +0200
Builds
Package files