Nilesh Patra pushed to branch master at lintian / lintian
Commits: d1ce89da by Nilesh Patra at 2026-05-24T10:45:16+05:30 Remove test deb-format-wrong-order as it can no longer work with newer dpkg - - - - - 5d9076d9 by Nilesh Patra at 2026-05-24T11:20:15+05:30 Add a working check for malformed-deb-archive - - - - - fc4032c4 by Nilesh Patra at 2026-05-24T12:48:07+05:30 Add ncompress to Build and test depends - - - - - 10 changed files: - debian/control - debian/tests/control - t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members → t/recipes/checks/deb-format/deb-format-malformed/build-spec/deb-members - + t/recipes/checks/deb-format/deb-format-malformed/build-spec/fill-values - + t/recipes/checks/deb-format/deb-format-malformed/build-spec/tar-data - + t/recipes/checks/deb-format/deb-format-malformed/eval/desc - + t/recipes/checks/deb-format/deb-format-malformed/eval/hints - − t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values - − t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc - − t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints Changes: ===================================== debian/control ===================================== @@ -55,6 +55,7 @@ Build-Depends: lintian <!nocheck> <!nodoc>, lintian-ssg <!nodoc>, mingw-w64-tools <!nocheck>, + ncompress <!nocheck>, pkg-php-tools <!nocheck>, python-dev-is-python3 <!nocheck>, python3 <!nocheck>, ===================================== debian/tests/control ===================================== @@ -38,6 +38,7 @@ Depends: libtext-template-perl, lintian, mingw-w64-tools, + ncompress, pkg-php-tools, python-dev-is-python3, python3, ===================================== t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members → t/recipes/checks/deb-format/deb-format-malformed/build-spec/deb-members ===================================== @@ -1,3 +1,3 @@ members/debian-binary -members/data.tar.gz members/control.tar.gz +members/data.tar.Z ===================================== t/recipes/checks/deb-format/deb-format-malformed/build-spec/fill-values ===================================== @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: deb-format-malformed +Description: Test package with wrong .Z +Extra-Build-Depends: dpkg (>= 1.17.6) ===================================== t/recipes/checks/deb-format/deb-format-malformed/build-spec/tar-data ===================================== @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar -Z --create --file members/data.tar.Z --directory "$rootdir" . ===================================== t/recipes/checks/deb-format/deb-format-malformed/eval/desc ===================================== @@ -0,0 +1,2 @@ +Testname: deb-format-malformed +Check: deb-format ===================================== t/recipes/checks/deb-format/deb-format-malformed/eval/hints ===================================== @@ -0,0 +1,3 @@ +deb-format-malformed (binary): malformed-deb-archive third (official) member data.tar.Z not data.tar.(gz|xz|bz2|lzma) +deb-format-malformed (binary): data-tarball-compression-format Z +deb-format-malformed (binary): control-tarball-compression-format gz ===================================== t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values deleted ===================================== @@ -1,6 +0,0 @@ -Skeleton: deb -Testname: deb-format-wrong-order -Description: Test package for an ar archive in the wrong order -Extra-Build-Depends: dpkg (<< 1.17.2) -# dpkg 1.17.2 Do not allow deb packages with control -# and data members swapped ===================================== t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc deleted ===================================== @@ -1,4 +0,0 @@ -Testname: deb-format-wrong-order -Check: deb-format -# dpkg 1.17.2 Do not allow deb packages with control -# and data members swapped ===================================== t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints deleted ===================================== @@ -1,2 +0,0 @@ -deb-format-wrong-order (binary): malformed-deb-archive third (official) member control.tar.gz not data.tar.((gz|xz|bz2|lzma) -deb-format-wrong-order (binary): malformed-deb-archive second (official) member data.tar.gz not control.tar.(gz|xz) View it on GitLab: https://salsa.debian.org/lintian/lintian/-/compare/137f739639ec9ea0944dc09b54d26cea2d036a81...fc4032c4e60fd8e807d6dda1755b386538d4e710 -- View it on GitLab: https://salsa.debian.org/lintian/lintian/-/compare/137f739639ec9ea0944dc09b54d26cea2d036a81...fc4032c4e60fd8e807d6dda1755b386538d4e710 You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help

