Merge updates from Debian Buster
- May 16, 2021
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- May 26, 2019
-
-
Chris Lamb authored
lintian (2.15.0) unstable; urgency=medium [ Chris Lamb ] * t/bin/runtests: Correct equality operator preventing the correct parsing of --onlyrun="" used when (eg.) executing autopkgtests and apply a patch from Felix Lechner to specify a missing --work-dir argument when building test packages. (Closes: #929430) * Add references to Debian Policy §4.9.2 and §5.6.31 for checks regarding Rules-Requires-Root. (Closes: #929428) * Correct more false-positives for missing-systemd-timer-for-cron-script due to an incorrect regular expression. Thanks again to Francesco Poli (wintermute) for the patch. (Closes: #927970) * Remove unnecessary commas from tag long descriptions and improve grammar in the description of testsuite-autopkgtest-missing. [ Vagrant Cascadian ] * Add Guile 2.0 & 2.2 to and remove "ancient" versions 1.6 & 1.8 from the list of versioned interpreters. (Closes: #929501) [ Paul Wise ] * spelling: Add several corrections lintian (2.14.0) unstable; urgency=medium [ Chris Lamb ] * Correct false-positives in missing-systemd-timer-for-cron-script due to an incorrect regular expression. Thanks to Francesco Poli (wintermute) for the patch. (Closes: #927970) * Adjust package-contains-python-header-in-incorrect-directory as Python 3.8 dropped the "m" modifier that was used in Python 3.7 and below (eg. /usr/include/python3.7m). (Closes: #928617) [ Ivo De Decker ] * Check for sources in the "main" section with only binaries in the "contrib" section. (Closes: #928126) [ Michael Biebl ] * Consider the now-preferred /usr/share/dbus-1/{system,session}.d directories (supported since dbus 1.9.18) when checking D-Bus services. (MR: !187) [ Xavier ] * Fix an error where debian/tests/pkg-js/files contained deep (but valid) directory. (MR: !199) [ Paul Wise ] * Add/fix several spelling corrections. * Sort the dictionary * Prefer American spelling for American typos lintian (2.13.0) unstable; urgency=medium * Summary of tag changes: + Added: - debhelper-compat-level - patch-system - pkg-js-autopkgtest-file-does-not-exist - pkg-js-autopkgtest-test-is-missing - pkg-js-tools-test-is-missing - vcs - vcs-uri [ Niels Thykier ] * gitlab-ci: Run commands with the time command to get an estimate for each part. * Ensure that LINTIAN_CFG is always defined as it is used in debug output. * Fix a typo that called the wrong clean-up function with --unpack. * Extract reporting related utilities into a separate module. * Remove unused system_env function from Lintian::Util * Move Deb822 parsing into its own module called Lintian::Deb822Parser. [ Felix Lechner ] * Implement universal output format in Lintian. * Only run tests in t/bin/runtests but do not build any packages. [ Xavier ] * Test for Node.js packages that don't ship a debian/tests/pkg-js/test file or ship a debian/tests/pkg-js/files that contains invalid/missing references. (Closes: #923339) * Test for Node.js packages that use "--with nodejs" in debian/rules but do not specify a debian/tests/pkg-js/test file. (Closes: #923331) [ Adam D. Barratt ] * Update private/refresh-locale-codes to work with newer isoquery(1) and refresh data/files/locale-codes and data/fields/virtual-packages to match. [ Lucas Nussbaum ] * Emit a classification tag about the current debhelper compat level in use. (Closes: #926766) * Emit a classification tag that records the patch system in use. (Closes: #926767) * Emit a classification tags about the revision control system used by the package. (Closes: #926768) [ Michael Biebl ] * Also look in /usr/share/dbus-1/{system,session}.d for dbus configuration files. (MR: !187) [ Simon Quigley ] * Add "eoan" as a known Ubuntu distribution. (MR: !198) [ Chris Lamb ] * Clarify "Could not determine what you meant by" test harness error message; it is not always a parse error. [ Paul Wise ] * Add/fix several spelling corrections. lintian (2.12.0) unstable; urgency=medium * Summary of tag changes: + Added: - doc-base-file-references-wrong-path - systemd-service-file-shutdown-problems [ Chris Lamb ] * Make the argument to --jobs non-optional to prevent a "0" job count being parsed if the argument is omitted. This resulted in Lintian getting stuck as it did not have any runners to perform work with. (Closes: #925970) * Fix false-positives in the version-substvar-for-external-package tag when a Provides field contains multiple items and/or with leading whitespace. (Closes: #833608) * Don't check for the x86-specific "SafeSEH" hardening feature for code that is JIT-compiled by the Mono runtime. (Closes: #926334) * Collapse the rather long-winded explanation regarding typos in the long description of the version-substvar-for-external-package tag. * Drop double-spaces in .desc files. [ Felix Lechner ] * Allow symlinks in autopkgtest paths. [ Niels Thykier ] * Restrict the number of parallel clean up jobs to match --jobs parameter. (Closes: #924714) [ Osamu Aoki ] * Check for files in doc-base control files that list paths pointing outside of /usr/share/{doc,info}. (Closes: #925200) [ Xavier Guimard ] * Don't emit the debian-watch-file-should-mangle-version tag if dversionmangle is set to "auto". (Closes: #926166) [ Topi Miettinen ] * Check for systemd service files that use DefaultDependencies=no and Conflicts=shutdown.target without Before=shutdown.target. (MR: !177) * Update the systemd hardening flags. (MR: !178) [ Balint Reczey ] * Run autopkgtest tests in parallel, autodetecting CPU count. (MR: !75) [ Paul Wise ] * Add/fix several spelling corrections. lintian (2.11.0) unstable; urgency=medium [ Chris Lamb ] * Support dh-sequence-{gir,gnome,python3} etc. virtual packages as satisfying various build-dependencies. (Closes: #924082) * Don't detect non-maintainer upload (NMU) versions when checking for maintainer scripts that support "ancient" package versions. (Closes: #924501) * Correct false-positives in when checking for dh-runit packages that lack a "Breaks" substvar by ensuring that the binary package actually uses runit. (Closes: #924116) * Update the long description of the new-package-should-not-package-python2-module tag to justify further why a changelog entry is more appropriate than an override. * Remove errant "#" from the long description of inconsistent-appstream-metadata-license. [ Felix Lechner ] * Deprecate static labs; all labs are temporary from now on. * In autopkgtests, allow output to stderr to shorten waiting period. * Fix the rules-requires-root-implicitly test on stretch. * For stretch-backports, also Build-Depend on the "XS" version of the Text::CSV Perl module in addition to the pure Perl version. [ Stewart Ferguson ] * Allow *.pth files in Python directories to avoid false-positives for unknown-file-in-python-module-directory. (Closes: #924417) [ Paul Wise ] * Add/fix several spelling corrections. lintian (2.10.0) unstable; urgency=medium [ Chris Lamb ] * Check for placeholder "<project>" strings in debian/watch files as it can resut in uscan(1) generating a file with shell metacharacters. (Closes: #923589) * Add "itialize" to the list of "spelling-error-in-binary" exceptions. (Closes: #923725) * Use less-clunky "for entries that are too short" in the long description of debian-changelog-line-too-short. [ Paul Wise ] * Add several spelling corrections. lintian (2.9.1) unstable; urgency=medium [ Felix Lechner ] * Add missing runtime dependency on libtry-tiny-perl. (Closes: #923262) [ Chris Lamb ] * Add an initial .gitab-ci.yml. lintian (2.9.0) unstable; urgency=medium [ Felix Lechner ] * Add missing runtime dependency on libpath-tiny-perl. (Closes: #923229) [ Chris Lamb ] * Add /lib/runit/invoke/run as a known interpreter. (Closes: #923232) lintian (2.8.0) unstable; urgency=medium [ Chris Lamb ] * Emit an experimental warning for packages that ship a cron script without an equivalent systemd .timer file. (Closes: #922862) * Make orig-tarball-missing-upstream-signature a "dsc" check so it also appears when running against non-.changes files. (Closes: #922557) * Check all combinations of processables and binary package names in order to avoid false-positives or unused override warnings in spelling checks depending on whether a .deb or .dsc (etc.) is passed to Lintian. (Closes: #921814) * Prevent pkg-config-references-unknown-shared-library false positives: - Ignoring entries such as -lfoo{install_suffix} as they are interpolated at runtime by Autoconf. (Closes: #922511) - Create an exception list and populating with shared objects shipped by libc6-dev and libgcc1. (Closes: #922402) - Manually add "gcc" as an exception. * Use the source package name (not the package section) when checking for uses-dpkg-database-directly exceptions. (Closes: #922530) * Correct reference to mips64el architecture to ensure we emit binary-from-other-architecture on this arch. Thanks to Helmut Grohne. (Closes: #921573) * Don't emit source-nmu-has-incorrect-version-number for uploads to backports. (Closes: #923060) * Ensure libpath-tiny-perl is installed regardless of nocheck build profile as it is needed to generate the Pod documentation. * Add dpatch to "nocheck" Build-Depends to avoid skipping tests and then don't emit build-depends-on-obsolete-package for Lintian itself as a result. * Remove "nocheck" Build-Depends restriction for libcapture-tiny-perl and specify it as a runtime dependency too. * Don't emit source-contains-prebuilt-java-object against Lintian itself as we ship a trivial HelloWorld.jar as a test fixture. * Don't print "Offering to re-calibrate..." message if we aren't actually about to offer. [ Felix Lechner ] * Ensure unpack loop stops when process succeeds after processable failed to try and prevent Lintian from occasionally hanging. (Closes: #922737) * Fix detection of security features in Portable Executable (PE) binaries. * Update recommendation in an update-menus long description that will not trigger a check for full path names in maintainer scripts. (MR: !149) * Interactively calibrate the expected tags in failing tests (MR: !145) and use green and red terminal colors when adding or removing tags during said calibration. (MR: !153) * t/runtests: * Split processing between scripts and tag tests. * Split out test routines to process universal tags. * Change options and arguments for stand-alone operation. * Drop obsolete old-format-menu-file tag. [ Guillem Jover ] * Don't hardcode ".gz" in the output of the malformed-deb-archive tag's extra information. (Closes: #922534) [ Paul Wise ] * Add several spelling corrections. lintian (2.7.0) unstable; urgency=medium * Summary of tag changes: + Added: - script-uses-unversioned-python-in-shebang [ Chris Lamb ] * Track static libraries to avoid false-positives in pkg-config-references-unknown-shared-library. (Closes: #921872) * Assume that license files themselves do not require coverage in DEP-5 copyright files. (Closes: #921752) * Ignore spelling errors in patch author names. (Closes: #922233) [ Dmitry Bogatov ] * Add a classification tag to identify the number of scripts using unversioned Python shebangs. (Closes: #909510) [ Felix Lechner ] * Demote the Test-Against test metadata field to be a selector for false-positives only. (MR: !142) [ Paul Wise ] * Add several spelling corrections. lintian (2.6.0) unstable; urgency=medium * Summary of tag changes: + Added: - package-contains-sass-cache-directory - package-uses-dh-runit-but-lacks-breaks-substvar - pkg-config-references-unknown-shared-library [ Chris Lamb ] * Enhancements: - Check for pkg-config(1) files that reference unknown shared objects via (for example) "Libs: -lfoo". (Closes: #920699) - Check for packages that use dh_runit without specifying a Breaks on the "${runit:Breaks}" substvar. (Closes: #920299) - Require that build paths aren't "/" when checking for file-references-package-build-path. - Check for packages that ship with .sass-cache directories. (Closes: #920593) - Detect accidental ".git.git" (etc.) in Vcs-Git headers. (Closes: #921084) * Bug fixes: - Fix FTBFS by avoiding "self" false-positives when checking for file-references-package-build-path in the Lintian test suite. (Closes: #920536) - Ignore duplicate .buildinfo files which can be supplied by using mergechanges(1) from devscripts. (Closes: #920469) - Rewrite "old" version calculation to prevent false-positives in the maintainer-script-supports-ancient-package-version tag. (Closes: #920638) - Prevent false-positives in the command-with-path-in-maintainer-script checks for sections automatically added by debhelper. (Closes: #920568) - Ignore quilt .pc directories when checking for inconsistent-appstream-metadata-license. (Closes: #920647) * Reporting improvements: - Include the upload and release dates in the output of the maintainer-script-supports-ancient-package-version tag. - Add a reference to the official specification in the long description of the unnecessary-source-date-epoch-assignment tag. * Misc: - Move to "Semantic Versioning" (https://semver.org/) scheme. - Print Carp tracebacks in --debug mode. [ Felix Lechner ] * Fix a race condition by stopping loop for collections after a task fails. (Closes: #920691) * Remove Test-For from all test specifications. (MR: !138) * Consolidate scripts in t/scripts; move internal harness tests there. * Clean up ./t; move helper binaries, including t/runtests, to t/bin. * Add an empty Test-Against to all tests that do not have one. * Calculate Test-For and Test-Against from new "Check" parameter in runner. * Add an internal self-test for all the fields in "desc" files. * Move all t/tags/tests addressing a single check into t/tags/checks/. (MR: !141) [ Jeremy Bicha ] * Drop "GTK" -> "GTK+" correction. (Closes: #911449) * Set "multimaint-merge" in debian/gbp.conf. (MR: !125) [ Xavier Guimard ] * Update debhelper addon specification now that nodejs-dev has been replaced by pkg-js-tools. (MR: !135) [ Paul Wise ] * Add several spelling corrections. lintian (2.5.124) unstable; urgency=medium * Summary of tag changes: + Added: - obsolete-crypt-alias - obsolete-des-encryption [ Chris Lamb ] * Locate and process .buildinfo files if mentioned in a .changes file; previously it was only examined if explicitly referenced. Thanks to James Clarke. (Closes: #920228) * If the changelog entry is missing a maintainer (eg. " -- <missing>"), don't assume that it's an NMU. (Closes: #920184) * Permit "-b" branch specifications in Mercurial Vcs-Hg control fields. (Closes: #920314) * Really fix summary generation code to match the "WIP" entry in the changelog after moving to gbp-dch(1). * Add "could break" as a spelling correction. [ Felix Lechner ] * Allow tests to be freely organised such as by check. (MR: !132, !134) [ Zack Weinberg ] * Add a check for binaries using obsolete DES encryption. (Closes: #920376) [ Paul Wise ] * Add several spelling corrections. lintian (2.5.123) unstable; urgency=medium * Summary of tag changes: + Added: - inconsistent-appstream-metadata-license - package-contains-python-header-in-incorrect-directory + Renamed: - package-contains-usr-unmerged-pathnames -> package-contains-real-file-outside-usr [ Chris Lamb ] * Group warnings that only differ on the architecture in the HTML reports. (Closes: #919162) * Prevent a large number false-positives when checking "new style" init scripts that use "#!/usr/bin/env /lib/init/init-d-script" as their shebang. (Closes: #919604) * Check for packages that ship headers in /usr/include/python3.x. (Closes: #919979) * Check for inconsistencies between debian/copyright and the information embedded/duplicated in AppStream metadata files. Thanks to Daniel Kahn Gillmor for the idea. (Closes: #907072) * package-contains-usr-unmerged-pathnames tag: - Prevent false-positives for leading directories. (Closes: #919839) - Rename from package-contains-real-file-outside-usr. - Move to "Classification" severity instead of a pedantic/experimental combination. * Use a verb in the debian-changelog-line-too-short tag description. * Use "state cache" vs "state-cache" consistently between source and binary packages when printing warnings during report generation. * Update added/removed tag summary generation code to match "WIP" now we are using gbp-dch(1). [ Niels Thykier ] * lib/lintian: Do entry removals asynchroniously in temp labs. * Lintian::Unpacker: * Migrate to use IO::Async. * Refactor to extract a "find_next_task"-sub(-generator). * Add a simple queue to avoid some overhead. * Support prioritizing unpacking by collections. [ Felix Lechner ] * Template cleanup: (MR: !131) - Rename tests-watchfile and tests-pedantic. - Use renamed template sets in skeletons for suite tests. - Move upstream/metadata from debian-native to debian-extra-non-native. - Delete unused template set source-arch-independent. [ Mike Miller ] * Reword the description of the description-too-long tag to match the actual check. (Closes: #919740) [ Paul Wise ] * Add several spelling corrections. lintian (2.5.122) unstable; urgency=medium * Summary of tag changes: + Added: - example-incorrect-path-for-interpreter - incorrect-path-for-interpreter - package-contains-real-file-outside-usr - zero-byte-executable-in-path [ Chris Lamb ] * Add a check for empty executable files in PATH; these files do not do anything and produce no error message. (Closes: #919458) * Prevent false-positives in the maintainer-script-should-not-use-dpkg-maintscript-helper tag by adding optional support for ignoring sections automatically added by debhelper. (Closes: #917567) * Split the wrong-path-for-interpreter tag into "wrong" and "incorrect" variants, the latter with a reduced severity and capturing incorrect (but working) shebangs such as "#!/usr/bin/env perl". Thanks to Ivo De Decker for the report. (Closes: #917790) * Update Debian Policy regex and manual references since this document moved to Sphinx. (Closes: #918963) * Also update the Java policy references as a new version of Docbook generates different HTML links. * Tests: - Tidy "sorry" message in t/runtests. - Drop changelog-format.t tests now we are trialling using gbp-dch. - Add a note that using a "maintainer-script-should-not-" tag prefix ensures that the tag will automatically pass the internal coverage tests. * debian/control: - Clarify some grammar in the package long description. - Prune Uploaders field to the current members of the "lintian" LDAP group. With thanks to all who have contributed in the past. [ Felix Lechner ] * Always use the extracted testing code in autopkgtests. (Closes: #919096) * Exit test runner with error code after parsing errors on the command line. * Convert test modules to the "Test Anything Protocol" (TAP). - Run TAP scripts for all tests through TAP::Harness. (MR: !124) - Add a generic test script for TAP::Harness. - Add name of the generic TAP script to the default settings. - Install generic TAP script into work directories during preparation. * Make harness timestamp calculation more robust for non-existent files. * Always use the installed "dplint" in autopkgtests. [ Josh Triplett ] * Add a pedantic-level package-contains-real-file-outside-usr tag to detect files installed to /. (MR: !128) [ Paul Wise ] * Add several spelling corrections. lintian (2.5.121) unstable; urgency=medium * Summary of tag changes: + Added: - maintainer-script-should-not-use-dpkg-maintscript-helper - maintainer-script-supports-ancient-package-version * checks/shared-libs.pm: + [CL] Fix symbols-file-missing-build-depends-package-field false-positives when a package contains more than one library. Thanks to Mike Gabriel for the bug report. (Closes: #918473) * checks/scripts.{desc,pm}: + [CL] Check for manual calls to dpkg-maintscript-helper(1) in maintainer scripts; recommend using dh_installdeb .maintscript files instead. (Closes: #917567) + [CL] Check for packages that have maintainer scripts that ship support code for legacy versions of Debian. (Closes: #917566) * data/debhelper/compat-level: + [CL] Don't emit a pedantic warning for compat level 12 "until bullseye to avoid having to revert that change in case you need an unblock for the buster release". (Closes: #918809) * data/scripts/interpreters: + [CL] Apply a patch from Mo Zhou to fix the Julia interpreter path. (MR: !120) * t/*: + [CL] Apply a patch from Felix Lechner to ensure the debhelper-compat-experimental tag is run after the upgrade to debhelper compat level 12. (MR: !117) + [CL] Apply a patch series from Felix Lechner to support adaptive rebuilding, speeding up the test suite by a factor of 17 (excluding "scripts" tests). (MR: !118) + [CL] Apply a patch series from Felix Lechner to add a number of "internal" tests for the test apparatus itself. (MR: !119) + [CL] Apply a patch series from Felix Lechner to split the preparation of tests from the test runner itself. (MR: !122) lintian (2.5.120) unstable; urgency=medium * Summary of tag changes: + Removed: - versioned-dependency-satisfied-by-perl * checks/binaries.pm: + [CL] Guile object files do not objdump/strip correctly so exclude them from a number of tests. (Closes: #918444) * checks/fields.{desc,pm}: + [CL] Drop versioned-dependency-satisfied-by-perl; Perl now provides its dual-lived module packages with versions. (Closes: #917967) * checks/{menus,patch-systems}.desc: + [CL] Clarify that spelling-* tags also correct various grammatical errors too. * checks/rules.desc: + [AB] override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS: Replace misleading "profile" with "option" in long description. See #889746 and https://lists.debian.org/debian-devel/2019/01/msg00047.html * checks/systemd.pm: + [CL] Apply a patch from Robin Jarry to handle service templates for missing init scripts. (MR: !115) * checks/testsuite.pm: + [CL] Apply a patch from Ondřej Nový fix false-positives in the unnecessary-testsuite-autopkgtest-field tag with non-"autopkgtest" values in the Testsuite control field. (Closes: #918621) * data/systemd/init-whitelist: + [CL] Add "brightness" to the list of initscripts that do not need a corresponding service file. (Closes: #918459) * debian/control: + [AB] Build-conflict with libperl-critic-pulp-perl (except with nocheck build profile) as it adds additional perlcritic rules which cause several checks under t/scripts/01-critic/ to fail. * lib/Lintian/Util.pm: + [CL] Add optional support for stripping comments at EOL in read_dpkg_control via DCTRL_COMMENTS_AT_EOL. (Closes: #917964)
-