lp:debian/dpkg
- Get this branch:
- bzr branch lp:debian/dpkg
Branch information
- Owner:
- Ubuntu branches
- Status:
- Development
Recent revisions
- 53. By Guillem Jover <email address hidden>
-
[ 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). - 52. By Guillem Jover <email address hidden>
-
[ 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). - 51. By Guillem Jover <email address hidden>
-
[ 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). - 50. By Guillem Jover <email address hidden>
-
* 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. - 49. By Guillem Jover <email address hidden>
-
[ 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 - 48. By Guillem Jover <email address hidden>
-
[ 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). - 47. By Guillem Jover <email address hidden>
-
* 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. - 46. By Guillem Jover <email address hidden>
-
[ 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 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 empy 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 - 45. By Guillem Jover <email address hidden>
-
[ 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 - 44. By Guillem Jover <email address hidden>
-
[ 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 misshandled 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
inconcistencies 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).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:debian/squeeze/dpkg