Louis-Philippe Véronneau pushed to branch bts_1101094 at lintian / lintian


Commits:
1809c8ed by Alexandre Detiste at 2025-05-22T13:13:04+00:00
deprecate more CDBS modules

- - - - -
3cd0c062 by Marc Leeman at 2025-05-22T16:40:20+00:00
add test for appimages in debian packages

This test was added because appimages are in essence a black box that is
pulled into the OS, making the licences, build reproduceability opaque.
It also introduces security issues.

Therefore, it is best to avoid these and warn about it.

AppimageCheck: review MR remarks (April, 9th 2025)

- - - - -
9a2ca859 by Marc Leeman at 2025-05-22T16:40:20+00:00
package-installs-appimage: correct detection on magic bytes

- - - - -
b76def54 by Andrea Pappacoda at 2025-06-10T15:58:37+02:00
modprobe: also look for files in /usr/lib/modprobe.d

The modprobe checks now also look inside /usr/lib/modprobe.d together
with /etc/modprobe.d. modprobe also supports reading conf files from
directories under /run, /usr/local/lib, and /lib, but packages are not
supposed to write there so checking them as well does not achieve
anything.

- - - - -
f1cbffd2 by Andrea Pappacoda at 2025-06-10T18:00:02+02:00
modprobe: add directory-in-modprobe.d check

This new check ensures that the modprobe.d directories do not contain
directories themselves, as kmod does not support this.

This prevents issues like <https://bugs.debian.org/1105784> from
happening again.

- - - - -
0eb5ac9f by Andrea Pappacoda at 2025-06-10T18:00:02+02:00
modprobe: add file-in-etc-modprobe.d check

This new check warns developers about files inside /etc/modprobe.d,
encouraging them to move them to the corresponding directory under
/usr/lib. The warning also reminds of the special handling required for
the old file inside /etc, as it is considered a conffile.

Originated from
<https://salsa.debian.org/debian/debhelper/-/merge_requests/136>

- - - - -
25583d22 by Andrea Pappacoda at 2025-06-27T17:54:39+02:00
modprobe: add dh-install-instead-of-dh-installmodules tag

As suggested in
<https://salsa.debian.org/lintian/lintian/-/merge_requests/590#note_619643>,
this tag checks for usage of dh_install instead of dh_installmodules for
maintainer modprobe files.

Since using dh_install explicitly is useful to install stuff under /usr
before compat 14, this is just an informational tag.

Closes: #1107661

- - - - -
88d7646b by Louis-Philippe Véronneau at 2025-06-27T20:04:29+00:00
Remove obsolete maintainer-script-lacks-home-in-adduser tag. Closes: #1108232

- - - - -
c395dd75 by Louis-Philippe Véronneau at 2025-06-27T20:18:30+00:00
Make lintian-explain-tags exit with an error message when asked about a
non-existing tag.

Closes: #1042436

- - - - -
0720dbf9 by Louis-Philippe Véronneau at 2025-06-27T20:35:37+00:00
add support for "/usr/lib/jvm/java-$VERSION-openjdk-$ARCH-jvmci" as an
arch-specific directory

Closes: #1101094

- - - - -
2024f376 by Louis-Philippe Véronneau at 2025-06-27T20:35:37+00:00
Use non-matching group for regex to fix perlcritic

- - - - -


39 changed files:

- bin/lintian-explain-tags
- data/rules/deprecated-makefiles
- data/scripts/maintainer-script-bad-command
- lib/Lintian/Check/Binaries/Location.pm
- + lib/Lintian/Check/Files/AppimageCheck.pm
- lib/Lintian/Check/Modprobe.pm
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-file/build-spec/debian/appimage-file.install
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-file/build-spec/debian/control.in
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-file/build-spec/fill-values
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-file/build-spec/orig/dodgy-software.AppImage
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-file/eval/desc
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-file/eval/hints
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-magic/build-spec/debian/appimage-magic.install
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-magic/build-spec/debian/control.in
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-magic/build-spec/fill-values
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-magic/build-spec/orig/dodgy-software
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-magic/eval/desc
- + 
t/recipes/checks/files/appimage-check/package-installs-appimage-magic/eval/hints
- + 
t/recipes/checks/modprobe/directory-in-usr-lib-modprobe/build-spec/debian/install
- + 
t/recipes/checks/modprobe/directory-in-usr-lib-modprobe/build-spec/debian/test.modprobe.conf
- + 
t/recipes/checks/modprobe/directory-in-usr-lib-modprobe/build-spec/fill-values
- + t/recipes/checks/modprobe/directory-in-usr-lib-modprobe/eval/desc
- + t/recipes/checks/modprobe/directory-in-usr-lib-modprobe/eval/hints
- + 
t/recipes/checks/modprobe/file-in-etc-modprobe-dh-14/build-spec/debian/control.in
- + 
t/recipes/checks/modprobe/file-in-etc-modprobe-dh-14/build-spec/debian/install
- + 
t/recipes/checks/modprobe/file-in-etc-modprobe-dh-14/build-spec/debian/test.conf
- + t/recipes/checks/modprobe/file-in-etc-modprobe-dh-14/build-spec/fill-values
- + t/recipes/checks/modprobe/file-in-etc-modprobe-dh-14/eval/desc
- + t/recipes/checks/modprobe/file-in-etc-modprobe-dh-14/eval/hints
- t/recipes/checks/modprobe/files-general/build-spec/debian/install
- t/recipes/checks/modprobe/files-general/eval/hints
- 
t/recipes/checks/modprobe/obsolete-commands-in-modprobe/build-spec/debian/install
- t/recipes/checks/modprobe/obsolete-commands-in-modprobe/eval/hints
- t/recipes/checks/scripts/scripts-maintainer-general/eval/hints
- + tags/d/dh-install-instead-of-dh-installmodules.tag
- + tags/d/directory-in-modprobe.d.tag
- + tags/f/file-in-etc-modprobe.d.tag
- − tags/m/maintainer-script-lacks-home-in-adduser.tag
- + tags/p/package-installs-appimage.tag


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/b5ebca83b0f0145353eaae397a61d07b249da0ce...2024f376150e07f363b5e5178f7b19018c3c2940

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/b5ebca83b0f0145353eaae397a61d07b249da0ce...2024f376150e07f363b5e5178f7b19018c3c2940
You're receiving this email because of your account on salsa.debian.org.


Reply via email to