diff options
Diffstat (limited to 't/recipes/checks/fields')
1481 files changed, 20591 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/architecture/fields-architecture/build-spec/fill-values b/t/recipes/checks/fields/architecture/fields-architecture/build-spec/fill-values new file mode 100644 index 0000000..4b08188 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-architecture/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-architecture +Description: Tests for the Architecture field diff --git a/t/recipes/checks/fields/architecture/fields-architecture/build-spec/orig/Makefile b/t/recipes/checks/fields/architecture/fields-architecture/build-spec/orig/Makefile new file mode 100644 index 0000000..6df56c1 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-architecture/build-spec/orig/Makefile @@ -0,0 +1,5 @@ +all: + +install: + install -d -m 0755 "$(DESTDIR)/usr/lib/package" + echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file" diff --git a/t/recipes/checks/fields/architecture/fields-architecture/eval/desc b/t/recipes/checks/fields/architecture/fields-architecture/eval/desc new file mode 100644 index 0000000..30c6300 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-architecture/eval/desc @@ -0,0 +1,4 @@ +Testname: fields-architecture +Test-Architectures: linux-any any-i386 kfreebsd-any hurd-any +Test-Against: unknown-architecture +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/fields-architecture/eval/hints b/t/recipes/checks/fields/architecture/fields-architecture/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-architecture/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/fields/architecture/fields-aspell/build-spec/debian/control.in b/t/recipes/checks/fields/architecture/fields-aspell/build-spec/debian/control.in new file mode 100644 index 0000000..8e5563d --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-aspell/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: localization +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: aspell-en +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/architecture/fields-aspell/build-spec/fill-values b/t/recipes/checks/fields/architecture/fields-aspell/build-spec/fill-values new file mode 100644 index 0000000..7407fff --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-aspell/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-aspell +Description: Tests for Architecture of an aspell package +Package-Architecture: any diff --git a/t/recipes/checks/fields/architecture/fields-aspell/eval/desc b/t/recipes/checks/fields/architecture/fields-aspell/eval/desc new file mode 100644 index 0000000..d00e972 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-aspell/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-aspell +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/fields-aspell/eval/hints b/t/recipes/checks/fields/architecture/fields-aspell/eval/hints new file mode 100644 index 0000000..e8ebf8c --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-aspell/eval/hints @@ -0,0 +1 @@ +aspell-en (binary): aspell-package-not-arch-all diff --git a/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/debian/control.in b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/debian/control.in new file mode 100644 index 0000000..f6880a6 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: doc +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %]-doc +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/fill-values b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/fill-values new file mode 100644 index 0000000..50380b3 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-doc-pkg-wrong-arch +Package-Architecture: any +Description: Check for doc pkg not being arch all diff --git a/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/orig/Makefile b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/orig/Makefile new file mode 100644 index 0000000..6df56c1 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/build-spec/orig/Makefile @@ -0,0 +1,5 @@ +all: + +install: + install -d -m 0755 "$(DESTDIR)/usr/lib/package" + echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file" diff --git a/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/desc b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/desc new file mode 100644 index 0000000..180288a --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-doc-pkg-wrong-arch +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/hints b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/hints new file mode 100644 index 0000000..27f1abf --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-doc-pkg-wrong-arch/eval/hints @@ -0,0 +1 @@ +fields-doc-pkg-wrong-arch-doc (binary): documentation-package-not-architecture-independent diff --git a/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/architecture/fields-general-bad/eval/desc b/t/recipes/checks/fields/architecture/fields-general-bad/eval/desc new file mode 100644 index 0000000..92e877b --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/fields-general-bad/eval/hints b/t/recipes/checks/fields/architecture/fields-general-bad/eval/hints new file mode 100644 index 0000000..b15762b --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-general-bad/eval/hints @@ -0,0 +1,2 @@ +fields-general-BAD? (binary): unknown-architecture weird +fields-general-BAD? (binary): too-many-architectures amd64 i386 weird diff --git a/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..f0ca8ee --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/DEBIAN/control.in @@ -0,0 +1,11 @@ +Package: [% $source %] +Version: [% $version %] +Architecture: any-i386 +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/fill-values b/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/fill-values new file mode 100644 index 0000000..9c29949 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: fields-wildcard-binary +Description: Test for architecture wildcard in binary package diff --git a/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-wildcard-binary/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/desc b/t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/desc new file mode 100644 index 0000000..75284d5 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-wildcard-binary +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/hints b/t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/hints new file mode 100644 index 0000000..ec598d5 --- /dev/null +++ b/t/recipes/checks/fields/architecture/fields-wildcard-binary/eval/hints @@ -0,0 +1 @@ +fields-wildcard-binary (binary): arch-wildcard-in-binary-package any-i386 diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/control.in b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/control.in new file mode 100644 index 0000000..1c7406a --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/control.in @@ -0,0 +1,24 @@ +Source: [% $source %] +Section: [% $section %] +Priority: optional +Maintainer: [% $author %] +Build-Depends: [% $build_depends %] +Standards-Version: [% $standards_version %] + +Package: magic-architecture-srcpkg-ok-data +Architecture: all +Depends: ${misc:Depends} +Description: Test package for "all" plus specific arch in .dscs + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: magic-architecture-srcpkg-ok +Architecture: amd64 +Depends: ${misc:Depends} +Description: Test package for "all" plus specific arch in .dscs (a) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + . + Architecture specific package. diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/watch b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/watch new file mode 100644 index 0000000..c2a8392 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/debian/watch @@ -0,0 +1 @@ +# foo diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/fill-values b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/fill-values new file mode 100644 index 0000000..fed5016 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: magic-architecture-srcpkg-ok +Description: Test package for "all" plus specific arch in .dscs diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/orig/README b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/orig/README new file mode 100644 index 0000000..5709e2d --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/build-spec/orig/README @@ -0,0 +1 @@ +Some upstream README diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/desc b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/desc new file mode 100644 index 0000000..308f0c2 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/desc @@ -0,0 +1,3 @@ +Testname: magic-architecture-srcpkg-ok +Test-Against: magic-arch-in-arch-list +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/hints b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-ok/eval/hints diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/debian/watch b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/debian/watch new file mode 100644 index 0000000..c2a8392 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/debian/watch @@ -0,0 +1 @@ +# foo diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/dpkg-overrides b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/dpkg-overrides new file mode 100644 index 0000000..95b9f1f --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/dpkg-overrides @@ -0,0 +1 @@ +-DArchitecture="amd64 any" diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/fill-values b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/fill-values new file mode 100644 index 0000000..3ecd9a3 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: magic-architecture-srcpkg-wrong +Description: Test package for "any" plus specific arch in .dscs diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/orig/README b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/orig/README new file mode 100644 index 0000000..5709e2d --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/build-spec/orig/README @@ -0,0 +1 @@ +Some upstream README diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/desc b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/desc new file mode 100644 index 0000000..1ca7ed1 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/desc @@ -0,0 +1,2 @@ +Testname: magic-architecture-srcpkg-wrong +Check: fields/architecture diff --git a/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/hints b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/hints new file mode 100644 index 0000000..3a58cd8 --- /dev/null +++ b/t/recipes/checks/fields/architecture/magic-architecture-srcpkg-wrong/eval/hints @@ -0,0 +1 @@ +magic-architecture-srcpkg-wrong (source): magic-arch-in-arch-list diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/debian/control.in b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..aae8958 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Bugs: mailto:debian-backports@lists.debian.org + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/fill-values b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/fill-values new file mode 100644 index 0000000..bf3f573 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel +Package-Architecture: all +Description: Check for Bugs: field parsing false positive diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/desc b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/desc new file mode 100644 index 0000000..965ab24 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel +Test-Against: + bugs-field-does-not-refer-to-debian-infrastructure +Check: fields/bugs diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/hints b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure-unrel/eval/hints diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/debian/control.in b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/debian/control.in new file mode 100644 index 0000000..196abcc --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/debian/control.in @@ -0,0 +1,30 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Bugs: https://upstream.org/ + +Package: [% $source %] +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbgsym +Architecture: all +Section: debug +Depends: ${misc:Depends} +Description: [% $description %] (fake dbgsym package) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. s + . + This is fake dbgsym package. diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/fill-values b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/fill-values new file mode 100644 index 0000000..828e66a --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-bugs-field-does-not-refer-to-debian-infrastructure +Description: Check for packages with invalid Bugs fields diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/desc b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/desc new file mode 100644 index 0000000..6ae27e5 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-bugs-field-does-not-refer-to-debian-infrastructure +Check: fields/bugs diff --git a/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/hints b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/hints new file mode 100644 index 0000000..fe3d38c --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-bugs-field-does-not-refer-to-debian-infrastructure/eval/hints @@ -0,0 +1 @@ +fields-bugs-field-does-not-refer-to-debian-infrastructure (binary): bugs-field-does-not-refer-to-debian-infrastructure https://upstream.org/ diff --git a/t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/control.in b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/control.in new file mode 100644 index 0000000..fac3281 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Bugs: debbugs://bugs.debian.org/ +Origin: debian + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/install b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/install new file mode 100644 index 0000000..6c37889 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/share/lintian diff --git a/t/recipes/checks/fields/bugs/fields-redundant/build-spec/fill-values b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/fill-values new file mode 100644 index 0000000..f5e21a7 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-redundant +Description: General tests redundant fields diff --git a/t/recipes/checks/fields/bugs/fields-redundant/build-spec/orig/some-file b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-redundant/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/bugs/fields-redundant/eval/desc b/t/recipes/checks/fields/bugs/fields-redundant/eval/desc new file mode 100644 index 0000000..2876da5 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-redundant/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-redundant +Check: fields/bugs diff --git a/t/recipes/checks/fields/bugs/fields-redundant/eval/hints b/t/recipes/checks/fields/bugs/fields-redundant/eval/hints new file mode 100644 index 0000000..8c1a019 --- /dev/null +++ b/t/recipes/checks/fields/bugs/fields-redundant/eval/hints @@ -0,0 +1 @@ +fields-redundant (binary): redundant-bugs-field diff --git a/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/control b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/rules b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/fields/bugs/legacy-relations/build-spec/fill-values b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/fields/bugs/legacy-relations/eval/desc b/t/recipes/checks/fields/bugs/legacy-relations/eval/desc new file mode 100644 index 0000000..0391208 --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: fields/bugs diff --git a/t/recipes/checks/fields/bugs/legacy-relations/eval/hints b/t/recipes/checks/fields/bugs/legacy-relations/eval/hints new file mode 100644 index 0000000..68147f0 --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/eval/hints @@ -0,0 +1,2 @@ +relations-multiple-libs (binary): redundant-bugs-field +relations (binary): redundant-bugs-field diff --git a/t/recipes/checks/fields/bugs/legacy-relations/eval/post-test b/t/recipes/checks/fields/bugs/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/bugs/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/built-using/fields-built-using/build-spec/debian/control.in b/t/recipes/checks/fields/built-using/fields-built-using/build-spec/debian/control.in new file mode 100644 index 0000000..962d380 --- /dev/null +++ b/t/recipes/checks/fields/built-using/fields-built-using/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Built-Using: foo (>= 1.0) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/built-using/fields-built-using/build-spec/fill-values b/t/recipes/checks/fields/built-using/fields-built-using/build-spec/fill-values new file mode 100644 index 0000000..a339ea9 --- /dev/null +++ b/t/recipes/checks/fields/built-using/fields-built-using/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-built-using +Description: Test for built-using field diff --git a/t/recipes/checks/fields/built-using/fields-built-using/eval/desc b/t/recipes/checks/fields/built-using/fields-built-using/eval/desc new file mode 100644 index 0000000..6ef2ce3 --- /dev/null +++ b/t/recipes/checks/fields/built-using/fields-built-using/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-built-using +Check: fields/built-using diff --git a/t/recipes/checks/fields/built-using/fields-built-using/eval/hints b/t/recipes/checks/fields/built-using/fields-built-using/eval/hints new file mode 100644 index 0000000..4e968e0 --- /dev/null +++ b/t/recipes/checks/fields/built-using/fields-built-using/eval/hints @@ -0,0 +1 @@ +fields-built-using (binary): invalid-value-in-built-using-field foo (>= 1.0) diff --git a/t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/fill-values b/t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/fill-values new file mode 100644 index 0000000..fff5dc3 --- /dev/null +++ b/t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: source-native +Testname: no-sha256-checksum +Version: 1 +Source-Format: 3.0 (native) +Dh-Compat-Level: 9 +Description: Test for missing Checksums-Sha256 field diff --git a/t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/post-build b/t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/post-build new file mode 100755 index 0000000..48e9641 --- /dev/null +++ b/t/recipes/checks/fields/checksums/no-sha256-checksum/build-spec/post-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="$1" + +perl -pi -0777 -e 's/\nChecksums-Sha256:[^\n]*(\n [^\n]*)*//' "$product" diff --git a/t/recipes/checks/fields/checksums/no-sha256-checksum/eval/desc b/t/recipes/checks/fields/checksums/no-sha256-checksum/eval/desc new file mode 100644 index 0000000..ae11874 --- /dev/null +++ b/t/recipes/checks/fields/checksums/no-sha256-checksum/eval/desc @@ -0,0 +1,2 @@ +Testname: no-sha256-checksum +Check: fields/checksums diff --git a/t/recipes/checks/fields/checksums/no-sha256-checksum/eval/hints b/t/recipes/checks/fields/checksums/no-sha256-checksum/eval/hints new file mode 100644 index 0000000..98eabda --- /dev/null +++ b/t/recipes/checks/fields/checksums/no-sha256-checksum/eval/hints @@ -0,0 +1 @@ +no-sha256-checksum (source): no-strong-digests-in-dsc diff --git a/t/recipes/checks/fields/deb822/native-source/build-spec/fill-values b/t/recipes/checks/fields/deb822/native-source/build-spec/fill-values new file mode 100644 index 0000000..bfd6582 --- /dev/null +++ b/t/recipes/checks/fields/deb822/native-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: native-source +Description: Plain native source package for deb822 field classification tags. diff --git a/t/recipes/checks/fields/deb822/native-source/eval/desc b/t/recipes/checks/fields/deb822/native-source/eval/desc new file mode 100644 index 0000000..66a4f14 --- /dev/null +++ b/t/recipes/checks/fields/deb822/native-source/eval/desc @@ -0,0 +1,2 @@ +Testname: native-source +Check: fields/deb822 diff --git a/t/recipes/checks/fields/deb822/native-source/eval/hints b/t/recipes/checks/fields/deb822/native-source/eval/hints new file mode 100644 index 0000000..482dd95 --- /dev/null +++ b/t/recipes/checks/fields/deb822/native-source/eval/hints @@ -0,0 +1 @@ +native-source (source): trimmed-deb822-field §1 Maintainer Debian Lintian Maintainers <lintian-maint@debian.org> [debian/control:4] diff --git a/t/recipes/checks/fields/deb822/native-source/eval/post-test b/t/recipes/checks/fields/deb822/native-source/eval/post-test new file mode 100644 index 0000000..0eb67e8 --- /dev/null +++ b/t/recipes/checks/fields/deb822/native-source/eval/post-test @@ -0,0 +1,2 @@ +# retain one field for illustration; many are too volatile for a test +/[^ ]* \([^)]*\): trimmed-deb822-field §[0-9]+ Maintainer .*/!d diff --git a/t/recipes/checks/fields/description/description-empty-paragraph/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-empty-paragraph/build-spec/debian/control.in new file mode 100644 index 0000000..dce8164 --- /dev/null +++ b/t/recipes/checks/fields/description/description-empty-paragraph/build-spec/debian/control.in @@ -0,0 +1,41 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: package to test empty first paragraph + . + The first paragraph + of this description + is empty. It is also an empty package. + +Package: [% $source %]-2 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: package to test empty last paragraph + The last paragraph + of this description + is empty. It is also an empty package. + . + Unfortunately this doesn't trigger the warning, an empty last paragraph + seems to get stripped out already before it is handed over. + . + +Package: [% $source %]-3 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: package to test empty paragraph in the middle + There is an + empty paragraph + in between. It is also an empty package. + . + . + There is an + empty paragraph + in between. It is also an empty package. diff --git a/t/recipes/checks/fields/description/description-empty-paragraph/build-spec/fill-values b/t/recipes/checks/fields/description/description-empty-paragraph/build-spec/fill-values new file mode 100644 index 0000000..a469492 --- /dev/null +++ b/t/recipes/checks/fields/description/description-empty-paragraph/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-empty-paragraph +Description: Tests of empty paragraphs in descriptions diff --git a/t/recipes/checks/fields/description/description-empty-paragraph/eval/desc b/t/recipes/checks/fields/description/description-empty-paragraph/eval/desc new file mode 100644 index 0000000..ec9d013 --- /dev/null +++ b/t/recipes/checks/fields/description/description-empty-paragraph/eval/desc @@ -0,0 +1,2 @@ +Testname: description-empty-paragraph +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-empty-paragraph/eval/hints b/t/recipes/checks/fields/description/description-empty-paragraph/eval/hints new file mode 100644 index 0000000..e501c2b --- /dev/null +++ b/t/recipes/checks/fields/description/description-empty-paragraph/eval/hints @@ -0,0 +1,2 @@ +description-empty-paragraph-3 (binary): extended-description-contains-empty-paragraph +description-empty-paragraph (binary): extended-description-contains-empty-paragraph diff --git a/t/recipes/checks/fields/description/description-general/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-general/build-spec/debian/control.in new file mode 100644 index 0000000..1fffbc6 --- /dev/null +++ b/t/recipes/checks/fields/description/description-general/build-spec/debian/control.in @@ -0,0 +1,155 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $source %] is a package which tests lintian's description checks + missing + The the synopsis should not start with the package's name. Moreover, + the long description + should + not + contain tabs. + .control statements are not allowed as well. + . + All all all of of these these should be matched matched matched + . + This description was automagically extracted from the module by dh-make-perl + . + No, not really... (dummy) + +Package: [% $source %]-2 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Don't use tabs in the synopsis and restrict yourself to less than 80 characters, otherwise Lintian will complain + Oh, and don't start the long description with spaces. + Now here comes a list: + - which is + - unfortunately + - not correctly indented. (dummy) + +Package: [% $source %]-3 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + There should really be a synopsis. + The line in an extended description should be less than 80 characters, otherwise you'll get + a Lintian warning. + . + And the old man said "he he is the one!" + "No, I am am not", he replied (dummy) + +Package: [% $source %]-4 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: some Lintian test package + some Lintian test package + . + Some mroe stuff about this debian test package. (dummy) + . + Homepage: <http://lintian.debian.org/> + +Package: [% $source %]-short +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Short + The description is too short. One word is not enough. + Second line to avoid the warning. + . + And a third. (dummy) + +Package: foo-duplicate +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: foo duplicate + The description is the same as the package name. + A real description would be appreciated + . + And a third. (dummy) + +Package: foo-bar-duplicate +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: foo bar duplicate + The description is the same as the package name. + A real description would be appreciated + . + And a third. (dummy) + +Package: [% $source %]-dummy +Section: oldlibs +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: test package (transitional package) + Transitional packages can have short long descriptions. + +Package: [% $source %]-empty +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: test package with empty extended description (dummy) + +Package: [% $source %]-utf8-long +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: test package with UTF-8 description (“héhéâ€â€œhéhéâ€â€œhéhéâ€â€œhéhéâ€) + Not really too long: “héhéâ€â€œhéhéâ€â€œhéhéâ€â€œhéhéâ€â€œhéhéâ€â€œhéhé†+ . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-not-dup +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: test package with duplicated words that aren't + Lossless JPEG is defined in ITU-T T.81, ISO/IEC IS 10918-1. + Contain the strings " link to ", " -> ", or ": ". + This is train A, a particularly fast train. + . + "hallo" or "evening" or "farewell" should not trigger a duplicate + "or or" warning. Also "or" "or" does not trigger the warning + either. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-syn-article +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: the synopsis starts with an article + A good synopsis should start not start with "a", "an" and "the" + according to developer-reference 6.2.2. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-syn-spelling +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: test for spelling - debian developement + Some Lintian test package. + . + Some more stuff about this Debian test package. (dummy) + . + Duplicate: Duplicate (false positive due to colon) + . + FOO (FOO Owsome Object) is a recursive acronym. + +Package: [% $source %]-control-statements +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: test for overly-indented control statements + Some Lintian test package. + . + Some more stuff about this Debian test package. (dummy) diff --git a/t/recipes/checks/fields/description/description-general/build-spec/fill-values b/t/recipes/checks/fields/description/description-general/build-spec/fill-values new file mode 100644 index 0000000..e3f3295 --- /dev/null +++ b/t/recipes/checks/fields/description/description-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-general +Description: Tests of various description tags diff --git a/t/recipes/checks/fields/description/description-general/eval/desc b/t/recipes/checks/fields/description/description-general/eval/desc new file mode 100644 index 0000000..96d4df7 --- /dev/null +++ b/t/recipes/checks/fields/description/description-general/eval/desc @@ -0,0 +1,4 @@ +Testname: description-general +Test-Against: + synopsis-is-a-sentence +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-general/eval/hints b/t/recipes/checks/fields/description/description-general/eval/hints new file mode 100644 index 0000000..b5cafb3 --- /dev/null +++ b/t/recipes/checks/fields/description/description-general/eval/hints @@ -0,0 +1,28 @@ +foo-duplicate (binary): description-is-pkg-name foo duplicate +foo-bar-duplicate (binary): description-is-pkg-name foo bar duplicate +description-general-syn-spelling (binary): spelling-error-in-description-synopsis developement development +description-general-syn-spelling (binary): capitalization-error-in-description-synopsis debian Debian +description-general-syn-article (binary): description-synopsis-starts-with-article +description-general-short (binary): description-too-short Short +description-general-empty (binary): extended-description-is-empty +description-general-control-statements (binary): description-contains-invalid-control-statement line 2 +description-general-4 (binary): spelling-error-in-description mroe more +description-general-4 (binary): description-synopsis-is-duplicated line 1 +description-general-4 (binary): description-contains-homepage line 5 +description-general-4 (binary): capitalization-error-in-description debian Debian +description-general-3 (binary): using-first-person-in-description line 6: I +description-general-3 (binary): extended-description-line-too-long line 2 +description-general-3 (binary): description-synopsis-is-empty +description-general-2 (binary): synopsis-too-long +description-general-2 (binary): possible-unindented-list-in-extended-description line 5 +description-general-2 (binary): description-starts-with-leading-spaces line 1 +description-general-2 (binary): description-contains-tabs +description-general (binary): spelling-error-in-description these these (duplicate word) these +description-general (binary): spelling-error-in-description of of (duplicate word) of +description-general (binary): spelling-error-in-description matched matched (duplicate word) matched +description-general (binary): spelling-error-in-description all all (duplicate word) all +description-general (binary): description-starts-with-package-name +description-general (binary): description-is-debmake-template line 1 +description-general (binary): description-contains-tabs line 3 +description-general (binary): description-contains-invalid-control-statement line 7 +description-general (binary): description-contains-dh-make-perl-template line 11 diff --git a/t/recipes/checks/fields/description/description-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..9cd042a --- /dev/null +++ b/t/recipes/checks/fields/description/description-homepage/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + See the package web site at <http://lintian.debian.org/>. diff --git a/t/recipes/checks/fields/description/description-homepage/build-spec/fill-values b/t/recipes/checks/fields/description/description-homepage/build-spec/fill-values new file mode 100644 index 0000000..e1e9ee6 --- /dev/null +++ b/t/recipes/checks/fields/description/description-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-homepage +Description: Test for a homepage reference in the description diff --git a/t/recipes/checks/fields/description/description-homepage/eval/desc b/t/recipes/checks/fields/description/description-homepage/eval/desc new file mode 100644 index 0000000..5debe32 --- /dev/null +++ b/t/recipes/checks/fields/description/description-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: description-homepage +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-homepage/eval/hints b/t/recipes/checks/fields/description/description-homepage/eval/hints new file mode 100644 index 0000000..49fd6e2 --- /dev/null +++ b/t/recipes/checks/fields/description/description-homepage/eval/hints @@ -0,0 +1 @@ +description-homepage (binary): description-possibly-contains-homepage http://lintian.debian.org/ diff --git a/t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/debian/control.in new file mode 100644 index 0000000..51cdeb2 --- /dev/null +++ b/t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/debian/control.in @@ -0,0 +1,25 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + Foo will soon allow something. + Foo soon will allow something. + Foo soon will be able something. + Foo will soon be able something. + Foo will soon support something. + Foo SOON WILL SUPPORT something. + Support for foo is planned. + Support is also planned for foo. diff --git a/t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/fill-values b/t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/fill-values new file mode 100644 index 0000000..1bdede6 --- /dev/null +++ b/t/recipes/checks/fields/description/description-mentions-planned-features/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-mentions-planned-features +Description: Test for a packages mentioning upcoming features diff --git a/t/recipes/checks/fields/description/description-mentions-planned-features/eval/desc b/t/recipes/checks/fields/description/description-mentions-planned-features/eval/desc new file mode 100644 index 0000000..38ffdd7 --- /dev/null +++ b/t/recipes/checks/fields/description/description-mentions-planned-features/eval/desc @@ -0,0 +1,2 @@ +Testname: description-mentions-planned-features +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-mentions-planned-features/eval/hints b/t/recipes/checks/fields/description/description-mentions-planned-features/eval/hints new file mode 100644 index 0000000..5552914 --- /dev/null +++ b/t/recipes/checks/fields/description/description-mentions-planned-features/eval/hints @@ -0,0 +1,8 @@ +description-mentions-planned-features (binary): description-mentions-planned-features (line 9) +description-mentions-planned-features (binary): description-mentions-planned-features (line 8) +description-mentions-planned-features (binary): description-mentions-planned-features (line 7) +description-mentions-planned-features (binary): description-mentions-planned-features (line 6) +description-mentions-planned-features (binary): description-mentions-planned-features (line 13) +description-mentions-planned-features (binary): description-mentions-planned-features (line 12) +description-mentions-planned-features (binary): description-mentions-planned-features (line 11) +description-mentions-planned-features (binary): description-mentions-planned-features (line 10) diff --git a/t/recipes/checks/fields/description/description-perl/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-perl/build-spec/debian/control.in new file mode 100644 index 0000000..ac66abe --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/build-spec/debian/control.in @@ -0,0 +1,27 @@ +Source: [% $source %] +Priority: optional +Section: perl +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: libdeb-long-description-perl +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: lintian dummy package to test a module name related check + This package is solely meant for testing a lintian check to argue + about not mentioning the contained perl module. + . + For testing and length-ish purposes, with Long::Description a similar + name is mentioned though. + +Package: libdeb-long-description-proper-perl +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: lintian dummy package to test a module name related false positive + This package is solely meant for testing a lintian check to argue + about not mentioning the contained perl module. + . + This is a package which checks the test for false positives, so it + actually mentions Deb::Long::Description::Proper. diff --git a/t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-perl.install b/t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-perl.install new file mode 100644 index 0000000..306e16a --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-perl.install @@ -0,0 +1 @@ +lib/Deb/Long/Description.pm usr/share/perl5/Deb/Long diff --git a/t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-proper-perl.install b/t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-proper-perl.install new file mode 100644 index 0000000..5c2f399 --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/build-spec/debian/libdeb-long-description-proper-perl.install @@ -0,0 +1 @@ +lib/Deb/Long/Description/Proper.pm usr/share/perl5/Deb/Long/Description diff --git a/t/recipes/checks/fields/description/description-perl/build-spec/fill-values b/t/recipes/checks/fields/description/description-perl/build-spec/fill-values new file mode 100644 index 0000000..f3c08da --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-perl +Description: Tests of perl-related description tags diff --git a/t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description.pm b/t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description.pm new file mode 100644 index 0000000..e86bca4 --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description.pm @@ -0,0 +1,5 @@ +# Dummy Perl module for lintian testing purposes. + +package Deb::Long::Description; + +return 1; diff --git a/t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description/Proper.pm b/t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description/Proper.pm new file mode 100644 index 0000000..67230b9 --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/build-spec/orig/lib/Deb/Long/Description/Proper.pm @@ -0,0 +1,5 @@ +# Dummy Perl module for lintian testing purposes. + +package Deb::Long::Description::Proper; + +return 1; diff --git a/t/recipes/checks/fields/description/description-perl/eval/desc b/t/recipes/checks/fields/description/description-perl/eval/desc new file mode 100644 index 0000000..9c7aaa4 --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/eval/desc @@ -0,0 +1,2 @@ +Testname: description-perl +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-perl/eval/hints b/t/recipes/checks/fields/description/description-perl/eval/hints new file mode 100644 index 0000000..f9566f4 --- /dev/null +++ b/t/recipes/checks/fields/description/description-perl/eval/hints @@ -0,0 +1 @@ +libdeb-long-description-perl (binary): perl-module-name-not-mentioned-in-description Deb::Long::Description diff --git a/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in new file mode 100644 index 0000000..ae4bdbd --- /dev/null +++ b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in @@ -0,0 +1,117 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %]-full-stop +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis ends with a full-stop. + This description ends with a full-stop. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-no-full-stop +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis does not end with a full stop + This description does not end with a full stop + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-two-sentences +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis starts a sentence. Then starts another. + This description starts a sentence. Then starts another. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-etc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis ends with, etc. + This description ends with, etc. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-eg +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis contains, e.g. /foo/bar/baz.conf + This description contains, e.g. /foo/bar/baz.conf + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-eg-variant +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis contains, eg. /foo/bar/baz.conf + This description contains, eg. /foo/bar/baz.conf + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-2-ellipsis +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis contains a 2-ellipsis .. and other words + This description contains a 2-ellipsis .. and other words + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-3-ellipsis +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis contains a 3-ellipsis ... and other words + This description contains a 3-ellipsis ... and other words + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-4-ellipsis +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis contains a 4-ellipsis .... and other words + This description contains a 4-ellipsis .... and other words + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-misspelt +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This synopsis ends with mispelling of stretc. + This description ends with mispelling of stretc. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values new file mode 100644 index 0000000..0daadc2 --- /dev/null +++ b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-synopsis-might-not-be-phrased-properly +Description: Tests for fullstop detection diff --git a/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/desc b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/desc new file mode 100644 index 0000000..cc9e633 --- /dev/null +++ b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/desc @@ -0,0 +1,2 @@ +Testname: description-synopsis-might-not-be-phrased-properly +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/hints b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/hints new file mode 100644 index 0000000..d6611a9 --- /dev/null +++ b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/eval/hints @@ -0,0 +1,5 @@ +description-synopsis-might-not-be-phrased-properly-two-sentences (binary): synopsis-is-a-sentence "This synopsis starts a sentence. Then starts another." +description-synopsis-might-not-be-phrased-properly-misspelt (binary): synopsis-is-a-sentence "This synopsis ends with mispelling of stretc." +description-synopsis-might-not-be-phrased-properly-full-stop (binary): synopsis-is-a-sentence "This synopsis ends with a full-stop." +description-synopsis-might-not-be-phrased-properly-4-ellipsis (binary): synopsis-is-a-sentence "This synopsis contains a 4-ellipsis .... and other words" +description-synopsis-might-not-be-phrased-properly-2-ellipsis (binary): synopsis-is-a-sentence "This synopsis contains a 2-ellipsis .. and other words" diff --git a/t/recipes/checks/fields/description/description-wording/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-wording/build-spec/debian/control.in new file mode 100644 index 0000000..3f6fb5b --- /dev/null +++ b/t/recipes/checks/fields/description/description-wording/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. You should not install it like a regular package, we can guarantee + you that. This is a test package. This package does nothing useful at all. + It may be an empty package. diff --git a/t/recipes/checks/fields/description/description-wording/build-spec/fill-values b/t/recipes/checks/fields/description/description-wording/build-spec/fill-values new file mode 100644 index 0000000..85f0d6a --- /dev/null +++ b/t/recipes/checks/fields/description/description-wording/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: description-wording +Description: Tests for description wording diff --git a/t/recipes/checks/fields/description/description-wording/eval/desc b/t/recipes/checks/fields/description/description-wording/eval/desc new file mode 100644 index 0000000..a047232 --- /dev/null +++ b/t/recipes/checks/fields/description/description-wording/eval/desc @@ -0,0 +1,2 @@ +Testname: description-wording +Check: fields/description diff --git a/t/recipes/checks/fields/description/description-wording/eval/hints b/t/recipes/checks/fields/description/description-wording/eval/hints new file mode 100644 index 0000000..412e2a7 --- /dev/null +++ b/t/recipes/checks/fields/description/description-wording/eval/hints @@ -0,0 +1 @@ +description-wording (binary): using-first-person-in-description line 3: we diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Russ Allbery <rra@debian.org> Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> + + -- Russ Allbery <rra@debian.org> Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery <rra@debian.org> +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: <insert the upstream URL, if relevant> + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: <insert up to 60 chars description> + <insert long description, indented with spaces> diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery <rra@debian.org> on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from <url://example.com> + +Upstream Author(s): + + <put author's name and email here> + <likewise for another author> + +Copyright: + + <Copyright (C) YYYY Name OfAuthor> + <likewise for another author> + +License: + + <Put the license of the package here indented by 4 spaces> + +The Debian packaging is (C) 2008, Russ Allbery <rra@debian.org> and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily +# from the install scripts for gettext by Santiago Vila +# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> +;; Modified by Dirk Eddelbuettel <edd@debian.org> +;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org> + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: <insert document author here> +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg <miquels@cistron.nl>. +# Modified for Debian +# by Ian Murdock <imurdock@gnu.ai.mit.edu>. +# Further changes by Javier Fernandez-Sanguino <jfs@debian.org> +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> +# +# This is free software; you may redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, +# or (at your option) any later version. +# +# This is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: <Enter a short description of the sortware> +# Description: <Enter a long description of the software> +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB<whatever>\fP and +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBgeneric-dh-make-2008\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +generic-dh-make-2008 was written by <upstream author>. +.PP +This manual page was written by Russ Allbery <rra@debian.org>, +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> + <!ENTITY dhsurname "<surname>SURNAME</surname>"> + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY dhdate "<date>December 29, 2008</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> + <!ENTITY dhemail "<email>rra@debian.org</email>"> + <!ENTITY dhusername "Russ Allbery"> + <!ENTITY dhucpackage "<refentrytitle>GENERIC-DH-MAKE-2008</refentrytitle>"> + <!ENTITY dhpackage "generic-dh-make-2008"> + + <!ENTITY debian "<productname>Debian</productname>"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + &dhemail; + </address> + <author> + &dhfirstname; + &dhsurname; + </author> + <copyright> + <year>2003</year> + <holder>&dhusername;</holder> + </copyright> + &dhdate; + </refentryinfo> + <refmeta> + &dhucpackage; + + &dhsection; + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + + <refpurpose>program to do something</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage;</command> + + <arg><option>-e <replaceable>this</replaceable></option></arg> + + <arg><option>--example <replaceable>that</replaceable></option></arg> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para>This manual page documents briefly the + <command>&dhpackage;</command> and <command>bar</command> + commands.</para> + + <para>This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + <application>Info</application> format; see below.</para> + + <para><command>&dhpackage;</command> is a program that...</para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para>These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + <application>Info</application> files.</para> + + <variablelist> + <varlistentry> + <term><option>-h</option> + <option>--help</option> + </term> + <listitem> + <para>Show summary of options.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-v</option> + <option>--version</option> + </term> + <listitem> + <para>Show version of program.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1> + <title>SEE ALSO</title> + + <para>bar (1), baz (1).</para> + + <para>The programs are documented fully by <citetitle>The Rise and + Fall of a Fooish Bar</citetitle> available via the + <application>Info</application> system.</para> + </refsect1> + <refsect1> + <title>AUTHOR</title> + + <para>This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + </para> + <para> + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + </para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> + + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" +"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + +<!-- + +`xsltproc -''-nonet \ + -''-param man.charmap.use.subset "0" \ + -''-param make.year.ranges "1" \ + -''-param make.single.year.ranges "1" \ + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ + manpage.xml' + +A manual page <package>.<section> will be generated. You may view the +manual page with: nroff -man <package>.<section> | less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as +<refsect1> ... </refsect1>. + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "FIRSTNAME"> + <!ENTITY dhsurname "SURNAME"> + <!-- dhusername could also be set to "&firstname; &surname;". --> + <!ENTITY dhusername "Russ Allbery"> + <!ENTITY dhemail "rra@debian.org"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1) and + http://www.tldp.org/HOWTO/Man-Page/q2.html. --> + <!ENTITY dhsection "SECTION"> + <!-- TITLE should be something like "User commands" or similar (see + http://www.tldp.org/HOWTO/Man-Page/q2.html). --> + <!ENTITY dhtitle "generic-dh-make-2008 User Manual"> + <!ENTITY dhucpackage "GENERIC-DH-MAKE-2008"> + <!ENTITY dhpackage "generic-dh-make-2008"> +]> + +<refentry> + <refentryinfo> + <title>&dhtitle;</title> + <productname>&dhpackage;</productname> + <authorgroup> + <author> + <firstname>&dhfirstname;</firstname> + <surname>&dhsurname;</surname> + <contrib>Wrote this manpage for the Debian system.</contrib> + <address> + <email>&dhemail;</email> + </address> + </author> + </authorgroup> + <copyright> + <year>2007</year> + <holder>&dhusername;</holder> + </copyright> + <legalnotice> + <para>This manual page was written for the Debian system + (but may be used by others).</para> + <para>Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation.</para> + <para>On Debian systems, the complete text of the GNU General Public + License can be found in + <filename>/usr/share/common-licenses/GPL</filename>.</para> + </legalnotice> + </refentryinfo> + <refmeta> + <refentrytitle>&dhucpackage;</refentrytitle> + <manvolnum>&dhsection;</manvolnum> + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + <refpurpose>program to do something</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage;</command> + <!-- These are several examples, how syntaxes could look --> + <arg choice="plain"><option>-e <replaceable>this</replaceable></option></arg> + <arg choice="opt"><option>--example=<parameter>that</parameter></option></arg> + <arg choice="opt"> + <group choice="req"> + <arg choice="plain"><option>-e</option></arg> + <arg choice="plain"><option>--example</option></arg> + </group> + <replaceable class="option">this</replaceable> + </arg> + <arg choice="opt"> + <group choice="req"> + <arg choice="plain"><option>-e</option></arg> + <arg choice="plain"><option>--example</option></arg> + </group> + <group choice="req"> + <arg choice="plain"><replaceable>this</replaceable></arg> + <arg choice="plain"><replaceable>that</replaceable></arg> + </group> + </arg> + </cmdsynopsis> + <cmdsynopsis> + <command>&dhpackage;</command> + <!-- Normally the help and version options make the programs stop + right after outputting the requested information. --> + <group choice="opt"> + <arg choice="plain"> + <group choice="req"> + <arg choice="plain"><option>-h</option></arg> + <arg choice="plain"><option>--help</option></arg> + </group> + </arg> + <arg choice="plain"> + <group choice="req"> + <arg choice="plain"><option>-v</option></arg> + <arg choice="plain"><option>--version</option></arg> + </group> + </arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1 id="description"> + <title>DESCRIPTION</title> + <para>This manual page documents briefly the + <command>&dhpackage;</command> and <command>bar</command> + commands.</para> + <para>This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> format; see below.</para> + <para><command>&dhpackage;</command> is a program that...</para> + </refsect1> + <refsect1 id="options"> + <title>OPTIONS</title> + <para>The program follows the usual GNU command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> files.</para> + <variablelist> + <!-- Use the variablelist.term.separator and the + variablelist.term.break.after parameters to + control the term elements. --> + <varlistentry> + <term><option>-e <replaceable>this</replaceable></option></term> + <term><option>--example=<replaceable>that</replaceable></option></term> + <listitem> + <para>Does this and that.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-h</option></term> + <term><option>--help</option></term> + <listitem> + <para>Show summary of options.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-v</option></term> + <term><option>--version</option></term> + <listitem> + <para>Show version of program.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1 id="files"> + <title>FILES</title> + <variablelist> + <varlistentry> + <term><filename>/etc/foo.conf</filename></term> + <listitem> + <para>The system-wide configuration file to control the + behaviour of <application>&dhpackage;</application>. See + <citerefentry> + <refentrytitle>foo.conf</refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry> for further details.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><filename>${HOME}/.foo.conf</filename></term> + <listitem> + <para>The per-user configuration file to control the + behaviour of <application>&dhpackage;</application>. See + <citerefentry> + <refentrytitle>foo.conf</refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry> for further details.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1 id="environment"> + <title>ENVIONMENT</title> + <variablelist> + <varlistentry> + <term><envar>FOO_CONF</envar></term> + <listitem> + <para>If used, the defined file is used as configuration + file (see also <xref linkend="files"/>).</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1 id="diagnostics"> + <title>DIAGNOSTICS</title> + <para>The following diagnostics may be issued + on <filename class="devicefile">stderr</filename>:</para> + <variablelist> + <varlistentry> + <term><errortext>Bad configuration file. Exiting.</errortext></term> + <listitem> + <para>The configuration file seems to contain a broken configuration + line. Use the <option>--verbose</option> option, to get more info. + </para> + </listitem> + </varlistentry> + </variablelist> + <para><command>&dhpackage;</command> provides some return codes, that can + be used in scripts:</para> + <segmentedlist> + <segtitle>Code</segtitle> + <segtitle>Diagnostic</segtitle> + <seglistitem> + <seg><errorcode>0</errorcode></seg> + <seg>Program exited successfully.</seg> + </seglistitem> + <seglistitem> + <seg><errorcode>1</errorcode></seg> + <seg>The configuration file seems to be broken.</seg> + </seglistitem> + </segmentedlist> + </refsect1> + <refsect1 id="bugs"> + <!-- Or use this section to tell about upstream BTS. --> + <title>BUGS</title> + <para>The program is currently limited to only work + with the <package>foobar</package> library.</para> + <para>The upstreams <acronym>BTS</acronym> can be found + at <ulink url="http://bugzilla.foo.tld"/>.</para> + </refsect1> + <refsect1 id="see_also"> + <title>SEE ALSO</title> + <!-- In alpabetical order. --> + <para><citerefentry> + <refentrytitle>bar</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>, <citerefentry> + <refentrytitle>baz</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>, <citerefentry> + <refentrytitle>foo.conf</refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry></para> + <para>The programs are documented fully by <citetitle>The Rise and + Fall of a Fooish Bar</citetitle> available via the <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> system.</para> + </refsect1> +</refentry> + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# <Webpage URL> <string match> +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery <rra@debian.org> +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/eval/desc b/t/recipes/checks/fields/description/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..adbc1d9 --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: fields/description +See-Also: + Bug#497347 diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/eval/hints b/t/recipes/checks/fields/description/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..193183c --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/eval/hints @@ -0,0 +1,2 @@ +generic-dh-make-2008 (binary): extended-description-is-probably-too-short +generic-dh-make-2008 (binary): description-is-dh_make-template diff --git a/t/recipes/checks/fields/description/generic-dh-make-2008/eval/post-test b/t/recipes/checks/fields/description/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/description/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: ü. + It also has a usefull speling error. + + -- Russ Allbery <rra@debian.org> Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt <he@debian.org> Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/control b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org> +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: <http://lintian.debian.org/> +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad ® character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello!
+Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/rules b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/index.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/templates b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/fill-values b/t/recipes/checks/fields/description/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/fields/description/legacy-binary/eval/desc b/t/recipes/checks/fields/description/legacy-binary/eval/desc new file mode 100644 index 0000000..cdb33ca --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: fields/description diff --git a/t/recipes/checks/fields/description/legacy-binary/eval/hints b/t/recipes/checks/fields/description/legacy-binary/eval/hints new file mode 100644 index 0000000..fe61ed8 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/eval/hints @@ -0,0 +1,4 @@ +binary-data (binary): capitalization-error-in-description subversion Subversion +binary (binary): spelling-error-in-description dont don't +binary (binary): description-contains-homepage line 7 +binary (binary): capitalization-error-in-description debian Debian diff --git a/t/recipes/checks/fields/description/legacy-binary/eval/post-test b/t/recipes/checks/fields/description/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers <debian-lint-maint@debian.org> Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/control b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers <debian-lint-maint@debian.org> +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld <djpig@debian.org> + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-test.templates.in diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld <djpig@debian.org>\n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld <djpig@debian.org>\n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/fields/description/legacy-debconf/build-spec/fill-values b/t/recipes/checks/fields/description/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/fields/description/legacy-debconf/eval/desc b/t/recipes/checks/fields/description/legacy-debconf/eval/desc new file mode 100644 index 0000000..905640f --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: fields/description diff --git a/t/recipes/checks/fields/description/legacy-debconf/eval/hints b/t/recipes/checks/fields/description/legacy-debconf/eval/hints new file mode 100644 index 0000000..54027ec --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/eval/hints @@ -0,0 +1 @@ +debconf-test (binary): extended-description-is-empty diff --git a/t/recipes/checks/fields/description/legacy-debconf/eval/post-test b/t/recipes/checks/fields/description/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery <rra@debian.org>, Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers <lintian-maint@debian.org> Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value
\ No newline at end of file diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var
\ No newline at end of file diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/eval/desc b/t/recipes/checks/fields/description/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..9c4c8ec --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: fields/description diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/eval/hints b/t/recipes/checks/fields/description/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..376f471 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/eval/hints @@ -0,0 +1 @@ +only-etcfiles (binary): extended-description-is-empty diff --git a/t/recipes/checks/fields/description/legacy-etcfiles/eval/post-test b/t/recipes/checks/fields/description/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/changelog.in @@ -0,0 +1,78 @@ +filenames ([% $version %]) [% $distribution %]; urgency=low + + * /me is doing a correct NMU of this package, bumping the epoch too. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:04:39 +0200 + +filenames (11) unstable; urgency=low + + * Add a README.macos. + + -- Marc 'HE' Brockschmidt <he@debian.org> Mon, 12 Apr 2004 23:35:24 +0200 + +filenames (10) unstable; urgency=low + + * Some new files to check the checks for the use of /usr/*/X11 and + /usr/X11R6/*. + + -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 11 Apr 2004 17:35:20 +0200 + +filenames (9) unstable; urgency=low + + * Add a two *.ali files, one with the right permission, one with + the more common, but false one. + + -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 11 Apr 2004 00:18:16 +0200 + +filenames (8) unstable; urgency=low + + * Add a real ancient file + + -- Frank Lichtenheld <djpig@debian.org> Thu, 8 Apr 2004 22:22:40 +0200 + +filenames (7) unstable; urgency=low + + * Add a dozen symlinks, some correct, some not + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 01:28:42 +0100 + +filenames (6) unstable; urgency=low + + * Add perl files to check if + package-installs-nonbinary-perl-in-usr-lib-perl5 is correctly + issued even after attempting to suppress it in some cases + + -- Frank Lichtenheld <djpig@debian.org> Fri, 27 Feb 2004 00:49:44 +0100 + +filenames (5) unstable; urgency=low + + * Added check for too long symlink + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 3 Jan 2001 13:20:31 -0800 + +filenames (4) unstable; urgency=low + + * Add /usr/lib/menu/menu file to test the bad-menu-file-name tag. + * Add /usr/lib/menu/README to test the new execption for it. + + -- Richard Braakman <dark@xs4all.nl> Thu, 22 Oct 1998 15:42:52 +0200 + +filenames (3) unstable; urgency=low + + * Don't rely on the installer's umask. + + -- Richard Braakman <dark@xs4all.nl> Thu, 20 Aug 1998 12:45:47 +0200 + +filenames (2) unstable; urgency=low + + * Noted more limitations on what filenames lintian handles. + * Added Changes.gz in /usr/doc/filenames and made a symlink from changelog.gz + to Changes.gz. + + -- Richard Braakman <dark@xs4all.nl> Sat, 4 Jul 1998 15:46:11 +0200 + +filenames (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Sat, 4 Jul 1998 15:25:01 +0200 diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/control b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: filenames +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets + +Package: filenames +Architecture: any +Description: see how lintian reacts to weird filenames + This package contains files with the most evil names I could find, + except for ones that lintian is explicitly not designed to handle. + . + Lintian does not handle filenames containing newlines, or filenames + that contain the strings " link to ", " -> ", or ": ". The last one + is used as a separator by the file command, the others are used as + separators by tar. + . + Lintian also does not handle filenames that contain backslashes, or + other characters that are mangled by tar's -tv output. + +Package: filename-games +Architecture: all +Depends: filenames +Section: games +Description: Test game filename/location checks + This package contains files with slightly less evil names than + filenames. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: more-filename-games +Architecture: all +Depends: filenames, filename-games +Section: games +Priority: optional +Description: More test for game filename/location checks + This package contains no evil names, only evil locations. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/doc-base @@ -0,0 +1,11 @@ +Document: testing +Title: Working doc-base control file +Author: Russ Allbery +Abstract: This control file ensures that we don't get false positives for + correct doc-base files. + . + There isn't anything wrong with this one. +Section: Education + +Format: Text +Files: /usr/share/doc/filenames/README.macosx diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/debian/rules @@ -0,0 +1,231 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +clean: + mkdir -p .svn CVS "{arch}" .arch-ids .bzr + touch data/.cvsignore data/svn-commit.tmp data/svk-commitsEr9P.tmp + touch data/.arch-inventory + touch 'data/.#Maelstrom Sound.1.1.1' 'data/Maelstrom Sounce.r121' + touch 'data/Maelstrom Sound.mine' + touch "data/'\\ " + touch filenames.c~ + +build-arch: + +build-indep: + +build: build-arch build-indep + + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + cp -a data debian/tmp/files + chmod -R go=rX debian/tmp/files + + install -d debian/tmp/usr/lib/filenames + install -m 555 -d debian/tmp/usr/lib/filenames/readonly + touch debian/tmp/usr/lib/filenames/readonly/test + + install -d debian/tmp/usr/lib/menu + install -d debian/tmp/usr/share/menu + touch debian/tmp/usr/lib/menu/README + touch debian/tmp/usr/share/menu/README + touch debian/tmp/usr/lib/menu/menu + touch debian/tmp/usr/share/menu/menu + chmod 644 debian/tmp/usr/lib/menu/* + + install -d debian/tmp/$(VENDORARCH)/foo + mkdir debian/tmp/$(VENDORARCH)/.svn + mkdir debian/tmp/$(VENDORARCH)/CVS + mkdir "debian/tmp/$(VENDORARCH)/{arch}" + mkdir debian/tmp/$(VENDORARCH)/.arch-ids + mkdir debian/tmp/$(VENDORARCH)/.bzr + mkdir debian/tmp/$(VENDORARCH)/.be + mkdir debian/tmp/$(VENDORARCH)/.ditrack + install -d debian/tmp/usr/share/perl5 + echo foo > debian/tmp/$(VENDORARCH)/foo/.gitignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgtags + echo foo > debian/tmp/$(VENDORARCH)/foo/.hg_archival.txt + + touch debian/tmp/$(VENDORARCH)/foo/.packlist + chmod 644 debian/tmp/$(VENDORARCH)/foo/.packlist + touch debian/tmp/$(VENDORARCH)/foo/bar.pm + TZ=UTC touch -t 197501010101 debian/tmp/$(VENDORARCH)/foo/ancient.pm + chmod 644 debian/tmp/$(VENDORARCH)/foo/bar.pm + + install -d debian/tmp/usr/share/pixmaps + install -d debian/tmp/usr/share/pixmaps/foo + touch debian/tmp/usr/share/pixmaps/license.jpeg + touch debian/tmp/usr/share/pixmaps/licence.jpg + touch debian/tmp/usr/share/pixmaps/copying.xpm + touch debian/tmp/usr/share/pixmaps/foo/COPYING.svg + touch debian/tmp/usr/share/pixmaps/foo/copying.png + touch debian/tmp/usr/share/pixmaps/license.txt + touch debian/tmp/usr/share/pixmaps/license.foo + touch debian/tmp/usr/share/pixmaps/COPYING + + install -d debian/tmp/usr/share/linda/overrides + echo 'foo' > debian/tmp/usr/share/linda/overrides/filenames + + install -d debian/tmp/usr/share/doc/filenames + touch debian/tmp/usr/share/doc/filenames/README.macosx + + echo foo > debian/tmp/usr/share/doc/filenames/bokmÃ¥l + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\Ã¥l + echo foo > debian/tmp/usr/share/doc/filenames/bokmål + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\ål + + echo foo > debian/tmp/usr/share/doc/filenames/Thumbs.db + echo foo > debian/tmp/usr/share/doc/filenames/.DS_Store + echo foo > debian/tmp/usr/share/doc/filenames/._NEWS.Debian + + touch debian/tmp/usr/share/doc/filenames/news.debian + gzip -n debian/tmp/usr/share/doc/filenames/news.debian + touch debian/tmp/usr/share/doc/filenames/NEWS.Debian + + echo foo > debian/tmp/usr/share/doc/filenames/link-one + ln debian/tmp/usr/share/doc/filenames/link-one \ + debian/tmp/usr/share/doc/filenames/link-two + + install -d debian/tmp/usr/share/doc/filenames/examples + touch debian/tmp/usr/share/doc/filenames/examples/__init__.py + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + gzip -n debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + + install -d debian/tmp/usr/lib/ada/adalib/ + touch debian/tmp/usr/lib/ada/adalib/test.ali debian/tmp/usr/lib/ada/adalib/test2.ali + chmod 0644 debian/tmp/usr/lib/ada/adalib/test.ali + chmod 0444 debian/tmp/usr/lib/ada/adalib/test2.ali + + install -d debian/tmp/usr/bin/X11/ + touch debian/tmp/usr/bin/X11/testxbin + install -d debian/tmp/usr/X11R6/bin + touch debian/tmp/usr/X11R6/bin/testxbin2 + install -d debian/tmp/usr/include/X11 + touch debian/tmp/usr/include/X11/foo.h + + install -d debian/tmp/usr/bin/mh + touch debian/tmp/usr/bin/mh/read + chmod 755 debian/tmp/usr/bin/mh/read + install -d debian/tmp/usr/bin/bin + touch debian/tmp/usr/bin/bin/bad + chmod 755 debian/tmp/usr/bin/bin/bad + + install -m 644 debian/changelog debian/tmp/usr/share/doc/filenames/Changes + gzip -n -9 debian/tmp/usr/share/doc/filenames/Changes + ln -s Changes.gz debian/tmp/usr/share/doc/filenames/changelog.gz + + install -d debian/tmp/var/www + echo foo > debian/tmp/var/www/foo + + install -d debian/tmp/srv/foo + touch debian/tmp/srv/foo/bar + install -d debian/tmp/opt/foo + touch debian/tmp/opt/foo/bar + + install -d debian/tmp/etc/gconf/schemas + touch debian/tmp/etc/gconf/schemas/test.schema + + install -d debian/tmp/usr/lib/sgml + touch debian/tmp/usr/lib/sgml/package + + install -d debian/tmp/usr/share/gnome/apps/System + touch debian/tmp/usr/share/gnome/apps/System/foo.desktop + + install -d debian/tmp/usr/share/filenames + touch debian/tmp/usr/share/filenames/jquery.js + touch debian/tmp/usr/share/filenames/jquery.lite.js + touch debian/tmp/usr/share/filenames/jquery.min.js + touch debian/tmp/usr/share/filenames/jquery.pack.js + touch debian/tmp/usr/share/filenames/mochikit.js + touch debian/tmp/usr/share/filenames/prototype-1.2.3.4.js + touch debian/tmp/usr/share/filenames/prototype.js + touch debian/tmp/usr/share/filenames/prototype.js.gz + touch debian/tmp/usr/share/filenames/scriptaculous.js + touch debian/tmp/usr/share/filenames/yahoo-dom-event.js + touch debian/tmp/usr/share/filenames/yahoo-min.js + + ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz + ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok + ln -s ../../../etc/symlink debian/tmp/usr/lib/filenames/symlink1wrong + ln -s ../../../../etc/symlink debian/tmp/usr/lib/filenames/symlink2wrong + ln -s /etc/symlink debian/tmp/usr/lib/filenames/symlink2ok + ln -s /usr/lib/filenames/symlink2 debian/tmp/usr/lib/filenames/symlink3wrong + ln -s test debian/tmp/usr/lib/filenames/symlink3ok + ln -s ../filenames/symlink2 debian/tmp/usr/lib/filenames/symlink4wrong + ln -s ../menu/../somethingelse debian/tmp/usr/lib/filenames/symlink5wrong + ln -s ../menu/somethingelse debian/tmp/usr/lib/filenames/symlink4ok + ln -s ./file4 debian/tmp/usr/lib/filenames/symlink6wrong + ln -s ../menu/./something debian/tmp/usr/lib/filenames/symlink7wrong + ln -s ../menu//something debian/tmp/usr/lib/filenames/symlink8wrong + ln -s ../menu/something/ debian/tmp/usr/lib/filenames/symlink9wrong + ln -s .. debian/tmp/usr/lib/filenames/symlink5ok+warn + ln -s . debian/tmp/usr/lib/filenames/symlink6ok+warn + ln -s / debian/tmp/usr/lib/filenames/symlink7ok+warn + ln -s ../../.. debian/tmp/usr/lib/filenames/symlink10wrong + +# devhelp tests. Files in /usr/share/gtk-doc/html or /usr/share/devhelp/books +# are okay. Files elsewhere are okay iff their parent path is symlinked into +# one of those paths. + install -d debian/tmp/usr/share/devhelp/books/filenames + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/a.devhelp + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + gzip -n -9 debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + install -d debian/tmp/usr/share/gtk-doc/html/filenames + echo 'Not really XML' > debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + gzip -n -9 debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + install -d debian/tmp/usr/share/doc/filenames/good-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/good-devhelp/.devhelp2 + install -d debian/tmp/usr/share/doc/filenames/bad-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + gzip -n -9 debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + ln -s ../../doc/filenames/good-devhelp debian/tmp/usr/share/gtk-doc/html/good + ln -s ../doc/filenames/bad-devhelp debian/tmp/usr/share/gtk-doc/html/bad + + install -d debian/tmp/usr/share/doc-base + install -m 644 debian/doc-base debian/tmp/usr/share/doc-base/filenames + + dpkg-gencontrol -pfilenames -Pdebian/tmp + dpkg --build debian/tmp .. + + install -d debian/filename-games debian/filename-games/DEBIAN + install -d debian/filename-games/usr debian/filename-games/usr/games debian/filename-games/usr/bin + echo '#! /bin/sh' > debian/filename-games/usr/bin/test-game + chmod 755 debian/filename-games/usr/bin/test-game + dpkg-gencontrol -pfilename-games -Pdebian/filename-games + dpkg --build debian/filename-games .. + + install -d debian/more-filename-games debian/more-filename-games/DEBIAN + install -d debian/more-filename-games/usr debian/more-filename-games/usr/games debian/more-filename-games/usr/bin + echo '#! /bin/sh' > debian/more-filename-games/usr/bin/another-test-game + echo '#! /bin/sh' > debian/more-filename-games/usr/games/yet-another-test-game + chmod 755 debian/more-filename-games/usr/bin/another-test-game debian/more-filename-games/usr/games/yet-another-test-game + dpkg-gencontrol -pmore-filename-games -Pdebian/more-filename-games + dpkg --build debian/more-filename-games .. + +binary: binary-arch binary-indep + +.PHONY: build-indep build-arch build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/fill-values b/t/recipes/checks/fields/description/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-filenames +Source: filenames +Version: 1:12-0.1 +Description: Legacy test "filenames" diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/ .tif @@ -0,0 +1,2 @@ +This filename was inspired by the ".tif used by fnlib. The real package +uses space.tif. diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/".tif b/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/".tif new file mode 100644 index 0000000..e005775 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/".tif @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/fields/description/legacy-filenames/eval/desc b/t/recipes/checks/fields/description/legacy-filenames/eval/desc new file mode 100644 index 0000000..995240c --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: fields/description diff --git a/t/recipes/checks/fields/description/legacy-filenames/eval/hints b/t/recipes/checks/fields/description/legacy-filenames/eval/hints new file mode 100644 index 0000000..3553bda --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/eval/hints @@ -0,0 +1 @@ +filenames (binary): using-first-person-in-description line 1: I diff --git a/t/recipes/checks/fields/description/legacy-filenames/eval/post-test b/t/recipes/checks/fields/description/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-filenames/eval/post-test @@ -0,0 +1,3 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ +s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g +/package-installs-packlist/ d diff --git a/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/control b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/rules b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/fields/description/legacy-relations/build-spec/fill-values b/t/recipes/checks/fields/description/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/fields/description/legacy-relations/eval/desc b/t/recipes/checks/fields/description/legacy-relations/eval/desc new file mode 100644 index 0000000..d7b5846 --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: fields/description diff --git a/t/recipes/checks/fields/description/legacy-relations/eval/hints b/t/recipes/checks/fields/description/legacy-relations/eval/hints new file mode 100644 index 0000000..e509d1c --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/eval/hints @@ -0,0 +1,2 @@ +relations-multiple-libs (binary): synopsis-is-a-sentence "Duplicate library dependency relationships." +relations-multiple-libs (binary): description-synopsis-is-duplicated line 1 diff --git a/t/recipes/checks/fields/description/legacy-relations/eval/post-test b/t/recipes/checks/fields/description/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/description/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/description/spelling-multiword/build-spec/debian/control.in b/t/recipes/checks/fields/description/spelling-multiword/build-spec/debian/control.in new file mode 100644 index 0000000..2826a24 --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-multiword/build-spec/debian/control.in @@ -0,0 +1,27 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + Spelling errors: + * Allows to + * An other error + * Debian/GNU Linux + * Permits to + * This packages + * This packages (again, but only tagged once) + . + Not errors: + * These packages diff --git a/t/recipes/checks/fields/description/spelling-multiword/build-spec/fill-values b/t/recipes/checks/fields/description/spelling-multiword/build-spec/fill-values new file mode 100644 index 0000000..edba989 --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-multiword/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: spelling-multiword +Description: Multi-word spelling errors detection diff --git a/t/recipes/checks/fields/description/spelling-multiword/eval/desc b/t/recipes/checks/fields/description/spelling-multiword/eval/desc new file mode 100644 index 0000000..7339c3b --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-multiword/eval/desc @@ -0,0 +1,2 @@ +Testname: spelling-multiword +Check: fields/description diff --git a/t/recipes/checks/fields/description/spelling-multiword/eval/hints b/t/recipes/checks/fields/description/spelling-multiword/eval/hints new file mode 100644 index 0000000..aa17173 --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-multiword/eval/hints @@ -0,0 +1,5 @@ +spelling-multiword (binary): spelling-error-in-description "This packages" "These packages" +spelling-multiword (binary): spelling-error-in-description "Permits to" "Permits one to" +spelling-multiword (binary): spelling-error-in-description "Debian/GNU Linux" "Debian GNU/Linux" +spelling-multiword (binary): spelling-error-in-description "An other" "Another" +spelling-multiword (binary): spelling-error-in-description "Allows to" "Allows one to" diff --git a/t/recipes/checks/fields/description/spelling-package-name/build-spec/debian/control.in b/t/recipes/checks/fields/description/spelling-package-name/build-spec/debian/control.in new file mode 100644 index 0000000..f032563 --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-package-name/build-spec/debian/control.in @@ -0,0 +1,20 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: nam +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test to see if the spell checker realizes that nam is + not a spelling mistake, but the name of the package. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/description/spelling-package-name/build-spec/fill-values b/t/recipes/checks/fields/description/spelling-package-name/build-spec/fill-values new file mode 100644 index 0000000..2047e0d --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-package-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: spelling-package-name +Description: Spell check test for excluding package name diff --git a/t/recipes/checks/fields/description/spelling-package-name/eval/desc b/t/recipes/checks/fields/description/spelling-package-name/eval/desc new file mode 100644 index 0000000..f1922f7 --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-package-name/eval/desc @@ -0,0 +1,4 @@ +Testname: spelling-package-name +Test-Against: + spelling-error-in-description +Check: fields/description diff --git a/t/recipes/checks/fields/description/spelling-package-name/eval/hints b/t/recipes/checks/fields/description/spelling-package-name/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/description/spelling-package-name/eval/hints diff --git a/t/recipes/checks/fields/description/squeezed-comma/build-spec/fill-values b/t/recipes/checks/fields/description/squeezed-comma/build-spec/fill-values new file mode 100644 index 0000000..d4d5fcb --- /dev/null +++ b/t/recipes/checks/fields/description/squeezed-comma/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: squeezed-comma +Description: Squeezed comma illustration ,without whitespace diff --git a/t/recipes/checks/fields/description/squeezed-comma/eval/desc b/t/recipes/checks/fields/description/squeezed-comma/eval/desc new file mode 100644 index 0000000..bea355f --- /dev/null +++ b/t/recipes/checks/fields/description/squeezed-comma/eval/desc @@ -0,0 +1,3 @@ +Testname: squeezed-comma +Check: fields/description +See-Also: Bug#591665, Bug#591664 diff --git a/t/recipes/checks/fields/description/squeezed-comma/eval/hints b/t/recipes/checks/fields/description/squeezed-comma/eval/hints new file mode 100644 index 0000000..bad9e41 --- /dev/null +++ b/t/recipes/checks/fields/description/squeezed-comma/eval/hints @@ -0,0 +1 @@ +squeezed-comma (binary): odd-mark-in-description comma not followed by whitespace (synopsis) diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in new file mode 100644 index 0000000..227f65f --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) squeeze-backports; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (0.1) experimental; urgency=low + + * First upload to experimental. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values new file mode 100644 index 0000000..486ac79 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: changelog-file-backport +Description: Check backport +# Overrides the "data/changes-file/known-dists" +# data file to avoid updating the test every release diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc new file mode 100644 index 0000000..6da32fd --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc @@ -0,0 +1,8 @@ +Testname: changelog-file-backport +Options: --include-dir ./lintian-include-dir +Profile: lintian-test +Test-Against: + upload-has-backports-version-number +Check: fields/distribution +# Overrides the "data/changes-file/known-dists" +# data file to avoid updating the test every release diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints new file mode 100644 index 0000000..6e7a287 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints @@ -0,0 +1,2 @@ +changelog-file-backport (changes): backports-upload-has-incorrect-version-number 1.0 squeeze-backports +changelog-file-backport (changes): backports-changes-missing diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists new file mode 100644 index 0000000..ebbedbd --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists @@ -0,0 +1,23 @@ +# A list of Debian distributions, both code names and their aliases +# - Note that common "extensions"[1] are stripped before checking for the +# distribution name (except for "sid", "unstable" and "experimental"). +# +# [1] -backports, -security, -proposed-updates etc. See checks/changes-file +# for the complete list. + + +# Codenames +squeeze +wheezy +jessie +stretch +buster +sid + +# Aliases +oldstable +stable +testing +unstable +experimental + diff --git a/t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/debian/changelog.in b/t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/debian/changelog.in new file mode 100644 index 0000000..83189f2 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +[% $source %] ([% $version %]) stable-proposed-updates; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/fill-values b/t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/fill-values new file mode 100644 index 0000000..e460a9c --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-stable/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: changelog-file-stable +Skeleton: upload-non-native +Version: 1.0-1etch1 +Description: Test a stable-proposed-updates package diff --git a/t/recipes/checks/fields/distribution/changelog-file-stable/eval/desc b/t/recipes/checks/fields/distribution/changelog-file-stable/eval/desc new file mode 100644 index 0000000..4d8a610 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-stable/eval/desc @@ -0,0 +1,3 @@ +Testname: changelog-file-stable +Test-Against: bad-distribution-in-changes-file +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/changelog-file-stable/eval/hints b/t/recipes/checks/fields/distribution/changelog-file-stable/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-stable/eval/hints diff --git a/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/fill-values b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/fill-values new file mode 100644 index 0000000..0783088 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: changes +Testname: changes-bad-ubuntu-distribution +Version: 1.0+ubuntu2 +Description: Test for invalid Ubuntu distribution diff --git a/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/test.changes.in b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/test.changes.in new file mode 100644 index 0000000..e3f1128 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: wispy +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/desc b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/desc new file mode 100644 index 0000000..b018846 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/desc @@ -0,0 +1,3 @@ +Testname: changes-bad-ubuntu-distribution +Profile: ubuntu/main +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/hints b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/hints new file mode 100644 index 0000000..9703828 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-bad-ubuntu-distribution/eval/hints @@ -0,0 +1 @@ +changes-bad-ubuntu-distribution (changes): bad-distribution-in-changes-file wispy diff --git a/t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/fill-values b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/fill-values new file mode 100644 index 0000000..7263201 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-distribution-mismatch +Description: Test for unstable package to be installed in stable diff --git a/t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/test.changes.in b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/test.changes.in new file mode 100644 index 0000000..6801232 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/build-spec/test.changes.in @@ -0,0 +1,16 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: stable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] +Changes: + [% $source %] ([% $version %]) unstable; urgency=low + . + * I used the wrong argument to `sbuild -d`. diff --git a/t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/desc b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/desc new file mode 100644 index 0000000..6dc5d59 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-distribution-mismatch +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/hints b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/hints new file mode 100644 index 0000000..4bd5c58 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-distribution-mismatch/eval/hints @@ -0,0 +1 @@ +changes-distribution-mismatch (changes): distribution-and-changes-mismatch stable unstable diff --git a/t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/fill-values b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/fill-values new file mode 100644 index 0000000..d4d4d3d --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-experimental-mismatch +Description: Test for experimental package to be installed in unstable diff --git a/t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/test.changes.in b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/test.changes.in new file mode 100644 index 0000000..1476333 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/build-spec/test.changes.in @@ -0,0 +1,16 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] +Changes: + [% $source %] ([% $version %]) experimental; urgency=low + . + * I used the wrong argument to `sbuild -d`. diff --git a/t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/desc b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/desc new file mode 100644 index 0000000..5c94d81 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-experimental-mismatch +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/hints b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/hints new file mode 100644 index 0000000..3a32b36 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-experimental-mismatch/eval/hints @@ -0,0 +1 @@ +changes-experimental-mismatch (changes): distribution-and-experimental-mismatch diff --git a/t/recipes/checks/fields/distribution/changes-unreleased/build-spec/fill-values b/t/recipes/checks/fields/distribution/changes-unreleased/build-spec/fill-values new file mode 100644 index 0000000..4359e34 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-unreleased/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-unreleased +Description: Test for UNRELEASED package uploaded to unstable diff --git a/t/recipes/checks/fields/distribution/changes-unreleased/build-spec/test.changes.in b/t/recipes/checks/fields/distribution/changes-unreleased/build-spec/test.changes.in new file mode 100644 index 0000000..4a2eb46 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-unreleased/build-spec/test.changes.in @@ -0,0 +1,16 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] +Changes: + [% $source %] ([% $version %]) UNRELEASED; urgency=low + . + * I'm still working on this package, do not upload. diff --git a/t/recipes/checks/fields/distribution/changes-unreleased/eval/desc b/t/recipes/checks/fields/distribution/changes-unreleased/eval/desc new file mode 100644 index 0000000..f4cab4a --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-unreleased/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-unreleased +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/changes-unreleased/eval/hints b/t/recipes/checks/fields/distribution/changes-unreleased/eval/hints new file mode 100644 index 0000000..4f4f4f9 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-unreleased/eval/hints @@ -0,0 +1 @@ +changes-unreleased (changes): unreleased-changes diff --git a/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/build-spec/fill-values b/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/build-spec/fill-values new file mode 100644 index 0000000..cf7513a --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changes-upload-has-backports-version-number +Version: 1.0~bpo9+1 +Description: Check for backports that have an incorrect Distribution diff --git a/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/desc b/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/desc new file mode 100644 index 0000000..fd61006 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-upload-has-backports-version-number +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/hints b/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/hints new file mode 100644 index 0000000..467b083 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changes-upload-has-backports-version-number/eval/hints @@ -0,0 +1 @@ +changes-upload-has-backports-version-number (changes): upload-has-backports-version-number 1.0~bpo9+1 unstable diff --git a/t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/debian/changelog.in b/t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/debian/changelog.in new file mode 100644 index 0000000..c862408 --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +[% $source %] ([% $version %]) stable foo-backportss bar foo; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/fill-values b/t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/fill-values new file mode 100644 index 0000000..4671982 --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-multiple-bad/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: distribution-multiple-bad +Description: Multiple distributions with at least one bad one diff --git a/t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/desc b/t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/desc new file mode 100644 index 0000000..0ca1362 --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/desc @@ -0,0 +1,3 @@ +Testname: distribution-multiple-bad +See-Also: Debian Bug#514853 +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/hints b/t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/hints new file mode 100644 index 0000000..84c8480 --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-multiple-bad/eval/hints @@ -0,0 +1,6 @@ +distribution-multiple-bad (changes): multiple-distributions-in-changes-file stable foo-backportss bar foo +distribution-multiple-bad (changes): bad-distribution-in-changes-file foo-backportss +distribution-multiple-bad (changes): bad-distribution-in-changes-file foo +distribution-multiple-bad (changes): bad-distribution-in-changes-file bar +distribution-multiple-bad (changes): backports-upload-has-incorrect-version-number 1.0 foo-backportss +distribution-multiple-bad (changes): backports-changes-missing diff --git a/t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/debian/changelog.in b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/debian/changelog.in new file mode 100644 index 0000000..0f4a7b6 --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +[% $source %] ([% $version %]) lucid; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/fill-values b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/fill-values new file mode 100644 index 0000000..47644cb --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: distribution-ubuntu-native +Description: Check *.changes distribution checking for Ubuntu diff --git a/t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/desc b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/desc new file mode 100644 index 0000000..50ff62b --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/desc @@ -0,0 +1,5 @@ +Testname: distribution-ubuntu-native +Test-Against: bad-distribution-in-changes-file +Profile: ubuntu/main +See-Also: Debian Bug#507740 +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/hints b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/distribution/distribution-ubuntu-native/eval/hints diff --git a/t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/debian/changelog.in b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/debian/changelog.in new file mode 100644 index 0000000..b673fbc --- /dev/null +++ b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +[% $source %] ([% $version %]) lucid; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- Russ Allbery <rra@debian.org> [% $date %] diff --git a/t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/fill-values b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/fill-values new file mode 100644 index 0000000..3803ec6 --- /dev/null +++ b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: nmu-ubuntu-native +Description: Test NMU tag suppression for Ubuntu native packages diff --git a/t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/desc b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/desc new file mode 100644 index 0000000..2c7f7b7 --- /dev/null +++ b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/desc @@ -0,0 +1,5 @@ +Testname: nmu-ubuntu-native +Profile: ubuntu/main +Test-Against: bad-distribution-in-changes-file +See-Also: Debian Bug #507740 +Check: fields/distribution diff --git a/t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/hints b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/distribution/nmu-ubuntu-native/eval/hints diff --git a/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/debian/control.in b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/debian/control.in new file mode 100644 index 0000000..a11db87 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +XS-DM-Upload-Allowed: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/fill-values b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/fill-values new file mode 100644 index 0000000..041f85b --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-dmua +Description: Test for invalid DMUA field diff --git a/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/desc b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/desc new file mode 100644 index 0000000..9fb5923 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-dmua +Check: fields/dm-upload-allowed diff --git a/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/hints b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/hints new file mode 100644 index 0000000..48b5990 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/fields-dmua/eval/hints @@ -0,0 +1,2 @@ +fields-dmua (source): malformed-dm-upload-allowed no +fields-dmua (source): dm-upload-allowed-is-obsolete diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: ü. + It also has a usefull speling error. + + -- Russ Allbery <rra@debian.org> Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt <he@debian.org> Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/control b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org> +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: <http://lintian.debian.org/> +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad ® character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello!
+Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/rules b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/index.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/templates b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/fill-values b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/desc b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/desc new file mode 100644 index 0000000..61595b9 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: fields/dm-upload-allowed diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/hints b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/hints new file mode 100644 index 0000000..077d63f --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (source): dm-upload-allowed-is-obsolete diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/post-test b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt <foo@unknown>, Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt <he@unknown> Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld <djpig@debian.org> Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/control b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..57a489c --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer <debian-qa@lists.debian.org> +Uploaders: Marc 'HE' Brockschmidt <he@unknown>, Jeroen van Wolffelaar<jeroen@localhost.localdomain>, + Frank <djpig@debian.org>, Yama@gotchi, Josip, + I am afraid of spam and think this helps <no_spam_please AT debian.org> +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description uses only UTF-8 high bytes chars. + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more checks. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/fill-values b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/desc b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/desc new file mode 100644 index 0000000..332cbb6 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: fields/dm-upload-allowed diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/hints b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/hints new file mode 100644 index 0000000..48399b5 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/hints @@ -0,0 +1,2 @@ +foo++ (source): malformed-dm-upload-allowed no +foo++ (source): dm-upload-allowed-is-obsolete diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/post-test b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar <jeroen@mordor> Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld <djpig@debian.org> Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson <cjw44@flatline.org.uk> Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group <packages@qa.debian.org> +Uploaders: Anyone but Jeroen <jeroen@wolffelaar.nl> +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script checks + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell </dev/null +. "$(dirname $0)/shell" ; bar +# invalid +. /usr/share/lintian/shell foo +. "$(dirname $0)/shell" bar + +print "Hit enter to continue" +read + +H[0]='this is a string' +echo ${H[0]} +echo "Index 0's length is ${#H[0]}" +echo "All of the array is: ${H[@]}" + +install-info /usr/share/info/foo \ + --quiet \ # make it so + --section foo + +echo Please use update-rc.d or invoke-rc.d to set up blah blah. + +chown root.root /usr/share/doc/maintainer-scripts/changelog +chown root:root /usr/share/doc/maintainer-scripts/changelog + +$FOO=bar +update-rc.d foo defaults >/dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '<<EOF' +echo "All of the array is: ${H[@]}" +EOF + +# This is a heredoc +cat <<-EOF +echo "All of the array is ${H[@]}" +EOF + +# As is this +cat <<';' +echo "All of the array is ${H[@]}" +; + +# and this +cat <<foo +echo "All of the array is ${H[@]}" +foobar +echo $HOSTNAME +foo + +# and again +cat <<\bar +echo "All of the array is ${H[@]}" +bar + +# yet another +cat <<"x++" +echo "All of the array is ${H[@]}" +x++ + +# Recognize single quotes even if they start at the beginning of a line. +echo not a bashism \ +'/{ptex,tex}/{amstex,plain,generic,}' + +# More bashisms. +echo -e 'foo\n' +echo "${!foo}" +cat $(\< file) +select foo in a b ; do echo $foo ; done +cnt=$((cnt + 1)) +if false ; then + exec -l /bin/sh + exec -c /bin/sh + exec -a foo /bin/sh +fi +let cnt++ +if test -a /etc/default ; then + echo "$RANDOM|stuff" +fi + +# Calling start-stop-daemon directly in an init script. +start-stop-daemon --start --quiet --name foo --startas /usr/bin/foo + +# But stopping it is fine -- we may be working around something else. +start-stop-daemon --stop --quiet --name foo --startas /usr/bin/foo + +# Deprecated chown use with flags. +chown -R root.root /usr/share/doc/maintainer-scripts + +case $mainscript in + /usr/bin/foo) foobarbaz;; +esac + +/usr/bin/baz; echo bar + +# Some comment checking +# This should flag $RANDOM +test $# -gt 2 && echo $RANDOM +# But these shouldn't +test 1=1 # echo $RANDOM +(test 1=1)# echo $RANDOM +test 1=1;# echo $RANDOM +backgroundtask &#echo $RA diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postrm b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..c0aaf19 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/postrm @@ -0,0 +1,47 @@ +#!/bin/bash +#set -e + +update-alternatives --remove dummy /usr/bin/dummy-alternative + +# Normally read in a maintainer script is not kosher, but here we're going +# to do it only if debconf doesn't exist. +if ! test -f /usr/share/debconf/confmodule ; then + echo "Hit enter" + read +fi + +# neither of the following should be detected as postrm-unsafe-ldconfig +# intended, without quotes + if [ "$1" = remove ]; then + ldconfig + fi +# reversed, many whitespace +if [ 'remove' = "$1" ] +then + + ldconfig +fi + +[ "remove" ="$1" ] && ldconfig + +update-rc.d bar remove + +# Shouldn't provoke an error despite no invoke-rc.d. +echo "/etc/init.d/package stop to stop something" + +# Shouldn't require a ucf dependency. Unfortunately, right now that's +# just because postrm isn't checked, not because we ensure that the +# invocation is conditional. +if which ucf >/dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat <<EOF +This is all really bad bash specific code!!! +read +source /bar/baz/bat foo +EOF + +# ok, back to checking +if [ "$2" == "purge" ]; then + rm -r /bar/baz +fi + +function foo( ) { + # but not here: local + local bar + echo "foo" &>/dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz
\ No newline at end of file diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..0496acb --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: fields/dm-upload-allowed diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..e7d48a3 --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/hints @@ -0,0 +1,2 @@ +maintainer-scripts (source): malformed-dm-upload-allowed Yes +maintainer-scripts (source): dm-upload-allowed-is-obsolete diff --git a/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/dm-upload-allowed/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/empty/empty-section/build-spec/fill-values b/t/recipes/checks/fields/empty/empty-section/build-spec/fill-values new file mode 100644 index 0000000..3581ea6 --- /dev/null +++ b/t/recipes/checks/fields/empty/empty-section/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: empty-section +Section: +Description: Test for package with empty section field diff --git a/t/recipes/checks/fields/empty/empty-section/eval/desc b/t/recipes/checks/fields/empty/empty-section/eval/desc new file mode 100644 index 0000000..e2d053a --- /dev/null +++ b/t/recipes/checks/fields/empty/empty-section/eval/desc @@ -0,0 +1,2 @@ +Testname: empty-section +Check: fields/empty diff --git a/t/recipes/checks/fields/empty/empty-section/eval/hints b/t/recipes/checks/fields/empty/empty-section/eval/hints new file mode 100644 index 0000000..f813c2f --- /dev/null +++ b/t/recipes/checks/fields/empty/empty-section/eval/hints @@ -0,0 +1 @@ +empty-section (binary): empty-field Section diff --git a/t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/debian/control.in b/t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/debian/control.in new file mode 100644 index 0000000..1dffa2a --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/debian/control.in @@ -0,0 +1,21 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Essential: yes +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + In the, unlikely, event that dpkg-gencontrol starts considering the + source-level Essential field this test should break so that lintian is + fixed accordingly. diff --git a/t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/fill-values b/t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/fill-values new file mode 100644 index 0000000..eb113c6 --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential-yes-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-essential-yes-source +Description: Canary test for Essential field-related checks and assumptions diff --git a/t/recipes/checks/fields/essential/fields-essential-yes-source/eval/desc b/t/recipes/checks/fields/essential/fields-essential-yes-source/eval/desc new file mode 100644 index 0000000..c7a7d6b --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential-yes-source/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-essential-yes-source +Test-Against: + new-essential-package + essential-in-source-package +Check: fields/essential diff --git a/t/recipes/checks/fields/essential/fields-essential-yes-source/eval/hints b/t/recipes/checks/fields/essential/fields-essential-yes-source/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential-yes-source/eval/hints diff --git a/t/recipes/checks/fields/essential/fields-essential/build-spec/debian/control.in b/t/recipes/checks/fields/essential/fields-essential/build-spec/debian/control.in new file mode 100644 index 0000000..185ef5f --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +XS-Essential: no +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets + +Package: [% $source %] +Essential: yes +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]2 +Essential: maybe +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] -- maybe + This is another test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/essential/fields-essential/build-spec/debian/rules b/t/recipes/checks/fields/essential/fields-essential/build-spec/debian/rules new file mode 100755 index 0000000..41937bf --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +pkg=fields-essential +export DH_VERBOSE=1 +%: + dh $@ + +override_dh_builddeb: + dh_builddeb --package=$(pkg) + dpkg-deb --nocheck --build debian/$(pkg)2 ../$(pkg)2_1.0_all.deb diff --git a/t/recipes/checks/fields/essential/fields-essential/build-spec/fill-values b/t/recipes/checks/fields/essential/fields-essential/build-spec/fill-values new file mode 100644 index 0000000..ca276e8 --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-essential +Description: Test for Essential field-related errors diff --git a/t/recipes/checks/fields/essential/fields-essential/eval/desc b/t/recipes/checks/fields/essential/fields-essential/eval/desc new file mode 100644 index 0000000..c67c837 --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-essential +Check: fields/essential diff --git a/t/recipes/checks/fields/essential/fields-essential/eval/hints b/t/recipes/checks/fields/essential/fields-essential/eval/hints new file mode 100644 index 0000000..7b55a71 --- /dev/null +++ b/t/recipes/checks/fields/essential/fields-essential/eval/hints @@ -0,0 +1,4 @@ +fields-essential (source): essential-no-not-needed +fields-essential (source): essential-in-source-package +fields-essential2 (binary): unknown-essential-value +fields-essential (binary): new-essential-package diff --git a/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer <toddy@debian.org> Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/control b/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/rules b/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/essential/legacy-fields/build-spec/fill-values b/t/recipes/checks/fields/essential/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/fields/essential/legacy-fields/eval/desc b/t/recipes/checks/fields/essential/legacy-fields/eval/desc new file mode 100644 index 0000000..6e64c32 --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: fields/essential diff --git a/t/recipes/checks/fields/essential/legacy-fields/eval/hints b/t/recipes/checks/fields/essential/legacy-fields/eval/hints new file mode 100644 index 0000000..dd84e23 --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/eval/hints @@ -0,0 +1,2 @@ +fields (binary): essential-no-not-needed +another-version (binary): new-essential-package diff --git a/t/recipes/checks/fields/essential/legacy-fields/eval/post-test b/t/recipes/checks/fields/essential/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/essential/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/format/changes-missing-format/build-spec/fill-values b/t/recipes/checks/fields/format/changes-missing-format/build-spec/fill-values new file mode 100644 index 0000000..b6a6f14 --- /dev/null +++ b/t/recipes/checks/fields/format/changes-missing-format/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-missing-format +Description: Test for missing format field diff --git a/t/recipes/checks/fields/format/changes-missing-format/build-spec/test.changes.in b/t/recipes/checks/fields/format/changes-missing-format/build-spec/test.changes.in new file mode 100644 index 0000000..e571bbc --- /dev/null +++ b/t/recipes/checks/fields/format/changes-missing-format/build-spec/test.changes.in @@ -0,0 +1,11 @@ +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/format/changes-missing-format/eval/desc b/t/recipes/checks/fields/format/changes-missing-format/eval/desc new file mode 100644 index 0000000..3a7d96a --- /dev/null +++ b/t/recipes/checks/fields/format/changes-missing-format/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-missing-format +Check: fields/format diff --git a/t/recipes/checks/fields/format/changes-missing-format/eval/hints b/t/recipes/checks/fields/format/changes-missing-format/eval/hints new file mode 100644 index 0000000..77b46fc --- /dev/null +++ b/t/recipes/checks/fields/format/changes-missing-format/eval/hints @@ -0,0 +1 @@ +changes-missing-format (changes): malformed-changes-file diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/patches/wig-pen b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/patches/wig-pen new file mode 100644 index 0000000..a452b53 --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/patches/wig-pen @@ -0,0 +1,5 @@ +--- upstream/README ++++ debian/README +@@ -1 +1 @@ +-README ++README for wig&pen diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/rules b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/substvars b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/fill-values b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/fill-values new file mode 100644 index 0000000..edb39d9 --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-wig-pen +Skeleton: upload-non-native +Source-Format: 2.0 +Description: Check for cruft added in a 2.0 package diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/orig/README b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/orig/README new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/orig/README @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/pre-build b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/pre-build new file mode 100755 index 0000000..78f359c --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/eval/desc b/t/recipes/checks/fields/format/cruft-general-wig-pen/eval/desc new file mode 100644 index 0000000..62bec19 --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-wig-pen +Check: fields/format diff --git a/t/recipes/checks/fields/format/cruft-general-wig-pen/eval/hints b/t/recipes/checks/fields/format/cruft-general-wig-pen/eval/hints new file mode 100644 index 0000000..42893ac --- /dev/null +++ b/t/recipes/checks/fields/format/cruft-general-wig-pen/eval/hints @@ -0,0 +1 @@ +cruft-general-wig-pen (source): unsupported-source-format 2.0 diff --git a/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..021d60a --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Homepage: https://www.bioconductor.org/packages/release/bioc/html/foo.html +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/fill-values new file mode 100644 index 0000000..1163b6c --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-bioconductor-homepage +Description: Bioconductor Homepage URLs should be canonical diff --git a/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/desc new file mode 100644 index 0000000..1fb9c13 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-bioconductor-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/hints new file mode 100644 index 0000000..a4360c3 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-bioconductor-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-bioconductor-homepage (source): homepage-for-bioconductor-package-not-canonical https://www.bioconductor.org/packages/release/bioc/html/foo.html +fields-bioconductor-homepage (binary): homepage-for-bioconductor-package-not-canonical https://www.bioconductor.org/packages/release/bioc/html/foo.html diff --git a/t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..5ddc664 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://search.cpan.org/Foo-Bar-9.0_01/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/fill-values new file mode 100644 index 0000000..11db86e --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cpan-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-cpan-homepage +Description: CPAN Homepage URLs shouldn't have versions diff --git a/t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/desc new file mode 100644 index 0000000..4a54895 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-cpan-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/hints new file mode 100644 index 0000000..5bf09e5 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cpan-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-cpan-homepage (source): homepage-for-cpan-package-contains-version http://search.cpan.org/Foo-Bar-9.0_01/ +fields-cpan-homepage (binary): homepage-for-cpan-package-contains-version http://search.cpan.org/Foo-Bar-9.0_01/ diff --git a/t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..56d9fdc --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://cran.r-project.org/web/packages/foo/index.html + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/fill-values new file mode 100644 index 0000000..7e4e067 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cran-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-cran-homepage +Description: CRAN Homepage URLs should be canonical diff --git a/t/recipes/checks/fields/homepage/fields-cran-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-cran-homepage/eval/desc new file mode 100644 index 0000000..d4e9502 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cran-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-cran-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-cran-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-cran-homepage/eval/hints new file mode 100644 index 0000000..39c4d54 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-cran-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-cran-homepage (source): homepage-for-cran-package-not-canonical https://cran.r-project.org/web/packages/foo/index.html +fields-cran-homepage (binary): homepage-for-cran-package-not-canonical https://cran.r-project.org/web/packages/foo/index.html diff --git a/t/recipes/checks/fields/homepage/fields-general/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-general/build-spec/debian/control.in new file mode 100644 index 0000000..f5aa07a --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-general/build-spec/debian/control.in @@ -0,0 +1,46 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. +# Whoops, typo +Homepage: ttp://lintian.debian.org/ + +Package: [% $source %]-dbg +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dbg) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The debug package (dbg)g. +# ... and some unneeded <> +Homepage: <http://lintian.debian.org/> + +Package: [% $source %]-debug +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (debug) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The debug package (debug). + diff --git a/t/recipes/checks/fields/homepage/fields-general/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-general/build-spec/fill-values new file mode 100644 index 0000000..11b0c69 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-general +Description: Test for tags related to minor field issues diff --git a/t/recipes/checks/fields/homepage/fields-general/eval/desc b/t/recipes/checks/fields/homepage/fields-general/eval/desc new file mode 100644 index 0000000..4aa98da --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-general/eval/hints b/t/recipes/checks/fields/homepage/fields-general/eval/hints new file mode 100644 index 0000000..49d8cba --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-general/eval/hints @@ -0,0 +1,5 @@ +fields-general (source): homepage-field-uses-insecure-uri http://lintian.debian.org/ +fields-general-debug (binary): homepage-field-uses-insecure-uri http://lintian.debian.org/ +fields-general-dbg (binary): superfluous-clutter-in-homepage <http://lintian.debian.org/> +fields-general-dbg (binary): homepage-field-uses-insecure-uri <http://lintian.debian.org/> +fields-general (binary): bad-homepage ttp://lintian.debian.org/ diff --git a/t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..f6ac160 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://github.com/foo/bar.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/fill-values new file mode 100644 index 0000000..e4c5602 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-github-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-github-homepage +Description: GitHub homepage URL should't end with .git diff --git a/t/recipes/checks/fields/homepage/fields-github-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-github-homepage/eval/desc new file mode 100644 index 0000000..a1c96fa --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-github-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-github-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-github-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-github-homepage/eval/hints new file mode 100644 index 0000000..e4dd4ef --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-github-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-github-homepage (source): homepage-github-url-ends-with-dot-git https://github.com/foo/bar.git +fields-github-homepage (binary): homepage-github-url-ends-with-dot-git https://github.com/foo/bar.git diff --git a/t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..9912e11 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://gitlab.com/foo/bar.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/fill-values new file mode 100644 index 0000000..5e923ca --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-gitlab-homepage +Description: GitLab homepage URL should't end with .git diff --git a/t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/desc new file mode 100644 index 0000000..cbef9c8 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-gitlab-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/hints new file mode 100644 index 0000000..e1bc8b1 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-gitlab-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-gitlab-homepage (source): homepage-gitlab-url-ends-with-dot-git https://gitlab.com/foo/bar.git +fields-gitlab-homepage (binary): homepage-gitlab-url-ends-with-dot-git https://gitlab.com/foo/bar.git diff --git a/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/debian/control.in new file mode 100644 index 0000000..4b9a679 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://github.com/insecure/uri + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/fill-values new file mode 100644 index 0000000..f9c6f34 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-homepage-field-uses-insecure-uri +Description: Test for Homepage fields using insecure URIs diff --git a/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/desc b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/desc new file mode 100644 index 0000000..0670f2a --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-homepage-field-uses-insecure-uri +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/hints b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/hints new file mode 100644 index 0000000..ac8a0d2 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-homepage-field-uses-insecure-uri/eval/hints @@ -0,0 +1,2 @@ +fields-homepage-field-uses-insecure-uri (source): homepage-field-uses-insecure-uri http://github.com/insecure/uri +fields-homepage-field-uses-insecure-uri (binary): homepage-field-uses-insecure-uri http://github.com/insecure/uri diff --git a/t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..62f3235 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/fill-values new file mode 100644 index 0000000..f185ac4 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: fields-no-homepage +Skeleton: upload-non-native +Description: Test pedantic check for no Homepage field diff --git a/t/recipes/checks/fields/homepage/fields-no-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-no-homepage/eval/desc new file mode 100644 index 0000000..b98608e --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-homepage/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-no-homepage +Test-Against: homepage-field-uses-insecure-uri +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-no-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-no-homepage/eval/hints new file mode 100644 index 0000000..a70760a --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-homepage/eval/hints @@ -0,0 +1 @@ +fields-no-homepage (source): no-homepage-field diff --git a/t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..a29351f --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. +Homepage: http://lintian.debian.org diff --git a/t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/fill-values new file mode 100644 index 0000000..7324214 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-source-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: fields-no-source-homepage +Skeleton: upload-non-native +Description: Test check for no Homepage field in source diff --git a/t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/desc new file mode 100644 index 0000000..fe34e9c --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-no-source-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/hints new file mode 100644 index 0000000..a2cf9f3 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-no-source-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-no-source-homepage (source): homepage-in-binary-package fields-no-source-homepage +fields-no-source-homepage (binary): homepage-field-uses-insecure-uri http://lintian.debian.org diff --git a/t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/debian/control.in new file mode 100644 index 0000000..3f0a4ac --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://salsa.debian.org/foo/bar.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/fill-values b/t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/fill-values new file mode 100644 index 0000000..a0f671f --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-salsa-homepage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-salsa-homepage +Description: Salsa homepage URL should't end with .git diff --git a/t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/desc b/t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/desc new file mode 100644 index 0000000..514eb62 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-salsa-homepage +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/hints b/t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/hints new file mode 100644 index 0000000..b87b338 --- /dev/null +++ b/t/recipes/checks/fields/homepage/fields-salsa-homepage/eval/hints @@ -0,0 +1,2 @@ +fields-salsa-homepage (source): homepage-salsa-url-ends-with-dot-git https://salsa.debian.org/foo/bar.git +fields-salsa-homepage (binary): homepage-salsa-url-ends-with-dot-git https://salsa.debian.org/foo/bar.git diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/debian/control.in new file mode 100644 index 0000000..d6ef053 --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://ftp.gnu.org/gnu/aspell/dict/ar/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/fill-values b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/fill-values new file mode 100644 index 0000000..5f2cfed --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: homepage-refers-to-filesystem-listing +Description: Check for packages pointing to a directory listing diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/desc b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/desc new file mode 100644 index 0000000..193e661 --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/desc @@ -0,0 +1,2 @@ +Testname: homepage-refers-to-filesystem-listing +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/hints b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/hints new file mode 100644 index 0000000..5648438 --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-filesystem-listing/eval/hints @@ -0,0 +1,2 @@ +homepage-refers-to-filesystem-listing (source): homepage-refers-to-filesystem-listing http://ftp.gnu.org/gnu/aspell/dict/ar/ +homepage-refers-to-filesystem-listing (binary): homepage-refers-to-filesystem-listing http://ftp.gnu.org/gnu/aspell/dict/ar/ diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/debian/control.in b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/debian/control.in new file mode 100644 index 0000000..0427236 --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://alioth.debian.org/foo/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/fill-values b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/fill-values new file mode 100644 index 0000000..9380c53 --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: homepage-refers-to-obsolete-debian-infrastructure +Description: Check for packages with deprecated Homepage fields diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/desc b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/desc new file mode 100644 index 0000000..ebf256d --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/desc @@ -0,0 +1,2 @@ +Testname: homepage-refers-to-obsolete-debian-infrastructure +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/hints b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/hints new file mode 100644 index 0000000..137fec4 --- /dev/null +++ b/t/recipes/checks/fields/homepage/homepage-refers-to-obsolete-debian-infrastructure/eval/hints @@ -0,0 +1,2 @@ +homepage-refers-to-obsolete-debian-infrastructure (source): homepage-refers-to-obsolete-debian-infrastructure https://alioth.debian.org/foo/ +homepage-refers-to-obsolete-debian-infrastructure (binary): homepage-refers-to-obsolete-debian-infrastructure https://alioth.debian.org/foo/ diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: ü. + It also has a usefull speling error. + + -- Russ Allbery <rra@debian.org> Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt <he@debian.org> Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/control b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org> +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: <http://lintian.debian.org/> +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad ® character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello!
+Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/rules b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/index.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/templates b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/fill-values b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/fields/homepage/legacy-binary/eval/desc b/t/recipes/checks/fields/homepage/legacy-binary/eval/desc new file mode 100644 index 0000000..6c379cc --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/legacy-binary/eval/hints b/t/recipes/checks/fields/homepage/legacy-binary/eval/hints new file mode 100644 index 0000000..2d1d7a5 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/eval/hints @@ -0,0 +1,4 @@ +binary (source): homepage-field-uses-insecure-uri http://lintian.debian.org/ +binary-data (binary): homepage-field-uses-insecure-uri http://lintian.debian.org/ +binary (binary): superfluous-clutter-in-homepage <http://lintian.debian.org/> +binary (binary): homepage-field-uses-insecure-uri <http://lintian.debian.org/> diff --git a/t/recipes/checks/fields/homepage/legacy-binary/eval/post-test b/t/recipes/checks/fields/homepage/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/control b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/rules b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/fields/homepage/legacy-relations/build-spec/fill-values b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/fields/homepage/legacy-relations/eval/desc b/t/recipes/checks/fields/homepage/legacy-relations/eval/desc new file mode 100644 index 0000000..e6c2700 --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: fields/homepage diff --git a/t/recipes/checks/fields/homepage/legacy-relations/eval/hints b/t/recipes/checks/fields/homepage/legacy-relations/eval/hints new file mode 100644 index 0000000..c25ed8d --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/eval/hints @@ -0,0 +1,3 @@ +relations (source): bad-homepage lintian.debian.org +relations-multiple-libs (binary): bad-homepage lintian.debian.org +relations (binary): bad-homepage lintian.debian.org diff --git a/t/recipes/checks/fields/homepage/legacy-relations/eval/post-test b/t/recipes/checks/fields/homepage/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/homepage/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/debian/control.in b/t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/debian/control.in new file mode 100644 index 0000000..e7475d5 --- /dev/null +++ b/t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Package-Type: udeb +Depends: ${misc:Depends}, +Installer-Menu-Item: network +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/fill-values b/t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/fill-values new file mode 100644 index 0000000..62f644c --- /dev/null +++ b/t/recipes/checks/fields/installer-menu-item/fields-udeb/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-udeb +Description: Test for various udeb field issues diff --git a/t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/desc b/t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/desc new file mode 100644 index 0000000..e739da0 --- /dev/null +++ b/t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-udeb +Check: fields/installer-menu-item diff --git a/t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/hints b/t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/hints new file mode 100644 index 0000000..19c8f88 --- /dev/null +++ b/t/recipes/checks/fields/installer-menu-item/fields-udeb/eval/hints @@ -0,0 +1 @@ +fields-udeb (udeb): bad-menu-item network diff --git a/t/recipes/checks/fields/length/depends-field-too-long/build-spec/debian/control.in b/t/recipes/checks/fields/length/depends-field-too-long/build-spec/debian/control.in new file mode 100644 index 0000000..9f339c0 --- /dev/null +++ b/t/recipes/checks/fields/length/depends-field-too-long/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, parl-desktop, aspell-en, aspell-eo, firefox-esr-l10n-ach, firefox-esr-l10n-af, firefox-esr-l10n-an, firefox-esr-l10n-ar, firefox-esr-l10n-ast, firefox-esr-l10n-az, firefox-esr-l10n-be, firefox-esr-l10n-bg, firefox-esr-l10n-bn, firefox-esr-l10n-br, firefox-esr-l10n-bs, firefox-esr-l10n-ca, firefox-esr-l10n-cak, firefox-esr-l10n-cs, firefox-esr-l10n-cy, firefox-esr-l10n-da, firefox-esr-l10n-de, firefox-esr-l10n-dsb, firefox-esr-l10n-el, firefox-esr-l10n-en-ca, firefox-esr-l10n-en-gb, firefox-esr-l10n-eo, firefox-esr-l10n-es-ar, firefox-esr-l10n-es-cl, firefox-esr-l10n-es-es, firefox-esr-l10n-es-mx, firefox-esr-l10n-et, firefox-esr-l10n-eu, firefox-esr-l10n-fa, firefox-esr-l10n-ff, firefox-esr-l10n-fi, firefox-esr-l10n-fr, firefox-esr-l10n-fy-nl, firefox-esr-l10n-ga-ie, firefox-esr-l10n-gd, firefox-esr-l10n-gl, firefox-esr-l10n-gn, firefox-esr-l10n-gu-in, firefox-esr-l10n-he, firefox-esr-l10n-hi-in, firefox-esr-l10n-hr, firefox-esr-l10n-hsb, firefox-esr-l10n-hu, firefox-esr-l10n-hy-am, firefox-esr-l10n-ia, firefox-esr-l10n-id, firefox-esr-l10n-is, firefox-esr-l10n-it, firefox-esr-l10n-ja, firefox-esr-l10n-ka, firefox-esr-l10n-kab, firefox-esr-l10n-kk, firefox-esr-l10n-km, firefox-esr-l10n-kn, firefox-esr-l10n-ko, firefox-esr-l10n-lij, firefox-esr-l10n-lt, firefox-esr-l10n-lv, firefox-esr-l10n-mk, firefox-esr-l10n-mr, firefox-esr-l10n-ms, firefox-esr-l10n-my, firefox-esr-l10n-nb-no, firefox-esr-l10n-ne-np, firefox-esr-l10n-nl, firefox-esr-l10n-nn-no, firefox-esr-l10n-oc, firefox-esr-l10n-pa-in, firefox-esr-l10n-pl, firefox-esr-l10n-pt-br, firefox-esr-l10n-pt-pt, firefox-esr-l10n-rm, firefox-esr-l10n-ro, firefox-esr-l10n-ru, firefox-esr-l10n-si, firefox-esr-l10n-sk, firefox-esr-l10n-sl, firefox-esr-l10n-son, firefox-esr-l10n-sq, firefox-esr-l10n-sr, firefox-esr-l10n-sv-se, firefox-esr-l10n-ta, firefox-esr-l10n-te, firefox-esr-l10n-th, firefox-esr-l10n-tr, firefox-esr-l10n-uk, firefox-esr-l10n-ur, firefox-esr-l10n-uz, firefox-esr-l10n-vi, firefox-esr-l10n-xh, firefox-esr-l10n-zh-cn, firefox-esr-l10n-zh-tw, hunspell-af, hunspell-an, hunspell-ar, hunspell-be, hunspell-bg, hunspell-bn, hunspell-bo, hunspell-br, hunspell-bs, hunspell-ca, hunspell-cs, hunspell-de-at, hunspell-de-ch, hunspell-de-de, hunspell-dz, hunspell-el, hunspell-en-au, hunspell-en-ca, hunspell-en-gb, hunspell-en-us, hunspell-en-za, hunspell-es, hunspell-eu, hunspell-fr-classical, hunspell-gd, hunspell-gl-es, hunspell-gu, hunspell-gug, hunspell-he, hunspell-hi, hunspell-hr, hunspell-hu, hunspell-id, hunspell-is, hunspell-it, hunspell-kk, hunspell-kmr, hunspell-ko, hunspell-lo, hunspell-lt, hunspell-lv, hunspell-ml, hunspell-ne, hunspell-nl, hunspell-no, hunspell-oc, hunspell-pl, hunspell-pt-br, hunspell-pt-pt, hunspell-ro, hunspell-ru, hunspell-se, hunspell-si, hunspell-sk, hunspell-sl, hunspell-sr, hunspell-sv, hunspell-sw, hunspell-te, hunspell-th, hunspell-uk, hunspell-uz, hunspell-vi, hyphen-af, hyphen-as, hyphen-bn, hyphen-da, hyphen-de, hyphen-en-gb, hyphen-en-us, hyphen-kn, hyphen-mr, hyphen-pa, hyphen-ta, hyphen-zu, iamerican, ibritish, ibulgarian, icatalan, iczech, idanish, idutch, iesperanto, iestonian, ifaroese, ifrench, igaelic, igalician-minimos, ihungarian, iirish, iitalian, ilithuanian, imanx, ingerman, inorwegian, iogerman, ipolish, iportuguese, irussian, ispanish, iswedish, iswiss, itagalog, iukrainian, libreoffice-l10n-af, libreoffice-l10n-am, libreoffice-l10n-ar, libreoffice-l10n-as, libreoffice-l10n-ast, libreoffice-l10n-be, libreoffice-l10n-bg, libreoffice-l10n-bn, libreoffice-l10n-br, libreoffice-l10n-bs, libreoffice-l10n-ca, libreoffice-l10n-cs, libreoffice-l10n-cy, libreoffice-l10n-da, libreoffice-l10n-de, libreoffice-l10n-dz, libreoffice-l10n-el, libreoffice-l10n-en-gb, libreoffice-l10n-en-za, libreoffice-l10n-eo, libreoffice-l10n-es, libreoffice-l10n-et, libreoffice-l10n-eu, libreoffice-l10n-fa, libreoffice-l10n-fi, libreoffice-l10n-fr, libreoffice-l10n-ga, libreoffice-l10n-gd, libreoffice-l10n-gl, libreoffice-l10n-gu, libreoffice-l10n-gug, libreoffice-l10n-he, libreoffice-l10n-hi, libreoffice-l10n-hr, libreoffice-l10n-hu, libreoffice-l10n-id, libreoffice-l10n-in, libreoffice-l10n-is, libreoffice-l10n-it, libreoffice-l10n-ja, libreoffice-l10n-ka, libreoffice-l10n-kk, libreoffice-l10n-km, libreoffice-l10n-kmr, libreoffice-l10n-ko, libreoffice-l10n-lt, libreoffice-l10n-lv, libreoffice-l10n-mk, libreoffice-l10n-ml, libreoffice-l10n-mn, libreoffice-l10n-mr, libreoffice-l10n-nb, libreoffice-l10n-ne, libreoffice-l10n-nl, libreoffice-l10n-nn, libreoffice-l10n-nr, libreoffice-l10n-nso, libreoffice-l10n-oc, libreoffice-l10n-om, libreoffice-l10n-or, libreoffice-l10n-pa-in, libreoffice-l10n-pl, libreoffice-l10n-pt, libreoffice-l10n-pt-br, libreoffice-l10n-ro, libreoffice-l10n-ru, libreoffice-l10n-rw, libreoffice-l10n-si, libreoffice-l10n-sk, libreoffice-l10n-sl, libreoffice-l10n-sr, libreoffice-l10n-ss, libreoffice-l10n-st, libreoffice-l10n-sv, libreoffice-l10n-ta, libreoffice-l10n-te, libreoffice-l10n-tg, libreoffice-l10n-th, libreoffice-l10n-tn, libreoffice-l10n-tr, libreoffice-l10n-ts, libreoffice-l10n-ug, libreoffice-l10n-uk, libreoffice-l10n-uz, libreoffice-l10n-ve, libreoffice-l10n-vi, libreoffice-l10n-xh, libreoffice-l10n-zh-cn, libreoffice-l10n-zh-tw, libreoffice-l10n-zu, myspell-da, myspell-eo, myspell-et, myspell-fa, myspell-ga, myspell-gv, myspell-hy, myspell-sq, myspell-tl, mythes-en-au, mythes-en-us, mythes-es, mythes-fr, mythes-pt-pt, thunderbird-bidiui, thunderbird-l10n-ar, thunderbird-l10n-ast, thunderbird-l10n-be, thunderbird-l10n-bg, thunderbird-l10n-br, thunderbird-l10n-ca, thunderbird-l10n-cs, thunderbird-l10n-cy, thunderbird-l10n-da, thunderbird-l10n-de, thunderbird-l10n-el, thunderbird-l10n-en-gb, thunderbird-l10n-es-ar, thunderbird-l10n-es-es, thunderbird-l10n-et, thunderbird-l10n-eu, thunderbird-l10n-fi, thunderbird-l10n-fr, thunderbird-l10n-fy-nl, thunderbird-l10n-ga-ie, thunderbird-l10n-gd, thunderbird-l10n-gl, thunderbird-l10n-he, thunderbird-l10n-hr, thunderbird-l10n-hu, thunderbird-l10n-hy-am, thunderbird-l10n-id, thunderbird-l10n-is, thunderbird-l10n-it, thunderbird-l10n-ja, thunderbird-l10n-kk, thunderbird-l10n-ko, thunderbird-l10n-lt, thunderbird-l10n-ms, thunderbird-l10n-nb-no, thunderbird-l10n-nl, thunderbird-l10n-nn-no, thunderbird-l10n-pl, thunderbird-l10n-pt-br, thunderbird-l10n-pt-pt, thunderbird-l10n-rm, thunderbird-l10n-ro, thunderbird-l10n-ru, thunderbird-l10n-si, thunderbird-l10n-sk, thunderbird-l10n-sl, thunderbird-l10n-sq, thunderbird-l10n-sr, thunderbird-l10n-sv-se, thunderbird-l10n-tr, thunderbird-l10n-uk, thunderbird-l10n-vi, thunderbird-l10n-zh-cn, thunderbird-l10n-zh-tw, tmispell-voikko, wamerican, wbritish, wbulgarian, wcanadian, wcatalan, wdanish, wdutch, wfaroese, wfrench, wgalician-minimos, witalian, wngerman, wnorwegian, wogerman, wpolish, wportuguese, wspanish, wswedish, wswiss, wukrainian +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/length/depends-field-too-long/build-spec/fill-values b/t/recipes/checks/fields/length/depends-field-too-long/build-spec/fill-values new file mode 100644 index 0000000..c0dc95b --- /dev/null +++ b/t/recipes/checks/fields/length/depends-field-too-long/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: depends-field-too-long +Description: The Depends: field d/control is too long. diff --git a/t/recipes/checks/fields/length/depends-field-too-long/eval/desc b/t/recipes/checks/fields/length/depends-field-too-long/eval/desc new file mode 100644 index 0000000..2189af0 --- /dev/null +++ b/t/recipes/checks/fields/length/depends-field-too-long/eval/desc @@ -0,0 +1,3 @@ +Testname: depends-field-too-long +See-Also: Debian Bug#942493 +Check: fields/length diff --git a/t/recipes/checks/fields/length/depends-field-too-long/eval/hints b/t/recipes/checks/fields/length/depends-field-too-long/eval/hints new file mode 100644 index 0000000..c561e2d --- /dev/null +++ b/t/recipes/checks/fields/length/depends-field-too-long/eval/hints @@ -0,0 +1 @@ +depends-field-too-long (binary): field-too-long Depends (6846 chars > 5000) diff --git a/t/recipes/checks/fields/length/provides-field-too-long/build-spec/debian/control.in b/t/recipes/checks/fields/length/provides-field-too-long/build-spec/debian/control.in new file mode 100644 index 0000000..6c1e06c --- /dev/null +++ b/t/recipes/checks/fields/length/provides-field-too-long/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: librust-web-sys+abortcontroller-dev (= 0.3.28-1), librust-web-sys+abortsignal-dev (= 0.3.28-1), librust-web-sys+addeventlisteneroptions-dev (= 0.3.28-1), librust-web-sys+aescbcparams-dev (= 0.3.28-1), librust-web-sys+aesctrparams-dev (= 0.3.28-1), librust-web-sys+aesderivedkeyparams-dev (= 0.3.28-1), librust-web-sys+aesgcmparams-dev (= 0.3.28-1), librust-web-sys+aeskeyalgorithm-dev (= 0.3.28-1), librust-web-sys+aeskeygenparams-dev (= 0.3.28-1), librust-web-sys+algorithm-dev (= 0.3.28-1), librust-web-sys+alignsetting-dev (= 0.3.28-1), librust-web-sys+analysernode-dev (= 0.3.28-1), librust-web-sys+analyseroptions-dev (= 0.3.28-1), librust-web-sys+angleinstancedarrays-dev (= 0.3.28-1), librust-web-sys+animation-dev (= 0.3.28-1), librust-web-sys+animationeffect-dev (= 0.3.28-1), librust-web-sys+animationevent-dev (= 0.3.28-1), librust-web-sys+animationeventinit-dev (= 0.3.28-1), librust-web-sys+animationplaybackevent-dev (= 0.3.28-1), librust-web-sys+animationplaybackeventinit-dev (= 0.3.28-1), librust-web-sys+animationplaystate-dev (= 0.3.28-1), librust-web-sys+animationpropertydetails-dev (= 0.3.28-1), librust-web-sys+animationpropertyvaluedetails-dev (= 0.3.28-1), librust-web-sys+animationtimeline-dev (= 0.3.28-1), librust-web-sys+assignednodesoptions-dev (= 0.3.28-1), librust-web-sys+attestationconveyancepreference-dev (= 0.3.28-1), librust-web-sys+attr-dev (= 0.3.28-1), librust-web-sys+attributenamevalue-dev (= 0.3.28-1), librust-web-sys+audiobuffer-dev (= 0.3.28-1), librust-web-sys+audiobufferoptions-dev (= 0.3.28-1), librust-web-sys+audiobuffersourcenode-dev (= 0.3.28-1), librust-web-sys+audiobuffersourceoptions-dev (= 0.3.28-1), librust-web-sys+audioconfiguration-dev (= 0.3.28-1), librust-web-sys+audiocontext-dev (= 0.3.28-1), librust-web-sys+audiocontextoptions-dev (= 0.3.28-1), librust-web-sys+audiocontextstate-dev (= 0.3.28-1), librust-web-sys+audiodestinationnode-dev (= 0.3.28-1), librust-web-sys+audiolistener-dev (= 0.3.28-1), librust-web-sys+audionode-dev (= 0.3.28-1), librust-web-sys+audionodeoptions-dev (= 0.3.28-1), librust-web-sys+audioparam-dev (= 0.3.28-1), librust-web-sys+audioparammap-dev (= 0.3.28-1), librust-web-sys+audioprocessingevent-dev (= 0.3.28-1), librust-web-sys+audioscheduledsourcenode-dev (= 0.3.28-1), librust-web-sys+audiostreamtrack-dev (= 0.3.28-1), librust-web-sys+audiotrack-dev (= 0.3.28-1), librust-web-sys+audiotracklist-dev (= 0.3.28-1), librust-web-sys+audioworklet-dev (= 0.3.28-1), librust-web-sys+audioworkletglobalscope-dev (= 0.3.28-1), librust-web-sys+audioworkletnode-dev (= 0.3.28-1), librust-web-sys+audioworkletnodeoptions-dev (= 0.3.28-1), librust-web-sys+audioworkletprocessor-dev (= 0.3.28-1), librust-web-sys+authenticationextensionsclientinputs-dev (= 0.3.28-1), librust-web-sys+authenticationextensionsclientoutputs-dev (= 0.3.28-1), librust-web-sys+authenticatorassertionresponse-dev (= 0.3.28-1), librust-web-sys+authenticatorattachment-dev (= 0.3.28-1), librust-web-sys+authenticatorattestationresponse-dev (= 0.3.28-1), librust-web-sys+authenticatorresponse-dev (= 0.3.28-1), librust-web-sys+authenticatorselectioncriteria-dev (= 0.3.28-1), librust-web-sys+authenticatortransport-dev (= 0.3.28-1), librust-web-sys+autocompleteinfo-dev (= 0.3.28-1), librust-web-sys+autokeyword-dev (= 0.3.28-1), librust-web-sys+barprop-dev (= 0.3.28-1), librust-web-sys+baseaudiocontext-dev (= 0.3.28-1), librust-web-sys+basecomputedkeyframe-dev (= 0.3.28-1), librust-web-sys+basekeyframe-dev (= 0.3.28-1), librust-web-sys+basepropertyindexedkeyframe-dev (= 0.3.28-1), librust-web-sys+basiccardrequest-dev (= 0.3.28-1), librust-web-sys+basiccardresponse-dev (= 0.3.28-1), librust-web-sys+basiccardtype-dev (= 0.3.28-1), librust-web-sys+batterymanager-dev (= 0.3.28-1), librust-web-sys+beforeunloadevent-dev (= 0.3.28-1), librust-web-sys+binarytype-dev (= 0.3.28-1), librust-web-sys+biquadfilternode-dev (= 0.3.28-1), librust-web-sys+biquadfilteroptions-dev (= 0.3.28-1), librust-web-sys+biquadfiltertype-dev (= 0.3.28-1), librust-web-sys+blob-dev (= 0.3.28-1), librust-web-sys+blobevent-dev (= 0.3.28-1), librust-web-sys+blobeventinit-dev (= 0.3.28-1), librust-web-sys+blobpropertybag-dev (= 0.3.28-1), librust-web-sys+blockparsingoptions-dev (= 0.3.28-1), librust-web-sys+boxquadoptions-dev (= 0.3.28-1), librust-web-sys+broadcastchannel-dev (= 0.3.28-1), librust-web-sys+browserelementdownloadoptions-dev (= 0.3.28-1), librust-web-sys+browserelementexecutescriptoptions-dev (= 0.3.28-1), librust-web-sys+browserfeedwriter-dev (= 0.3.28-1), librust-web-sys+browserfindcasesensitivity-dev (= 0.3.28-1), librust-web-sys+browserfinddirection-dev (= 0.3.28-1), librust-web-sys+cache-dev (= 0.3.28-1), librust-web-sys+cachebatchoperation-dev (= 0.3.28-1), librust-web-sys+cachequeryoptions-dev (= 0.3.28-1), librust-web-sys+cachestorage-dev (= 0.3.28-1), librust-web-sys+cachestoragenamespace-dev (= 0.3.28-1), librust-web-sys+canvascapturemediastream-dev (= 0.3.28-1), librust-web-sys+canvasgradient-dev (= 0.3.28-1), librust-web-sys+canvaspattern-dev (= 0.3.28-1), librust-web-sys+canvasrenderingcontext2d-dev (= 0.3.28-1), librust-web-sys+canvaswindingrule-dev (= 0.3.28-1), librust-web-sys+caretchangedreason-dev (= 0.3.28-1), librust-web-sys+caretposition-dev (= 0.3.28-1), librust-web-sys+caretstatechangedeventinit-dev (= 0.3.28-1), librust-web-sys+cdatasection-dev (= 0.3.28-1), librust-web-sys+channelcountmode-dev (= 0.3.28-1), librust-web-sys+channelinterpretation-dev (= 0.3.28-1), librust-web-sys+channelmergernode-dev (= 0.3.28-1), librust-web-sys+channelmergeroptions-dev (= 0.3.28-1), librust-web-sys+channelpixellayout-dev (= 0.3.28-1), librust-web-sys+channelpixellayoutdatatype-dev (= 0.3.28-1), librust-web-sys+channelsplitternode-dev (= 0.3.28-1), librust-web-sys+channelsplitteroptions-dev (= 0.3.28-1), librust-web-sys+characterdata-dev (= 0.3.28-1), librust-web-sys+checkerboardreason-dev (= 0.3.28-1), librust-web-sys+checkerboardreport-dev (= 0.3.28-1), librust-web-sys+checkerboardreportservice-dev (= 0.3.28-1), librust-web-sys+chromefilepropertybag-dev (= 0.3.28-1), librust-web-sys+chromeworker-dev (= 0.3.28-1), librust-web-sys+client-dev (= 0.3.28-1), librust-web-sys+clientqueryoptions-dev (= 0.3.28-1), librust-web-sys+clientrectsandtexts-dev (= 0.3.28-1), librust-web-sys+clients-dev (= 0.3.28-1), librust-web-sys+clienttype-dev (= 0.3.28-1), librust-web-sys+clipboardevent-dev (= 0.3.28-1), librust-web-sys+clipboardeventinit-dev (= 0.3.28-1), librust-web-sys+closeevent-dev (= 0.3.28-1), librust-web-sys+closeeventinit-dev (= 0.3.28-1), librust-web-sys+collectedclientdata-dev (= 0.3.28-1), librust-web-sys+comment-dev (= 0.3.28-1), librust-web-sys+compositeoperation-dev (= 0.3.28-1), librust-web-sys+compositionevent-dev (= 0.3.28-1), librust-web-sys+compositioneventinit-dev (= 0.3.28-1), librust-web-sys+computedeffecttiming-dev (= 0.3.28-1), librust-web-sys+connectiontype-dev (= 0.3.28-1), librust-web-sys+connstatusdict-dev (= 0.3.28-1), librust-web-sys+console-dev (= 0.3.28-1), librust-web-sys+consolecounter-dev (= 0.3.28-1), librust-web-sys+consolecountererror-dev (= 0.3.28-1), librust-web-sys+consoleevent-dev (= 0.3.28-1), librust-web-sys+consoleinstance-dev (= 0.3.28-1), librust-web-sys+consoleinstanceoptions-dev (= 0.3.28-1), librust-web-sys+consolelevel-dev (= 0.3.28-1), librust-web-sys+consoleloglevel-dev (= 0.3.28-1), librust-web-sys+consoleprofileevent-dev (= 0.3.28-1), librust-web-sys+consolestackentry-dev (= 0.3.28-1), librust-web-sys+consoletimererror-dev (= 0.3.28-1), librust-web-sys+consoletimerlogorend-dev (= 0.3.28-1), librust-web-sys+consoletimerstart-dev (= 0.3.28-1), librust-web-sys+constantsourcenode-dev (= 0.3.28-1), librust-web-sys+constantsourceoptions-dev (= 0.3.28-1), librust-web-sys+constrainbooleanparameters-dev (= 0.3.28-1), librust-web-sys+constraindomstringparameters-dev (= 0.3.28-1), librust-web-sys+constraindoublerange-dev (= 0.3.28-1), librust-web-sys+constrainlongrange-dev (= 0.3.28-1), librust-web-sys+contextattributes2d-dev (= 0.3.28-1), librust-web-sys+convertcoordinateoptions-dev (= 0.3.28-1), librust-web-sys+convolvernode-dev (= 0.3.28-1), librust-web-sys+convolveroptions-dev (= 0.3.28-1), librust-web-sys+coordinates-dev (= 0.3.28-1), librust-web-sys+credential-dev (= 0.3.28-1), librust-web-sys+credentialcreationoptions-dev (= 0.3.28-1), librust-web-sys+credentialrequestoptions-dev (= 0.3.28-1), librust-web-sys+credentialscontainer-dev (= 0.3.28-1), librust-web-sys+crypto-dev (= 0.3.28-1), librust-web-sys+cryptokey-dev (= 0.3.28-1), librust-web-sys+cryptokeypair-dev (= 0.3.28-1), librust-web-sys+csp-dev (= 0.3.28-1), librust-web-sys+csppolicies-dev (= 0.3.28-1), librust-web-sys+cspreport-dev (= 0.3.28-1), librust-web-sys+cspreportproperties-dev (= 0.3.28-1), librust-web-sys+css-dev (= 0.3.28-1), librust-web-sys+cssanimation-dev (= 0.3.28-1), librust-web-sys+cssboxtype-dev (= 0.3.28-1), librust-web-sys+cssconditionrule-dev (= 0.3.28-1), librust-web-sys+csscounterstylerule-dev (= 0.3.28-1), librust-web-sys+cssfontfacerule-dev (= 0.3.28-1), librust-web-sys+cssfontfeaturevaluesrule-dev (= 0.3.28-1), librust-web-sys+cssgroupingrule-dev (= 0.3.28-1), librust-web-sys+cssimportrule-dev (= 0.3.28-1), librust-web-sys+csskeyframerule-dev (= 0.3.28-1), librust-web-sys+csskeyframesrule-dev (= 0.3.28-1), librust-web-sys+cssmediarule-dev (= 0.3.28-1), librust-web-sys+cssnamespacerule-dev (= 0.3.28-1), librust-web-sys+csspagerule-dev (= 0.3.28-1), librust-web-sys+csspseudoelement-dev (= 0.3.28-1), librust-web-sys+cssrule-dev (= 0.3.28-1), librust-web-sys+cssrulelist-dev (= 0.3.28-1), librust-web-sys+cssstyledeclaration-dev (= 0.3.28-1), librust-web-sys+cssstylerule-dev (= 0.3.28-1), librust-web-sys+cssstylesheet-dev (= 0.3.28-1), librust-web-sys+cssstylesheetparsingmode-dev (= 0.3.28-1), librust-web-sys+csssupportsrule-dev (= 0.3.28-1), librust-web-sys+csstransition-dev (= 0.3.28-1), librust-web-sys+customelementregistry-dev (= 0.3.28-1), librust-web-sys+customevent-dev (= 0.3.28-1), librust-web-sys+customeventinit-dev (= 0.3.28-1), librust-web-sys+datatransfer-dev (= 0.3.28-1), librust-web-sys+datatransferitem-dev (= 0.3.28-1), librust-web-sys+datatransferitemlist-dev (= 0.3.28-1), librust-web-sys+datetimevalue-dev (= 0.3.28-1), librust-web-sys+decoderdoctornotification-dev (= 0.3.28-1), librust-web-sys+decoderdoctornotificationtype-dev (= 0.3.28-1), librust-web-sys+dedicatedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys+default-dev (= 0.3.28-1), librust-web-sys+delaynode-dev (= 0.3.28-1), librust-web-sys+delayoptions-dev (= 0.3.28-1), librust-web-sys+deviceacceleration-dev (= 0.3.28-1), librust-web-sys+deviceaccelerationinit-dev (= 0.3.28-1), librust-web-sys+devicelightevent-dev (= 0.3.28-1), librust-web-sys+devicelighteventinit-dev (= 0.3.28-1), librust-web-sys+devicemotionevent-dev (= 0.3.28-1), librust-web-sys+devicemotioneventinit-dev (= 0.3.28-1), librust-web-sys+deviceorientationevent-dev (= 0.3.28-1), librust-web-sys+deviceorientationeventinit-dev (= 0.3.28-1), librust-web-sys+deviceproximityevent-dev (= 0.3.28-1), librust-web-sys+deviceproximityeventinit-dev (= 0.3.28-1), librust-web-sys+devicerotationrate-dev (= 0.3.28-1), librust-web-sys+devicerotationrateinit-dev (= 0.3.28-1), librust-web-sys+dhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys+directionsetting-dev (= 0.3.28-1), librust-web-sys+directory-dev (= 0.3.28-1), librust-web-sys+displaynameoptions-dev (= 0.3.28-1), librust-web-sys+displaynameresult-dev (= 0.3.28-1), librust-web-sys+distancemodeltype-dev (= 0.3.28-1), librust-web-sys+dnscachedict-dev (= 0.3.28-1), librust-web-sys+dnscacheentry-dev (= 0.3.28-1), librust-web-sys+dnslookupdict-dev (= 0.3.28-1), librust-web-sys+document-dev (= 0.3.28-1), librust-web-sys+documentfragment-dev (= 0.3.28-1), librust-web-sys+documenttimeline-dev (= 0.3.28-1), librust-web-sys+documenttimelineoptions-dev (= 0.3.28-1), librust-web-sys+documenttype-dev (= 0.3.28-1), librust-web-sys+domerror-dev (= 0.3.28-1), librust-web-sys+domexception-dev (= 0.3.28-1), librust-web-sys+domimplementation-dev (= 0.3.28-1), librust-web-sys+dommatrix-dev (= 0.3.28-1), librust-web-sys+dommatrixreadonly-dev (= 0.3.28-1), librust-web-sys+domparser-dev (= 0.3.28-1), librust-web-sys+dompoint-dev (= 0.3.28-1), librust-web-sys+dompointinit-dev (= 0.3.28-1), librust-web-sys+dompointreadonly-dev (= 0.3.28-1), librust-web-sys+domquad-dev (= 0.3.28-1), librust-web-sys+domquadinit-dev (= 0.3.28-1), librust-web-sys+domquadjson-dev (= 0.3.28-1), librust-web-sys+domrect-dev (= 0.3.28-1), librust-web-sys+domrectinit-dev (= 0.3.28-1), librust-web-sys+domrectlist-dev (= 0.3.28-1), librust-web-sys+domrectreadonly-dev (= 0.3.28-1), librust-web-sys+domrequest-dev (= 0.3.28-1), librust-web-sys+domrequestreadystate-dev (= 0.3.28-1), librust-web-sys+domstringlist-dev (= 0.3.28-1), librust-web-sys+domstringmap-dev (= 0.3.28-1), librust-web-sys+domtokenlist-dev (= 0.3.28-1), librust-web-sys+domwindowresizeeventdetail-dev (= 0.3.28-1), librust-web-sys+dragevent-dev (= 0.3.28-1), librust-web-sys+drageventinit-dev (= 0.3.28-1), librust-web-sys+dynamicscompressornode-dev (= 0.3.28-1), librust-web-sys+dynamicscompressoroptions-dev (= 0.3.28-1), librust-web-sys+ecdhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys+ecdsaparams-dev (= 0.3.28-1), librust-web-sys+eckeyalgorithm-dev (= 0.3.28-1), librust-web-sys+eckeygenparams-dev (= 0.3.28-1), librust-web-sys+eckeyimportparams-dev (= 0.3.28-1), librust-web-sys+effecttiming-dev (= 0.3.28-1), librust-web-sys+element-dev (= 0.3.28-1), librust-web-sys+elementcreationoptions-dev (= 0.3.28-1), librust-web-sys+elementdefinitionoptions-dev (= 0.3.28-1), librust-web-sys+endingtypes-dev (= 0.3.28-1), librust-web-sys+errorcallback-dev (= 0.3.28-1), librust-web-sys+errorevent-dev (= 0.3.28-1), librust-web-sys+erroreventinit-dev (= 0.3.28-1), librust-web-sys+event-dev (= 0.3.28-1), librust-web-sys+eventinit-dev (= 0.3.28-1), librust-web-sys+eventlistener-dev (= 0.3.28-1), librust-web-sys+eventlisteneroptions-dev (= 0.3.28-1), librust-web-sys+eventmodifierinit-dev (= 0.3.28-1), librust-web-sys+eventsource-dev (= 0.3.28-1), librust-web-sys+eventsourceinit-dev (= 0.3.28-1), librust-web-sys+eventtarget-dev (= 0.3.28-1), librust-web-sys+exception-dev (= 0.3.28-1), librust-web-sys+extblendminmax-dev (= 0.3.28-1), librust-web-sys+extcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys+extcolorbufferhalffloat-dev (= 0.3.28-1), librust-web-sys+extdisjointtimerquery-dev (= 0.3.28-1), librust-web-sys+extendableevent-dev (= 0.3.28-1), librust-web-sys+extendableeventinit-dev (= 0.3.28-1), librust-web-sys+extendablemessageevent-dev (= 0.3.28-1), librust-web-sys+extendablemessageeventinit-dev (= 0.3.28-1), librust-web-sys+external-dev (= 0.3.28-1), librust-web-sys+extfragdepth-dev (= 0.3.28-1), librust-web-sys+extshadertexturelod-dev (= 0.3.28-1), librust-web-sys+extsrgb-dev (= 0.3.28-1), librust-web-sys+exttexturefilteranisotropic-dev (= 0.3.28-1), librust-web-sys+fakepluginmimeentry-dev (= 0.3.28-1), librust-web-sys+fakeplugintaginit-dev (= 0.3.28-1), librust-web-sys+fetchevent-dev (= 0.3.28-1), librust-web-sys+fetcheventinit-dev (= 0.3.28-1), librust-web-sys+fetchobserver-dev (= 0.3.28-1), librust-web-sys+fetchreadablestreamreaddataarray-dev (= 0.3.28-1), librust-web-sys+fetchreadablestreamreaddatadone-dev (= 0.3.28-1), librust-web-sys+fetchstate-dev (= 0.3.28-1), librust-web-sys+file-dev (= 0.3.28-1), librust-web-sys+filecallback-dev (= 0.3.28-1), librust-web-sys+filelist-dev (= 0.3.28-1), librust-web-sys+filepropertybag-dev (= 0.3.28-1), librust-web-sys+filereader-dev (= 0.3.28-1), librust-web-sys+filereadersync-dev (= 0.3.28-1), librust-web-sys+filesystem-dev (= 0.3.28-1), librust-web-sys+filesystemdirectoryentry-dev (= 0.3.28-1), librust-web-sys+filesystemdirectoryreader-dev (= 0.3.28-1), librust-web-sys+filesystementriescallback-dev (= 0.3.28-1), librust-web-sys+filesystementry-dev (= 0.3.28-1), librust-web-sys+filesystementrycallback-dev (= 0.3.28-1), librust-web-sys+filesystemfileentry-dev (= 0.3.28-1), librust-web-sys+filesystemflags-dev (= 0.3.28-1), librust-web-sys+fillmode-dev (= 0.3.28-1), librust-web-sys+flashclassification-dev (= 0.3.28-1), librust-web-sys+flexlinegrowthstate-dev (= 0.3.28-1), librust-web-sys+focusevent-dev (= 0.3.28-1), librust-web-sys+focuseventinit-dev (= 0.3.28-1), librust-web-sys+fontface-dev (= 0.3.28-1), librust-web-sys+fontfacedescriptors-dev (= 0.3.28-1), librust-web-sys+fontfaceloadstatus-dev (= 0.3.28-1), librust-web-sys+fontfaceset-dev (= 0.3.28-1), librust-web-sys+fontfacesetiterator-dev (= 0.3.28-1), librust-web-sys+fontfacesetiteratorresult-dev (= 0.3.28-1), librust-web-sys+fontfacesetloadevent-dev (= 0.3.28-1), librust-web-sys+fontfacesetloadeventinit-dev (= 0.3.28-1), librust-web-sys+fontfacesetloadstatus-dev (= 0.3.28-1), librust-web-sys+formdata-dev (= 0.3.28-1), librust-web-sys+frametype-dev (= 0.3.28-1), librust-web-sys+fuzzingfunctions-dev (= 0.3.28-1), librust-web-sys+gainnode-dev (= 0.3.28-1), librust-web-sys+gainoptions-dev (= 0.3.28-1), librust-web-sys+gamepad-dev (= 0.3.28-1), librust-web-sys+gamepadaxismoveevent-dev (= 0.3.28-1), librust-web-sys+gamepadaxismoveeventinit-dev (= 0.3.28-1), librust-web-sys+gamepadbutton-dev (= 0.3.28-1), librust-web-sys+gamepadbuttonevent-dev (= 0.3.28-1), librust-web-sys+gamepadbuttoneventinit-dev (= 0.3.28-1), librust-web-sys+gamepadevent-dev (= 0.3.28-1), librust-web-sys+gamepadeventinit-dev (= 0.3.28-1), librust-web-sys+gamepadhand-dev (= 0.3.28-1), librust-web-sys+gamepadhapticactuator-dev (= 0.3.28-1), librust-web-sys+gamepadhapticactuatortype-dev (= 0.3.28-1), librust-web-sys+gamepadmappingtype-dev (= 0.3.28-1), librust-web-sys+gamepadpose-dev (= 0.3.28-1), librust-web-sys+gamepadservicetest-dev (= 0.3.28-1), librust-web-sys+geolocation-dev (= 0.3.28-1), librust-web-sys+getnotificationoptions-dev (= 0.3.28-1), librust-web-sys+getrootnodeoptions-dev (= 0.3.28-1), librust-web-sys+getusermediarequest-dev (= 0.3.28-1), librust-web-sys+griddeclaration-dev (= 0.3.28-1), librust-web-sys+gridtrackstate-dev (= 0.3.28-1), librust-web-sys+groupedhistoryeventinit-dev (= 0.3.28-1), librust-web-sys+halfopeninfodict-dev (= 0.3.28-1), librust-web-sys+hashchangeevent-dev (= 0.3.28-1), librust-web-sys+hashchangeeventinit-dev (= 0.3.28-1), librust-web-sys+headers-dev (= 0.3.28-1), librust-web-sys+headersguardenum-dev (= 0.3.28-1), librust-web-sys+hiddenplugineventinit-dev (= 0.3.28-1), librust-web-sys+history-dev (= 0.3.28-1), librust-web-sys+hitregionoptions-dev (= 0.3.28-1), librust-web-sys+hkdfparams-dev (= 0.3.28-1), librust-web-sys+hmacderivedkeyparams-dev (= 0.3.28-1), librust-web-sys+hmacimportparams-dev (= 0.3.28-1), librust-web-sys+hmackeyalgorithm-dev (= 0.3.28-1), librust-web-sys+hmackeygenparams-dev (= 0.3.28-1), librust-web-sys+htmlallcollection-dev (= 0.3.28-1), librust-web-sys+htmlanchorelement-dev (= 0.3.28-1), librust-web-sys+htmlareaelement-dev (= 0.3.28-1), librust-web-sys+htmlaudioelement-dev (= 0.3.28-1), librust-web-sys+htmlbaseelement-dev (= 0.3.28-1), librust-web-sys+htmlbodyelement-dev (= 0.3.28-1), librust-web-sys+htmlbrelement-dev (= 0.3.28-1), librust-web-sys+htmlbuttonelement-dev (= 0.3.28-1), librust-web-sys+htmlcanvaselement-dev (= 0.3.28-1), librust-web-sys+htmlcollection-dev (= 0.3.28-1), librust-web-sys+htmldataelement-dev (= 0.3.28-1), librust-web-sys+htmldatalistelement-dev (= 0.3.28-1), librust-web-sys+htmldetailselement-dev (= 0.3.28-1), librust-web-sys+htmldialogelement-dev (= 0.3.28-1), librust-web-sys+htmldirectoryelement-dev (= 0.3.28-1), librust-web-sys+htmldivelement-dev (= 0.3.28-1), librust-web-sys+htmldlistelement-dev (= 0.3.28-1), librust-web-sys+htmldocument-dev (= 0.3.28-1), librust-web-sys+htmlelement-dev (= 0.3.28-1), librust-web-sys+htmlembedelement-dev (= 0.3.28-1), librust-web-sys+htmlfieldsetelement-dev (= 0.3.28-1), librust-web-sys+htmlfontelement-dev (= 0.3.28-1), librust-web-sys+htmlformcontrolscollection-dev (= 0.3.28-1), librust-web-sys+htmlformelement-dev (= 0.3.28-1), librust-web-sys+htmlframeelement-dev (= 0.3.28-1), librust-web-sys+htmlframesetelement-dev (= 0.3.28-1), librust-web-sys+htmlheadelement-dev (= 0.3.28-1), librust-web-sys+htmlheadingelement-dev (= 0.3.28-1), librust-web-sys+htmlhrelement-dev (= 0.3.28-1), librust-web-sys+htmlhtmlelement-dev (= 0.3.28-1), librust-web-sys+htmlhyperlinkelementutils-dev (= 0.3.28-1), librust-web-sys+htmliframeelement-dev (= 0.3.28-1), librust-web-sys+htmlimageelement-dev (= 0.3.28-1), librust-web-sys+htmlinputelement-dev (= 0.3.28-1), librust-web-sys+htmllabelelement-dev (= 0.3.28-1), librust-web-sys+htmllegendelement-dev (= 0.3.28-1), librust-web-sys+htmllielement-dev (= 0.3.28-1), librust-web-sys+htmllinkelement-dev (= 0.3.28-1), librust-web-sys+htmlmapelement-dev (= 0.3.28-1), librust-web-sys+htmlmediaelement-dev (= 0.3.28-1), librust-web-sys+htmlmenuelement-dev (= 0.3.28-1), librust-web-sys+htmlmenuitemelement-dev (= 0.3.28-1), librust-web-sys+htmlmetaelement-dev (= 0.3.28-1), librust-web-sys+htmlmeterelement-dev (= 0.3.28-1), librust-web-sys+htmlmodelement-dev (= 0.3.28-1), librust-web-sys+htmlobjectelement-dev (= 0.3.28-1), librust-web-sys+htmlolistelement-dev (= 0.3.28-1), librust-web-sys+htmloptgroupelement-dev (= 0.3.28-1), librust-web-sys+htmloptionelement-dev (= 0.3.28-1), librust-web-sys+htmloptionscollection-dev (= 0.3.28-1), librust-web-sys+htmloutputelement-dev (= 0.3.28-1), librust-web-sys+htmlparagraphelement-dev (= 0.3.28-1), librust-web-sys+htmlparamelement-dev (= 0.3.28-1), librust-web-sys+htmlpictureelement-dev (= 0.3.28-1), librust-web-sys+htmlpreelement-dev (= 0.3.28-1), librust-web-sys+htmlprogresselement-dev (= 0.3.28-1), librust-web-sys+htmlquoteelement-dev (= 0.3.28-1), librust-web-sys+htmlscriptelement-dev (= 0.3.28-1), librust-web-sys+htmlselectelement-dev (= 0.3.28-1), librust-web-sys+htmlslotelement-dev (= 0.3.28-1), librust-web-sys+htmlsourceelement-dev (= 0.3.28-1), librust-web-sys+htmlspanelement-dev (= 0.3.28-1), librust-web-sys+htmlstyleelement-dev (= 0.3.28-1), librust-web-sys+htmltablecaptionelement-dev (= 0.3.28-1), librust-web-sys+htmltablecellelement-dev (= 0.3.28-1), librust-web-sys+htmltablecolelement-dev (= 0.3.28-1), librust-web-sys+htmltableelement-dev (= 0.3.28-1), librust-web-sys+htmltablerowelement-dev (= 0.3.28-1), librust-web-sys+htmltablesectionelement-dev (= 0.3.28-1), librust-web-sys+htmltemplateelement-dev (= 0.3.28-1), librust-web-sys+htmltextareaelement-dev (= 0.3.28-1), librust-web-sys+htmltimeelement-dev (= 0.3.28-1), librust-web-sys+htmltitleelement-dev (= 0.3.28-1), librust-web-sys+htmltrackelement-dev (= 0.3.28-1), librust-web-sys+htmlulistelement-dev (= 0.3.28-1), librust-web-sys+htmlunknownelement-dev (= 0.3.28-1), librust-web-sys+htmlvideoelement-dev (= 0.3.28-1), librust-web-sys+httpconndict-dev (= 0.3.28-1), librust-web-sys+httpconnectionelement-dev (= 0.3.28-1), librust-web-sys+httpconninfo-dev (= 0.3.28-1), librust-web-sys+idbcursor-dev (= 0.3.28-1), librust-web-sys+idbcursordirection-dev (= 0.3.28-1), librust-web-sys+idbcursorwithvalue-dev (= 0.3.28-1), librust-web-sys+idbdatabase-dev (= 0.3.28-1), librust-web-sys+idbfactory-dev (= 0.3.28-1), librust-web-sys+idbfilehandle-dev (= 0.3.28-1), librust-web-sys+idbfilemetadataparameters-dev (= 0.3.28-1), librust-web-sys+idbfilerequest-dev (= 0.3.28-1), librust-web-sys+idbindex-dev (= 0.3.28-1), librust-web-sys+idbindexparameters-dev (= 0.3.28-1), librust-web-sys+idbkeyrange-dev (= 0.3.28-1), librust-web-sys+idblocaleawarekeyrange-dev (= 0.3.28-1), librust-web-sys+idbmutablefile-dev (= 0.3.28-1), librust-web-sys+idbobjectstore-dev (= 0.3.28-1), librust-web-sys+idbobjectstoreparameters-dev (= 0.3.28-1), librust-web-sys+idbopendboptions-dev (= 0.3.28-1), librust-web-sys+idbopendbrequest-dev (= 0.3.28-1), librust-web-sys+idbrequest-dev (= 0.3.28-1), librust-web-sys+idbrequestreadystate-dev (= 0.3.28-1), librust-web-sys+idbtransaction-dev (= 0.3.28-1), librust-web-sys+idbtransactionmode-dev (= 0.3.28-1), librust-web-sys+idbversionchangeevent-dev (= 0.3.28-1), librust-web-sys+idbversionchangeeventinit-dev (= 0.3.28-1), librust-web-sys+idledeadline-dev (= 0.3.28-1), librust-web-sys+idlerequestoptions-dev (= 0.3.28-1), librust-web-sys+iirfilternode-dev (= 0.3.28-1), librust-web-sys+iirfilteroptions-dev (= 0.3.28-1), librust-web-sys+imagebitmap-dev (= 0.3.28-1), librust-web-sys+imagebitmapformat-dev (= 0.3.28-1), librust-web-sys+imagebitmaprenderingcontext-dev (= 0.3.28-1), librust-web-sys+imagecapture-dev (= 0.3.28-1), librust-web-sys+imagecaptureerror-dev (= 0.3.28-1), librust-web-sys+imagecaptureerrorevent-dev (= 0.3.28-1), librust-web-sys+imagecaptureerroreventinit-dev (= 0.3.28-1), librust-web-sys+imagedata-dev (= 0.3.28-1), librust-web-sys+inputevent-dev (= 0.3.28-1), librust-web-sys+inputeventinit-dev (= 0.3.28-1), librust-web-sys+installtriggerdata-dev (= 0.3.28-1), librust-web-sys+intersectionobserver-dev (= 0.3.28-1), librust-web-sys+intersectionobserverentry-dev (= 0.3.28-1), librust-web-sys+intersectionobserverentryinit-dev (= 0.3.28-1), librust-web-sys+intersectionobserverinit-dev (= 0.3.28-1), librust-web-sys+intlutils-dev (= 0.3.28-1), librust-web-sys+iterablekeyandvalueresult-dev (= 0.3.28-1), librust-web-sys+iterablekeyorvalueresult-dev (= 0.3.28-1), librust-web-sys+iterationcompositeoperation-dev (= 0.3.28-1), librust-web-sys+jsonwebkey-dev (= 0.3.28-1), librust-web-sys+keyalgorithm-dev (= 0.3.28-1), librust-web-sys+keyboardevent-dev (= 0.3.28-1), librust-web-sys+keyboardeventinit-dev (= 0.3.28-1), librust-web-sys+keyevent-dev (= 0.3.28-1), librust-web-sys+keyframeeffect-dev (= 0.3.28-1), librust-web-sys+keyframeeffectoptions-dev (= 0.3.28-1), librust-web-sys+keyidsinitdata-dev (= 0.3.28-1), librust-web-sys+l10nelement-dev (= 0.3.28-1), librust-web-sys+l10nvalue-dev (= 0.3.28-1), librust-web-sys+lifecyclecallbacks-dev (= 0.3.28-1), librust-web-sys+linealignsetting-dev (= 0.3.28-1), librust-web-sys+listboxobject-dev (= 0.3.28-1), librust-web-sys+localeinfo-dev (= 0.3.28-1), librust-web-sys+localmediastream-dev (= 0.3.28-1), librust-web-sys+location-dev (= 0.3.28-1), librust-web-sys+mediacapabilities-dev (= 0.3.28-1), librust-web-sys+mediacapabilitiesinfo-dev (= 0.3.28-1), librust-web-sys+mediaconfiguration-dev (= 0.3.28-1), librust-web-sys+mediadecodingconfiguration-dev (= 0.3.28-1), librust-web-sys+mediadecodingtype-dev (= 0.3.28-1), librust-web-sys+mediadeviceinfo-dev (= 0.3.28-1), librust-web-sys+mediadevicekind-dev (= 0.3.28-1), librust-web-sys+mediadevices-dev (= 0.3.28-1), librust-web-sys+mediaelementaudiosourcenode-dev (= 0.3.28-1), librust-web-sys+mediaelementaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys+mediaencodingconfiguration-dev (= 0.3.28-1), librust-web-sys+mediaencodingtype-dev (= 0.3.28-1), librust-web-sys+mediaencryptedevent-dev (= 0.3.28-1), librust-web-sys+mediaerror-dev (= 0.3.28-1), librust-web-sys+mediakeyerror-dev (= 0.3.28-1), librust-web-sys+mediakeymessageevent-dev (= 0.3.28-1), librust-web-sys+mediakeymessageeventinit-dev (= 0.3.28-1), librust-web-sys+mediakeymessagetype-dev (= 0.3.28-1), librust-web-sys+mediakeyneededeventinit-dev (= 0.3.28-1), librust-web-sys+mediakeys-dev (= 0.3.28-1), librust-web-sys+mediakeysession-dev (= 0.3.28-1), librust-web-sys+mediakeysessiontype-dev (= 0.3.28-1), librust-web-sys+mediakeyspolicy-dev (= 0.3.28-1), librust-web-sys+mediakeysrequirement-dev (= 0.3.28-1), librust-web-sys+mediakeystatus-dev (= 0.3.28-1), librust-web-sys+mediakeystatusmap-dev (= 0.3.28-1), librust-web-sys+mediakeysystemaccess-dev (= 0.3.28-1), librust-web-sys+mediakeysystemconfiguration-dev (= 0.3.28-1), librust-web-sys+mediakeysystemmediacapability-dev (= 0.3.28-1), librust-web-sys+mediakeysystemstatus-dev (= 0.3.28-1), librust-web-sys+medialist-dev (= 0.3.28-1), librust-web-sys+mediaquerylist-dev (= 0.3.28-1), librust-web-sys+mediaquerylistevent-dev (= 0.3.28-1), librust-web-sys+mediaquerylisteventinit-dev (= 0.3.28-1), librust-web-sys+mediarecorder-dev (= 0.3.28-1), librust-web-sys+mediarecordererrorevent-dev (= 0.3.28-1), librust-web-sys+mediarecordererroreventinit-dev (= 0.3.28-1), librust-web-sys+mediarecorderoptions-dev (= 0.3.28-1), librust-web-sys+mediasource-dev (= 0.3.28-1), librust-web-sys+mediasourceendofstreamerror-dev (= 0.3.28-1), librust-web-sys+mediasourceenum-dev (= 0.3.28-1), librust-web-sys+mediasourcereadystate-dev (= 0.3.28-1), librust-web-sys+mediastream-dev (= 0.3.28-1), librust-web-sys+mediastreamaudiodestinationnode-dev (= 0.3.28-1), librust-web-sys+mediastreamaudiosourcenode-dev (= 0.3.28-1), librust-web-sys+mediastreamaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys+mediastreamconstraints-dev (= 0.3.28-1), librust-web-sys+mediastreamerror-dev (= 0.3.28-1), librust-web-sys+mediastreamevent-dev (= 0.3.28-1), librust-web-sys+mediastreameventinit-dev (= 0.3.28-1), librust-web-sys+mediastreamtrack-dev (= 0.3.28-1), librust-web-sys+mediastreamtrackevent-dev (= 0.3.28-1), librust-web-sys+mediastreamtrackeventinit-dev (= 0.3.28-1), librust-web-sys+mediastreamtrackstate-dev (= 0.3.28-1), librust-web-sys+mediatrackconstraints-dev (= 0.3.28-1), librust-web-sys+mediatrackconstraintset-dev (= 0.3.28-1), librust-web-sys+mediatracksettings-dev (= 0.3.28-1), librust-web-sys+mediatracksupportedconstraints-dev (= 0.3.28-1), librust-web-sys+messagechannel-dev (= 0.3.28-1), librust-web-sys+messageevent-dev (= 0.3.28-1), librust-web-sys+messageeventinit-dev (= 0.3.28-1), librust-web-sys+messageport-dev (= 0.3.28-1), librust-web-sys+midiaccess-dev (= 0.3.28-1), librust-web-sys+midiconnectionevent-dev (= 0.3.28-1), librust-web-sys+midiconnectioneventinit-dev (= 0.3.28-1), librust-web-sys+midiinput-dev (= 0.3.28-1), librust-web-sys+midiinputmap-dev (= 0.3.28-1), librust-web-sys+midimessageevent-dev (= 0.3.28-1), librust-web-sys+midimessageeventinit-dev (= 0.3.28-1), librust-web-sys+midioptions-dev (= 0.3.28-1), librust-web-sys+midioutput-dev (= 0.3.28-1), librust-web-sys+midioutputmap-dev (= 0.3.28-1), librust-web-sys+midiport-dev (= 0.3.28-1), librust-web-sys+midiportconnectionstate-dev (= 0.3.28-1), librust-web-sys+midiportdevicestate-dev (= 0.3.28-1), librust-web-sys+midiporttype-dev (= 0.3.28-1), librust-web-sys+mimetype-dev (= 0.3.28-1), librust-web-sys+mimetypearray-dev (= 0.3.28-1), librust-web-sys+mouseevent-dev (= 0.3.28-1), librust-web-sys+mouseeventinit-dev (= 0.3.28-1), librust-web-sys+mousescrollevent-dev (= 0.3.28-1), librust-web-sys+mozdebug-dev (= 0.3.28-1), librust-web-sys+mutationevent-dev (= 0.3.28-1), librust-web-sys+mutationobserver-dev (= 0.3.28-1), librust-web-sys+mutationobserverinit-dev (= 0.3.28-1), librust-web-sys+mutationobservinginfo-dev (= 0.3.28-1), librust-web-sys+mutationrecord-dev (= 0.3.28-1), librust-web-sys+namednodemap-dev (= 0.3.28-1), librust-web-sys+nativeosfilereadoptions-dev (= 0.3.28-1), librust-web-sys+nativeosfilewriteatomicoptions-dev (= 0.3.28-1), librust-web-sys+navigationtype-dev (= 0.3.28-1), librust-web-sys+navigator-dev (= 0.3.28-1), librust-web-sys+navigatorautomationinformation-dev (= 0.3.28-1), librust-web-sys+networkcommandoptions-dev (= 0.3.28-1), librust-web-sys+networkinformation-dev (= 0.3.28-1), librust-web-sys+networkresultoptions-dev (= 0.3.28-1), librust-web-sys+node-dev (= 0.3.28-1), librust-web-sys+nodefilter-dev (= 0.3.28-1), librust-web-sys+nodeiterator-dev (= 0.3.28-1), librust-web-sys+nodelist-dev (= 0.3.28-1), librust-web-sys+notification-dev (= 0.3.28-1), librust-web-sys+notificationbehavior-dev (= 0.3.28-1), librust-web-sys+notificationdirection-dev (= 0.3.28-1), librust-web-sys+notificationevent-dev (= 0.3.28-1), librust-web-sys+notificationeventinit-dev (= 0.3.28-1), librust-web-sys+notificationoptions-dev (= 0.3.28-1), librust-web-sys+notificationpermission-dev (= 0.3.28-1), librust-web-sys+observercallback-dev (= 0.3.28-1), librust-web-sys+oeselementindexuint-dev (= 0.3.28-1), librust-web-sys+oesstandardderivatives-dev (= 0.3.28-1), librust-web-sys+oestexturefloat-dev (= 0.3.28-1), librust-web-sys+oestexturefloatlinear-dev (= 0.3.28-1), librust-web-sys+oestexturehalffloat-dev (= 0.3.28-1), librust-web-sys+oestexturehalffloatlinear-dev (= 0.3.28-1), librust-web-sys+oesvertexarrayobject-dev (= 0.3.28-1), librust-web-sys+offlineaudiocompletionevent-dev (= 0.3.28-1), librust-web-sys+offlineaudiocompletioneventinit-dev (= 0.3.28-1), librust-web-sys+offlineaudiocontext-dev (= 0.3.28-1), librust-web-sys+offlineaudiocontextoptions-dev (= 0.3.28-1), librust-web-sys+offlineresourcelist-dev (= 0.3.28-1), librust-web-sys+offscreencanvas-dev (= 0.3.28-1), librust-web-sys+openwindoweventdetail-dev (= 0.3.28-1), librust-web-sys+optionaleffecttiming-dev (= 0.3.28-1), librust-web-sys+orientationlocktype-dev (= 0.3.28-1), librust-web-sys+orientationtype-dev (= 0.3.28-1), librust-web-sys+oscillatornode-dev (= 0.3.28-1), librust-web-sys+oscillatoroptions-dev (= 0.3.28-1), librust-web-sys+oscillatortype-dev (= 0.3.28-1), librust-web-sys+oversampletype-dev (= 0.3.28-1), librust-web-sys+pagetransitionevent-dev (= 0.3.28-1), librust-web-sys+pagetransitioneventinit-dev (= 0.3.28-1), librust-web-sys+paintrequest-dev (= 0.3.28-1), librust-web-sys+paintrequestlist-dev (= 0.3.28-1), librust-web-sys+paintworkletglobalscope-dev (= 0.3.28-1), librust-web-sys+pannernode-dev (= 0.3.28-1), librust-web-sys+panneroptions-dev (= 0.3.28-1), librust-web-sys+panningmodeltype-dev (= 0.3.28-1), librust-web-sys+path2d-dev (= 0.3.28-1), librust-web-sys+paymentaddress-dev (= 0.3.28-1), librust-web-sys+paymentcomplete-dev (= 0.3.28-1), librust-web-sys+paymentmethodchangeevent-dev (= 0.3.28-1), librust-web-sys+paymentmethodchangeeventinit-dev (= 0.3.28-1), librust-web-sys+paymentrequestupdateevent-dev (= 0.3.28-1), librust-web-sys+paymentrequestupdateeventinit-dev (= 0.3.28-1), librust-web-sys+paymentresponse-dev (= 0.3.28-1), librust-web-sys+pbkdf2params-dev (= 0.3.28-1), librust-web-sys+pcimpliceconnectionstate-dev (= 0.3.28-1), librust-web-sys+pcimplicegatheringstate-dev (= 0.3.28-1), librust-web-sys+pcimplsignalingstate-dev (= 0.3.28-1), librust-web-sys+pcobserverstatetype-dev (= 0.3.28-1), librust-web-sys+performance-dev (= 0.3.28-1), librust-web-sys+performanceentry-dev (= 0.3.28-1), librust-web-sys+performanceentryeventinit-dev (= 0.3.28-1), librust-web-sys+performanceentryfilteroptions-dev (= 0.3.28-1), librust-web-sys+performancemark-dev (= 0.3.28-1), librust-web-sys+performancemeasure-dev (= 0.3.28-1), librust-web-sys+performancenavigation-dev (= 0.3.28-1), librust-web-sys+performancenavigationtiming-dev (= 0.3.28-1), librust-web-sys+performanceobserver-dev (= 0.3.28-1), librust-web-sys+performanceobserverentrylist-dev (= 0.3.28-1), librust-web-sys+performanceobserverinit-dev (= 0.3.28-1), librust-web-sys+performanceresourcetiming-dev (= 0.3.28-1), librust-web-sys+performanceservertiming-dev (= 0.3.28-1), librust-web-sys+performancetiming-dev (= 0.3.28-1), librust-web-sys+periodicwave-dev (= 0.3.28-1), librust-web-sys+periodicwaveconstraints-dev (= 0.3.28-1), librust-web-sys+periodicwaveoptions-dev (= 0.3.28-1), librust-web-sys+permissiondescriptor-dev (= 0.3.28-1), librust-web-sys+permissionname-dev (= 0.3.28-1), librust-web-sys+permissions-dev (= 0.3.28-1), librust-web-sys+permissionstate-dev (= 0.3.28-1), librust-web-sys+permissionstatus-dev (= 0.3.28-1), librust-web-sys+playbackdirection-dev (= 0.3.28-1), librust-web-sys+plugin-dev (= 0.3.28-1), librust-web-sys+pluginarray-dev (= 0.3.28-1), librust-web-sys+plugincrashedeventinit-dev (= 0.3.28-1), librust-web-sys+pointerevent-dev (= 0.3.28-1), librust-web-sys+pointereventinit-dev (= 0.3.28-1), librust-web-sys+popstateevent-dev (= 0.3.28-1), librust-web-sys+popstateeventinit-dev (= 0.3.28-1), librust-web-sys+popupblockedevent-dev (= 0.3.28-1), librust-web-sys+popupblockedeventinit-dev (= 0.3.28-1), librust-web-sys+position-dev (= 0.3.28-1), librust-web-sys+positionalignsetting-dev (= 0.3.28-1), librust-web-sys+positionerror-dev (= 0.3.28-1), librust-web-sys+positionoptions-dev (= 0.3.28-1), librust-web-sys+presentation-dev (= 0.3.28-1), librust-web-sys+presentationavailability-dev (= 0.3.28-1), librust-web-sys+presentationconnection-dev (= 0.3.28-1), librust-web-sys+presentationconnectionavailableevent-dev (= 0.3.28-1), librust-web-sys+presentationconnectionavailableeventinit-dev (= 0.3.28-1), librust-web-sys+presentationconnectionbinarytype-dev (= 0.3.28-1), librust-web-sys+presentationconnectionclosedreason-dev (= 0.3.28-1), librust-web-sys+presentationconnectioncloseevent-dev (= 0.3.28-1), librust-web-sys+presentationconnectioncloseeventinit-dev (= 0.3.28-1), librust-web-sys+presentationconnectionlist-dev (= 0.3.28-1), librust-web-sys+presentationconnectionstate-dev (= 0.3.28-1), librust-web-sys+presentationreceiver-dev (= 0.3.28-1), librust-web-sys+presentationrequest-dev (= 0.3.28-1), librust-web-sys+processinginstruction-dev (= 0.3.28-1), librust-web-sys+profiletimelinelayerrect-dev (= 0.3.28-1), librust-web-sys+profiletimelinemarker-dev (= 0.3.28-1), librust-web-sys+profiletimelinemessageportoperationtype-dev (= 0.3.28-1), librust-web-sys+profiletimelinestackframe-dev (= 0.3.28-1), librust-web-sys+profiletimelineworkeroperationtype-dev (= 0.3.28-1), librust-web-sys+progressevent-dev (= 0.3.28-1), librust-web-sys+progresseventinit-dev (= 0.3.28-1), librust-web-sys+promisenativehandler-dev (= 0.3.28-1), librust-web-sys+promiserejectionevent-dev (= 0.3.28-1), librust-web-sys+promiserejectioneventinit-dev (= 0.3.28-1), librust-web-sys+publickeycredential-dev (= 0.3.28-1), librust-web-sys+publickeycredentialcreationoptions-dev (= 0.3.28-1), librust-web-sys+publickeycredentialdescriptor-dev (= 0.3.28-1), librust-web-sys+publickeycredentialentity-dev (= 0.3.28-1), librust-web-sys+publickeycredentialparameters-dev (= 0.3.28-1), librust-web-sys+publickeycredentialrequestoptions-dev (= 0.3.28-1), librust-web-sys+publickeycredentialrpentity-dev (= 0.3.28-1), librust-web-sys+publickeycredentialtype-dev (= 0.3.28-1), librust-web-sys+publickeycredentialuserentity-dev (= 0.3.28-1), librust-web-sys+pushencryptionkeyname-dev (= 0.3.28-1), librust-web-sys+pushevent-dev (= 0.3.28-1), librust-web-sys+pusheventinit-dev (= 0.3.28-1), librust-web-sys+pushmanager-dev (= 0.3.28-1), librust-web-sys+pushmessagedata-dev (= 0.3.28-1), librust-web-sys+pushpermissionstate-dev (= 0.3.28-1), librust-web-sys+pushsubscription-dev (= 0.3.28-1), librust-web-sys+pushsubscriptioninit-dev (= 0.3.28-1), librust-web-sys+pushsubscriptionjson-dev (= 0.3.28-1), librust-web-sys+pushsubscriptionkeys-dev (= 0.3.28-1), librust-web-sys+pushsubscriptionoptions-dev (= 0.3.28-1), librust-web-sys+pushsubscriptionoptionsinit-dev (= 0.3.28-1), librust-web-sys+radionodelist-dev (= 0.3.28-1), librust-web-sys+range-dev (= 0.3.28-1), librust-web-sys+rcwnperfstats-dev (= 0.3.28-1), librust-web-sys+rcwnstatus-dev (= 0.3.28-1), librust-web-sys+readablestream-dev (= 0.3.28-1), librust-web-sys+recordingstate-dev (= 0.3.28-1), librust-web-sys+referrerpolicy-dev (= 0.3.28-1), librust-web-sys+registeredkey-dev (= 0.3.28-1), librust-web-sys+registerrequest-dev (= 0.3.28-1), librust-web-sys+registerresponse-dev (= 0.3.28-1), librust-web-sys+registrationoptions-dev (= 0.3.28-1), librust-web-sys+request-dev (= 0.3.28-1), librust-web-sys+requestcache-dev (= 0.3.28-1), librust-web-sys+requestcredentials-dev (= 0.3.28-1), librust-web-sys+requestdestination-dev (= 0.3.28-1), librust-web-sys+requestinit-dev (= 0.3.28-1), librust-web-sys+requestmediakeysystemaccessnotification-dev (= 0.3.28-1), librust-web-sys+requestmode-dev (= 0.3.28-1), librust-web-sys+requestredirect-dev (= 0.3.28-1), librust-web-sys+response-dev (= 0.3.28-1), librust-web-sys+responseinit-dev (= 0.3.28-1), librust-web-sys+responsetype-dev (= 0.3.28-1), librust-web-sys+rsahashedimportparams-dev (= 0.3.28-1), librust-web-sys+rsaoaepparams-dev (= 0.3.28-1), librust-web-sys+rsaotherprimesinfo-dev (= 0.3.28-1), librust-web-sys+rsapssparams-dev (= 0.3.28-1), librust-web-sys+rtcansweroptions-dev (= 0.3.28-1), librust-web-sys+rtcbundlepolicy-dev (= 0.3.28-1), librust-web-sys+rtccertificate-dev (= 0.3.28-1), librust-web-sys+rtccertificateexpiration-dev (= 0.3.28-1), librust-web-sys+rtccodecstats-dev (= 0.3.28-1), librust-web-sys+rtcconfiguration-dev (= 0.3.28-1), librust-web-sys+rtcdatachannel-dev (= 0.3.28-1), librust-web-sys+rtcdatachannelevent-dev (= 0.3.28-1), librust-web-sys+rtcdatachanneleventinit-dev (= 0.3.28-1), librust-web-sys+rtcdatachannelinit-dev (= 0.3.28-1), librust-web-sys+rtcdatachannelstate-dev (= 0.3.28-1), librust-web-sys+rtcdatachanneltype-dev (= 0.3.28-1), librust-web-sys+rtcdegradationpreference-dev (= 0.3.28-1), librust-web-sys+rtcdtmfsender-dev (= 0.3.28-1), librust-web-sys+rtcdtmftonechangeevent-dev (= 0.3.28-1), librust-web-sys+rtcdtmftonechangeeventinit-dev (= 0.3.28-1), librust-web-sys+rtcfecparameters-dev (= 0.3.28-1), librust-web-sys+rtcicecandidate-dev (= 0.3.28-1), librust-web-sys+rtcicecandidateinit-dev (= 0.3.28-1), librust-web-sys+rtcicecandidatepairstats-dev (= 0.3.28-1), librust-web-sys+rtcicecandidatestats-dev (= 0.3.28-1), librust-web-sys+rtcicecomponentstats-dev (= 0.3.28-1), librust-web-sys+rtciceconnectionstate-dev (= 0.3.28-1), librust-web-sys+rtcicecredentialtype-dev (= 0.3.28-1), librust-web-sys+rtcicegatheringstate-dev (= 0.3.28-1), librust-web-sys+rtciceserver-dev (= 0.3.28-1), librust-web-sys+rtcicetransportpolicy-dev (= 0.3.28-1), librust-web-sys+rtcidentityassertion-dev (= 0.3.28-1), librust-web-sys+rtcidentityassertionresult-dev (= 0.3.28-1), librust-web-sys+rtcidentityprovider-dev (= 0.3.28-1), librust-web-sys+rtcidentityproviderdetails-dev (= 0.3.28-1), librust-web-sys+rtcidentityprovideroptions-dev (= 0.3.28-1), librust-web-sys+rtcidentityproviderregistrar-dev (= 0.3.28-1), librust-web-sys+rtcidentityvalidationresult-dev (= 0.3.28-1), librust-web-sys+rtcinboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys+rtclifecycleevent-dev (= 0.3.28-1), librust-web-sys+rtcmediastreamstats-dev (= 0.3.28-1), librust-web-sys+rtcmediastreamtrackstats-dev (= 0.3.28-1), librust-web-sys+rtcofferansweroptions-dev (= 0.3.28-1), librust-web-sys+rtcofferoptions-dev (= 0.3.28-1), librust-web-sys+rtcoutboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys+rtcpeerconnection-dev (= 0.3.28-1), librust-web-sys+rtcpeerconnectioniceevent-dev (= 0.3.28-1), librust-web-sys+rtcpeerconnectioniceeventinit-dev (= 0.3.28-1), librust-web-sys+rtcprioritytype-dev (= 0.3.28-1), librust-web-sys+rtcrtcpparameters-dev (= 0.3.28-1), librust-web-sys+rtcrtpcodecparameters-dev (= 0.3.28-1), librust-web-sys+rtcrtpcontributingsource-dev (= 0.3.28-1), librust-web-sys+rtcrtpcontributingsourcestats-dev (= 0.3.28-1), librust-web-sys+rtcrtpencodingparameters-dev (= 0.3.28-1), librust-web-sys+rtcrtpheaderextensionparameters-dev (= 0.3.28-1), librust-web-sys+rtcrtpparameters-dev (= 0.3.28-1), librust-web-sys+rtcrtpreceiver-dev (= 0.3.28-1), librust-web-sys+rtcrtpsender-dev (= 0.3.28-1), librust-web-sys+rtcrtpsourceentry-dev (= 0.3.28-1), librust-web-sys+rtcrtpsourceentrytype-dev (= 0.3.28-1), librust-web-sys+rtcrtpstreamstats-dev (= 0.3.28-1), librust-web-sys+rtcrtpsynchronizationsource-dev (= 0.3.28-1), librust-web-sys+rtcrtptransceiver-dev (= 0.3.28-1), librust-web-sys+rtcrtptransceiverdirection-dev (= 0.3.28-1), librust-web-sys+rtcrtptransceiverinit-dev (= 0.3.28-1), librust-web-sys+rtcrtxparameters-dev (= 0.3.28-1), librust-web-sys+rtcsdptype-dev (= 0.3.28-1), librust-web-sys+rtcsessiondescription-dev (= 0.3.28-1), librust-web-sys+rtcsessiondescriptioninit-dev (= 0.3.28-1), librust-web-sys+rtcsignalingstate-dev (= 0.3.28-1), librust-web-sys+rtcstats-dev (= 0.3.28-1), librust-web-sys+rtcstatsicecandidatepairstate-dev (= 0.3.28-1), librust-web-sys+rtcstatsicecandidatetype-dev (= 0.3.28-1), librust-web-sys+rtcstatsreport-dev (= 0.3.28-1), librust-web-sys+rtcstatsreportinternal-dev (= 0.3.28-1), librust-web-sys+rtcstatstype-dev (= 0.3.28-1), librust-web-sys+rtctrackevent-dev (= 0.3.28-1), librust-web-sys+rtctrackeventinit-dev (= 0.3.28-1), librust-web-sys+rtctransportstats-dev (= 0.3.28-1), librust-web-sys+screen-dev (= 0.3.28-1), librust-web-sys+screencolorgamut-dev (= 0.3.28-1), librust-web-sys+screenluminance-dev (= 0.3.28-1), librust-web-sys+screenorientation-dev (= 0.3.28-1), librust-web-sys+scriptprocessornode-dev (= 0.3.28-1), librust-web-sys+scrollareaevent-dev (= 0.3.28-1), librust-web-sys+scrollbehavior-dev (= 0.3.28-1), librust-web-sys+scrollboxobject-dev (= 0.3.28-1), librust-web-sys+scrollintoviewoptions-dev (= 0.3.28-1), librust-web-sys+scrolllogicalposition-dev (= 0.3.28-1), librust-web-sys+scrolloptions-dev (= 0.3.28-1), librust-web-sys+scrollrestoration-dev (= 0.3.28-1), librust-web-sys+scrollsetting-dev (= 0.3.28-1), librust-web-sys+scrollstate-dev (= 0.3.28-1), librust-web-sys+scrolltooptions-dev (= 0.3.28-1), librust-web-sys+scrollviewchangeeventinit-dev (= 0.3.28-1), librust-web-sys+securitypolicyviolationevent-dev (= 0.3.28-1), librust-web-sys+securitypolicyviolationeventdisposition-dev (= 0.3.28-1), librust-web-sys+securitypolicyviolationeventinit-dev (= 0.3.28-1), librust-web-sys+selection-dev (= 0.3.28-1), librust-web-sys+serversocketoptions-dev (= 0.3.28-1), librust-web-sys+serviceworker-dev (= 0.3.28-1), librust-web-sys+serviceworkercontainer-dev (= 0.3.28-1), librust-web-sys+serviceworkerglobalscope-dev (= 0.3.28-1), librust-web-sys+serviceworkerregistration-dev (= 0.3.28-1), librust-web-sys+serviceworkerstate-dev (= 0.3.28-1), librust-web-sys+serviceworkerupdateviacache-dev (= 0.3.28-1), librust-web-sys+shadowroot-dev (= 0.3.28-1), librust-web-sys+shadowrootinit-dev (= 0.3.28-1), librust-web-sys+shadowrootmode-dev (= 0.3.28-1), librust-web-sys+sharedworker-dev (= 0.3.28-1), librust-web-sys+sharedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys+signresponse-dev (= 0.3.28-1), librust-web-sys+socketelement-dev (= 0.3.28-1), librust-web-sys+socketoptions-dev (= 0.3.28-1), librust-web-sys+socketreadystate-dev (= 0.3.28-1), librust-web-sys+socketsdict-dev (= 0.3.28-1), librust-web-sys+sourcebuffer-dev (= 0.3.28-1), librust-web-sys+sourcebufferappendmode-dev (= 0.3.28-1), librust-web-sys+sourcebufferlist-dev (= 0.3.28-1), librust-web-sys+speechgrammar-dev (= 0.3.28-1), librust-web-sys+speechgrammarlist-dev (= 0.3.28-1), librust-web-sys+speechrecognition-dev (= 0.3.28-1), librust-web-sys+speechrecognitionalternative-dev (= 0.3.28-1), librust-web-sys+speechrecognitionerror-dev (= 0.3.28-1), librust-web-sys+speechrecognitionerrorcode-dev (= 0.3.28-1), librust-web-sys+speechrecognitionerrorinit-dev (= 0.3.28-1), librust-web-sys+speechrecognitionevent-dev (= 0.3.28-1), librust-web-sys+speechrecognitioneventinit-dev (= 0.3.28-1), librust-web-sys+speechrecognitionresult-dev (= 0.3.28-1), librust-web-sys+speechrecognitionresultlist-dev (= 0.3.28-1), librust-web-sys+speechsynthesis-dev (= 0.3.28-1), librust-web-sys+speechsynthesiserrorcode-dev (= 0.3.28-1), librust-web-sys+speechsynthesiserrorevent-dev (= 0.3.28-1), librust-web-sys+speechsynthesiserroreventinit-dev (= 0.3.28-1), librust-web-sys+speechsynthesisevent-dev (= 0.3.28-1), librust-web-sys+speechsynthesiseventinit-dev (= 0.3.28-1), librust-web-sys+speechsynthesisutterance-dev (= 0.3.28-1), librust-web-sys+speechsynthesisvoice-dev (= 0.3.28-1), librust-web-sys+stereopannernode-dev (= 0.3.28-1), librust-web-sys+stereopanneroptions-dev (= 0.3.28-1), librust-web-sys+storage-dev (= 0.3.28-1), librust-web-sys+storageestimate-dev (= 0.3.28-1), librust-web-sys+storageevent-dev (= 0.3.28-1), librust-web-sys+storageeventinit-dev (= 0.3.28-1), librust-web-sys+storagemanager-dev (= 0.3.28-1), librust-web-sys+storagetype-dev (= 0.3.28-1), librust-web-sys+stylerulechangeeventinit-dev (= 0.3.28-1), librust-web-sys+stylesheet-dev (= 0.3.28-1), librust-web-sys+stylesheetapplicablestatechangeeventinit-dev (= 0.3.28-1), librust-web-sys+stylesheetchangeeventinit-dev (= 0.3.28-1), librust-web-sys+stylesheetlist-dev (= 0.3.28-1), librust-web-sys+subtlecrypto-dev (= 0.3.28-1), librust-web-sys+supportedtype-dev (= 0.3.28-1), librust-web-sys+svgaelement-dev (= 0.3.28-1), librust-web-sys+svgangle-dev (= 0.3.28-1), librust-web-sys+svganimatedangle-dev (= 0.3.28-1), librust-web-sys+svganimatedboolean-dev (= 0.3.28-1), librust-web-sys+svganimatedenumeration-dev (= 0.3.28-1), librust-web-sys+svganimatedinteger-dev (= 0.3.28-1), librust-web-sys+svganimatedlength-dev (= 0.3.28-1), librust-web-sys+svganimatedlengthlist-dev (= 0.3.28-1), librust-web-sys+svganimatednumber-dev (= 0.3.28-1), librust-web-sys+svganimatednumberlist-dev (= 0.3.28-1), librust-web-sys+svganimatedpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys+svganimatedrect-dev (= 0.3.28-1), librust-web-sys+svganimatedstring-dev (= 0.3.28-1), librust-web-sys+svganimatedtransformlist-dev (= 0.3.28-1), librust-web-sys+svganimateelement-dev (= 0.3.28-1), librust-web-sys+svganimatemotionelement-dev (= 0.3.28-1), librust-web-sys+svganimatetransformelement-dev (= 0.3.28-1), librust-web-sys+svganimationelement-dev (= 0.3.28-1), librust-web-sys+svgboundingboxoptions-dev (= 0.3.28-1), librust-web-sys+svgcircleelement-dev (= 0.3.28-1), librust-web-sys+svgclippathelement-dev (= 0.3.28-1), librust-web-sys+svgcomponenttransferfunctionelement-dev (= 0.3.28-1), librust-web-sys+svgdefselement-dev (= 0.3.28-1), librust-web-sys+svgdescelement-dev (= 0.3.28-1), librust-web-sys+svgelement-dev (= 0.3.28-1), librust-web-sys+svgellipseelement-dev (= 0.3.28-1), librust-web-sys+svgfeblendelement-dev (= 0.3.28-1), librust-web-sys+svgfecolormatrixelement-dev (= 0.3.28-1), librust-web-sys+svgfecomponenttransferelement-dev (= 0.3.28-1), librust-web-sys+svgfecompositeelement-dev (= 0.3.28-1), librust-web-sys+svgfeconvolvematrixelement-dev (= 0.3.28-1), librust-web-sys+svgfediffuselightingelement-dev (= 0.3.28-1), librust-web-sys+svgfedisplacementmapelement-dev (= 0.3.28-1), librust-web-sys+svgfedistantlightelement-dev (= 0.3.28-1), librust-web-sys+svgfedropshadowelement-dev (= 0.3.28-1), librust-web-sys+svgfefloodelement-dev (= 0.3.28-1), librust-web-sys+svgfefuncaelement-dev (= 0.3.28-1), librust-web-sys+svgfefuncbelement-dev (= 0.3.28-1), librust-web-sys+svgfefuncgelement-dev (= 0.3.28-1), librust-web-sys+svgfefuncrelement-dev (= 0.3.28-1), librust-web-sys+svgfegaussianblurelement-dev (= 0.3.28-1), librust-web-sys+svgfeimageelement-dev (= 0.3.28-1), librust-web-sys+svgfemergeelement-dev (= 0.3.28-1), librust-web-sys+svgfemergenodeelement-dev (= 0.3.28-1), librust-web-sys+svgfemorphologyelement-dev (= 0.3.28-1), librust-web-sys+svgfeoffsetelement-dev (= 0.3.28-1), librust-web-sys+svgfepointlightelement-dev (= 0.3.28-1), librust-web-sys+svgfespecularlightingelement-dev (= 0.3.28-1), librust-web-sys+svgfespotlightelement-dev (= 0.3.28-1), librust-web-sys+svgfetileelement-dev (= 0.3.28-1), librust-web-sys+svgfeturbulenceelement-dev (= 0.3.28-1), librust-web-sys+svgfilterelement-dev (= 0.3.28-1), librust-web-sys+svgforeignobjectelement-dev (= 0.3.28-1), librust-web-sys+svggelement-dev (= 0.3.28-1), librust-web-sys+svggeometryelement-dev (= 0.3.28-1), librust-web-sys+svggradientelement-dev (= 0.3.28-1), librust-web-sys+svggraphicselement-dev (= 0.3.28-1), librust-web-sys+svgimageelement-dev (= 0.3.28-1), librust-web-sys+svglength-dev (= 0.3.28-1), librust-web-sys+svglengthlist-dev (= 0.3.28-1), librust-web-sys+svglineargradientelement-dev (= 0.3.28-1), librust-web-sys+svglineelement-dev (= 0.3.28-1), librust-web-sys+svgmarkerelement-dev (= 0.3.28-1), librust-web-sys+svgmaskelement-dev (= 0.3.28-1), librust-web-sys+svgmatrix-dev (= 0.3.28-1), librust-web-sys+svgmetadataelement-dev (= 0.3.28-1), librust-web-sys+svgmpathelement-dev (= 0.3.28-1), librust-web-sys+svgnumber-dev (= 0.3.28-1), librust-web-sys+svgnumberlist-dev (= 0.3.28-1), librust-web-sys+svgpathelement-dev (= 0.3.28-1), librust-web-sys+svgpathseg-dev (= 0.3.28-1), librust-web-sys+svgpathsegarcabs-dev (= 0.3.28-1), librust-web-sys+svgpathsegarcrel-dev (= 0.3.28-1), librust-web-sys+svgpathsegclosepath-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetocubicabs-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetocubicrel-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetocubicsmoothabs-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetocubicsmoothrel-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetoquadraticabs-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetoquadraticrel-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetoquadraticsmoothabs-dev (= 0.3.28-1), librust-web-sys+svgpathsegcurvetoquadraticsmoothrel-dev (= 0.3.28-1), librust-web-sys+svgpathseglinetoabs-dev (= 0.3.28-1), librust-web-sys+svgpathseglinetohorizontalabs-dev (= 0.3.28-1), librust-web-sys+svgpathseglinetohorizontalrel-dev (= 0.3.28-1), librust-web-sys+svgpathseglinetorel-dev (= 0.3.28-1), librust-web-sys+svgpathseglinetoverticalabs-dev (= 0.3.28-1), librust-web-sys+svgpathseglinetoverticalrel-dev (= 0.3.28-1), librust-web-sys+svgpathseglist-dev (= 0.3.28-1), librust-web-sys+svgpathsegmovetoabs-dev (= 0.3.28-1), librust-web-sys+svgpathsegmovetorel-dev (= 0.3.28-1), librust-web-sys+svgpatternelement-dev (= 0.3.28-1), librust-web-sys+svgpoint-dev (= 0.3.28-1), librust-web-sys+svgpointlist-dev (= 0.3.28-1), librust-web-sys+svgpolygonelement-dev (= 0.3.28-1), librust-web-sys+svgpolylineelement-dev (= 0.3.28-1), librust-web-sys+svgpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys+svgradialgradientelement-dev (= 0.3.28-1), librust-web-sys+svgrect-dev (= 0.3.28-1), librust-web-sys+svgrectelement-dev (= 0.3.28-1), librust-web-sys+svgscriptelement-dev (= 0.3.28-1), librust-web-sys+svgsetelement-dev (= 0.3.28-1), librust-web-sys+svgstopelement-dev (= 0.3.28-1), librust-web-sys+svgstringlist-dev (= 0.3.28-1), librust-web-sys+svgstyleelement-dev (= 0.3.28-1), librust-web-sys+svgsvgelement-dev (= 0.3.28-1), librust-web-sys+svgswitchelement-dev (= 0.3.28-1), librust-web-sys+svgsymbolelement-dev (= 0.3.28-1), librust-web-sys+svgtextcontentelement-dev (= 0.3.28-1), librust-web-sys+svgtextelement-dev (= 0.3.28-1), librust-web-sys+svgtextpathelement-dev (= 0.3.28-1), librust-web-sys+svgtextpositioningelement-dev (= 0.3.28-1), librust-web-sys+svgtitleelement-dev (= 0.3.28-1), librust-web-sys+svgtransform-dev (= 0.3.28-1), librust-web-sys+svgtransformlist-dev (= 0.3.28-1), librust-web-sys+svgtspanelement-dev (= 0.3.28-1), librust-web-sys+svgunittypes-dev (= 0.3.28-1), librust-web-sys+svguseelement-dev (= 0.3.28-1), librust-web-sys+svgviewelement-dev (= 0.3.28-1), librust-web-sys+svgzoomandpan-dev (= 0.3.28-1), librust-web-sys+tcpreadystate-dev (= 0.3.28-1), librust-web-sys+tcpserversocket-dev (= 0.3.28-1), librust-web-sys+tcpserversocketevent-dev (= 0.3.28-1), librust-web-sys+tcpserversocketeventinit-dev (= 0.3.28-1), librust-web-sys+tcpsocket-dev (= 0.3.28-1), librust-web-sys+tcpsocketbinarytype-dev (= 0.3.28-1), librust-web-sys+tcpsocketerrorevent-dev (= 0.3.28-1), librust-web-sys+tcpsocketerroreventinit-dev (= 0.3.28-1), librust-web-sys+tcpsocketevent-dev (= 0.3.28-1), librust-web-sys+tcpsocketeventinit-dev (= 0.3.28-1), librust-web-sys+text-dev (= 0.3.28-1), librust-web-sys+textdecodeoptions-dev (= 0.3.28-1), librust-web-sys+textdecoder-dev (= 0.3.28-1), librust-web-sys+textdecoderoptions-dev (= 0.3.28-1), librust-web-sys+textencoder-dev (= 0.3.28-1), librust-web-sys+textmetrics-dev (= 0.3.28-1), librust-web-sys+texttrack-dev (= 0.3.28-1), librust-web-sys+texttrackcue-dev (= 0.3.28-1), librust-web-sys+texttrackcuelist-dev (= 0.3.28-1), librust-web-sys+texttrackkind-dev (= 0.3.28-1), librust-web-sys+texttracklist-dev (= 0.3.28-1), librust-web-sys+texttrackmode-dev (= 0.3.28-1), librust-web-sys+timeevent-dev (= 0.3.28-1), librust-web-sys+timeranges-dev (= 0.3.28-1), librust-web-sys+touch-dev (= 0.3.28-1), librust-web-sys+touchevent-dev (= 0.3.28-1), librust-web-sys+toucheventinit-dev (= 0.3.28-1), librust-web-sys+touchinit-dev (= 0.3.28-1), librust-web-sys+touchlist-dev (= 0.3.28-1), librust-web-sys+trackevent-dev (= 0.3.28-1), librust-web-sys+trackeventinit-dev (= 0.3.28-1), librust-web-sys+transitionevent-dev (= 0.3.28-1), librust-web-sys+transitioneventinit-dev (= 0.3.28-1), librust-web-sys+transport-dev (= 0.3.28-1), librust-web-sys+treeboxobject-dev (= 0.3.28-1), librust-web-sys+treecellinfo-dev (= 0.3.28-1), librust-web-sys+treeview-dev (= 0.3.28-1), librust-web-sys+treewalker-dev (= 0.3.28-1), librust-web-sys+u2f-dev (= 0.3.28-1), librust-web-sys+u2fclientdata-dev (= 0.3.28-1), librust-web-sys+udpmessageeventinit-dev (= 0.3.28-1), librust-web-sys+udpoptions-dev (= 0.3.28-1), librust-web-sys+uievent-dev (= 0.3.28-1), librust-web-sys+uieventinit-dev (= 0.3.28-1), librust-web-sys+url-dev (= 0.3.28-1), librust-web-sys+urlsearchparams-dev (= 0.3.28-1), librust-web-sys+userproximityevent-dev (= 0.3.28-1), librust-web-sys+userproximityeventinit-dev (= 0.3.28-1), librust-web-sys+userverificationrequirement-dev (= 0.3.28-1), librust-web-sys+validitystate-dev (= 0.3.28-1), librust-web-sys+videoconfiguration-dev (= 0.3.28-1), librust-web-sys+videofacingmodeenum-dev (= 0.3.28-1), librust-web-sys+videoplaybackquality-dev (= 0.3.28-1), librust-web-sys+videostreamtrack-dev (= 0.3.28-1), librust-web-sys+videotrack-dev (= 0.3.28-1), librust-web-sys+videotracklist-dev (= 0.3.28-1), librust-web-sys+visibilitystate-dev (= 0.3.28-1), librust-web-sys+voidcallback-dev (= 0.3.28-1), librust-web-sys+vrdisplay-dev (= 0.3.28-1), librust-web-sys+vrdisplaycapabilities-dev (= 0.3.28-1), librust-web-sys+vreye-dev (= 0.3.28-1), librust-web-sys+vreyeparameters-dev (= 0.3.28-1), librust-web-sys+vrfieldofview-dev (= 0.3.28-1), librust-web-sys+vrframedata-dev (= 0.3.28-1), librust-web-sys+vrlayer-dev (= 0.3.28-1), librust-web-sys+vrmockcontroller-dev (= 0.3.28-1), librust-web-sys+vrmockdisplay-dev (= 0.3.28-1), librust-web-sys+vrpose-dev (= 0.3.28-1), librust-web-sys+vrservicetest-dev (= 0.3.28-1), librust-web-sys+vrstageparameters-dev (= 0.3.28-1), librust-web-sys+vrsubmitframeresult-dev (= 0.3.28-1), librust-web-sys+vttcue-dev (= 0.3.28-1), librust-web-sys+vttregion-dev (= 0.3.28-1), librust-web-sys+waveshapernode-dev (= 0.3.28-1), librust-web-sys+waveshaperoptions-dev (= 0.3.28-1), librust-web-sys+webgl2renderingcontext-dev (= 0.3.28-1), librust-web-sys+webglactiveinfo-dev (= 0.3.28-1), librust-web-sys+webglbuffer-dev (= 0.3.28-1), librust-web-sys+webglcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys+webglcompressedtextureastc-dev (= 0.3.28-1), librust-web-sys+webglcompressedtextureatc-dev (= 0.3.28-1), librust-web-sys+webglcompressedtextureetc-dev (= 0.3.28-1), librust-web-sys+webglcompressedtextureetc1-dev (= 0.3.28-1), librust-web-sys+webglcompressedtexturepvrtc-dev (= 0.3.28-1), librust-web-sys+webglcompressedtextures3tc-dev (= 0.3.28-1), librust-web-sys+webglcompressedtextures3tcsrgb-dev (= 0.3.28-1), librust-web-sys+webglcontextattributes-dev (= 0.3.28-1), librust-web-sys+webglcontextevent-dev (= 0.3.28-1), librust-web-sys+webglcontexteventinit-dev (= 0.3.28-1), librust-web-sys+webgldebugrendererinfo-dev (= 0.3.28-1), librust-web-sys+webgldebugshaders-dev (= 0.3.28-1), librust-web-sys+webgldepthtexture-dev (= 0.3.28-1), librust-web-sys+webgldrawbuffers-dev (= 0.3.28-1), librust-web-sys+webglframebuffer-dev (= 0.3.28-1), librust-web-sys+webgllosecontext-dev (= 0.3.28-1), librust-web-sys+webglpowerpreference-dev (= 0.3.28-1), librust-web-sys+webglprogram-dev (= 0.3.28-1), librust-web-sys+webglquery-dev (= 0.3.28-1), librust-web-sys+webglrenderbuffer-dev (= 0.3.28-1), librust-web-sys+webglrenderingcontext-dev (= 0.3.28-1), librust-web-sys+webglsampler-dev (= 0.3.28-1), librust-web-sys+webglshader-dev (= 0.3.28-1), librust-web-sys+webglshaderprecisionformat-dev (= 0.3.28-1), librust-web-sys+webglsync-dev (= 0.3.28-1), librust-web-sys+webgltexture-dev (= 0.3.28-1), librust-web-sys+webgltransformfeedback-dev (= 0.3.28-1), librust-web-sys+webgluniformlocation-dev (= 0.3.28-1), librust-web-sys+webglvertexarrayobject-dev (= 0.3.28-1), librust-web-sys+webgpu-dev (= 0.3.28-1), librust-web-sys+webgpuadapter-dev (= 0.3.28-1), librust-web-sys+webgpuadapterdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpuattachmentstate-dev (= 0.3.28-1), librust-web-sys+webgpuattachmentstatedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpubindgroup-dev (= 0.3.28-1), librust-web-sys+webgpubindgroupbinding-dev (= 0.3.28-1), librust-web-sys+webgpubindgroupdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpubindgrouplayout-dev (= 0.3.28-1), librust-web-sys+webgpubindgrouplayoutdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpubinding-dev (= 0.3.28-1), librust-web-sys+webgpubindingtype-dev (= 0.3.28-1), librust-web-sys+webgpublenddescriptor-dev (= 0.3.28-1), librust-web-sys+webgpublendfactor-dev (= 0.3.28-1), librust-web-sys+webgpublendoperation-dev (= 0.3.28-1), librust-web-sys+webgpublendstate-dev (= 0.3.28-1), librust-web-sys+webgpublendstatedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpubuffer-dev (= 0.3.28-1), librust-web-sys+webgpubufferbinding-dev (= 0.3.28-1), librust-web-sys+webgpubufferdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpubufferusage-dev (= 0.3.28-1), librust-web-sys+webgpucolorwritebits-dev (= 0.3.28-1), librust-web-sys+webgpucommandbuffer-dev (= 0.3.28-1), librust-web-sys+webgpucommandencoder-dev (= 0.3.28-1), librust-web-sys+webgpucommandencoderdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpucomparefunction-dev (= 0.3.28-1), librust-web-sys+webgpucomputepipeline-dev (= 0.3.28-1), librust-web-sys+webgpucomputepipelinedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpudepthstencilstate-dev (= 0.3.28-1), librust-web-sys+webgpudepthstencilstatedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpudevice-dev (= 0.3.28-1), librust-web-sys+webgpudevicedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpuextensions-dev (= 0.3.28-1), librust-web-sys+webgpufence-dev (= 0.3.28-1), librust-web-sys+webgpufiltermode-dev (= 0.3.28-1), librust-web-sys+webgpuindexformat-dev (= 0.3.28-1), librust-web-sys+webgpuinputstate-dev (= 0.3.28-1), librust-web-sys+webgpuinputstatedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpuinputstepmode-dev (= 0.3.28-1), librust-web-sys+webgpulimits-dev (= 0.3.28-1), librust-web-sys+webgpuloadop-dev (= 0.3.28-1), librust-web-sys+webgpulogentry-dev (= 0.3.28-1), librust-web-sys+webgpulogentrytype-dev (= 0.3.28-1), librust-web-sys+webgpuobjectstatus-dev (= 0.3.28-1), librust-web-sys+webgpupipelinedescriptorbase-dev (= 0.3.28-1), librust-web-sys+webgpupipelinelayout-dev (= 0.3.28-1), librust-web-sys+webgpupipelinelayoutdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpupipelinestagedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpupowerpreference-dev (= 0.3.28-1), librust-web-sys+webgpuprimitivetopology-dev (= 0.3.28-1), librust-web-sys+webgpuqueue-dev (= 0.3.28-1), librust-web-sys+webgpurenderpassattachmentdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpurenderpassdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpurenderpipeline-dev (= 0.3.28-1), librust-web-sys+webgpurenderpipelinedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpusampler-dev (= 0.3.28-1), librust-web-sys+webgpusamplerdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpushadermodule-dev (= 0.3.28-1), librust-web-sys+webgpushadermoduledescriptor-dev (= 0.3.28-1), librust-web-sys+webgpushaderstage-dev (= 0.3.28-1), librust-web-sys+webgpushaderstagebit-dev (= 0.3.28-1), librust-web-sys+webgpustenciloperation-dev (= 0.3.28-1), librust-web-sys+webgpustencilstatefacedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpustoreop-dev (= 0.3.28-1), librust-web-sys+webgpuswapchain-dev (= 0.3.28-1), librust-web-sys+webgpuswapchaindescriptor-dev (= 0.3.28-1), librust-web-sys+webgputexture-dev (= 0.3.28-1), librust-web-sys+webgputexturedescriptor-dev (= 0.3.28-1), librust-web-sys+webgputexturedimension-dev (= 0.3.28-1), librust-web-sys+webgputextureformat-dev (= 0.3.28-1), librust-web-sys+webgputextureusage-dev (= 0.3.28-1), librust-web-sys+webgputextureview-dev (= 0.3.28-1), librust-web-sys+webgputextureviewdescriptor-dev (= 0.3.28-1), librust-web-sys+webgpuvertexattributedescriptor-dev (= 0.3.28-1), librust-web-sys+webgpuvertexformat-dev (= 0.3.28-1), librust-web-sys+webgpuvertexinputdescriptor-dev (= 0.3.28-1), librust-web-sys+webkitcssmatrix-dev (= 0.3.28-1), librust-web-sys+webrtcglobalstatisticsreport-dev (= 0.3.28-1), librust-web-sys+websocket-dev (= 0.3.28-1), librust-web-sys+websocketdict-dev (= 0.3.28-1), librust-web-sys+websocketelement-dev (= 0.3.28-1), librust-web-sys+wheelevent-dev (= 0.3.28-1), librust-web-sys+wheeleventinit-dev (= 0.3.28-1), librust-web-sys+widevinecdmmanifest-dev (= 0.3.28-1), librust-web-sys+window-dev (= 0.3.28-1), librust-web-sys+windowclient-dev (= 0.3.28-1), librust-web-sys+worker-dev (= 0.3.28-1), librust-web-sys+workerdebuggerglobalscope-dev (= 0.3.28-1), librust-web-sys+workerglobalscope-dev (= 0.3.28-1), librust-web-sys+workerlocation-dev (= 0.3.28-1), librust-web-sys+workernavigator-dev (= 0.3.28-1), librust-web-sys+workeroptions-dev (= 0.3.28-1), librust-web-sys+worklet-dev (= 0.3.28-1), librust-web-sys+workletglobalscope-dev (= 0.3.28-1), librust-web-sys+xmldocument-dev (= 0.3.28-1), librust-web-sys+xmlhttprequest-dev (= 0.3.28-1), librust-web-sys+xmlhttprequesteventtarget-dev (= 0.3.28-1), librust-web-sys+xmlhttprequestresponsetype-dev (= 0.3.28-1), librust-web-sys+xmlhttprequestupload-dev (= 0.3.28-1), librust-web-sys+xmlserializer-dev (= 0.3.28-1), librust-web-sys+xpathexpression-dev (= 0.3.28-1), librust-web-sys+xpathnsresolver-dev (= 0.3.28-1), librust-web-sys+xpathresult-dev (= 0.3.28-1), librust-web-sys+xsltprocessor-dev (= 0.3.28-1), librust-web-sys-0+abortcontroller-dev (= 0.3.28-1), librust-web-sys-0+abortsignal-dev (= 0.3.28-1), librust-web-sys-0+addeventlisteneroptions-dev (= 0.3.28-1), librust-web-sys-0+aescbcparams-dev (= 0.3.28-1), librust-web-sys-0+aesctrparams-dev (= 0.3.28-1), librust-web-sys-0+aesderivedkeyparams-dev (= 0.3.28-1), librust-web-sys-0+aesgcmparams-dev (= 0.3.28-1), librust-web-sys-0+aeskeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0+aeskeygenparams-dev (= 0.3.28-1), librust-web-sys-0+algorithm-dev (= 0.3.28-1), librust-web-sys-0+alignsetting-dev (= 0.3.28-1), librust-web-sys-0+analysernode-dev (= 0.3.28-1), librust-web-sys-0+analyseroptions-dev (= 0.3.28-1), librust-web-sys-0+angleinstancedarrays-dev (= 0.3.28-1), librust-web-sys-0+animation-dev (= 0.3.28-1), librust-web-sys-0+animationeffect-dev (= 0.3.28-1), librust-web-sys-0+animationevent-dev (= 0.3.28-1), librust-web-sys-0+animationeventinit-dev (= 0.3.28-1), librust-web-sys-0+animationplaybackevent-dev (= 0.3.28-1), librust-web-sys-0+animationplaybackeventinit-dev (= 0.3.28-1), librust-web-sys-0+animationplaystate-dev (= 0.3.28-1), librust-web-sys-0+animationpropertydetails-dev (= 0.3.28-1), librust-web-sys-0+animationpropertyvaluedetails-dev (= 0.3.28-1), librust-web-sys-0+animationtimeline-dev (= 0.3.28-1), librust-web-sys-0+assignednodesoptions-dev (= 0.3.28-1), librust-web-sys-0+attestationconveyancepreference-dev (= 0.3.28-1), librust-web-sys-0+attr-dev (= 0.3.28-1), librust-web-sys-0+attributenamevalue-dev (= 0.3.28-1), librust-web-sys-0+audiobuffer-dev (= 0.3.28-1), librust-web-sys-0+audiobufferoptions-dev (= 0.3.28-1), librust-web-sys-0+audiobuffersourcenode-dev (= 0.3.28-1), librust-web-sys-0+audiobuffersourceoptions-dev (= 0.3.28-1), librust-web-sys-0+audioconfiguration-dev (= 0.3.28-1), librust-web-sys-0+audiocontext-dev (= 0.3.28-1), librust-web-sys-0+audiocontextoptions-dev (= 0.3.28-1), librust-web-sys-0+audiocontextstate-dev (= 0.3.28-1), librust-web-sys-0+audiodestinationnode-dev (= 0.3.28-1), librust-web-sys-0+audiolistener-dev (= 0.3.28-1), librust-web-sys-0+audionode-dev (= 0.3.28-1), librust-web-sys-0+audionodeoptions-dev (= 0.3.28-1), librust-web-sys-0+audioparam-dev (= 0.3.28-1), librust-web-sys-0+audioparammap-dev (= 0.3.28-1), librust-web-sys-0+audioprocessingevent-dev (= 0.3.28-1), librust-web-sys-0+audioscheduledsourcenode-dev (= 0.3.28-1), librust-web-sys-0+audiostreamtrack-dev (= 0.3.28-1), librust-web-sys-0+audiotrack-dev (= 0.3.28-1), librust-web-sys-0+audiotracklist-dev (= 0.3.28-1), librust-web-sys-0+audioworklet-dev (= 0.3.28-1), librust-web-sys-0+audioworkletglobalscope-dev (= 0.3.28-1), librust-web-sys-0+audioworkletnode-dev (= 0.3.28-1), librust-web-sys-0+audioworkletnodeoptions-dev (= 0.3.28-1), librust-web-sys-0+audioworkletprocessor-dev (= 0.3.28-1), librust-web-sys-0+authenticationextensionsclientinputs-dev (= 0.3.28-1), librust-web-sys-0+authenticationextensionsclientoutputs-dev (= 0.3.28-1), librust-web-sys-0+authenticatorassertionresponse-dev (= 0.3.28-1), librust-web-sys-0+authenticatorattachment-dev (= 0.3.28-1), librust-web-sys-0+authenticatorattestationresponse-dev (= 0.3.28-1), librust-web-sys-0+authenticatorresponse-dev (= 0.3.28-1), librust-web-sys-0+authenticatorselectioncriteria-dev (= 0.3.28-1), librust-web-sys-0+authenticatortransport-dev (= 0.3.28-1), librust-web-sys-0+autocompleteinfo-dev (= 0.3.28-1), librust-web-sys-0+autokeyword-dev (= 0.3.28-1), librust-web-sys-0+barprop-dev (= 0.3.28-1), librust-web-sys-0+baseaudiocontext-dev (= 0.3.28-1), librust-web-sys-0+basecomputedkeyframe-dev (= 0.3.28-1), librust-web-sys-0+basekeyframe-dev (= 0.3.28-1), librust-web-sys-0+basepropertyindexedkeyframe-dev (= 0.3.28-1), librust-web-sys-0+basiccardrequest-dev (= 0.3.28-1), librust-web-sys-0+basiccardresponse-dev (= 0.3.28-1), librust-web-sys-0+basiccardtype-dev (= 0.3.28-1), librust-web-sys-0+batterymanager-dev (= 0.3.28-1), librust-web-sys-0+beforeunloadevent-dev (= 0.3.28-1), librust-web-sys-0+binarytype-dev (= 0.3.28-1), librust-web-sys-0+biquadfilternode-dev (= 0.3.28-1), librust-web-sys-0+biquadfilteroptions-dev (= 0.3.28-1), librust-web-sys-0+biquadfiltertype-dev (= 0.3.28-1), librust-web-sys-0+blob-dev (= 0.3.28-1), librust-web-sys-0+blobevent-dev (= 0.3.28-1), librust-web-sys-0+blobeventinit-dev (= 0.3.28-1), librust-web-sys-0+blobpropertybag-dev (= 0.3.28-1), librust-web-sys-0+blockparsingoptions-dev (= 0.3.28-1), librust-web-sys-0+boxquadoptions-dev (= 0.3.28-1), librust-web-sys-0+broadcastchannel-dev (= 0.3.28-1), librust-web-sys-0+browserelementdownloadoptions-dev (= 0.3.28-1), librust-web-sys-0+browserelementexecutescriptoptions-dev (= 0.3.28-1), librust-web-sys-0+browserfeedwriter-dev (= 0.3.28-1), librust-web-sys-0+browserfindcasesensitivity-dev (= 0.3.28-1), librust-web-sys-0+browserfinddirection-dev (= 0.3.28-1), librust-web-sys-0+cache-dev (= 0.3.28-1), librust-web-sys-0+cachebatchoperation-dev (= 0.3.28-1), librust-web-sys-0+cachequeryoptions-dev (= 0.3.28-1), librust-web-sys-0+cachestorage-dev (= 0.3.28-1), librust-web-sys-0+cachestoragenamespace-dev (= 0.3.28-1), librust-web-sys-0+canvascapturemediastream-dev (= 0.3.28-1), librust-web-sys-0+canvasgradient-dev (= 0.3.28-1), librust-web-sys-0+canvaspattern-dev (= 0.3.28-1), librust-web-sys-0+canvasrenderingcontext2d-dev (= 0.3.28-1), librust-web-sys-0+canvaswindingrule-dev (= 0.3.28-1), librust-web-sys-0+caretchangedreason-dev (= 0.3.28-1), librust-web-sys-0+caretposition-dev (= 0.3.28-1), librust-web-sys-0+caretstatechangedeventinit-dev (= 0.3.28-1), librust-web-sys-0+cdatasection-dev (= 0.3.28-1), librust-web-sys-0+channelcountmode-dev (= 0.3.28-1), librust-web-sys-0+channelinterpretation-dev (= 0.3.28-1), librust-web-sys-0+channelmergernode-dev (= 0.3.28-1), librust-web-sys-0+channelmergeroptions-dev (= 0.3.28-1), librust-web-sys-0+channelpixellayout-dev (= 0.3.28-1), librust-web-sys-0+channelpixellayoutdatatype-dev (= 0.3.28-1), librust-web-sys-0+channelsplitternode-dev (= 0.3.28-1), librust-web-sys-0+channelsplitteroptions-dev (= 0.3.28-1), librust-web-sys-0+characterdata-dev (= 0.3.28-1), librust-web-sys-0+checkerboardreason-dev (= 0.3.28-1), librust-web-sys-0+checkerboardreport-dev (= 0.3.28-1), librust-web-sys-0+checkerboardreportservice-dev (= 0.3.28-1), librust-web-sys-0+chromefilepropertybag-dev (= 0.3.28-1), librust-web-sys-0+chromeworker-dev (= 0.3.28-1), librust-web-sys-0+client-dev (= 0.3.28-1), librust-web-sys-0+clientqueryoptions-dev (= 0.3.28-1), librust-web-sys-0+clientrectsandtexts-dev (= 0.3.28-1), librust-web-sys-0+clients-dev (= 0.3.28-1), librust-web-sys-0+clienttype-dev (= 0.3.28-1), librust-web-sys-0+clipboardevent-dev (= 0.3.28-1), librust-web-sys-0+clipboardeventinit-dev (= 0.3.28-1), librust-web-sys-0+closeevent-dev (= 0.3.28-1), librust-web-sys-0+closeeventinit-dev (= 0.3.28-1), librust-web-sys-0+collectedclientdata-dev (= 0.3.28-1), librust-web-sys-0+comment-dev (= 0.3.28-1), librust-web-sys-0+compositeoperation-dev (= 0.3.28-1), librust-web-sys-0+compositionevent-dev (= 0.3.28-1), librust-web-sys-0+compositioneventinit-dev (= 0.3.28-1), librust-web-sys-0+computedeffecttiming-dev (= 0.3.28-1), librust-web-sys-0+connectiontype-dev (= 0.3.28-1), librust-web-sys-0+connstatusdict-dev (= 0.3.28-1), librust-web-sys-0+console-dev (= 0.3.28-1), librust-web-sys-0+consolecounter-dev (= 0.3.28-1), librust-web-sys-0+consolecountererror-dev (= 0.3.28-1), librust-web-sys-0+consoleevent-dev (= 0.3.28-1), librust-web-sys-0+consoleinstance-dev (= 0.3.28-1), librust-web-sys-0+consoleinstanceoptions-dev (= 0.3.28-1), librust-web-sys-0+consolelevel-dev (= 0.3.28-1), librust-web-sys-0+consoleloglevel-dev (= 0.3.28-1), librust-web-sys-0+consoleprofileevent-dev (= 0.3.28-1), librust-web-sys-0+consolestackentry-dev (= 0.3.28-1), librust-web-sys-0+consoletimererror-dev (= 0.3.28-1), librust-web-sys-0+consoletimerlogorend-dev (= 0.3.28-1), librust-web-sys-0+consoletimerstart-dev (= 0.3.28-1), librust-web-sys-0+constantsourcenode-dev (= 0.3.28-1), librust-web-sys-0+constantsourceoptions-dev (= 0.3.28-1), librust-web-sys-0+constrainbooleanparameters-dev (= 0.3.28-1), librust-web-sys-0+constraindomstringparameters-dev (= 0.3.28-1), librust-web-sys-0+constraindoublerange-dev (= 0.3.28-1), librust-web-sys-0+constrainlongrange-dev (= 0.3.28-1), librust-web-sys-0+contextattributes2d-dev (= 0.3.28-1), librust-web-sys-0+convertcoordinateoptions-dev (= 0.3.28-1), librust-web-sys-0+convolvernode-dev (= 0.3.28-1), librust-web-sys-0+convolveroptions-dev (= 0.3.28-1), librust-web-sys-0+coordinates-dev (= 0.3.28-1), librust-web-sys-0+credential-dev (= 0.3.28-1), librust-web-sys-0+credentialcreationoptions-dev (= 0.3.28-1), librust-web-sys-0+credentialrequestoptions-dev (= 0.3.28-1), librust-web-sys-0+credentialscontainer-dev (= 0.3.28-1), librust-web-sys-0+crypto-dev (= 0.3.28-1), librust-web-sys-0+cryptokey-dev (= 0.3.28-1), librust-web-sys-0+cryptokeypair-dev (= 0.3.28-1), librust-web-sys-0+csp-dev (= 0.3.28-1), librust-web-sys-0+csppolicies-dev (= 0.3.28-1), librust-web-sys-0+cspreport-dev (= 0.3.28-1), librust-web-sys-0+cspreportproperties-dev (= 0.3.28-1), librust-web-sys-0+css-dev (= 0.3.28-1), librust-web-sys-0+cssanimation-dev (= 0.3.28-1), librust-web-sys-0+cssboxtype-dev (= 0.3.28-1), librust-web-sys-0+cssconditionrule-dev (= 0.3.28-1), librust-web-sys-0+csscounterstylerule-dev (= 0.3.28-1), librust-web-sys-0+cssfontfacerule-dev (= 0.3.28-1), librust-web-sys-0+cssfontfeaturevaluesrule-dev (= 0.3.28-1), librust-web-sys-0+cssgroupingrule-dev (= 0.3.28-1), librust-web-sys-0+cssimportrule-dev (= 0.3.28-1), librust-web-sys-0+csskeyframerule-dev (= 0.3.28-1), librust-web-sys-0+csskeyframesrule-dev (= 0.3.28-1), librust-web-sys-0+cssmediarule-dev (= 0.3.28-1), librust-web-sys-0+cssnamespacerule-dev (= 0.3.28-1), librust-web-sys-0+csspagerule-dev (= 0.3.28-1), librust-web-sys-0+csspseudoelement-dev (= 0.3.28-1), librust-web-sys-0+cssrule-dev (= 0.3.28-1), librust-web-sys-0+cssrulelist-dev (= 0.3.28-1), librust-web-sys-0+cssstyledeclaration-dev (= 0.3.28-1), librust-web-sys-0+cssstylerule-dev (= 0.3.28-1), librust-web-sys-0+cssstylesheet-dev (= 0.3.28-1), librust-web-sys-0+cssstylesheetparsingmode-dev (= 0.3.28-1), librust-web-sys-0+csssupportsrule-dev (= 0.3.28-1), librust-web-sys-0+csstransition-dev (= 0.3.28-1), librust-web-sys-0+customelementregistry-dev (= 0.3.28-1), librust-web-sys-0+customevent-dev (= 0.3.28-1), librust-web-sys-0+customeventinit-dev (= 0.3.28-1), librust-web-sys-0+datatransfer-dev (= 0.3.28-1), librust-web-sys-0+datatransferitem-dev (= 0.3.28-1), librust-web-sys-0+datatransferitemlist-dev (= 0.3.28-1), librust-web-sys-0+datetimevalue-dev (= 0.3.28-1), librust-web-sys-0+decoderdoctornotification-dev (= 0.3.28-1), librust-web-sys-0+decoderdoctornotificationtype-dev (= 0.3.28-1), librust-web-sys-0+dedicatedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0+default-dev (= 0.3.28-1), librust-web-sys-0+delaynode-dev (= 0.3.28-1), librust-web-sys-0+delayoptions-dev (= 0.3.28-1), librust-web-sys-0+deviceacceleration-dev (= 0.3.28-1), librust-web-sys-0+deviceaccelerationinit-dev (= 0.3.28-1), librust-web-sys-0+devicelightevent-dev (= 0.3.28-1), librust-web-sys-0+devicelighteventinit-dev (= 0.3.28-1), librust-web-sys-0+devicemotionevent-dev (= 0.3.28-1), librust-web-sys-0+devicemotioneventinit-dev (= 0.3.28-1), librust-web-sys-0+deviceorientationevent-dev (= 0.3.28-1), librust-web-sys-0+deviceorientationeventinit-dev (= 0.3.28-1), librust-web-sys-0+deviceproximityevent-dev (= 0.3.28-1), librust-web-sys-0+deviceproximityeventinit-dev (= 0.3.28-1), librust-web-sys-0+devicerotationrate-dev (= 0.3.28-1), librust-web-sys-0+devicerotationrateinit-dev (= 0.3.28-1), librust-web-sys-0+dhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys-0+directionsetting-dev (= 0.3.28-1), librust-web-sys-0+directory-dev (= 0.3.28-1), librust-web-sys-0+displaynameoptions-dev (= 0.3.28-1), librust-web-sys-0+displaynameresult-dev (= 0.3.28-1), librust-web-sys-0+distancemodeltype-dev (= 0.3.28-1), librust-web-sys-0+dnscachedict-dev (= 0.3.28-1), librust-web-sys-0+dnscacheentry-dev (= 0.3.28-1), librust-web-sys-0+dnslookupdict-dev (= 0.3.28-1), librust-web-sys-0+document-dev (= 0.3.28-1), librust-web-sys-0+documentfragment-dev (= 0.3.28-1), librust-web-sys-0+documenttimeline-dev (= 0.3.28-1), librust-web-sys-0+documenttimelineoptions-dev (= 0.3.28-1), librust-web-sys-0+documenttype-dev (= 0.3.28-1), librust-web-sys-0+domerror-dev (= 0.3.28-1), librust-web-sys-0+domexception-dev (= 0.3.28-1), librust-web-sys-0+domimplementation-dev (= 0.3.28-1), librust-web-sys-0+dommatrix-dev (= 0.3.28-1), librust-web-sys-0+dommatrixreadonly-dev (= 0.3.28-1), librust-web-sys-0+domparser-dev (= 0.3.28-1), librust-web-sys-0+dompoint-dev (= 0.3.28-1), librust-web-sys-0+dompointinit-dev (= 0.3.28-1), librust-web-sys-0+dompointreadonly-dev (= 0.3.28-1), librust-web-sys-0+domquad-dev (= 0.3.28-1), librust-web-sys-0+domquadinit-dev (= 0.3.28-1), librust-web-sys-0+domquadjson-dev (= 0.3.28-1), librust-web-sys-0+domrect-dev (= 0.3.28-1), librust-web-sys-0+domrectinit-dev (= 0.3.28-1), librust-web-sys-0+domrectlist-dev (= 0.3.28-1), librust-web-sys-0+domrectreadonly-dev (= 0.3.28-1), librust-web-sys-0+domrequest-dev (= 0.3.28-1), librust-web-sys-0+domrequestreadystate-dev (= 0.3.28-1), librust-web-sys-0+domstringlist-dev (= 0.3.28-1), librust-web-sys-0+domstringmap-dev (= 0.3.28-1), librust-web-sys-0+domtokenlist-dev (= 0.3.28-1), librust-web-sys-0+domwindowresizeeventdetail-dev (= 0.3.28-1), librust-web-sys-0+dragevent-dev (= 0.3.28-1), librust-web-sys-0+drageventinit-dev (= 0.3.28-1), librust-web-sys-0+dynamicscompressornode-dev (= 0.3.28-1), librust-web-sys-0+dynamicscompressoroptions-dev (= 0.3.28-1), librust-web-sys-0+ecdhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys-0+ecdsaparams-dev (= 0.3.28-1), librust-web-sys-0+eckeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0+eckeygenparams-dev (= 0.3.28-1), librust-web-sys-0+eckeyimportparams-dev (= 0.3.28-1), librust-web-sys-0+effecttiming-dev (= 0.3.28-1), librust-web-sys-0+element-dev (= 0.3.28-1), librust-web-sys-0+elementcreationoptions-dev (= 0.3.28-1), librust-web-sys-0+elementdefinitionoptions-dev (= 0.3.28-1), librust-web-sys-0+endingtypes-dev (= 0.3.28-1), librust-web-sys-0+errorcallback-dev (= 0.3.28-1), librust-web-sys-0+errorevent-dev (= 0.3.28-1), librust-web-sys-0+erroreventinit-dev (= 0.3.28-1), librust-web-sys-0+event-dev (= 0.3.28-1), librust-web-sys-0+eventinit-dev (= 0.3.28-1), librust-web-sys-0+eventlistener-dev (= 0.3.28-1), librust-web-sys-0+eventlisteneroptions-dev (= 0.3.28-1), librust-web-sys-0+eventmodifierinit-dev (= 0.3.28-1), librust-web-sys-0+eventsource-dev (= 0.3.28-1), librust-web-sys-0+eventsourceinit-dev (= 0.3.28-1), librust-web-sys-0+eventtarget-dev (= 0.3.28-1), librust-web-sys-0+exception-dev (= 0.3.28-1), librust-web-sys-0+extblendminmax-dev (= 0.3.28-1), librust-web-sys-0+extcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys-0+extcolorbufferhalffloat-dev (= 0.3.28-1), librust-web-sys-0+extdisjointtimerquery-dev (= 0.3.28-1), librust-web-sys-0+extendableevent-dev (= 0.3.28-1), librust-web-sys-0+extendableeventinit-dev (= 0.3.28-1), librust-web-sys-0+extendablemessageevent-dev (= 0.3.28-1), librust-web-sys-0+extendablemessageeventinit-dev (= 0.3.28-1), librust-web-sys-0+external-dev (= 0.3.28-1), librust-web-sys-0+extfragdepth-dev (= 0.3.28-1), librust-web-sys-0+extshadertexturelod-dev (= 0.3.28-1), librust-web-sys-0+extsrgb-dev (= 0.3.28-1), librust-web-sys-0+exttexturefilteranisotropic-dev (= 0.3.28-1), librust-web-sys-0+fakepluginmimeentry-dev (= 0.3.28-1), librust-web-sys-0+fakeplugintaginit-dev (= 0.3.28-1), librust-web-sys-0+fetchevent-dev (= 0.3.28-1), librust-web-sys-0+fetcheventinit-dev (= 0.3.28-1), librust-web-sys-0+fetchobserver-dev (= 0.3.28-1), librust-web-sys-0+fetchreadablestreamreaddataarray-dev (= 0.3.28-1), librust-web-sys-0+fetchreadablestreamreaddatadone-dev (= 0.3.28-1), librust-web-sys-0+fetchstate-dev (= 0.3.28-1), librust-web-sys-0+file-dev (= 0.3.28-1), librust-web-sys-0+filecallback-dev (= 0.3.28-1), librust-web-sys-0+filelist-dev (= 0.3.28-1), librust-web-sys-0+filepropertybag-dev (= 0.3.28-1), librust-web-sys-0+filereader-dev (= 0.3.28-1), librust-web-sys-0+filereadersync-dev (= 0.3.28-1), librust-web-sys-0+filesystem-dev (= 0.3.28-1), librust-web-sys-0+filesystemdirectoryentry-dev (= 0.3.28-1), librust-web-sys-0+filesystemdirectoryreader-dev (= 0.3.28-1), librust-web-sys-0+filesystementriescallback-dev (= 0.3.28-1), librust-web-sys-0+filesystementry-dev (= 0.3.28-1), librust-web-sys-0+filesystementrycallback-dev (= 0.3.28-1), librust-web-sys-0+filesystemfileentry-dev (= 0.3.28-1), librust-web-sys-0+filesystemflags-dev (= 0.3.28-1), librust-web-sys-0+fillmode-dev (= 0.3.28-1), librust-web-sys-0+flashclassification-dev (= 0.3.28-1), librust-web-sys-0+flexlinegrowthstate-dev (= 0.3.28-1), librust-web-sys-0+focusevent-dev (= 0.3.28-1), librust-web-sys-0+focuseventinit-dev (= 0.3.28-1), librust-web-sys-0+fontface-dev (= 0.3.28-1), librust-web-sys-0+fontfacedescriptors-dev (= 0.3.28-1), librust-web-sys-0+fontfaceloadstatus-dev (= 0.3.28-1), librust-web-sys-0+fontfaceset-dev (= 0.3.28-1), librust-web-sys-0+fontfacesetiterator-dev (= 0.3.28-1), librust-web-sys-0+fontfacesetiteratorresult-dev (= 0.3.28-1), librust-web-sys-0+fontfacesetloadevent-dev (= 0.3.28-1), librust-web-sys-0+fontfacesetloadeventinit-dev (= 0.3.28-1), librust-web-sys-0+fontfacesetloadstatus-dev (= 0.3.28-1), librust-web-sys-0+formdata-dev (= 0.3.28-1), librust-web-sys-0+frametype-dev (= 0.3.28-1), librust-web-sys-0+fuzzingfunctions-dev (= 0.3.28-1), librust-web-sys-0+gainnode-dev (= 0.3.28-1), librust-web-sys-0+gainoptions-dev (= 0.3.28-1), librust-web-sys-0+gamepad-dev (= 0.3.28-1), librust-web-sys-0+gamepadaxismoveevent-dev (= 0.3.28-1), librust-web-sys-0+gamepadaxismoveeventinit-dev (= 0.3.28-1), librust-web-sys-0+gamepadbutton-dev (= 0.3.28-1), librust-web-sys-0+gamepadbuttonevent-dev (= 0.3.28-1), librust-web-sys-0+gamepadbuttoneventinit-dev (= 0.3.28-1), librust-web-sys-0+gamepadevent-dev (= 0.3.28-1), librust-web-sys-0+gamepadeventinit-dev (= 0.3.28-1), librust-web-sys-0+gamepadhand-dev (= 0.3.28-1), librust-web-sys-0+gamepadhapticactuator-dev (= 0.3.28-1), librust-web-sys-0+gamepadhapticactuatortype-dev (= 0.3.28-1), librust-web-sys-0+gamepadmappingtype-dev (= 0.3.28-1), librust-web-sys-0+gamepadpose-dev (= 0.3.28-1), librust-web-sys-0+gamepadservicetest-dev (= 0.3.28-1), librust-web-sys-0+geolocation-dev (= 0.3.28-1), librust-web-sys-0+getnotificationoptions-dev (= 0.3.28-1), librust-web-sys-0+getrootnodeoptions-dev (= 0.3.28-1), librust-web-sys-0+getusermediarequest-dev (= 0.3.28-1), librust-web-sys-0+griddeclaration-dev (= 0.3.28-1), librust-web-sys-0+gridtrackstate-dev (= 0.3.28-1), librust-web-sys-0+groupedhistoryeventinit-dev (= 0.3.28-1), librust-web-sys-0+halfopeninfodict-dev (= 0.3.28-1), librust-web-sys-0+hashchangeevent-dev (= 0.3.28-1), librust-web-sys-0+hashchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+headers-dev (= 0.3.28-1), librust-web-sys-0+headersguardenum-dev (= 0.3.28-1), librust-web-sys-0+hiddenplugineventinit-dev (= 0.3.28-1), librust-web-sys-0+history-dev (= 0.3.28-1), librust-web-sys-0+hitregionoptions-dev (= 0.3.28-1), librust-web-sys-0+hkdfparams-dev (= 0.3.28-1), librust-web-sys-0+hmacderivedkeyparams-dev (= 0.3.28-1), librust-web-sys-0+hmacimportparams-dev (= 0.3.28-1), librust-web-sys-0+hmackeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0+hmackeygenparams-dev (= 0.3.28-1), librust-web-sys-0+htmlallcollection-dev (= 0.3.28-1), librust-web-sys-0+htmlanchorelement-dev (= 0.3.28-1), librust-web-sys-0+htmlareaelement-dev (= 0.3.28-1), librust-web-sys-0+htmlaudioelement-dev (= 0.3.28-1), librust-web-sys-0+htmlbaseelement-dev (= 0.3.28-1), librust-web-sys-0+htmlbodyelement-dev (= 0.3.28-1), librust-web-sys-0+htmlbrelement-dev (= 0.3.28-1), librust-web-sys-0+htmlbuttonelement-dev (= 0.3.28-1), librust-web-sys-0+htmlcanvaselement-dev (= 0.3.28-1), librust-web-sys-0+htmlcollection-dev (= 0.3.28-1), librust-web-sys-0+htmldataelement-dev (= 0.3.28-1), librust-web-sys-0+htmldatalistelement-dev (= 0.3.28-1), librust-web-sys-0+htmldetailselement-dev (= 0.3.28-1), librust-web-sys-0+htmldialogelement-dev (= 0.3.28-1), librust-web-sys-0+htmldirectoryelement-dev (= 0.3.28-1), librust-web-sys-0+htmldivelement-dev (= 0.3.28-1), librust-web-sys-0+htmldlistelement-dev (= 0.3.28-1), librust-web-sys-0+htmldocument-dev (= 0.3.28-1), librust-web-sys-0+htmlelement-dev (= 0.3.28-1), librust-web-sys-0+htmlembedelement-dev (= 0.3.28-1), librust-web-sys-0+htmlfieldsetelement-dev (= 0.3.28-1), librust-web-sys-0+htmlfontelement-dev (= 0.3.28-1), librust-web-sys-0+htmlformcontrolscollection-dev (= 0.3.28-1), librust-web-sys-0+htmlformelement-dev (= 0.3.28-1), librust-web-sys-0+htmlframeelement-dev (= 0.3.28-1), librust-web-sys-0+htmlframesetelement-dev (= 0.3.28-1), librust-web-sys-0+htmlheadelement-dev (= 0.3.28-1), librust-web-sys-0+htmlheadingelement-dev (= 0.3.28-1), librust-web-sys-0+htmlhrelement-dev (= 0.3.28-1), librust-web-sys-0+htmlhtmlelement-dev (= 0.3.28-1), librust-web-sys-0+htmlhyperlinkelementutils-dev (= 0.3.28-1), librust-web-sys-0+htmliframeelement-dev (= 0.3.28-1), librust-web-sys-0+htmlimageelement-dev (= 0.3.28-1), librust-web-sys-0+htmlinputelement-dev (= 0.3.28-1), librust-web-sys-0+htmllabelelement-dev (= 0.3.28-1), librust-web-sys-0+htmllegendelement-dev (= 0.3.28-1), librust-web-sys-0+htmllielement-dev (= 0.3.28-1), librust-web-sys-0+htmllinkelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmapelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmediaelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmenuelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmenuitemelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmetaelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmeterelement-dev (= 0.3.28-1), librust-web-sys-0+htmlmodelement-dev (= 0.3.28-1), librust-web-sys-0+htmlobjectelement-dev (= 0.3.28-1), librust-web-sys-0+htmlolistelement-dev (= 0.3.28-1), librust-web-sys-0+htmloptgroupelement-dev (= 0.3.28-1), librust-web-sys-0+htmloptionelement-dev (= 0.3.28-1), librust-web-sys-0+htmloptionscollection-dev (= 0.3.28-1), librust-web-sys-0+htmloutputelement-dev (= 0.3.28-1), librust-web-sys-0+htmlparagraphelement-dev (= 0.3.28-1), librust-web-sys-0+htmlparamelement-dev (= 0.3.28-1), librust-web-sys-0+htmlpictureelement-dev (= 0.3.28-1), librust-web-sys-0+htmlpreelement-dev (= 0.3.28-1), librust-web-sys-0+htmlprogresselement-dev (= 0.3.28-1), librust-web-sys-0+htmlquoteelement-dev (= 0.3.28-1), librust-web-sys-0+htmlscriptelement-dev (= 0.3.28-1), librust-web-sys-0+htmlselectelement-dev (= 0.3.28-1), librust-web-sys-0+htmlslotelement-dev (= 0.3.28-1), librust-web-sys-0+htmlsourceelement-dev (= 0.3.28-1), librust-web-sys-0+htmlspanelement-dev (= 0.3.28-1), librust-web-sys-0+htmlstyleelement-dev (= 0.3.28-1), librust-web-sys-0+htmltablecaptionelement-dev (= 0.3.28-1), librust-web-sys-0+htmltablecellelement-dev (= 0.3.28-1), librust-web-sys-0+htmltablecolelement-dev (= 0.3.28-1), librust-web-sys-0+htmltableelement-dev (= 0.3.28-1), librust-web-sys-0+htmltablerowelement-dev (= 0.3.28-1), librust-web-sys-0+htmltablesectionelement-dev (= 0.3.28-1), librust-web-sys-0+htmltemplateelement-dev (= 0.3.28-1), librust-web-sys-0+htmltextareaelement-dev (= 0.3.28-1), librust-web-sys-0+htmltimeelement-dev (= 0.3.28-1), librust-web-sys-0+htmltitleelement-dev (= 0.3.28-1), librust-web-sys-0+htmltrackelement-dev (= 0.3.28-1), librust-web-sys-0+htmlulistelement-dev (= 0.3.28-1), librust-web-sys-0+htmlunknownelement-dev (= 0.3.28-1), librust-web-sys-0+htmlvideoelement-dev (= 0.3.28-1), librust-web-sys-0+httpconndict-dev (= 0.3.28-1), librust-web-sys-0+httpconnectionelement-dev (= 0.3.28-1), librust-web-sys-0+httpconninfo-dev (= 0.3.28-1), librust-web-sys-0+idbcursor-dev (= 0.3.28-1), librust-web-sys-0+idbcursordirection-dev (= 0.3.28-1), librust-web-sys-0+idbcursorwithvalue-dev (= 0.3.28-1), librust-web-sys-0+idbdatabase-dev (= 0.3.28-1), librust-web-sys-0+idbfactory-dev (= 0.3.28-1), librust-web-sys-0+idbfilehandle-dev (= 0.3.28-1), librust-web-sys-0+idbfilemetadataparameters-dev (= 0.3.28-1), librust-web-sys-0+idbfilerequest-dev (= 0.3.28-1), librust-web-sys-0+idbindex-dev (= 0.3.28-1), librust-web-sys-0+idbindexparameters-dev (= 0.3.28-1), librust-web-sys-0+idbkeyrange-dev (= 0.3.28-1), librust-web-sys-0+idblocaleawarekeyrange-dev (= 0.3.28-1), librust-web-sys-0+idbmutablefile-dev (= 0.3.28-1), librust-web-sys-0+idbobjectstore-dev (= 0.3.28-1), librust-web-sys-0+idbobjectstoreparameters-dev (= 0.3.28-1), librust-web-sys-0+idbopendboptions-dev (= 0.3.28-1), librust-web-sys-0+idbopendbrequest-dev (= 0.3.28-1), librust-web-sys-0+idbrequest-dev (= 0.3.28-1), librust-web-sys-0+idbrequestreadystate-dev (= 0.3.28-1), librust-web-sys-0+idbtransaction-dev (= 0.3.28-1), librust-web-sys-0+idbtransactionmode-dev (= 0.3.28-1), librust-web-sys-0+idbversionchangeevent-dev (= 0.3.28-1), librust-web-sys-0+idbversionchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+idledeadline-dev (= 0.3.28-1), librust-web-sys-0+idlerequestoptions-dev (= 0.3.28-1), librust-web-sys-0+iirfilternode-dev (= 0.3.28-1), librust-web-sys-0+iirfilteroptions-dev (= 0.3.28-1), librust-web-sys-0+imagebitmap-dev (= 0.3.28-1), librust-web-sys-0+imagebitmapformat-dev (= 0.3.28-1), librust-web-sys-0+imagebitmaprenderingcontext-dev (= 0.3.28-1), librust-web-sys-0+imagecapture-dev (= 0.3.28-1), librust-web-sys-0+imagecaptureerror-dev (= 0.3.28-1), librust-web-sys-0+imagecaptureerrorevent-dev (= 0.3.28-1), librust-web-sys-0+imagecaptureerroreventinit-dev (= 0.3.28-1), librust-web-sys-0+imagedata-dev (= 0.3.28-1), librust-web-sys-0+inputevent-dev (= 0.3.28-1), librust-web-sys-0+inputeventinit-dev (= 0.3.28-1), librust-web-sys-0+installtriggerdata-dev (= 0.3.28-1), librust-web-sys-0+intersectionobserver-dev (= 0.3.28-1), librust-web-sys-0+intersectionobserverentry-dev (= 0.3.28-1), librust-web-sys-0+intersectionobserverentryinit-dev (= 0.3.28-1), librust-web-sys-0+intersectionobserverinit-dev (= 0.3.28-1), librust-web-sys-0+intlutils-dev (= 0.3.28-1), librust-web-sys-0+iterablekeyandvalueresult-dev (= 0.3.28-1), librust-web-sys-0+iterablekeyorvalueresult-dev (= 0.3.28-1), librust-web-sys-0+iterationcompositeoperation-dev (= 0.3.28-1), librust-web-sys-0+jsonwebkey-dev (= 0.3.28-1), librust-web-sys-0+keyalgorithm-dev (= 0.3.28-1), librust-web-sys-0+keyboardevent-dev (= 0.3.28-1), librust-web-sys-0+keyboardeventinit-dev (= 0.3.28-1), librust-web-sys-0+keyevent-dev (= 0.3.28-1), librust-web-sys-0+keyframeeffect-dev (= 0.3.28-1), librust-web-sys-0+keyframeeffectoptions-dev (= 0.3.28-1), librust-web-sys-0+keyidsinitdata-dev (= 0.3.28-1), librust-web-sys-0+l10nelement-dev (= 0.3.28-1), librust-web-sys-0+l10nvalue-dev (= 0.3.28-1), librust-web-sys-0+lifecyclecallbacks-dev (= 0.3.28-1), librust-web-sys-0+linealignsetting-dev (= 0.3.28-1), librust-web-sys-0+listboxobject-dev (= 0.3.28-1), librust-web-sys-0+localeinfo-dev (= 0.3.28-1), librust-web-sys-0+localmediastream-dev (= 0.3.28-1), librust-web-sys-0+location-dev (= 0.3.28-1), librust-web-sys-0+mediacapabilities-dev (= 0.3.28-1), librust-web-sys-0+mediacapabilitiesinfo-dev (= 0.3.28-1), librust-web-sys-0+mediaconfiguration-dev (= 0.3.28-1), librust-web-sys-0+mediadecodingconfiguration-dev (= 0.3.28-1), librust-web-sys-0+mediadecodingtype-dev (= 0.3.28-1), librust-web-sys-0+mediadeviceinfo-dev (= 0.3.28-1), librust-web-sys-0+mediadevicekind-dev (= 0.3.28-1), librust-web-sys-0+mediadevices-dev (= 0.3.28-1), librust-web-sys-0+mediaelementaudiosourcenode-dev (= 0.3.28-1), librust-web-sys-0+mediaelementaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys-0+mediaencodingconfiguration-dev (= 0.3.28-1), librust-web-sys-0+mediaencodingtype-dev (= 0.3.28-1), librust-web-sys-0+mediaencryptedevent-dev (= 0.3.28-1), librust-web-sys-0+mediaerror-dev (= 0.3.28-1), librust-web-sys-0+mediakeyerror-dev (= 0.3.28-1), librust-web-sys-0+mediakeymessageevent-dev (= 0.3.28-1), librust-web-sys-0+mediakeymessageeventinit-dev (= 0.3.28-1), librust-web-sys-0+mediakeymessagetype-dev (= 0.3.28-1), librust-web-sys-0+mediakeyneededeventinit-dev (= 0.3.28-1), librust-web-sys-0+mediakeys-dev (= 0.3.28-1), librust-web-sys-0+mediakeysession-dev (= 0.3.28-1), librust-web-sys-0+mediakeysessiontype-dev (= 0.3.28-1), librust-web-sys-0+mediakeyspolicy-dev (= 0.3.28-1), librust-web-sys-0+mediakeysrequirement-dev (= 0.3.28-1), librust-web-sys-0+mediakeystatus-dev (= 0.3.28-1), librust-web-sys-0+mediakeystatusmap-dev (= 0.3.28-1), librust-web-sys-0+mediakeysystemaccess-dev (= 0.3.28-1), librust-web-sys-0+mediakeysystemconfiguration-dev (= 0.3.28-1), librust-web-sys-0+mediakeysystemmediacapability-dev (= 0.3.28-1), librust-web-sys-0+mediakeysystemstatus-dev (= 0.3.28-1), librust-web-sys-0+medialist-dev (= 0.3.28-1), librust-web-sys-0+mediaquerylist-dev (= 0.3.28-1), librust-web-sys-0+mediaquerylistevent-dev (= 0.3.28-1), librust-web-sys-0+mediaquerylisteventinit-dev (= 0.3.28-1), librust-web-sys-0+mediarecorder-dev (= 0.3.28-1), librust-web-sys-0+mediarecordererrorevent-dev (= 0.3.28-1), librust-web-sys-0+mediarecordererroreventinit-dev (= 0.3.28-1), librust-web-sys-0+mediarecorderoptions-dev (= 0.3.28-1), librust-web-sys-0+mediasource-dev (= 0.3.28-1), librust-web-sys-0+mediasourceendofstreamerror-dev (= 0.3.28-1), librust-web-sys-0+mediasourceenum-dev (= 0.3.28-1), librust-web-sys-0+mediasourcereadystate-dev (= 0.3.28-1), librust-web-sys-0+mediastream-dev (= 0.3.28-1), librust-web-sys-0+mediastreamaudiodestinationnode-dev (= 0.3.28-1), librust-web-sys-0+mediastreamaudiosourcenode-dev (= 0.3.28-1), librust-web-sys-0+mediastreamaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys-0+mediastreamconstraints-dev (= 0.3.28-1), librust-web-sys-0+mediastreamerror-dev (= 0.3.28-1), librust-web-sys-0+mediastreamevent-dev (= 0.3.28-1), librust-web-sys-0+mediastreameventinit-dev (= 0.3.28-1), librust-web-sys-0+mediastreamtrack-dev (= 0.3.28-1), librust-web-sys-0+mediastreamtrackevent-dev (= 0.3.28-1), librust-web-sys-0+mediastreamtrackeventinit-dev (= 0.3.28-1), librust-web-sys-0+mediastreamtrackstate-dev (= 0.3.28-1), librust-web-sys-0+mediatrackconstraints-dev (= 0.3.28-1), librust-web-sys-0+mediatrackconstraintset-dev (= 0.3.28-1), librust-web-sys-0+mediatracksettings-dev (= 0.3.28-1), librust-web-sys-0+mediatracksupportedconstraints-dev (= 0.3.28-1), librust-web-sys-0+messagechannel-dev (= 0.3.28-1), librust-web-sys-0+messageevent-dev (= 0.3.28-1), librust-web-sys-0+messageeventinit-dev (= 0.3.28-1), librust-web-sys-0+messageport-dev (= 0.3.28-1), librust-web-sys-0+midiaccess-dev (= 0.3.28-1), librust-web-sys-0+midiconnectionevent-dev (= 0.3.28-1), librust-web-sys-0+midiconnectioneventinit-dev (= 0.3.28-1), librust-web-sys-0+midiinput-dev (= 0.3.28-1), librust-web-sys-0+midiinputmap-dev (= 0.3.28-1), librust-web-sys-0+midimessageevent-dev (= 0.3.28-1), librust-web-sys-0+midimessageeventinit-dev (= 0.3.28-1), librust-web-sys-0+midioptions-dev (= 0.3.28-1), librust-web-sys-0+midioutput-dev (= 0.3.28-1), librust-web-sys-0+midioutputmap-dev (= 0.3.28-1), librust-web-sys-0+midiport-dev (= 0.3.28-1), librust-web-sys-0+midiportconnectionstate-dev (= 0.3.28-1), librust-web-sys-0+midiportdevicestate-dev (= 0.3.28-1), librust-web-sys-0+midiporttype-dev (= 0.3.28-1), librust-web-sys-0+mimetype-dev (= 0.3.28-1), librust-web-sys-0+mimetypearray-dev (= 0.3.28-1), librust-web-sys-0+mouseevent-dev (= 0.3.28-1), librust-web-sys-0+mouseeventinit-dev (= 0.3.28-1), librust-web-sys-0+mousescrollevent-dev (= 0.3.28-1), librust-web-sys-0+mozdebug-dev (= 0.3.28-1), librust-web-sys-0+mutationevent-dev (= 0.3.28-1), librust-web-sys-0+mutationobserver-dev (= 0.3.28-1), librust-web-sys-0+mutationobserverinit-dev (= 0.3.28-1), librust-web-sys-0+mutationobservinginfo-dev (= 0.3.28-1), librust-web-sys-0+mutationrecord-dev (= 0.3.28-1), librust-web-sys-0+namednodemap-dev (= 0.3.28-1), librust-web-sys-0+nativeosfilereadoptions-dev (= 0.3.28-1), librust-web-sys-0+nativeosfilewriteatomicoptions-dev (= 0.3.28-1), librust-web-sys-0+navigationtype-dev (= 0.3.28-1), librust-web-sys-0+navigator-dev (= 0.3.28-1), librust-web-sys-0+navigatorautomationinformation-dev (= 0.3.28-1), librust-web-sys-0+networkcommandoptions-dev (= 0.3.28-1), librust-web-sys-0+networkinformation-dev (= 0.3.28-1), librust-web-sys-0+networkresultoptions-dev (= 0.3.28-1), librust-web-sys-0+node-dev (= 0.3.28-1), librust-web-sys-0+nodefilter-dev (= 0.3.28-1), librust-web-sys-0+nodeiterator-dev (= 0.3.28-1), librust-web-sys-0+nodelist-dev (= 0.3.28-1), librust-web-sys-0+notification-dev (= 0.3.28-1), librust-web-sys-0+notificationbehavior-dev (= 0.3.28-1), librust-web-sys-0+notificationdirection-dev (= 0.3.28-1), librust-web-sys-0+notificationevent-dev (= 0.3.28-1), librust-web-sys-0+notificationeventinit-dev (= 0.3.28-1), librust-web-sys-0+notificationoptions-dev (= 0.3.28-1), librust-web-sys-0+notificationpermission-dev (= 0.3.28-1), librust-web-sys-0+observercallback-dev (= 0.3.28-1), librust-web-sys-0+oeselementindexuint-dev (= 0.3.28-1), librust-web-sys-0+oesstandardderivatives-dev (= 0.3.28-1), librust-web-sys-0+oestexturefloat-dev (= 0.3.28-1), librust-web-sys-0+oestexturefloatlinear-dev (= 0.3.28-1), librust-web-sys-0+oestexturehalffloat-dev (= 0.3.28-1), librust-web-sys-0+oestexturehalffloatlinear-dev (= 0.3.28-1), librust-web-sys-0+oesvertexarrayobject-dev (= 0.3.28-1), librust-web-sys-0+offlineaudiocompletionevent-dev (= 0.3.28-1), librust-web-sys-0+offlineaudiocompletioneventinit-dev (= 0.3.28-1), librust-web-sys-0+offlineaudiocontext-dev (= 0.3.28-1), librust-web-sys-0+offlineaudiocontextoptions-dev (= 0.3.28-1), librust-web-sys-0+offlineresourcelist-dev (= 0.3.28-1), librust-web-sys-0+offscreencanvas-dev (= 0.3.28-1), librust-web-sys-0+openwindoweventdetail-dev (= 0.3.28-1), librust-web-sys-0+optionaleffecttiming-dev (= 0.3.28-1), librust-web-sys-0+orientationlocktype-dev (= 0.3.28-1), librust-web-sys-0+orientationtype-dev (= 0.3.28-1), librust-web-sys-0+oscillatornode-dev (= 0.3.28-1), librust-web-sys-0+oscillatoroptions-dev (= 0.3.28-1), librust-web-sys-0+oscillatortype-dev (= 0.3.28-1), librust-web-sys-0+oversampletype-dev (= 0.3.28-1), librust-web-sys-0+pagetransitionevent-dev (= 0.3.28-1), librust-web-sys-0+pagetransitioneventinit-dev (= 0.3.28-1), librust-web-sys-0+paintrequest-dev (= 0.3.28-1), librust-web-sys-0+paintrequestlist-dev (= 0.3.28-1), librust-web-sys-0+paintworkletglobalscope-dev (= 0.3.28-1), librust-web-sys-0+pannernode-dev (= 0.3.28-1), librust-web-sys-0+panneroptions-dev (= 0.3.28-1), librust-web-sys-0+panningmodeltype-dev (= 0.3.28-1), librust-web-sys-0+path2d-dev (= 0.3.28-1), librust-web-sys-0+paymentaddress-dev (= 0.3.28-1), librust-web-sys-0+paymentcomplete-dev (= 0.3.28-1), librust-web-sys-0+paymentmethodchangeevent-dev (= 0.3.28-1), librust-web-sys-0+paymentmethodchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+paymentrequestupdateevent-dev (= 0.3.28-1), librust-web-sys-0+paymentrequestupdateeventinit-dev (= 0.3.28-1), librust-web-sys-0+paymentresponse-dev (= 0.3.28-1), librust-web-sys-0+pbkdf2params-dev (= 0.3.28-1), librust-web-sys-0+pcimpliceconnectionstate-dev (= 0.3.28-1), librust-web-sys-0+pcimplicegatheringstate-dev (= 0.3.28-1), librust-web-sys-0+pcimplsignalingstate-dev (= 0.3.28-1), librust-web-sys-0+pcobserverstatetype-dev (= 0.3.28-1), librust-web-sys-0+performance-dev (= 0.3.28-1), librust-web-sys-0+performanceentry-dev (= 0.3.28-1), librust-web-sys-0+performanceentryeventinit-dev (= 0.3.28-1), librust-web-sys-0+performanceentryfilteroptions-dev (= 0.3.28-1), librust-web-sys-0+performancemark-dev (= 0.3.28-1), librust-web-sys-0+performancemeasure-dev (= 0.3.28-1), librust-web-sys-0+performancenavigation-dev (= 0.3.28-1), librust-web-sys-0+performancenavigationtiming-dev (= 0.3.28-1), librust-web-sys-0+performanceobserver-dev (= 0.3.28-1), librust-web-sys-0+performanceobserverentrylist-dev (= 0.3.28-1), librust-web-sys-0+performanceobserverinit-dev (= 0.3.28-1), librust-web-sys-0+performanceresourcetiming-dev (= 0.3.28-1), librust-web-sys-0+performanceservertiming-dev (= 0.3.28-1), librust-web-sys-0+performancetiming-dev (= 0.3.28-1), librust-web-sys-0+periodicwave-dev (= 0.3.28-1), librust-web-sys-0+periodicwaveconstraints-dev (= 0.3.28-1), librust-web-sys-0+periodicwaveoptions-dev (= 0.3.28-1), librust-web-sys-0+permissiondescriptor-dev (= 0.3.28-1), librust-web-sys-0+permissionname-dev (= 0.3.28-1), librust-web-sys-0+permissions-dev (= 0.3.28-1), librust-web-sys-0+permissionstate-dev (= 0.3.28-1), librust-web-sys-0+permissionstatus-dev (= 0.3.28-1), librust-web-sys-0+playbackdirection-dev (= 0.3.28-1), librust-web-sys-0+plugin-dev (= 0.3.28-1), librust-web-sys-0+pluginarray-dev (= 0.3.28-1), librust-web-sys-0+plugincrashedeventinit-dev (= 0.3.28-1), librust-web-sys-0+pointerevent-dev (= 0.3.28-1), librust-web-sys-0+pointereventinit-dev (= 0.3.28-1), librust-web-sys-0+popstateevent-dev (= 0.3.28-1), librust-web-sys-0+popstateeventinit-dev (= 0.3.28-1), librust-web-sys-0+popupblockedevent-dev (= 0.3.28-1), librust-web-sys-0+popupblockedeventinit-dev (= 0.3.28-1), librust-web-sys-0+position-dev (= 0.3.28-1), librust-web-sys-0+positionalignsetting-dev (= 0.3.28-1), librust-web-sys-0+positionerror-dev (= 0.3.28-1), librust-web-sys-0+positionoptions-dev (= 0.3.28-1), librust-web-sys-0+presentation-dev (= 0.3.28-1), librust-web-sys-0+presentationavailability-dev (= 0.3.28-1), librust-web-sys-0+presentationconnection-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectionavailableevent-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectionavailableeventinit-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectionbinarytype-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectionclosedreason-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectioncloseevent-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectioncloseeventinit-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectionlist-dev (= 0.3.28-1), librust-web-sys-0+presentationconnectionstate-dev (= 0.3.28-1), librust-web-sys-0+presentationreceiver-dev (= 0.3.28-1), librust-web-sys-0+presentationrequest-dev (= 0.3.28-1), librust-web-sys-0+processinginstruction-dev (= 0.3.28-1), librust-web-sys-0+profiletimelinelayerrect-dev (= 0.3.28-1), librust-web-sys-0+profiletimelinemarker-dev (= 0.3.28-1), librust-web-sys-0+profiletimelinemessageportoperationtype-dev (= 0.3.28-1), librust-web-sys-0+profiletimelinestackframe-dev (= 0.3.28-1), librust-web-sys-0+profiletimelineworkeroperationtype-dev (= 0.3.28-1), librust-web-sys-0+progressevent-dev (= 0.3.28-1), librust-web-sys-0+progresseventinit-dev (= 0.3.28-1), librust-web-sys-0+promisenativehandler-dev (= 0.3.28-1), librust-web-sys-0+promiserejectionevent-dev (= 0.3.28-1), librust-web-sys-0+promiserejectioneventinit-dev (= 0.3.28-1), librust-web-sys-0+publickeycredential-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialcreationoptions-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialdescriptor-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialentity-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialparameters-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialrequestoptions-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialrpentity-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialtype-dev (= 0.3.28-1), librust-web-sys-0+publickeycredentialuserentity-dev (= 0.3.28-1), librust-web-sys-0+pushencryptionkeyname-dev (= 0.3.28-1), librust-web-sys-0+pushevent-dev (= 0.3.28-1), librust-web-sys-0+pusheventinit-dev (= 0.3.28-1), librust-web-sys-0+pushmanager-dev (= 0.3.28-1), librust-web-sys-0+pushmessagedata-dev (= 0.3.28-1), librust-web-sys-0+pushpermissionstate-dev (= 0.3.28-1), librust-web-sys-0+pushsubscription-dev (= 0.3.28-1), librust-web-sys-0+pushsubscriptioninit-dev (= 0.3.28-1), librust-web-sys-0+pushsubscriptionjson-dev (= 0.3.28-1), librust-web-sys-0+pushsubscriptionkeys-dev (= 0.3.28-1), librust-web-sys-0+pushsubscriptionoptions-dev (= 0.3.28-1), librust-web-sys-0+pushsubscriptionoptionsinit-dev (= 0.3.28-1), librust-web-sys-0+radionodelist-dev (= 0.3.28-1), librust-web-sys-0+range-dev (= 0.3.28-1), librust-web-sys-0+rcwnperfstats-dev (= 0.3.28-1), librust-web-sys-0+rcwnstatus-dev (= 0.3.28-1), librust-web-sys-0+readablestream-dev (= 0.3.28-1), librust-web-sys-0+recordingstate-dev (= 0.3.28-1), librust-web-sys-0+referrerpolicy-dev (= 0.3.28-1), librust-web-sys-0+registeredkey-dev (= 0.3.28-1), librust-web-sys-0+registerrequest-dev (= 0.3.28-1), librust-web-sys-0+registerresponse-dev (= 0.3.28-1), librust-web-sys-0+registrationoptions-dev (= 0.3.28-1), librust-web-sys-0+request-dev (= 0.3.28-1), librust-web-sys-0+requestcache-dev (= 0.3.28-1), librust-web-sys-0+requestcredentials-dev (= 0.3.28-1), librust-web-sys-0+requestdestination-dev (= 0.3.28-1), librust-web-sys-0+requestinit-dev (= 0.3.28-1), librust-web-sys-0+requestmediakeysystemaccessnotification-dev (= 0.3.28-1), librust-web-sys-0+requestmode-dev (= 0.3.28-1), librust-web-sys-0+requestredirect-dev (= 0.3.28-1), librust-web-sys-0+response-dev (= 0.3.28-1), librust-web-sys-0+responseinit-dev (= 0.3.28-1), librust-web-sys-0+responsetype-dev (= 0.3.28-1), librust-web-sys-0+rsahashedimportparams-dev (= 0.3.28-1), librust-web-sys-0+rsaoaepparams-dev (= 0.3.28-1), librust-web-sys-0+rsaotherprimesinfo-dev (= 0.3.28-1), librust-web-sys-0+rsapssparams-dev (= 0.3.28-1), librust-web-sys-0+rtcansweroptions-dev (= 0.3.28-1), librust-web-sys-0+rtcbundlepolicy-dev (= 0.3.28-1), librust-web-sys-0+rtccertificate-dev (= 0.3.28-1), librust-web-sys-0+rtccertificateexpiration-dev (= 0.3.28-1), librust-web-sys-0+rtccodecstats-dev (= 0.3.28-1), librust-web-sys-0+rtcconfiguration-dev (= 0.3.28-1), librust-web-sys-0+rtcdatachannel-dev (= 0.3.28-1), librust-web-sys-0+rtcdatachannelevent-dev (= 0.3.28-1), librust-web-sys-0+rtcdatachanneleventinit-dev (= 0.3.28-1), librust-web-sys-0+rtcdatachannelinit-dev (= 0.3.28-1), librust-web-sys-0+rtcdatachannelstate-dev (= 0.3.28-1), librust-web-sys-0+rtcdatachanneltype-dev (= 0.3.28-1), librust-web-sys-0+rtcdegradationpreference-dev (= 0.3.28-1), librust-web-sys-0+rtcdtmfsender-dev (= 0.3.28-1), librust-web-sys-0+rtcdtmftonechangeevent-dev (= 0.3.28-1), librust-web-sys-0+rtcdtmftonechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+rtcfecparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcicecandidate-dev (= 0.3.28-1), librust-web-sys-0+rtcicecandidateinit-dev (= 0.3.28-1), librust-web-sys-0+rtcicecandidatepairstats-dev (= 0.3.28-1), librust-web-sys-0+rtcicecandidatestats-dev (= 0.3.28-1), librust-web-sys-0+rtcicecomponentstats-dev (= 0.3.28-1), librust-web-sys-0+rtciceconnectionstate-dev (= 0.3.28-1), librust-web-sys-0+rtcicecredentialtype-dev (= 0.3.28-1), librust-web-sys-0+rtcicegatheringstate-dev (= 0.3.28-1), librust-web-sys-0+rtciceserver-dev (= 0.3.28-1), librust-web-sys-0+rtcicetransportpolicy-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityassertion-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityassertionresult-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityprovider-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityproviderdetails-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityprovideroptions-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityproviderregistrar-dev (= 0.3.28-1), librust-web-sys-0+rtcidentityvalidationresult-dev (= 0.3.28-1), librust-web-sys-0+rtcinboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0+rtclifecycleevent-dev (= 0.3.28-1), librust-web-sys-0+rtcmediastreamstats-dev (= 0.3.28-1), librust-web-sys-0+rtcmediastreamtrackstats-dev (= 0.3.28-1), librust-web-sys-0+rtcofferansweroptions-dev (= 0.3.28-1), librust-web-sys-0+rtcofferoptions-dev (= 0.3.28-1), librust-web-sys-0+rtcoutboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0+rtcpeerconnection-dev (= 0.3.28-1), librust-web-sys-0+rtcpeerconnectioniceevent-dev (= 0.3.28-1), librust-web-sys-0+rtcpeerconnectioniceeventinit-dev (= 0.3.28-1), librust-web-sys-0+rtcprioritytype-dev (= 0.3.28-1), librust-web-sys-0+rtcrtcpparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpcodecparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpcontributingsource-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpcontributingsourcestats-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpencodingparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpheaderextensionparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpreceiver-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpsender-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpsourceentry-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpsourceentrytype-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0+rtcrtpsynchronizationsource-dev (= 0.3.28-1), librust-web-sys-0+rtcrtptransceiver-dev (= 0.3.28-1), librust-web-sys-0+rtcrtptransceiverdirection-dev (= 0.3.28-1), librust-web-sys-0+rtcrtptransceiverinit-dev (= 0.3.28-1), librust-web-sys-0+rtcrtxparameters-dev (= 0.3.28-1), librust-web-sys-0+rtcsdptype-dev (= 0.3.28-1), librust-web-sys-0+rtcsessiondescription-dev (= 0.3.28-1), librust-web-sys-0+rtcsessiondescriptioninit-dev (= 0.3.28-1), librust-web-sys-0+rtcsignalingstate-dev (= 0.3.28-1), librust-web-sys-0+rtcstats-dev (= 0.3.28-1), librust-web-sys-0+rtcstatsicecandidatepairstate-dev (= 0.3.28-1), librust-web-sys-0+rtcstatsicecandidatetype-dev (= 0.3.28-1), librust-web-sys-0+rtcstatsreport-dev (= 0.3.28-1), librust-web-sys-0+rtcstatsreportinternal-dev (= 0.3.28-1), librust-web-sys-0+rtcstatstype-dev (= 0.3.28-1), librust-web-sys-0+rtctrackevent-dev (= 0.3.28-1), librust-web-sys-0+rtctrackeventinit-dev (= 0.3.28-1), librust-web-sys-0+rtctransportstats-dev (= 0.3.28-1), librust-web-sys-0+screen-dev (= 0.3.28-1), librust-web-sys-0+screencolorgamut-dev (= 0.3.28-1), librust-web-sys-0+screenluminance-dev (= 0.3.28-1), librust-web-sys-0+screenorientation-dev (= 0.3.28-1), librust-web-sys-0+scriptprocessornode-dev (= 0.3.28-1), librust-web-sys-0+scrollareaevent-dev (= 0.3.28-1), librust-web-sys-0+scrollbehavior-dev (= 0.3.28-1), librust-web-sys-0+scrollboxobject-dev (= 0.3.28-1), librust-web-sys-0+scrollintoviewoptions-dev (= 0.3.28-1), librust-web-sys-0+scrolllogicalposition-dev (= 0.3.28-1), librust-web-sys-0+scrolloptions-dev (= 0.3.28-1), librust-web-sys-0+scrollrestoration-dev (= 0.3.28-1), librust-web-sys-0+scrollsetting-dev (= 0.3.28-1), librust-web-sys-0+scrollstate-dev (= 0.3.28-1), librust-web-sys-0+scrolltooptions-dev (= 0.3.28-1), librust-web-sys-0+scrollviewchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+securitypolicyviolationevent-dev (= 0.3.28-1), librust-web-sys-0+securitypolicyviolationeventdisposition-dev (= 0.3.28-1), librust-web-sys-0+securitypolicyviolationeventinit-dev (= 0.3.28-1), librust-web-sys-0+selection-dev (= 0.3.28-1), librust-web-sys-0+serversocketoptions-dev (= 0.3.28-1), librust-web-sys-0+serviceworker-dev (= 0.3.28-1), librust-web-sys-0+serviceworkercontainer-dev (= 0.3.28-1), librust-web-sys-0+serviceworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0+serviceworkerregistration-dev (= 0.3.28-1), librust-web-sys-0+serviceworkerstate-dev (= 0.3.28-1), librust-web-sys-0+serviceworkerupdateviacache-dev (= 0.3.28-1), librust-web-sys-0+shadowroot-dev (= 0.3.28-1), librust-web-sys-0+shadowrootinit-dev (= 0.3.28-1), librust-web-sys-0+shadowrootmode-dev (= 0.3.28-1), librust-web-sys-0+sharedworker-dev (= 0.3.28-1), librust-web-sys-0+sharedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0+signresponse-dev (= 0.3.28-1), librust-web-sys-0+socketelement-dev (= 0.3.28-1), librust-web-sys-0+socketoptions-dev (= 0.3.28-1), librust-web-sys-0+socketreadystate-dev (= 0.3.28-1), librust-web-sys-0+socketsdict-dev (= 0.3.28-1), librust-web-sys-0+sourcebuffer-dev (= 0.3.28-1), librust-web-sys-0+sourcebufferappendmode-dev (= 0.3.28-1), librust-web-sys-0+sourcebufferlist-dev (= 0.3.28-1), librust-web-sys-0+speechgrammar-dev (= 0.3.28-1), librust-web-sys-0+speechgrammarlist-dev (= 0.3.28-1), librust-web-sys-0+speechrecognition-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionalternative-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionerror-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionerrorcode-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionerrorinit-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionevent-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitioneventinit-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionresult-dev (= 0.3.28-1), librust-web-sys-0+speechrecognitionresultlist-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesis-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesiserrorcode-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesiserrorevent-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesiserroreventinit-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesisevent-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesiseventinit-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesisutterance-dev (= 0.3.28-1), librust-web-sys-0+speechsynthesisvoice-dev (= 0.3.28-1), librust-web-sys-0+stereopannernode-dev (= 0.3.28-1), librust-web-sys-0+stereopanneroptions-dev (= 0.3.28-1), librust-web-sys-0+storage-dev (= 0.3.28-1), librust-web-sys-0+storageestimate-dev (= 0.3.28-1), librust-web-sys-0+storageevent-dev (= 0.3.28-1), librust-web-sys-0+storageeventinit-dev (= 0.3.28-1), librust-web-sys-0+storagemanager-dev (= 0.3.28-1), librust-web-sys-0+storagetype-dev (= 0.3.28-1), librust-web-sys-0+stylerulechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+stylesheet-dev (= 0.3.28-1), librust-web-sys-0+stylesheetapplicablestatechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+stylesheetchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0+stylesheetlist-dev (= 0.3.28-1), librust-web-sys-0+subtlecrypto-dev (= 0.3.28-1), librust-web-sys-0+supportedtype-dev (= 0.3.28-1), librust-web-sys-0+svgaelement-dev (= 0.3.28-1), librust-web-sys-0+svgangle-dev (= 0.3.28-1), librust-web-sys-0+svganimatedangle-dev (= 0.3.28-1), librust-web-sys-0+svganimatedboolean-dev (= 0.3.28-1), librust-web-sys-0+svganimatedenumeration-dev (= 0.3.28-1), librust-web-sys-0+svganimatedinteger-dev (= 0.3.28-1), librust-web-sys-0+svganimatedlength-dev (= 0.3.28-1), librust-web-sys-0+svganimatedlengthlist-dev (= 0.3.28-1), librust-web-sys-0+svganimatednumber-dev (= 0.3.28-1), librust-web-sys-0+svganimatednumberlist-dev (= 0.3.28-1), librust-web-sys-0+svganimatedpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys-0+svganimatedrect-dev (= 0.3.28-1), librust-web-sys-0+svganimatedstring-dev (= 0.3.28-1), librust-web-sys-0+svganimatedtransformlist-dev (= 0.3.28-1), librust-web-sys-0+svganimateelement-dev (= 0.3.28-1), librust-web-sys-0+svganimatemotionelement-dev (= 0.3.28-1), librust-web-sys-0+svganimatetransformelement-dev (= 0.3.28-1), librust-web-sys-0+svganimationelement-dev (= 0.3.28-1), librust-web-sys-0+svgboundingboxoptions-dev (= 0.3.28-1), librust-web-sys-0+svgcircleelement-dev (= 0.3.28-1), librust-web-sys-0+svgclippathelement-dev (= 0.3.28-1), librust-web-sys-0+svgcomponenttransferfunctionelement-dev (= 0.3.28-1), librust-web-sys-0+svgdefselement-dev (= 0.3.28-1), librust-web-sys-0+svgdescelement-dev (= 0.3.28-1), librust-web-sys-0+svgelement-dev (= 0.3.28-1), librust-web-sys-0+svgellipseelement-dev (= 0.3.28-1), librust-web-sys-0+svgfeblendelement-dev (= 0.3.28-1), librust-web-sys-0+svgfecolormatrixelement-dev (= 0.3.28-1), librust-web-sys-0+svgfecomponenttransferelement-dev (= 0.3.28-1), librust-web-sys-0+svgfecompositeelement-dev (= 0.3.28-1), librust-web-sys-0+svgfeconvolvematrixelement-dev (= 0.3.28-1), librust-web-sys-0+svgfediffuselightingelement-dev (= 0.3.28-1), librust-web-sys-0+svgfedisplacementmapelement-dev (= 0.3.28-1), librust-web-sys-0+svgfedistantlightelement-dev (= 0.3.28-1), librust-web-sys-0+svgfedropshadowelement-dev (= 0.3.28-1), librust-web-sys-0+svgfefloodelement-dev (= 0.3.28-1), librust-web-sys-0+svgfefuncaelement-dev (= 0.3.28-1), librust-web-sys-0+svgfefuncbelement-dev (= 0.3.28-1), librust-web-sys-0+svgfefuncgelement-dev (= 0.3.28-1), librust-web-sys-0+svgfefuncrelement-dev (= 0.3.28-1), librust-web-sys-0+svgfegaussianblurelement-dev (= 0.3.28-1), librust-web-sys-0+svgfeimageelement-dev (= 0.3.28-1), librust-web-sys-0+svgfemergeelement-dev (= 0.3.28-1), librust-web-sys-0+svgfemergenodeelement-dev (= 0.3.28-1), librust-web-sys-0+svgfemorphologyelement-dev (= 0.3.28-1), librust-web-sys-0+svgfeoffsetelement-dev (= 0.3.28-1), librust-web-sys-0+svgfepointlightelement-dev (= 0.3.28-1), librust-web-sys-0+svgfespecularlightingelement-dev (= 0.3.28-1), librust-web-sys-0+svgfespotlightelement-dev (= 0.3.28-1), librust-web-sys-0+svgfetileelement-dev (= 0.3.28-1), librust-web-sys-0+svgfeturbulenceelement-dev (= 0.3.28-1), librust-web-sys-0+svgfilterelement-dev (= 0.3.28-1), librust-web-sys-0+svgforeignobjectelement-dev (= 0.3.28-1), librust-web-sys-0+svggelement-dev (= 0.3.28-1), librust-web-sys-0+svggeometryelement-dev (= 0.3.28-1), librust-web-sys-0+svggradientelement-dev (= 0.3.28-1), librust-web-sys-0+svggraphicselement-dev (= 0.3.28-1), librust-web-sys-0+svgimageelement-dev (= 0.3.28-1), librust-web-sys-0+svglength-dev (= 0.3.28-1), librust-web-sys-0+svglengthlist-dev (= 0.3.28-1), librust-web-sys-0+svglineargradientelement-dev (= 0.3.28-1), librust-web-sys-0+svglineelement-dev (= 0.3.28-1), librust-web-sys-0+svgmarkerelement-dev (= 0.3.28-1), librust-web-sys-0+svgmaskelement-dev (= 0.3.28-1), librust-web-sys-0+svgmatrix-dev (= 0.3.28-1), librust-web-sys-0+svgmetadataelement-dev (= 0.3.28-1), librust-web-sys-0+svgmpathelement-dev (= 0.3.28-1), librust-web-sys-0+svgnumber-dev (= 0.3.28-1), librust-web-sys-0+svgnumberlist-dev (= 0.3.28-1), librust-web-sys-0+svgpathelement-dev (= 0.3.28-1), librust-web-sys-0+svgpathseg-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegarcabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegarcrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegclosepath-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetocubicabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetocubicrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetocubicsmoothabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetocubicsmoothrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetoquadraticabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetoquadraticrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetoquadraticsmoothabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegcurvetoquadraticsmoothrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglinetoabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglinetohorizontalabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglinetohorizontalrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglinetorel-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglinetoverticalabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglinetoverticalrel-dev (= 0.3.28-1), librust-web-sys-0+svgpathseglist-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegmovetoabs-dev (= 0.3.28-1), librust-web-sys-0+svgpathsegmovetorel-dev (= 0.3.28-1), librust-web-sys-0+svgpatternelement-dev (= 0.3.28-1), librust-web-sys-0+svgpoint-dev (= 0.3.28-1), librust-web-sys-0+svgpointlist-dev (= 0.3.28-1), librust-web-sys-0+svgpolygonelement-dev (= 0.3.28-1), librust-web-sys-0+svgpolylineelement-dev (= 0.3.28-1), librust-web-sys-0+svgpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys-0+svgradialgradientelement-dev (= 0.3.28-1), librust-web-sys-0+svgrect-dev (= 0.3.28-1), librust-web-sys-0+svgrectelement-dev (= 0.3.28-1), librust-web-sys-0+svgscriptelement-dev (= 0.3.28-1), librust-web-sys-0+svgsetelement-dev (= 0.3.28-1), librust-web-sys-0+svgstopelement-dev (= 0.3.28-1), librust-web-sys-0+svgstringlist-dev (= 0.3.28-1), librust-web-sys-0+svgstyleelement-dev (= 0.3.28-1), librust-web-sys-0+svgsvgelement-dev (= 0.3.28-1), librust-web-sys-0+svgswitchelement-dev (= 0.3.28-1), librust-web-sys-0+svgsymbolelement-dev (= 0.3.28-1), librust-web-sys-0+svgtextcontentelement-dev (= 0.3.28-1), librust-web-sys-0+svgtextelement-dev (= 0.3.28-1), librust-web-sys-0+svgtextpathelement-dev (= 0.3.28-1), librust-web-sys-0+svgtextpositioningelement-dev (= 0.3.28-1), librust-web-sys-0+svgtitleelement-dev (= 0.3.28-1), librust-web-sys-0+svgtransform-dev (= 0.3.28-1), librust-web-sys-0+svgtransformlist-dev (= 0.3.28-1), librust-web-sys-0+svgtspanelement-dev (= 0.3.28-1), librust-web-sys-0+svgunittypes-dev (= 0.3.28-1), librust-web-sys-0+svguseelement-dev (= 0.3.28-1), librust-web-sys-0+svgviewelement-dev (= 0.3.28-1), librust-web-sys-0+svgzoomandpan-dev (= 0.3.28-1), librust-web-sys-0+tcpreadystate-dev (= 0.3.28-1), librust-web-sys-0+tcpserversocket-dev (= 0.3.28-1), librust-web-sys-0+tcpserversocketevent-dev (= 0.3.28-1), librust-web-sys-0+tcpserversocketeventinit-dev (= 0.3.28-1), librust-web-sys-0+tcpsocket-dev (= 0.3.28-1), librust-web-sys-0+tcpsocketbinarytype-dev (= 0.3.28-1), librust-web-sys-0+tcpsocketerrorevent-dev (= 0.3.28-1), librust-web-sys-0+tcpsocketerroreventinit-dev (= 0.3.28-1), librust-web-sys-0+tcpsocketevent-dev (= 0.3.28-1), librust-web-sys-0+tcpsocketeventinit-dev (= 0.3.28-1), librust-web-sys-0+text-dev (= 0.3.28-1), librust-web-sys-0+textdecodeoptions-dev (= 0.3.28-1), librust-web-sys-0+textdecoder-dev (= 0.3.28-1), librust-web-sys-0+textdecoderoptions-dev (= 0.3.28-1), librust-web-sys-0+textencoder-dev (= 0.3.28-1), librust-web-sys-0+textmetrics-dev (= 0.3.28-1), librust-web-sys-0+texttrack-dev (= 0.3.28-1), librust-web-sys-0+texttrackcue-dev (= 0.3.28-1), librust-web-sys-0+texttrackcuelist-dev (= 0.3.28-1), librust-web-sys-0+texttrackkind-dev (= 0.3.28-1), librust-web-sys-0+texttracklist-dev (= 0.3.28-1), librust-web-sys-0+texttrackmode-dev (= 0.3.28-1), librust-web-sys-0+timeevent-dev (= 0.3.28-1), librust-web-sys-0+timeranges-dev (= 0.3.28-1), librust-web-sys-0+touch-dev (= 0.3.28-1), librust-web-sys-0+touchevent-dev (= 0.3.28-1), librust-web-sys-0+toucheventinit-dev (= 0.3.28-1), librust-web-sys-0+touchinit-dev (= 0.3.28-1), librust-web-sys-0+touchlist-dev (= 0.3.28-1), librust-web-sys-0+trackevent-dev (= 0.3.28-1), librust-web-sys-0+trackeventinit-dev (= 0.3.28-1), librust-web-sys-0+transitionevent-dev (= 0.3.28-1), librust-web-sys-0+transitioneventinit-dev (= 0.3.28-1), librust-web-sys-0+transport-dev (= 0.3.28-1), librust-web-sys-0+treeboxobject-dev (= 0.3.28-1), librust-web-sys-0+treecellinfo-dev (= 0.3.28-1), librust-web-sys-0+treeview-dev (= 0.3.28-1), librust-web-sys-0+treewalker-dev (= 0.3.28-1), librust-web-sys-0+u2f-dev (= 0.3.28-1), librust-web-sys-0+u2fclientdata-dev (= 0.3.28-1), librust-web-sys-0+udpmessageeventinit-dev (= 0.3.28-1), librust-web-sys-0+udpoptions-dev (= 0.3.28-1), librust-web-sys-0+uievent-dev (= 0.3.28-1), librust-web-sys-0+uieventinit-dev (= 0.3.28-1), librust-web-sys-0+url-dev (= 0.3.28-1), librust-web-sys-0+urlsearchparams-dev (= 0.3.28-1), librust-web-sys-0+userproximityevent-dev (= 0.3.28-1), librust-web-sys-0+userproximityeventinit-dev (= 0.3.28-1), librust-web-sys-0+userverificationrequirement-dev (= 0.3.28-1), librust-web-sys-0+validitystate-dev (= 0.3.28-1), librust-web-sys-0+videoconfiguration-dev (= 0.3.28-1), librust-web-sys-0+videofacingmodeenum-dev (= 0.3.28-1), librust-web-sys-0+videoplaybackquality-dev (= 0.3.28-1), librust-web-sys-0+videostreamtrack-dev (= 0.3.28-1), librust-web-sys-0+videotrack-dev (= 0.3.28-1), librust-web-sys-0+videotracklist-dev (= 0.3.28-1), librust-web-sys-0+visibilitystate-dev (= 0.3.28-1), librust-web-sys-0+voidcallback-dev (= 0.3.28-1), librust-web-sys-0+vrdisplay-dev (= 0.3.28-1), librust-web-sys-0+vrdisplaycapabilities-dev (= 0.3.28-1), librust-web-sys-0+vreye-dev (= 0.3.28-1), librust-web-sys-0+vreyeparameters-dev (= 0.3.28-1), librust-web-sys-0+vrfieldofview-dev (= 0.3.28-1), librust-web-sys-0+vrframedata-dev (= 0.3.28-1), librust-web-sys-0+vrlayer-dev (= 0.3.28-1), librust-web-sys-0+vrmockcontroller-dev (= 0.3.28-1), librust-web-sys-0+vrmockdisplay-dev (= 0.3.28-1), librust-web-sys-0+vrpose-dev (= 0.3.28-1), librust-web-sys-0+vrservicetest-dev (= 0.3.28-1), librust-web-sys-0+vrstageparameters-dev (= 0.3.28-1), librust-web-sys-0+vrsubmitframeresult-dev (= 0.3.28-1), librust-web-sys-0+vttcue-dev (= 0.3.28-1), librust-web-sys-0+vttregion-dev (= 0.3.28-1), librust-web-sys-0+waveshapernode-dev (= 0.3.28-1), librust-web-sys-0+waveshaperoptions-dev (= 0.3.28-1), librust-web-sys-0+webgl2renderingcontext-dev (= 0.3.28-1), librust-web-sys-0+webglactiveinfo-dev (= 0.3.28-1), librust-web-sys-0+webglbuffer-dev (= 0.3.28-1), librust-web-sys-0+webglcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtextureastc-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtextureatc-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtextureetc-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtextureetc1-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtexturepvrtc-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtextures3tc-dev (= 0.3.28-1), librust-web-sys-0+webglcompressedtextures3tcsrgb-dev (= 0.3.28-1), librust-web-sys-0+webglcontextattributes-dev (= 0.3.28-1), librust-web-sys-0+webglcontextevent-dev (= 0.3.28-1), librust-web-sys-0+webglcontexteventinit-dev (= 0.3.28-1), librust-web-sys-0+webgldebugrendererinfo-dev (= 0.3.28-1), librust-web-sys-0+webgldebugshaders-dev (= 0.3.28-1), librust-web-sys-0+webgldepthtexture-dev (= 0.3.28-1), librust-web-sys-0+webgldrawbuffers-dev (= 0.3.28-1), librust-web-sys-0+webglframebuffer-dev (= 0.3.28-1), librust-web-sys-0+webgllosecontext-dev (= 0.3.28-1), librust-web-sys-0+webglpowerpreference-dev (= 0.3.28-1), librust-web-sys-0+webglprogram-dev (= 0.3.28-1), librust-web-sys-0+webglquery-dev (= 0.3.28-1), librust-web-sys-0+webglrenderbuffer-dev (= 0.3.28-1), librust-web-sys-0+webglrenderingcontext-dev (= 0.3.28-1), librust-web-sys-0+webglsampler-dev (= 0.3.28-1), librust-web-sys-0+webglshader-dev (= 0.3.28-1), librust-web-sys-0+webglshaderprecisionformat-dev (= 0.3.28-1), librust-web-sys-0+webglsync-dev (= 0.3.28-1), librust-web-sys-0+webgltexture-dev (= 0.3.28-1), librust-web-sys-0+webgltransformfeedback-dev (= 0.3.28-1), librust-web-sys-0+webgluniformlocation-dev (= 0.3.28-1), librust-web-sys-0+webglvertexarrayobject-dev (= 0.3.28-1), librust-web-sys-0+webgpu-dev (= 0.3.28-1), librust-web-sys-0+webgpuadapter-dev (= 0.3.28-1), librust-web-sys-0+webgpuadapterdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpuattachmentstate-dev (= 0.3.28-1), librust-web-sys-0+webgpuattachmentstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpubindgroup-dev (= 0.3.28-1), librust-web-sys-0+webgpubindgroupbinding-dev (= 0.3.28-1), librust-web-sys-0+webgpubindgroupdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpubindgrouplayout-dev (= 0.3.28-1), librust-web-sys-0+webgpubindgrouplayoutdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpubinding-dev (= 0.3.28-1), librust-web-sys-0+webgpubindingtype-dev (= 0.3.28-1), librust-web-sys-0+webgpublenddescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpublendfactor-dev (= 0.3.28-1), librust-web-sys-0+webgpublendoperation-dev (= 0.3.28-1), librust-web-sys-0+webgpublendstate-dev (= 0.3.28-1), librust-web-sys-0+webgpublendstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpubuffer-dev (= 0.3.28-1), librust-web-sys-0+webgpubufferbinding-dev (= 0.3.28-1), librust-web-sys-0+webgpubufferdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpubufferusage-dev (= 0.3.28-1), librust-web-sys-0+webgpucolorwritebits-dev (= 0.3.28-1), librust-web-sys-0+webgpucommandbuffer-dev (= 0.3.28-1), librust-web-sys-0+webgpucommandencoder-dev (= 0.3.28-1), librust-web-sys-0+webgpucommandencoderdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpucomparefunction-dev (= 0.3.28-1), librust-web-sys-0+webgpucomputepipeline-dev (= 0.3.28-1), librust-web-sys-0+webgpucomputepipelinedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpudepthstencilstate-dev (= 0.3.28-1), librust-web-sys-0+webgpudepthstencilstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpudevice-dev (= 0.3.28-1), librust-web-sys-0+webgpudevicedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpuextensions-dev (= 0.3.28-1), librust-web-sys-0+webgpufence-dev (= 0.3.28-1), librust-web-sys-0+webgpufiltermode-dev (= 0.3.28-1), librust-web-sys-0+webgpuindexformat-dev (= 0.3.28-1), librust-web-sys-0+webgpuinputstate-dev (= 0.3.28-1), librust-web-sys-0+webgpuinputstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpuinputstepmode-dev (= 0.3.28-1), librust-web-sys-0+webgpulimits-dev (= 0.3.28-1), librust-web-sys-0+webgpuloadop-dev (= 0.3.28-1), librust-web-sys-0+webgpulogentry-dev (= 0.3.28-1), librust-web-sys-0+webgpulogentrytype-dev (= 0.3.28-1), librust-web-sys-0+webgpuobjectstatus-dev (= 0.3.28-1), librust-web-sys-0+webgpupipelinedescriptorbase-dev (= 0.3.28-1), librust-web-sys-0+webgpupipelinelayout-dev (= 0.3.28-1), librust-web-sys-0+webgpupipelinelayoutdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpupipelinestagedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpupowerpreference-dev (= 0.3.28-1), librust-web-sys-0+webgpuprimitivetopology-dev (= 0.3.28-1), librust-web-sys-0+webgpuqueue-dev (= 0.3.28-1), librust-web-sys-0+webgpurenderpassattachmentdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpurenderpassdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpurenderpipeline-dev (= 0.3.28-1), librust-web-sys-0+webgpurenderpipelinedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpusampler-dev (= 0.3.28-1), librust-web-sys-0+webgpusamplerdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpushadermodule-dev (= 0.3.28-1), librust-web-sys-0+webgpushadermoduledescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpushaderstage-dev (= 0.3.28-1), librust-web-sys-0+webgpushaderstagebit-dev (= 0.3.28-1), librust-web-sys-0+webgpustenciloperation-dev (= 0.3.28-1), librust-web-sys-0+webgpustencilstatefacedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpustoreop-dev (= 0.3.28-1), librust-web-sys-0+webgpuswapchain-dev (= 0.3.28-1), librust-web-sys-0+webgpuswapchaindescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgputexture-dev (= 0.3.28-1), librust-web-sys-0+webgputexturedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgputexturedimension-dev (= 0.3.28-1), librust-web-sys-0+webgputextureformat-dev (= 0.3.28-1), librust-web-sys-0+webgputextureusage-dev (= 0.3.28-1), librust-web-sys-0+webgputextureview-dev (= 0.3.28-1), librust-web-sys-0+webgputextureviewdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpuvertexattributedescriptor-dev (= 0.3.28-1), librust-web-sys-0+webgpuvertexformat-dev (= 0.3.28-1), librust-web-sys-0+webgpuvertexinputdescriptor-dev (= 0.3.28-1), librust-web-sys-0+webkitcssmatrix-dev (= 0.3.28-1), librust-web-sys-0+webrtcglobalstatisticsreport-dev (= 0.3.28-1), librust-web-sys-0+websocket-dev (= 0.3.28-1), librust-web-sys-0+websocketdict-dev (= 0.3.28-1), librust-web-sys-0+websocketelement-dev (= 0.3.28-1), librust-web-sys-0+wheelevent-dev (= 0.3.28-1), librust-web-sys-0+wheeleventinit-dev (= 0.3.28-1), librust-web-sys-0+widevinecdmmanifest-dev (= 0.3.28-1), librust-web-sys-0+window-dev (= 0.3.28-1), librust-web-sys-0+windowclient-dev (= 0.3.28-1), librust-web-sys-0+worker-dev (= 0.3.28-1), librust-web-sys-0+workerdebuggerglobalscope-dev (= 0.3.28-1), librust-web-sys-0+workerglobalscope-dev (= 0.3.28-1), librust-web-sys-0+workerlocation-dev (= 0.3.28-1), librust-web-sys-0+workernavigator-dev (= 0.3.28-1), librust-web-sys-0+workeroptions-dev (= 0.3.28-1), librust-web-sys-0+worklet-dev (= 0.3.28-1), librust-web-sys-0+workletglobalscope-dev (= 0.3.28-1), librust-web-sys-0+xmldocument-dev (= 0.3.28-1), librust-web-sys-0+xmlhttprequest-dev (= 0.3.28-1), librust-web-sys-0+xmlhttprequesteventtarget-dev (= 0.3.28-1), librust-web-sys-0+xmlhttprequestresponsetype-dev (= 0.3.28-1), librust-web-sys-0+xmlhttprequestupload-dev (= 0.3.28-1), librust-web-sys-0+xmlserializer-dev (= 0.3.28-1), librust-web-sys-0+xpathexpression-dev (= 0.3.28-1), librust-web-sys-0+xpathnsresolver-dev (= 0.3.28-1), librust-web-sys-0+xpathresult-dev (= 0.3.28-1), librust-web-sys-0+xsltprocessor-dev (= 0.3.28-1), librust-web-sys-0-dev (= 0.3.28-1), librust-web-sys-0.3+abortcontroller-dev (= 0.3.28-1), librust-web-sys-0.3+abortsignal-dev (= 0.3.28-1), librust-web-sys-0.3+addeventlisteneroptions-dev (= 0.3.28-1), librust-web-sys-0.3+aescbcparams-dev (= 0.3.28-1), librust-web-sys-0.3+aesctrparams-dev (= 0.3.28-1), librust-web-sys-0.3+aesderivedkeyparams-dev (= 0.3.28-1), librust-web-sys-0.3+aesgcmparams-dev (= 0.3.28-1), librust-web-sys-0.3+aeskeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3+aeskeygenparams-dev (= 0.3.28-1), librust-web-sys-0.3+algorithm-dev (= 0.3.28-1), librust-web-sys-0.3+alignsetting-dev (= 0.3.28-1), librust-web-sys-0.3+analysernode-dev (= 0.3.28-1), librust-web-sys-0.3+analyseroptions-dev (= 0.3.28-1), librust-web-sys-0.3+angleinstancedarrays-dev (= 0.3.28-1), librust-web-sys-0.3+animation-dev (= 0.3.28-1), librust-web-sys-0.3+animationeffect-dev (= 0.3.28-1), librust-web-sys-0.3+animationevent-dev (= 0.3.28-1), librust-web-sys-0.3+animationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+animationplaybackevent-dev (= 0.3.28-1), librust-web-sys-0.3+animationplaybackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+animationplaystate-dev (= 0.3.28-1), librust-web-sys-0.3+animationpropertydetails-dev (= 0.3.28-1), librust-web-sys-0.3+animationpropertyvaluedetails-dev (= 0.3.28-1), librust-web-sys-0.3+animationtimeline-dev (= 0.3.28-1), librust-web-sys-0.3+assignednodesoptions-dev (= 0.3.28-1), librust-web-sys-0.3+attestationconveyancepreference-dev (= 0.3.28-1), librust-web-sys-0.3+attr-dev (= 0.3.28-1), librust-web-sys-0.3+attributenamevalue-dev (= 0.3.28-1), librust-web-sys-0.3+audiobuffer-dev (= 0.3.28-1), librust-web-sys-0.3+audiobufferoptions-dev (= 0.3.28-1), librust-web-sys-0.3+audiobuffersourcenode-dev (= 0.3.28-1), librust-web-sys-0.3+audiobuffersourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3+audioconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+audiocontext-dev (= 0.3.28-1), librust-web-sys-0.3+audiocontextoptions-dev (= 0.3.28-1), librust-web-sys-0.3+audiocontextstate-dev (= 0.3.28-1), librust-web-sys-0.3+audiodestinationnode-dev (= 0.3.28-1), librust-web-sys-0.3+audiolistener-dev (= 0.3.28-1), librust-web-sys-0.3+audionode-dev (= 0.3.28-1), librust-web-sys-0.3+audionodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3+audioparam-dev (= 0.3.28-1), librust-web-sys-0.3+audioparammap-dev (= 0.3.28-1), librust-web-sys-0.3+audioprocessingevent-dev (= 0.3.28-1), librust-web-sys-0.3+audioscheduledsourcenode-dev (= 0.3.28-1), librust-web-sys-0.3+audiostreamtrack-dev (= 0.3.28-1), librust-web-sys-0.3+audiotrack-dev (= 0.3.28-1), librust-web-sys-0.3+audiotracklist-dev (= 0.3.28-1), librust-web-sys-0.3+audioworklet-dev (= 0.3.28-1), librust-web-sys-0.3+audioworkletglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+audioworkletnode-dev (= 0.3.28-1), librust-web-sys-0.3+audioworkletnodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3+audioworkletprocessor-dev (= 0.3.28-1), librust-web-sys-0.3+authenticationextensionsclientinputs-dev (= 0.3.28-1), librust-web-sys-0.3+authenticationextensionsclientoutputs-dev (= 0.3.28-1), librust-web-sys-0.3+authenticatorassertionresponse-dev (= 0.3.28-1), librust-web-sys-0.3+authenticatorattachment-dev (= 0.3.28-1), librust-web-sys-0.3+authenticatorattestationresponse-dev (= 0.3.28-1), librust-web-sys-0.3+authenticatorresponse-dev (= 0.3.28-1), librust-web-sys-0.3+authenticatorselectioncriteria-dev (= 0.3.28-1), librust-web-sys-0.3+authenticatortransport-dev (= 0.3.28-1), librust-web-sys-0.3+autocompleteinfo-dev (= 0.3.28-1), librust-web-sys-0.3+autokeyword-dev (= 0.3.28-1), librust-web-sys-0.3+barprop-dev (= 0.3.28-1), librust-web-sys-0.3+baseaudiocontext-dev (= 0.3.28-1), librust-web-sys-0.3+basecomputedkeyframe-dev (= 0.3.28-1), librust-web-sys-0.3+basekeyframe-dev (= 0.3.28-1), librust-web-sys-0.3+basepropertyindexedkeyframe-dev (= 0.3.28-1), librust-web-sys-0.3+basiccardrequest-dev (= 0.3.28-1), librust-web-sys-0.3+basiccardresponse-dev (= 0.3.28-1), librust-web-sys-0.3+basiccardtype-dev (= 0.3.28-1), librust-web-sys-0.3+batterymanager-dev (= 0.3.28-1), librust-web-sys-0.3+beforeunloadevent-dev (= 0.3.28-1), librust-web-sys-0.3+binarytype-dev (= 0.3.28-1), librust-web-sys-0.3+biquadfilternode-dev (= 0.3.28-1), librust-web-sys-0.3+biquadfilteroptions-dev (= 0.3.28-1), librust-web-sys-0.3+biquadfiltertype-dev (= 0.3.28-1), librust-web-sys-0.3+blob-dev (= 0.3.28-1), librust-web-sys-0.3+blobevent-dev (= 0.3.28-1), librust-web-sys-0.3+blobeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+blobpropertybag-dev (= 0.3.28-1), librust-web-sys-0.3+blockparsingoptions-dev (= 0.3.28-1), librust-web-sys-0.3+boxquadoptions-dev (= 0.3.28-1), librust-web-sys-0.3+broadcastchannel-dev (= 0.3.28-1), librust-web-sys-0.3+browserelementdownloadoptions-dev (= 0.3.28-1), librust-web-sys-0.3+browserelementexecutescriptoptions-dev (= 0.3.28-1), librust-web-sys-0.3+browserfeedwriter-dev (= 0.3.28-1), librust-web-sys-0.3+browserfindcasesensitivity-dev (= 0.3.28-1), librust-web-sys-0.3+browserfinddirection-dev (= 0.3.28-1), librust-web-sys-0.3+cache-dev (= 0.3.28-1), librust-web-sys-0.3+cachebatchoperation-dev (= 0.3.28-1), librust-web-sys-0.3+cachequeryoptions-dev (= 0.3.28-1), librust-web-sys-0.3+cachestorage-dev (= 0.3.28-1), librust-web-sys-0.3+cachestoragenamespace-dev (= 0.3.28-1), librust-web-sys-0.3+canvascapturemediastream-dev (= 0.3.28-1), librust-web-sys-0.3+canvasgradient-dev (= 0.3.28-1), librust-web-sys-0.3+canvaspattern-dev (= 0.3.28-1), librust-web-sys-0.3+canvasrenderingcontext2d-dev (= 0.3.28-1), librust-web-sys-0.3+canvaswindingrule-dev (= 0.3.28-1), librust-web-sys-0.3+caretchangedreason-dev (= 0.3.28-1), librust-web-sys-0.3+caretposition-dev (= 0.3.28-1), librust-web-sys-0.3+caretstatechangedeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+cdatasection-dev (= 0.3.28-1), librust-web-sys-0.3+channelcountmode-dev (= 0.3.28-1), librust-web-sys-0.3+channelinterpretation-dev (= 0.3.28-1), librust-web-sys-0.3+channelmergernode-dev (= 0.3.28-1), librust-web-sys-0.3+channelmergeroptions-dev (= 0.3.28-1), librust-web-sys-0.3+channelpixellayout-dev (= 0.3.28-1), librust-web-sys-0.3+channelpixellayoutdatatype-dev (= 0.3.28-1), librust-web-sys-0.3+channelsplitternode-dev (= 0.3.28-1), librust-web-sys-0.3+channelsplitteroptions-dev (= 0.3.28-1), librust-web-sys-0.3+characterdata-dev (= 0.3.28-1), librust-web-sys-0.3+checkerboardreason-dev (= 0.3.28-1), librust-web-sys-0.3+checkerboardreport-dev (= 0.3.28-1), librust-web-sys-0.3+checkerboardreportservice-dev (= 0.3.28-1), librust-web-sys-0.3+chromefilepropertybag-dev (= 0.3.28-1), librust-web-sys-0.3+chromeworker-dev (= 0.3.28-1), librust-web-sys-0.3+client-dev (= 0.3.28-1), librust-web-sys-0.3+clientqueryoptions-dev (= 0.3.28-1), librust-web-sys-0.3+clientrectsandtexts-dev (= 0.3.28-1), librust-web-sys-0.3+clients-dev (= 0.3.28-1), librust-web-sys-0.3+clienttype-dev (= 0.3.28-1), librust-web-sys-0.3+clipboardevent-dev (= 0.3.28-1), librust-web-sys-0.3+clipboardeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+closeevent-dev (= 0.3.28-1), librust-web-sys-0.3+closeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+collectedclientdata-dev (= 0.3.28-1), librust-web-sys-0.3+comment-dev (= 0.3.28-1), librust-web-sys-0.3+compositeoperation-dev (= 0.3.28-1), librust-web-sys-0.3+compositionevent-dev (= 0.3.28-1), librust-web-sys-0.3+compositioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+computedeffecttiming-dev (= 0.3.28-1), librust-web-sys-0.3+connectiontype-dev (= 0.3.28-1), librust-web-sys-0.3+connstatusdict-dev (= 0.3.28-1), librust-web-sys-0.3+console-dev (= 0.3.28-1), librust-web-sys-0.3+consolecounter-dev (= 0.3.28-1), librust-web-sys-0.3+consolecountererror-dev (= 0.3.28-1), librust-web-sys-0.3+consoleevent-dev (= 0.3.28-1), librust-web-sys-0.3+consoleinstance-dev (= 0.3.28-1), librust-web-sys-0.3+consoleinstanceoptions-dev (= 0.3.28-1), librust-web-sys-0.3+consolelevel-dev (= 0.3.28-1), librust-web-sys-0.3+consoleloglevel-dev (= 0.3.28-1), librust-web-sys-0.3+consoleprofileevent-dev (= 0.3.28-1), librust-web-sys-0.3+consolestackentry-dev (= 0.3.28-1), librust-web-sys-0.3+consoletimererror-dev (= 0.3.28-1), librust-web-sys-0.3+consoletimerlogorend-dev (= 0.3.28-1), librust-web-sys-0.3+consoletimerstart-dev (= 0.3.28-1), librust-web-sys-0.3+constantsourcenode-dev (= 0.3.28-1), librust-web-sys-0.3+constantsourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3+constrainbooleanparameters-dev (= 0.3.28-1), librust-web-sys-0.3+constraindomstringparameters-dev (= 0.3.28-1), librust-web-sys-0.3+constraindoublerange-dev (= 0.3.28-1), librust-web-sys-0.3+constrainlongrange-dev (= 0.3.28-1), librust-web-sys-0.3+contextattributes2d-dev (= 0.3.28-1), librust-web-sys-0.3+convertcoordinateoptions-dev (= 0.3.28-1), librust-web-sys-0.3+convolvernode-dev (= 0.3.28-1), librust-web-sys-0.3+convolveroptions-dev (= 0.3.28-1), librust-web-sys-0.3+coordinates-dev (= 0.3.28-1), librust-web-sys-0.3+credential-dev (= 0.3.28-1), librust-web-sys-0.3+credentialcreationoptions-dev (= 0.3.28-1), librust-web-sys-0.3+credentialrequestoptions-dev (= 0.3.28-1), librust-web-sys-0.3+credentialscontainer-dev (= 0.3.28-1), librust-web-sys-0.3+crypto-dev (= 0.3.28-1), librust-web-sys-0.3+cryptokey-dev (= 0.3.28-1), librust-web-sys-0.3+cryptokeypair-dev (= 0.3.28-1), librust-web-sys-0.3+csp-dev (= 0.3.28-1), librust-web-sys-0.3+csppolicies-dev (= 0.3.28-1), librust-web-sys-0.3+cspreport-dev (= 0.3.28-1), librust-web-sys-0.3+cspreportproperties-dev (= 0.3.28-1), librust-web-sys-0.3+css-dev (= 0.3.28-1), librust-web-sys-0.3+cssanimation-dev (= 0.3.28-1), librust-web-sys-0.3+cssboxtype-dev (= 0.3.28-1), librust-web-sys-0.3+cssconditionrule-dev (= 0.3.28-1), librust-web-sys-0.3+csscounterstylerule-dev (= 0.3.28-1), librust-web-sys-0.3+cssfontfacerule-dev (= 0.3.28-1), librust-web-sys-0.3+cssfontfeaturevaluesrule-dev (= 0.3.28-1), librust-web-sys-0.3+cssgroupingrule-dev (= 0.3.28-1), librust-web-sys-0.3+cssimportrule-dev (= 0.3.28-1), librust-web-sys-0.3+csskeyframerule-dev (= 0.3.28-1), librust-web-sys-0.3+csskeyframesrule-dev (= 0.3.28-1), librust-web-sys-0.3+cssmediarule-dev (= 0.3.28-1), librust-web-sys-0.3+cssnamespacerule-dev (= 0.3.28-1), librust-web-sys-0.3+csspagerule-dev (= 0.3.28-1), librust-web-sys-0.3+csspseudoelement-dev (= 0.3.28-1), librust-web-sys-0.3+cssrule-dev (= 0.3.28-1), librust-web-sys-0.3+cssrulelist-dev (= 0.3.28-1), librust-web-sys-0.3+cssstyledeclaration-dev (= 0.3.28-1), librust-web-sys-0.3+cssstylerule-dev (= 0.3.28-1), librust-web-sys-0.3+cssstylesheet-dev (= 0.3.28-1), librust-web-sys-0.3+cssstylesheetparsingmode-dev (= 0.3.28-1), librust-web-sys-0.3+csssupportsrule-dev (= 0.3.28-1), librust-web-sys-0.3+csstransition-dev (= 0.3.28-1), librust-web-sys-0.3+customelementregistry-dev (= 0.3.28-1), librust-web-sys-0.3+customevent-dev (= 0.3.28-1), librust-web-sys-0.3+customeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+datatransfer-dev (= 0.3.28-1), librust-web-sys-0.3+datatransferitem-dev (= 0.3.28-1), librust-web-sys-0.3+datatransferitemlist-dev (= 0.3.28-1), librust-web-sys-0.3+datetimevalue-dev (= 0.3.28-1), librust-web-sys-0.3+decoderdoctornotification-dev (= 0.3.28-1), librust-web-sys-0.3+decoderdoctornotificationtype-dev (= 0.3.28-1), librust-web-sys-0.3+dedicatedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+default-dev (= 0.3.28-1), librust-web-sys-0.3+delaynode-dev (= 0.3.28-1), librust-web-sys-0.3+delayoptions-dev (= 0.3.28-1), librust-web-sys-0.3+deviceacceleration-dev (= 0.3.28-1), librust-web-sys-0.3+deviceaccelerationinit-dev (= 0.3.28-1), librust-web-sys-0.3+devicelightevent-dev (= 0.3.28-1), librust-web-sys-0.3+devicelighteventinit-dev (= 0.3.28-1), librust-web-sys-0.3+devicemotionevent-dev (= 0.3.28-1), librust-web-sys-0.3+devicemotioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+deviceorientationevent-dev (= 0.3.28-1), librust-web-sys-0.3+deviceorientationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+deviceproximityevent-dev (= 0.3.28-1), librust-web-sys-0.3+deviceproximityeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+devicerotationrate-dev (= 0.3.28-1), librust-web-sys-0.3+devicerotationrateinit-dev (= 0.3.28-1), librust-web-sys-0.3+dhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys-0.3+directionsetting-dev (= 0.3.28-1), librust-web-sys-0.3+directory-dev (= 0.3.28-1), librust-web-sys-0.3+displaynameoptions-dev (= 0.3.28-1), librust-web-sys-0.3+displaynameresult-dev (= 0.3.28-1), librust-web-sys-0.3+distancemodeltype-dev (= 0.3.28-1), librust-web-sys-0.3+dnscachedict-dev (= 0.3.28-1), librust-web-sys-0.3+dnscacheentry-dev (= 0.3.28-1), librust-web-sys-0.3+dnslookupdict-dev (= 0.3.28-1), librust-web-sys-0.3+document-dev (= 0.3.28-1), librust-web-sys-0.3+documentfragment-dev (= 0.3.28-1), librust-web-sys-0.3+documenttimeline-dev (= 0.3.28-1), librust-web-sys-0.3+documenttimelineoptions-dev (= 0.3.28-1), librust-web-sys-0.3+documenttype-dev (= 0.3.28-1), librust-web-sys-0.3+domerror-dev (= 0.3.28-1), librust-web-sys-0.3+domexception-dev (= 0.3.28-1), librust-web-sys-0.3+domimplementation-dev (= 0.3.28-1), librust-web-sys-0.3+dommatrix-dev (= 0.3.28-1), librust-web-sys-0.3+dommatrixreadonly-dev (= 0.3.28-1), librust-web-sys-0.3+domparser-dev (= 0.3.28-1), librust-web-sys-0.3+dompoint-dev (= 0.3.28-1), librust-web-sys-0.3+dompointinit-dev (= 0.3.28-1), librust-web-sys-0.3+dompointreadonly-dev (= 0.3.28-1), librust-web-sys-0.3+domquad-dev (= 0.3.28-1), librust-web-sys-0.3+domquadinit-dev (= 0.3.28-1), librust-web-sys-0.3+domquadjson-dev (= 0.3.28-1), librust-web-sys-0.3+domrect-dev (= 0.3.28-1), librust-web-sys-0.3+domrectinit-dev (= 0.3.28-1), librust-web-sys-0.3+domrectlist-dev (= 0.3.28-1), librust-web-sys-0.3+domrectreadonly-dev (= 0.3.28-1), librust-web-sys-0.3+domrequest-dev (= 0.3.28-1), librust-web-sys-0.3+domrequestreadystate-dev (= 0.3.28-1), librust-web-sys-0.3+domstringlist-dev (= 0.3.28-1), librust-web-sys-0.3+domstringmap-dev (= 0.3.28-1), librust-web-sys-0.3+domtokenlist-dev (= 0.3.28-1), librust-web-sys-0.3+domwindowresizeeventdetail-dev (= 0.3.28-1), librust-web-sys-0.3+dragevent-dev (= 0.3.28-1), librust-web-sys-0.3+drageventinit-dev (= 0.3.28-1), librust-web-sys-0.3+dynamicscompressornode-dev (= 0.3.28-1), librust-web-sys-0.3+dynamicscompressoroptions-dev (= 0.3.28-1), librust-web-sys-0.3+ecdhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys-0.3+ecdsaparams-dev (= 0.3.28-1), librust-web-sys-0.3+eckeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3+eckeygenparams-dev (= 0.3.28-1), librust-web-sys-0.3+eckeyimportparams-dev (= 0.3.28-1), librust-web-sys-0.3+effecttiming-dev (= 0.3.28-1), librust-web-sys-0.3+element-dev (= 0.3.28-1), librust-web-sys-0.3+elementcreationoptions-dev (= 0.3.28-1), librust-web-sys-0.3+elementdefinitionoptions-dev (= 0.3.28-1), librust-web-sys-0.3+endingtypes-dev (= 0.3.28-1), librust-web-sys-0.3+errorcallback-dev (= 0.3.28-1), librust-web-sys-0.3+errorevent-dev (= 0.3.28-1), librust-web-sys-0.3+erroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3+event-dev (= 0.3.28-1), librust-web-sys-0.3+eventinit-dev (= 0.3.28-1), librust-web-sys-0.3+eventlistener-dev (= 0.3.28-1), librust-web-sys-0.3+eventlisteneroptions-dev (= 0.3.28-1), librust-web-sys-0.3+eventmodifierinit-dev (= 0.3.28-1), librust-web-sys-0.3+eventsource-dev (= 0.3.28-1), librust-web-sys-0.3+eventsourceinit-dev (= 0.3.28-1), librust-web-sys-0.3+eventtarget-dev (= 0.3.28-1), librust-web-sys-0.3+exception-dev (= 0.3.28-1), librust-web-sys-0.3+extblendminmax-dev (= 0.3.28-1), librust-web-sys-0.3+extcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys-0.3+extcolorbufferhalffloat-dev (= 0.3.28-1), librust-web-sys-0.3+extdisjointtimerquery-dev (= 0.3.28-1), librust-web-sys-0.3+extendableevent-dev (= 0.3.28-1), librust-web-sys-0.3+extendableeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+extendablemessageevent-dev (= 0.3.28-1), librust-web-sys-0.3+extendablemessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+external-dev (= 0.3.28-1), librust-web-sys-0.3+extfragdepth-dev (= 0.3.28-1), librust-web-sys-0.3+extshadertexturelod-dev (= 0.3.28-1), librust-web-sys-0.3+extsrgb-dev (= 0.3.28-1), librust-web-sys-0.3+exttexturefilteranisotropic-dev (= 0.3.28-1), librust-web-sys-0.3+fakepluginmimeentry-dev (= 0.3.28-1), librust-web-sys-0.3+fakeplugintaginit-dev (= 0.3.28-1), librust-web-sys-0.3+fetchevent-dev (= 0.3.28-1), librust-web-sys-0.3+fetcheventinit-dev (= 0.3.28-1), librust-web-sys-0.3+fetchobserver-dev (= 0.3.28-1), librust-web-sys-0.3+fetchreadablestreamreaddataarray-dev (= 0.3.28-1), librust-web-sys-0.3+fetchreadablestreamreaddatadone-dev (= 0.3.28-1), librust-web-sys-0.3+fetchstate-dev (= 0.3.28-1), librust-web-sys-0.3+file-dev (= 0.3.28-1), librust-web-sys-0.3+filecallback-dev (= 0.3.28-1), librust-web-sys-0.3+filelist-dev (= 0.3.28-1), librust-web-sys-0.3+filepropertybag-dev (= 0.3.28-1), librust-web-sys-0.3+filereader-dev (= 0.3.28-1), librust-web-sys-0.3+filereadersync-dev (= 0.3.28-1), librust-web-sys-0.3+filesystem-dev (= 0.3.28-1), librust-web-sys-0.3+filesystemdirectoryentry-dev (= 0.3.28-1), librust-web-sys-0.3+filesystemdirectoryreader-dev (= 0.3.28-1), librust-web-sys-0.3+filesystementriescallback-dev (= 0.3.28-1), librust-web-sys-0.3+filesystementry-dev (= 0.3.28-1), librust-web-sys-0.3+filesystementrycallback-dev (= 0.3.28-1), librust-web-sys-0.3+filesystemfileentry-dev (= 0.3.28-1), librust-web-sys-0.3+filesystemflags-dev (= 0.3.28-1), librust-web-sys-0.3+fillmode-dev (= 0.3.28-1), librust-web-sys-0.3+flashclassification-dev (= 0.3.28-1), librust-web-sys-0.3+flexlinegrowthstate-dev (= 0.3.28-1), librust-web-sys-0.3+focusevent-dev (= 0.3.28-1), librust-web-sys-0.3+focuseventinit-dev (= 0.3.28-1), librust-web-sys-0.3+fontface-dev (= 0.3.28-1), librust-web-sys-0.3+fontfacedescriptors-dev (= 0.3.28-1), librust-web-sys-0.3+fontfaceloadstatus-dev (= 0.3.28-1), librust-web-sys-0.3+fontfaceset-dev (= 0.3.28-1), librust-web-sys-0.3+fontfacesetiterator-dev (= 0.3.28-1), librust-web-sys-0.3+fontfacesetiteratorresult-dev (= 0.3.28-1), librust-web-sys-0.3+fontfacesetloadevent-dev (= 0.3.28-1), librust-web-sys-0.3+fontfacesetloadeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+fontfacesetloadstatus-dev (= 0.3.28-1), librust-web-sys-0.3+formdata-dev (= 0.3.28-1), librust-web-sys-0.3+frametype-dev (= 0.3.28-1), librust-web-sys-0.3+fuzzingfunctions-dev (= 0.3.28-1), librust-web-sys-0.3+gainnode-dev (= 0.3.28-1), librust-web-sys-0.3+gainoptions-dev (= 0.3.28-1), librust-web-sys-0.3+gamepad-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadaxismoveevent-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadaxismoveeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadbutton-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadbuttonevent-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadbuttoneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadevent-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadhand-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadhapticactuator-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadhapticactuatortype-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadmappingtype-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadpose-dev (= 0.3.28-1), librust-web-sys-0.3+gamepadservicetest-dev (= 0.3.28-1), librust-web-sys-0.3+geolocation-dev (= 0.3.28-1), librust-web-sys-0.3+getnotificationoptions-dev (= 0.3.28-1), librust-web-sys-0.3+getrootnodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3+getusermediarequest-dev (= 0.3.28-1), librust-web-sys-0.3+griddeclaration-dev (= 0.3.28-1), librust-web-sys-0.3+gridtrackstate-dev (= 0.3.28-1), librust-web-sys-0.3+groupedhistoryeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+halfopeninfodict-dev (= 0.3.28-1), librust-web-sys-0.3+hashchangeevent-dev (= 0.3.28-1), librust-web-sys-0.3+hashchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+headers-dev (= 0.3.28-1), librust-web-sys-0.3+headersguardenum-dev (= 0.3.28-1), librust-web-sys-0.3+hiddenplugineventinit-dev (= 0.3.28-1), librust-web-sys-0.3+history-dev (= 0.3.28-1), librust-web-sys-0.3+hitregionoptions-dev (= 0.3.28-1), librust-web-sys-0.3+hkdfparams-dev (= 0.3.28-1), librust-web-sys-0.3+hmacderivedkeyparams-dev (= 0.3.28-1), librust-web-sys-0.3+hmacimportparams-dev (= 0.3.28-1), librust-web-sys-0.3+hmackeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3+hmackeygenparams-dev (= 0.3.28-1), librust-web-sys-0.3+htmlallcollection-dev (= 0.3.28-1), librust-web-sys-0.3+htmlanchorelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlareaelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlaudioelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlbaseelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlbodyelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlbrelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlbuttonelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlcanvaselement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlcollection-dev (= 0.3.28-1), librust-web-sys-0.3+htmldataelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldatalistelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldetailselement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldialogelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldirectoryelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldivelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldlistelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmldocument-dev (= 0.3.28-1), librust-web-sys-0.3+htmlelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlembedelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlfieldsetelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlfontelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlformcontrolscollection-dev (= 0.3.28-1), librust-web-sys-0.3+htmlformelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlframeelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlframesetelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlheadelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlheadingelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlhrelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlhtmlelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlhyperlinkelementutils-dev (= 0.3.28-1), librust-web-sys-0.3+htmliframeelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlimageelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlinputelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmllabelelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmllegendelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmllielement-dev (= 0.3.28-1), librust-web-sys-0.3+htmllinkelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmapelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmediaelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmenuelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmenuitemelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmetaelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmeterelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlmodelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlobjectelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlolistelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmloptgroupelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmloptionelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmloptionscollection-dev (= 0.3.28-1), librust-web-sys-0.3+htmloutputelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlparagraphelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlparamelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlpictureelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlpreelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlprogresselement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlquoteelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlscriptelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlselectelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlslotelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlsourceelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlspanelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlstyleelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltablecaptionelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltablecellelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltablecolelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltableelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltablerowelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltablesectionelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltemplateelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltextareaelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltimeelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltitleelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmltrackelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlulistelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlunknownelement-dev (= 0.3.28-1), librust-web-sys-0.3+htmlvideoelement-dev (= 0.3.28-1), librust-web-sys-0.3+httpconndict-dev (= 0.3.28-1), librust-web-sys-0.3+httpconnectionelement-dev (= 0.3.28-1), librust-web-sys-0.3+httpconninfo-dev (= 0.3.28-1), librust-web-sys-0.3+idbcursor-dev (= 0.3.28-1), librust-web-sys-0.3+idbcursordirection-dev (= 0.3.28-1), librust-web-sys-0.3+idbcursorwithvalue-dev (= 0.3.28-1), librust-web-sys-0.3+idbdatabase-dev (= 0.3.28-1), librust-web-sys-0.3+idbfactory-dev (= 0.3.28-1), librust-web-sys-0.3+idbfilehandle-dev (= 0.3.28-1), librust-web-sys-0.3+idbfilemetadataparameters-dev (= 0.3.28-1), librust-web-sys-0.3+idbfilerequest-dev (= 0.3.28-1), librust-web-sys-0.3+idbindex-dev (= 0.3.28-1), librust-web-sys-0.3+idbindexparameters-dev (= 0.3.28-1), librust-web-sys-0.3+idbkeyrange-dev (= 0.3.28-1), librust-web-sys-0.3+idblocaleawarekeyrange-dev (= 0.3.28-1), librust-web-sys-0.3+idbmutablefile-dev (= 0.3.28-1), librust-web-sys-0.3+idbobjectstore-dev (= 0.3.28-1), librust-web-sys-0.3+idbobjectstoreparameters-dev (= 0.3.28-1), librust-web-sys-0.3+idbopendboptions-dev (= 0.3.28-1), librust-web-sys-0.3+idbopendbrequest-dev (= 0.3.28-1), librust-web-sys-0.3+idbrequest-dev (= 0.3.28-1), librust-web-sys-0.3+idbrequestreadystate-dev (= 0.3.28-1), librust-web-sys-0.3+idbtransaction-dev (= 0.3.28-1), librust-web-sys-0.3+idbtransactionmode-dev (= 0.3.28-1), librust-web-sys-0.3+idbversionchangeevent-dev (= 0.3.28-1), librust-web-sys-0.3+idbversionchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+idledeadline-dev (= 0.3.28-1), librust-web-sys-0.3+idlerequestoptions-dev (= 0.3.28-1), librust-web-sys-0.3+iirfilternode-dev (= 0.3.28-1), librust-web-sys-0.3+iirfilteroptions-dev (= 0.3.28-1), librust-web-sys-0.3+imagebitmap-dev (= 0.3.28-1), librust-web-sys-0.3+imagebitmapformat-dev (= 0.3.28-1), librust-web-sys-0.3+imagebitmaprenderingcontext-dev (= 0.3.28-1), librust-web-sys-0.3+imagecapture-dev (= 0.3.28-1), librust-web-sys-0.3+imagecaptureerror-dev (= 0.3.28-1), librust-web-sys-0.3+imagecaptureerrorevent-dev (= 0.3.28-1), librust-web-sys-0.3+imagecaptureerroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3+imagedata-dev (= 0.3.28-1), librust-web-sys-0.3+inputevent-dev (= 0.3.28-1), librust-web-sys-0.3+inputeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+installtriggerdata-dev (= 0.3.28-1), librust-web-sys-0.3+intersectionobserver-dev (= 0.3.28-1), librust-web-sys-0.3+intersectionobserverentry-dev (= 0.3.28-1), librust-web-sys-0.3+intersectionobserverentryinit-dev (= 0.3.28-1), librust-web-sys-0.3+intersectionobserverinit-dev (= 0.3.28-1), librust-web-sys-0.3+intlutils-dev (= 0.3.28-1), librust-web-sys-0.3+iterablekeyandvalueresult-dev (= 0.3.28-1), librust-web-sys-0.3+iterablekeyorvalueresult-dev (= 0.3.28-1), librust-web-sys-0.3+iterationcompositeoperation-dev (= 0.3.28-1), librust-web-sys-0.3+jsonwebkey-dev (= 0.3.28-1), librust-web-sys-0.3+keyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3+keyboardevent-dev (= 0.3.28-1), librust-web-sys-0.3+keyboardeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+keyevent-dev (= 0.3.28-1), librust-web-sys-0.3+keyframeeffect-dev (= 0.3.28-1), librust-web-sys-0.3+keyframeeffectoptions-dev (= 0.3.28-1), librust-web-sys-0.3+keyidsinitdata-dev (= 0.3.28-1), librust-web-sys-0.3+l10nelement-dev (= 0.3.28-1), librust-web-sys-0.3+l10nvalue-dev (= 0.3.28-1), librust-web-sys-0.3+lifecyclecallbacks-dev (= 0.3.28-1), librust-web-sys-0.3+linealignsetting-dev (= 0.3.28-1), librust-web-sys-0.3+listboxobject-dev (= 0.3.28-1), librust-web-sys-0.3+localeinfo-dev (= 0.3.28-1), librust-web-sys-0.3+localmediastream-dev (= 0.3.28-1), librust-web-sys-0.3+location-dev (= 0.3.28-1), librust-web-sys-0.3+mediacapabilities-dev (= 0.3.28-1), librust-web-sys-0.3+mediacapabilitiesinfo-dev (= 0.3.28-1), librust-web-sys-0.3+mediaconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+mediadecodingconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+mediadecodingtype-dev (= 0.3.28-1), librust-web-sys-0.3+mediadeviceinfo-dev (= 0.3.28-1), librust-web-sys-0.3+mediadevicekind-dev (= 0.3.28-1), librust-web-sys-0.3+mediadevices-dev (= 0.3.28-1), librust-web-sys-0.3+mediaelementaudiosourcenode-dev (= 0.3.28-1), librust-web-sys-0.3+mediaelementaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3+mediaencodingconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+mediaencodingtype-dev (= 0.3.28-1), librust-web-sys-0.3+mediaencryptedevent-dev (= 0.3.28-1), librust-web-sys-0.3+mediaerror-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeyerror-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeymessageevent-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeymessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeymessagetype-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeyneededeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeys-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysession-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysessiontype-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeyspolicy-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysrequirement-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeystatus-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeystatusmap-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysystemaccess-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysystemconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysystemmediacapability-dev (= 0.3.28-1), librust-web-sys-0.3+mediakeysystemstatus-dev (= 0.3.28-1), librust-web-sys-0.3+medialist-dev (= 0.3.28-1), librust-web-sys-0.3+mediaquerylist-dev (= 0.3.28-1), librust-web-sys-0.3+mediaquerylistevent-dev (= 0.3.28-1), librust-web-sys-0.3+mediaquerylisteventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mediarecorder-dev (= 0.3.28-1), librust-web-sys-0.3+mediarecordererrorevent-dev (= 0.3.28-1), librust-web-sys-0.3+mediarecordererroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mediarecorderoptions-dev (= 0.3.28-1), librust-web-sys-0.3+mediasource-dev (= 0.3.28-1), librust-web-sys-0.3+mediasourceendofstreamerror-dev (= 0.3.28-1), librust-web-sys-0.3+mediasourceenum-dev (= 0.3.28-1), librust-web-sys-0.3+mediasourcereadystate-dev (= 0.3.28-1), librust-web-sys-0.3+mediastream-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamaudiodestinationnode-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamaudiosourcenode-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamconstraints-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamerror-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamevent-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreameventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamtrack-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamtrackevent-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamtrackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mediastreamtrackstate-dev (= 0.3.28-1), librust-web-sys-0.3+mediatrackconstraints-dev (= 0.3.28-1), librust-web-sys-0.3+mediatrackconstraintset-dev (= 0.3.28-1), librust-web-sys-0.3+mediatracksettings-dev (= 0.3.28-1), librust-web-sys-0.3+mediatracksupportedconstraints-dev (= 0.3.28-1), librust-web-sys-0.3+messagechannel-dev (= 0.3.28-1), librust-web-sys-0.3+messageevent-dev (= 0.3.28-1), librust-web-sys-0.3+messageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+messageport-dev (= 0.3.28-1), librust-web-sys-0.3+midiaccess-dev (= 0.3.28-1), librust-web-sys-0.3+midiconnectionevent-dev (= 0.3.28-1), librust-web-sys-0.3+midiconnectioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+midiinput-dev (= 0.3.28-1), librust-web-sys-0.3+midiinputmap-dev (= 0.3.28-1), librust-web-sys-0.3+midimessageevent-dev (= 0.3.28-1), librust-web-sys-0.3+midimessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+midioptions-dev (= 0.3.28-1), librust-web-sys-0.3+midioutput-dev (= 0.3.28-1), librust-web-sys-0.3+midioutputmap-dev (= 0.3.28-1), librust-web-sys-0.3+midiport-dev (= 0.3.28-1), librust-web-sys-0.3+midiportconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3+midiportdevicestate-dev (= 0.3.28-1), librust-web-sys-0.3+midiporttype-dev (= 0.3.28-1), librust-web-sys-0.3+mimetype-dev (= 0.3.28-1), librust-web-sys-0.3+mimetypearray-dev (= 0.3.28-1), librust-web-sys-0.3+mouseevent-dev (= 0.3.28-1), librust-web-sys-0.3+mouseeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+mousescrollevent-dev (= 0.3.28-1), librust-web-sys-0.3+mozdebug-dev (= 0.3.28-1), librust-web-sys-0.3+mutationevent-dev (= 0.3.28-1), librust-web-sys-0.3+mutationobserver-dev (= 0.3.28-1), librust-web-sys-0.3+mutationobserverinit-dev (= 0.3.28-1), librust-web-sys-0.3+mutationobservinginfo-dev (= 0.3.28-1), librust-web-sys-0.3+mutationrecord-dev (= 0.3.28-1), librust-web-sys-0.3+namednodemap-dev (= 0.3.28-1), librust-web-sys-0.3+nativeosfilereadoptions-dev (= 0.3.28-1), librust-web-sys-0.3+nativeosfilewriteatomicoptions-dev (= 0.3.28-1), librust-web-sys-0.3+navigationtype-dev (= 0.3.28-1), librust-web-sys-0.3+navigator-dev (= 0.3.28-1), librust-web-sys-0.3+navigatorautomationinformation-dev (= 0.3.28-1), librust-web-sys-0.3+networkcommandoptions-dev (= 0.3.28-1), librust-web-sys-0.3+networkinformation-dev (= 0.3.28-1), librust-web-sys-0.3+networkresultoptions-dev (= 0.3.28-1), librust-web-sys-0.3+node-dev (= 0.3.28-1), librust-web-sys-0.3+nodefilter-dev (= 0.3.28-1), librust-web-sys-0.3+nodeiterator-dev (= 0.3.28-1), librust-web-sys-0.3+nodelist-dev (= 0.3.28-1), librust-web-sys-0.3+notification-dev (= 0.3.28-1), librust-web-sys-0.3+notificationbehavior-dev (= 0.3.28-1), librust-web-sys-0.3+notificationdirection-dev (= 0.3.28-1), librust-web-sys-0.3+notificationevent-dev (= 0.3.28-1), librust-web-sys-0.3+notificationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+notificationoptions-dev (= 0.3.28-1), librust-web-sys-0.3+notificationpermission-dev (= 0.3.28-1), librust-web-sys-0.3+observercallback-dev (= 0.3.28-1), librust-web-sys-0.3+oeselementindexuint-dev (= 0.3.28-1), librust-web-sys-0.3+oesstandardderivatives-dev (= 0.3.28-1), librust-web-sys-0.3+oestexturefloat-dev (= 0.3.28-1), librust-web-sys-0.3+oestexturefloatlinear-dev (= 0.3.28-1), librust-web-sys-0.3+oestexturehalffloat-dev (= 0.3.28-1), librust-web-sys-0.3+oestexturehalffloatlinear-dev (= 0.3.28-1), librust-web-sys-0.3+oesvertexarrayobject-dev (= 0.3.28-1), librust-web-sys-0.3+offlineaudiocompletionevent-dev (= 0.3.28-1), librust-web-sys-0.3+offlineaudiocompletioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+offlineaudiocontext-dev (= 0.3.28-1), librust-web-sys-0.3+offlineaudiocontextoptions-dev (= 0.3.28-1), librust-web-sys-0.3+offlineresourcelist-dev (= 0.3.28-1), librust-web-sys-0.3+offscreencanvas-dev (= 0.3.28-1), librust-web-sys-0.3+openwindoweventdetail-dev (= 0.3.28-1), librust-web-sys-0.3+optionaleffecttiming-dev (= 0.3.28-1), librust-web-sys-0.3+orientationlocktype-dev (= 0.3.28-1), librust-web-sys-0.3+orientationtype-dev (= 0.3.28-1), librust-web-sys-0.3+oscillatornode-dev (= 0.3.28-1), librust-web-sys-0.3+oscillatoroptions-dev (= 0.3.28-1), librust-web-sys-0.3+oscillatortype-dev (= 0.3.28-1), librust-web-sys-0.3+oversampletype-dev (= 0.3.28-1), librust-web-sys-0.3+pagetransitionevent-dev (= 0.3.28-1), librust-web-sys-0.3+pagetransitioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+paintrequest-dev (= 0.3.28-1), librust-web-sys-0.3+paintrequestlist-dev (= 0.3.28-1), librust-web-sys-0.3+paintworkletglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+pannernode-dev (= 0.3.28-1), librust-web-sys-0.3+panneroptions-dev (= 0.3.28-1), librust-web-sys-0.3+panningmodeltype-dev (= 0.3.28-1), librust-web-sys-0.3+path2d-dev (= 0.3.28-1), librust-web-sys-0.3+paymentaddress-dev (= 0.3.28-1), librust-web-sys-0.3+paymentcomplete-dev (= 0.3.28-1), librust-web-sys-0.3+paymentmethodchangeevent-dev (= 0.3.28-1), librust-web-sys-0.3+paymentmethodchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+paymentrequestupdateevent-dev (= 0.3.28-1), librust-web-sys-0.3+paymentrequestupdateeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+paymentresponse-dev (= 0.3.28-1), librust-web-sys-0.3+pbkdf2params-dev (= 0.3.28-1), librust-web-sys-0.3+pcimpliceconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3+pcimplicegatheringstate-dev (= 0.3.28-1), librust-web-sys-0.3+pcimplsignalingstate-dev (= 0.3.28-1), librust-web-sys-0.3+pcobserverstatetype-dev (= 0.3.28-1), librust-web-sys-0.3+performance-dev (= 0.3.28-1), librust-web-sys-0.3+performanceentry-dev (= 0.3.28-1), librust-web-sys-0.3+performanceentryeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+performanceentryfilteroptions-dev (= 0.3.28-1), librust-web-sys-0.3+performancemark-dev (= 0.3.28-1), librust-web-sys-0.3+performancemeasure-dev (= 0.3.28-1), librust-web-sys-0.3+performancenavigation-dev (= 0.3.28-1), librust-web-sys-0.3+performancenavigationtiming-dev (= 0.3.28-1), librust-web-sys-0.3+performanceobserver-dev (= 0.3.28-1), librust-web-sys-0.3+performanceobserverentrylist-dev (= 0.3.28-1), librust-web-sys-0.3+performanceobserverinit-dev (= 0.3.28-1), librust-web-sys-0.3+performanceresourcetiming-dev (= 0.3.28-1), librust-web-sys-0.3+performanceservertiming-dev (= 0.3.28-1), librust-web-sys-0.3+performancetiming-dev (= 0.3.28-1), librust-web-sys-0.3+periodicwave-dev (= 0.3.28-1), librust-web-sys-0.3+periodicwaveconstraints-dev (= 0.3.28-1), librust-web-sys-0.3+periodicwaveoptions-dev (= 0.3.28-1), librust-web-sys-0.3+permissiondescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+permissionname-dev (= 0.3.28-1), librust-web-sys-0.3+permissions-dev (= 0.3.28-1), librust-web-sys-0.3+permissionstate-dev (= 0.3.28-1), librust-web-sys-0.3+permissionstatus-dev (= 0.3.28-1), librust-web-sys-0.3+playbackdirection-dev (= 0.3.28-1), librust-web-sys-0.3+plugin-dev (= 0.3.28-1), librust-web-sys-0.3+pluginarray-dev (= 0.3.28-1), librust-web-sys-0.3+plugincrashedeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+pointerevent-dev (= 0.3.28-1), librust-web-sys-0.3+pointereventinit-dev (= 0.3.28-1), librust-web-sys-0.3+popstateevent-dev (= 0.3.28-1), librust-web-sys-0.3+popstateeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+popupblockedevent-dev (= 0.3.28-1), librust-web-sys-0.3+popupblockedeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+position-dev (= 0.3.28-1), librust-web-sys-0.3+positionalignsetting-dev (= 0.3.28-1), librust-web-sys-0.3+positionerror-dev (= 0.3.28-1), librust-web-sys-0.3+positionoptions-dev (= 0.3.28-1), librust-web-sys-0.3+presentation-dev (= 0.3.28-1), librust-web-sys-0.3+presentationavailability-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnection-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectionavailableevent-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectionavailableeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectionbinarytype-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectionclosedreason-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectioncloseevent-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectioncloseeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectionlist-dev (= 0.3.28-1), librust-web-sys-0.3+presentationconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3+presentationreceiver-dev (= 0.3.28-1), librust-web-sys-0.3+presentationrequest-dev (= 0.3.28-1), librust-web-sys-0.3+processinginstruction-dev (= 0.3.28-1), librust-web-sys-0.3+profiletimelinelayerrect-dev (= 0.3.28-1), librust-web-sys-0.3+profiletimelinemarker-dev (= 0.3.28-1), librust-web-sys-0.3+profiletimelinemessageportoperationtype-dev (= 0.3.28-1), librust-web-sys-0.3+profiletimelinestackframe-dev (= 0.3.28-1), librust-web-sys-0.3+profiletimelineworkeroperationtype-dev (= 0.3.28-1), librust-web-sys-0.3+progressevent-dev (= 0.3.28-1), librust-web-sys-0.3+progresseventinit-dev (= 0.3.28-1), librust-web-sys-0.3+promisenativehandler-dev (= 0.3.28-1), librust-web-sys-0.3+promiserejectionevent-dev (= 0.3.28-1), librust-web-sys-0.3+promiserejectioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredential-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialcreationoptions-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialentity-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialparameters-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialrequestoptions-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialrpentity-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialtype-dev (= 0.3.28-1), librust-web-sys-0.3+publickeycredentialuserentity-dev (= 0.3.28-1), librust-web-sys-0.3+pushencryptionkeyname-dev (= 0.3.28-1), librust-web-sys-0.3+pushevent-dev (= 0.3.28-1), librust-web-sys-0.3+pusheventinit-dev (= 0.3.28-1), librust-web-sys-0.3+pushmanager-dev (= 0.3.28-1), librust-web-sys-0.3+pushmessagedata-dev (= 0.3.28-1), librust-web-sys-0.3+pushpermissionstate-dev (= 0.3.28-1), librust-web-sys-0.3+pushsubscription-dev (= 0.3.28-1), librust-web-sys-0.3+pushsubscriptioninit-dev (= 0.3.28-1), librust-web-sys-0.3+pushsubscriptionjson-dev (= 0.3.28-1), librust-web-sys-0.3+pushsubscriptionkeys-dev (= 0.3.28-1), librust-web-sys-0.3+pushsubscriptionoptions-dev (= 0.3.28-1), librust-web-sys-0.3+pushsubscriptionoptionsinit-dev (= 0.3.28-1), librust-web-sys-0.3+radionodelist-dev (= 0.3.28-1), librust-web-sys-0.3+range-dev (= 0.3.28-1), librust-web-sys-0.3+rcwnperfstats-dev (= 0.3.28-1), librust-web-sys-0.3+rcwnstatus-dev (= 0.3.28-1), librust-web-sys-0.3+readablestream-dev (= 0.3.28-1), librust-web-sys-0.3+recordingstate-dev (= 0.3.28-1), librust-web-sys-0.3+referrerpolicy-dev (= 0.3.28-1), librust-web-sys-0.3+registeredkey-dev (= 0.3.28-1), librust-web-sys-0.3+registerrequest-dev (= 0.3.28-1), librust-web-sys-0.3+registerresponse-dev (= 0.3.28-1), librust-web-sys-0.3+registrationoptions-dev (= 0.3.28-1), librust-web-sys-0.3+request-dev (= 0.3.28-1), librust-web-sys-0.3+requestcache-dev (= 0.3.28-1), librust-web-sys-0.3+requestcredentials-dev (= 0.3.28-1), librust-web-sys-0.3+requestdestination-dev (= 0.3.28-1), librust-web-sys-0.3+requestinit-dev (= 0.3.28-1), librust-web-sys-0.3+requestmediakeysystemaccessnotification-dev (= 0.3.28-1), librust-web-sys-0.3+requestmode-dev (= 0.3.28-1), librust-web-sys-0.3+requestredirect-dev (= 0.3.28-1), librust-web-sys-0.3+response-dev (= 0.3.28-1), librust-web-sys-0.3+responseinit-dev (= 0.3.28-1), librust-web-sys-0.3+responsetype-dev (= 0.3.28-1), librust-web-sys-0.3+rsahashedimportparams-dev (= 0.3.28-1), librust-web-sys-0.3+rsaoaepparams-dev (= 0.3.28-1), librust-web-sys-0.3+rsaotherprimesinfo-dev (= 0.3.28-1), librust-web-sys-0.3+rsapssparams-dev (= 0.3.28-1), librust-web-sys-0.3+rtcansweroptions-dev (= 0.3.28-1), librust-web-sys-0.3+rtcbundlepolicy-dev (= 0.3.28-1), librust-web-sys-0.3+rtccertificate-dev (= 0.3.28-1), librust-web-sys-0.3+rtccertificateexpiration-dev (= 0.3.28-1), librust-web-sys-0.3+rtccodecstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdatachannel-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdatachannelevent-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdatachanneleventinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdatachannelinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdatachannelstate-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdatachanneltype-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdegradationpreference-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdtmfsender-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdtmftonechangeevent-dev (= 0.3.28-1), librust-web-sys-0.3+rtcdtmftonechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcfecparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicecandidate-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicecandidateinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicecandidatepairstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicecandidatestats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicecomponentstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtciceconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicecredentialtype-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicegatheringstate-dev (= 0.3.28-1), librust-web-sys-0.3+rtciceserver-dev (= 0.3.28-1), librust-web-sys-0.3+rtcicetransportpolicy-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityassertion-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityassertionresult-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityprovider-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityproviderdetails-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityprovideroptions-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityproviderregistrar-dev (= 0.3.28-1), librust-web-sys-0.3+rtcidentityvalidationresult-dev (= 0.3.28-1), librust-web-sys-0.3+rtcinboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtclifecycleevent-dev (= 0.3.28-1), librust-web-sys-0.3+rtcmediastreamstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcmediastreamtrackstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcofferansweroptions-dev (= 0.3.28-1), librust-web-sys-0.3+rtcofferoptions-dev (= 0.3.28-1), librust-web-sys-0.3+rtcoutboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcpeerconnection-dev (= 0.3.28-1), librust-web-sys-0.3+rtcpeerconnectioniceevent-dev (= 0.3.28-1), librust-web-sys-0.3+rtcpeerconnectioniceeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcprioritytype-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtcpparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpcodecparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpcontributingsource-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpcontributingsourcestats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpencodingparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpheaderextensionparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpreceiver-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpsender-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpsourceentry-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpsourceentrytype-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtpsynchronizationsource-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtptransceiver-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtptransceiverdirection-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtptransceiverinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcrtxparameters-dev (= 0.3.28-1), librust-web-sys-0.3+rtcsdptype-dev (= 0.3.28-1), librust-web-sys-0.3+rtcsessiondescription-dev (= 0.3.28-1), librust-web-sys-0.3+rtcsessiondescriptioninit-dev (= 0.3.28-1), librust-web-sys-0.3+rtcsignalingstate-dev (= 0.3.28-1), librust-web-sys-0.3+rtcstats-dev (= 0.3.28-1), librust-web-sys-0.3+rtcstatsicecandidatepairstate-dev (= 0.3.28-1), librust-web-sys-0.3+rtcstatsicecandidatetype-dev (= 0.3.28-1), librust-web-sys-0.3+rtcstatsreport-dev (= 0.3.28-1), librust-web-sys-0.3+rtcstatsreportinternal-dev (= 0.3.28-1), librust-web-sys-0.3+rtcstatstype-dev (= 0.3.28-1), librust-web-sys-0.3+rtctrackevent-dev (= 0.3.28-1), librust-web-sys-0.3+rtctrackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+rtctransportstats-dev (= 0.3.28-1), librust-web-sys-0.3+screen-dev (= 0.3.28-1), librust-web-sys-0.3+screencolorgamut-dev (= 0.3.28-1), librust-web-sys-0.3+screenluminance-dev (= 0.3.28-1), librust-web-sys-0.3+screenorientation-dev (= 0.3.28-1), librust-web-sys-0.3+scriptprocessornode-dev (= 0.3.28-1), librust-web-sys-0.3+scrollareaevent-dev (= 0.3.28-1), librust-web-sys-0.3+scrollbehavior-dev (= 0.3.28-1), librust-web-sys-0.3+scrollboxobject-dev (= 0.3.28-1), librust-web-sys-0.3+scrollintoviewoptions-dev (= 0.3.28-1), librust-web-sys-0.3+scrolllogicalposition-dev (= 0.3.28-1), librust-web-sys-0.3+scrolloptions-dev (= 0.3.28-1), librust-web-sys-0.3+scrollrestoration-dev (= 0.3.28-1), librust-web-sys-0.3+scrollsetting-dev (= 0.3.28-1), librust-web-sys-0.3+scrollstate-dev (= 0.3.28-1), librust-web-sys-0.3+scrolltooptions-dev (= 0.3.28-1), librust-web-sys-0.3+scrollviewchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+securitypolicyviolationevent-dev (= 0.3.28-1), librust-web-sys-0.3+securitypolicyviolationeventdisposition-dev (= 0.3.28-1), librust-web-sys-0.3+securitypolicyviolationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+selection-dev (= 0.3.28-1), librust-web-sys-0.3+serversocketoptions-dev (= 0.3.28-1), librust-web-sys-0.3+serviceworker-dev (= 0.3.28-1), librust-web-sys-0.3+serviceworkercontainer-dev (= 0.3.28-1), librust-web-sys-0.3+serviceworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+serviceworkerregistration-dev (= 0.3.28-1), librust-web-sys-0.3+serviceworkerstate-dev (= 0.3.28-1), librust-web-sys-0.3+serviceworkerupdateviacache-dev (= 0.3.28-1), librust-web-sys-0.3+shadowroot-dev (= 0.3.28-1), librust-web-sys-0.3+shadowrootinit-dev (= 0.3.28-1), librust-web-sys-0.3+shadowrootmode-dev (= 0.3.28-1), librust-web-sys-0.3+sharedworker-dev (= 0.3.28-1), librust-web-sys-0.3+sharedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+signresponse-dev (= 0.3.28-1), librust-web-sys-0.3+socketelement-dev (= 0.3.28-1), librust-web-sys-0.3+socketoptions-dev (= 0.3.28-1), librust-web-sys-0.3+socketreadystate-dev (= 0.3.28-1), librust-web-sys-0.3+socketsdict-dev (= 0.3.28-1), librust-web-sys-0.3+sourcebuffer-dev (= 0.3.28-1), librust-web-sys-0.3+sourcebufferappendmode-dev (= 0.3.28-1), librust-web-sys-0.3+sourcebufferlist-dev (= 0.3.28-1), librust-web-sys-0.3+speechgrammar-dev (= 0.3.28-1), librust-web-sys-0.3+speechgrammarlist-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognition-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionalternative-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionerror-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionerrorcode-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionerrorinit-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionevent-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionresult-dev (= 0.3.28-1), librust-web-sys-0.3+speechrecognitionresultlist-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesis-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesiserrorcode-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesiserrorevent-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesiserroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesisevent-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesiseventinit-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesisutterance-dev (= 0.3.28-1), librust-web-sys-0.3+speechsynthesisvoice-dev (= 0.3.28-1), librust-web-sys-0.3+stereopannernode-dev (= 0.3.28-1), librust-web-sys-0.3+stereopanneroptions-dev (= 0.3.28-1), librust-web-sys-0.3+storage-dev (= 0.3.28-1), librust-web-sys-0.3+storageestimate-dev (= 0.3.28-1), librust-web-sys-0.3+storageevent-dev (= 0.3.28-1), librust-web-sys-0.3+storageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+storagemanager-dev (= 0.3.28-1), librust-web-sys-0.3+storagetype-dev (= 0.3.28-1), librust-web-sys-0.3+stylerulechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+stylesheet-dev (= 0.3.28-1), librust-web-sys-0.3+stylesheetapplicablestatechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+stylesheetchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+stylesheetlist-dev (= 0.3.28-1), librust-web-sys-0.3+subtlecrypto-dev (= 0.3.28-1), librust-web-sys-0.3+supportedtype-dev (= 0.3.28-1), librust-web-sys-0.3+svgaelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgangle-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedangle-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedboolean-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedenumeration-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedinteger-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedlength-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedlengthlist-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatednumber-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatednumberlist-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedrect-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedstring-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatedtransformlist-dev (= 0.3.28-1), librust-web-sys-0.3+svganimateelement-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatemotionelement-dev (= 0.3.28-1), librust-web-sys-0.3+svganimatetransformelement-dev (= 0.3.28-1), librust-web-sys-0.3+svganimationelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgboundingboxoptions-dev (= 0.3.28-1), librust-web-sys-0.3+svgcircleelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgclippathelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgcomponenttransferfunctionelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgdefselement-dev (= 0.3.28-1), librust-web-sys-0.3+svgdescelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgellipseelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfeblendelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfecolormatrixelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfecomponenttransferelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfecompositeelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfeconvolvematrixelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfediffuselightingelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfedisplacementmapelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfedistantlightelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfedropshadowelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfefloodelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfefuncaelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfefuncbelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfefuncgelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfefuncrelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfegaussianblurelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfeimageelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfemergeelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfemergenodeelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfemorphologyelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfeoffsetelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfepointlightelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfespecularlightingelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfespotlightelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfetileelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfeturbulenceelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgfilterelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgforeignobjectelement-dev (= 0.3.28-1), librust-web-sys-0.3+svggelement-dev (= 0.3.28-1), librust-web-sys-0.3+svggeometryelement-dev (= 0.3.28-1), librust-web-sys-0.3+svggradientelement-dev (= 0.3.28-1), librust-web-sys-0.3+svggraphicselement-dev (= 0.3.28-1), librust-web-sys-0.3+svgimageelement-dev (= 0.3.28-1), librust-web-sys-0.3+svglength-dev (= 0.3.28-1), librust-web-sys-0.3+svglengthlist-dev (= 0.3.28-1), librust-web-sys-0.3+svglineargradientelement-dev (= 0.3.28-1), librust-web-sys-0.3+svglineelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgmarkerelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgmaskelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgmatrix-dev (= 0.3.28-1), librust-web-sys-0.3+svgmetadataelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgmpathelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgnumber-dev (= 0.3.28-1), librust-web-sys-0.3+svgnumberlist-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseg-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegarcabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegarcrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegclosepath-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetocubicabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetocubicrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetocubicsmoothabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetocubicsmoothrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetoquadraticabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetoquadraticrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetoquadraticsmoothabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegcurvetoquadraticsmoothrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglinetoabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglinetohorizontalabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglinetohorizontalrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglinetorel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglinetoverticalabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglinetoverticalrel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathseglist-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegmovetoabs-dev (= 0.3.28-1), librust-web-sys-0.3+svgpathsegmovetorel-dev (= 0.3.28-1), librust-web-sys-0.3+svgpatternelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgpoint-dev (= 0.3.28-1), librust-web-sys-0.3+svgpointlist-dev (= 0.3.28-1), librust-web-sys-0.3+svgpolygonelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgpolylineelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys-0.3+svgradialgradientelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgrect-dev (= 0.3.28-1), librust-web-sys-0.3+svgrectelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgscriptelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgsetelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgstopelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgstringlist-dev (= 0.3.28-1), librust-web-sys-0.3+svgstyleelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgsvgelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgswitchelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgsymbolelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgtextcontentelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgtextelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgtextpathelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgtextpositioningelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgtitleelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgtransform-dev (= 0.3.28-1), librust-web-sys-0.3+svgtransformlist-dev (= 0.3.28-1), librust-web-sys-0.3+svgtspanelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgunittypes-dev (= 0.3.28-1), librust-web-sys-0.3+svguseelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgviewelement-dev (= 0.3.28-1), librust-web-sys-0.3+svgzoomandpan-dev (= 0.3.28-1), librust-web-sys-0.3+tcpreadystate-dev (= 0.3.28-1), librust-web-sys-0.3+tcpserversocket-dev (= 0.3.28-1), librust-web-sys-0.3+tcpserversocketevent-dev (= 0.3.28-1), librust-web-sys-0.3+tcpserversocketeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+tcpsocket-dev (= 0.3.28-1), librust-web-sys-0.3+tcpsocketbinarytype-dev (= 0.3.28-1), librust-web-sys-0.3+tcpsocketerrorevent-dev (= 0.3.28-1), librust-web-sys-0.3+tcpsocketerroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3+tcpsocketevent-dev (= 0.3.28-1), librust-web-sys-0.3+tcpsocketeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+text-dev (= 0.3.28-1), librust-web-sys-0.3+textdecodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3+textdecoder-dev (= 0.3.28-1), librust-web-sys-0.3+textdecoderoptions-dev (= 0.3.28-1), librust-web-sys-0.3+textencoder-dev (= 0.3.28-1), librust-web-sys-0.3+textmetrics-dev (= 0.3.28-1), librust-web-sys-0.3+texttrack-dev (= 0.3.28-1), librust-web-sys-0.3+texttrackcue-dev (= 0.3.28-1), librust-web-sys-0.3+texttrackcuelist-dev (= 0.3.28-1), librust-web-sys-0.3+texttrackkind-dev (= 0.3.28-1), librust-web-sys-0.3+texttracklist-dev (= 0.3.28-1), librust-web-sys-0.3+texttrackmode-dev (= 0.3.28-1), librust-web-sys-0.3+timeevent-dev (= 0.3.28-1), librust-web-sys-0.3+timeranges-dev (= 0.3.28-1), librust-web-sys-0.3+touch-dev (= 0.3.28-1), librust-web-sys-0.3+touchevent-dev (= 0.3.28-1), librust-web-sys-0.3+toucheventinit-dev (= 0.3.28-1), librust-web-sys-0.3+touchinit-dev (= 0.3.28-1), librust-web-sys-0.3+touchlist-dev (= 0.3.28-1), librust-web-sys-0.3+trackevent-dev (= 0.3.28-1), librust-web-sys-0.3+trackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+transitionevent-dev (= 0.3.28-1), librust-web-sys-0.3+transitioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3+transport-dev (= 0.3.28-1), librust-web-sys-0.3+treeboxobject-dev (= 0.3.28-1), librust-web-sys-0.3+treecellinfo-dev (= 0.3.28-1), librust-web-sys-0.3+treeview-dev (= 0.3.28-1), librust-web-sys-0.3+treewalker-dev (= 0.3.28-1), librust-web-sys-0.3+u2f-dev (= 0.3.28-1), librust-web-sys-0.3+u2fclientdata-dev (= 0.3.28-1), librust-web-sys-0.3+udpmessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+udpoptions-dev (= 0.3.28-1), librust-web-sys-0.3+uievent-dev (= 0.3.28-1), librust-web-sys-0.3+uieventinit-dev (= 0.3.28-1), librust-web-sys-0.3+url-dev (= 0.3.28-1), librust-web-sys-0.3+urlsearchparams-dev (= 0.3.28-1), librust-web-sys-0.3+userproximityevent-dev (= 0.3.28-1), librust-web-sys-0.3+userproximityeventinit-dev (= 0.3.28-1), librust-web-sys-0.3+userverificationrequirement-dev (= 0.3.28-1), librust-web-sys-0.3+validitystate-dev (= 0.3.28-1), librust-web-sys-0.3+videoconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3+videofacingmodeenum-dev (= 0.3.28-1), librust-web-sys-0.3+videoplaybackquality-dev (= 0.3.28-1), librust-web-sys-0.3+videostreamtrack-dev (= 0.3.28-1), librust-web-sys-0.3+videotrack-dev (= 0.3.28-1), librust-web-sys-0.3+videotracklist-dev (= 0.3.28-1), librust-web-sys-0.3+visibilitystate-dev (= 0.3.28-1), librust-web-sys-0.3+voidcallback-dev (= 0.3.28-1), librust-web-sys-0.3+vrdisplay-dev (= 0.3.28-1), librust-web-sys-0.3+vrdisplaycapabilities-dev (= 0.3.28-1), librust-web-sys-0.3+vreye-dev (= 0.3.28-1), librust-web-sys-0.3+vreyeparameters-dev (= 0.3.28-1), librust-web-sys-0.3+vrfieldofview-dev (= 0.3.28-1), librust-web-sys-0.3+vrframedata-dev (= 0.3.28-1), librust-web-sys-0.3+vrlayer-dev (= 0.3.28-1), librust-web-sys-0.3+vrmockcontroller-dev (= 0.3.28-1), librust-web-sys-0.3+vrmockdisplay-dev (= 0.3.28-1), librust-web-sys-0.3+vrpose-dev (= 0.3.28-1), librust-web-sys-0.3+vrservicetest-dev (= 0.3.28-1), librust-web-sys-0.3+vrstageparameters-dev (= 0.3.28-1), librust-web-sys-0.3+vrsubmitframeresult-dev (= 0.3.28-1), librust-web-sys-0.3+vttcue-dev (= 0.3.28-1), librust-web-sys-0.3+vttregion-dev (= 0.3.28-1), librust-web-sys-0.3+waveshapernode-dev (= 0.3.28-1), librust-web-sys-0.3+waveshaperoptions-dev (= 0.3.28-1), librust-web-sys-0.3+webgl2renderingcontext-dev (= 0.3.28-1), librust-web-sys-0.3+webglactiveinfo-dev (= 0.3.28-1), librust-web-sys-0.3+webglbuffer-dev (= 0.3.28-1), librust-web-sys-0.3+webglcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtextureastc-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtextureatc-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtextureetc-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtextureetc1-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtexturepvrtc-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtextures3tc-dev (= 0.3.28-1), librust-web-sys-0.3+webglcompressedtextures3tcsrgb-dev (= 0.3.28-1), librust-web-sys-0.3+webglcontextattributes-dev (= 0.3.28-1), librust-web-sys-0.3+webglcontextevent-dev (= 0.3.28-1), librust-web-sys-0.3+webglcontexteventinit-dev (= 0.3.28-1), librust-web-sys-0.3+webgldebugrendererinfo-dev (= 0.3.28-1), librust-web-sys-0.3+webgldebugshaders-dev (= 0.3.28-1), librust-web-sys-0.3+webgldepthtexture-dev (= 0.3.28-1), librust-web-sys-0.3+webgldrawbuffers-dev (= 0.3.28-1), librust-web-sys-0.3+webglframebuffer-dev (= 0.3.28-1), librust-web-sys-0.3+webgllosecontext-dev (= 0.3.28-1), librust-web-sys-0.3+webglpowerpreference-dev (= 0.3.28-1), librust-web-sys-0.3+webglprogram-dev (= 0.3.28-1), librust-web-sys-0.3+webglquery-dev (= 0.3.28-1), librust-web-sys-0.3+webglrenderbuffer-dev (= 0.3.28-1), librust-web-sys-0.3+webglrenderingcontext-dev (= 0.3.28-1), librust-web-sys-0.3+webglsampler-dev (= 0.3.28-1), librust-web-sys-0.3+webglshader-dev (= 0.3.28-1), librust-web-sys-0.3+webglshaderprecisionformat-dev (= 0.3.28-1), librust-web-sys-0.3+webglsync-dev (= 0.3.28-1), librust-web-sys-0.3+webgltexture-dev (= 0.3.28-1), librust-web-sys-0.3+webgltransformfeedback-dev (= 0.3.28-1), librust-web-sys-0.3+webgluniformlocation-dev (= 0.3.28-1), librust-web-sys-0.3+webglvertexarrayobject-dev (= 0.3.28-1), librust-web-sys-0.3+webgpu-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuadapter-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuadapterdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuattachmentstate-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuattachmentstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubindgroup-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubindgroupbinding-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubindgroupdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubindgrouplayout-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubindgrouplayoutdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubinding-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubindingtype-dev (= 0.3.28-1), librust-web-sys-0.3+webgpublenddescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpublendfactor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpublendoperation-dev (= 0.3.28-1), librust-web-sys-0.3+webgpublendstate-dev (= 0.3.28-1), librust-web-sys-0.3+webgpublendstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubuffer-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubufferbinding-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubufferdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpubufferusage-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucolorwritebits-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucommandbuffer-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucommandencoder-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucommandencoderdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucomparefunction-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucomputepipeline-dev (= 0.3.28-1), librust-web-sys-0.3+webgpucomputepipelinedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpudepthstencilstate-dev (= 0.3.28-1), librust-web-sys-0.3+webgpudepthstencilstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpudevice-dev (= 0.3.28-1), librust-web-sys-0.3+webgpudevicedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuextensions-dev (= 0.3.28-1), librust-web-sys-0.3+webgpufence-dev (= 0.3.28-1), librust-web-sys-0.3+webgpufiltermode-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuindexformat-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuinputstate-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuinputstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuinputstepmode-dev (= 0.3.28-1), librust-web-sys-0.3+webgpulimits-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuloadop-dev (= 0.3.28-1), librust-web-sys-0.3+webgpulogentry-dev (= 0.3.28-1), librust-web-sys-0.3+webgpulogentrytype-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuobjectstatus-dev (= 0.3.28-1), librust-web-sys-0.3+webgpupipelinedescriptorbase-dev (= 0.3.28-1), librust-web-sys-0.3+webgpupipelinelayout-dev (= 0.3.28-1), librust-web-sys-0.3+webgpupipelinelayoutdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpupipelinestagedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpupowerpreference-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuprimitivetopology-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuqueue-dev (= 0.3.28-1), librust-web-sys-0.3+webgpurenderpassattachmentdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpurenderpassdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpurenderpipeline-dev (= 0.3.28-1), librust-web-sys-0.3+webgpurenderpipelinedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpusampler-dev (= 0.3.28-1), librust-web-sys-0.3+webgpusamplerdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpushadermodule-dev (= 0.3.28-1), librust-web-sys-0.3+webgpushadermoduledescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpushaderstage-dev (= 0.3.28-1), librust-web-sys-0.3+webgpushaderstagebit-dev (= 0.3.28-1), librust-web-sys-0.3+webgpustenciloperation-dev (= 0.3.28-1), librust-web-sys-0.3+webgpustencilstatefacedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpustoreop-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuswapchain-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuswapchaindescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgputexture-dev (= 0.3.28-1), librust-web-sys-0.3+webgputexturedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgputexturedimension-dev (= 0.3.28-1), librust-web-sys-0.3+webgputextureformat-dev (= 0.3.28-1), librust-web-sys-0.3+webgputextureusage-dev (= 0.3.28-1), librust-web-sys-0.3+webgputextureview-dev (= 0.3.28-1), librust-web-sys-0.3+webgputextureviewdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuvertexattributedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuvertexformat-dev (= 0.3.28-1), librust-web-sys-0.3+webgpuvertexinputdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3+webkitcssmatrix-dev (= 0.3.28-1), librust-web-sys-0.3+webrtcglobalstatisticsreport-dev (= 0.3.28-1), librust-web-sys-0.3+websocket-dev (= 0.3.28-1), librust-web-sys-0.3+websocketdict-dev (= 0.3.28-1), librust-web-sys-0.3+websocketelement-dev (= 0.3.28-1), librust-web-sys-0.3+wheelevent-dev (= 0.3.28-1), librust-web-sys-0.3+wheeleventinit-dev (= 0.3.28-1), librust-web-sys-0.3+widevinecdmmanifest-dev (= 0.3.28-1), librust-web-sys-0.3+window-dev (= 0.3.28-1), librust-web-sys-0.3+windowclient-dev (= 0.3.28-1), librust-web-sys-0.3+worker-dev (= 0.3.28-1), librust-web-sys-0.3+workerdebuggerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+workerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+workerlocation-dev (= 0.3.28-1), librust-web-sys-0.3+workernavigator-dev (= 0.3.28-1), librust-web-sys-0.3+workeroptions-dev (= 0.3.28-1), librust-web-sys-0.3+worklet-dev (= 0.3.28-1), librust-web-sys-0.3+workletglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3+xmldocument-dev (= 0.3.28-1), librust-web-sys-0.3+xmlhttprequest-dev (= 0.3.28-1), librust-web-sys-0.3+xmlhttprequesteventtarget-dev (= 0.3.28-1), librust-web-sys-0.3+xmlhttprequestresponsetype-dev (= 0.3.28-1), librust-web-sys-0.3+xmlhttprequestupload-dev (= 0.3.28-1), librust-web-sys-0.3+xmlserializer-dev (= 0.3.28-1), librust-web-sys-0.3+xpathexpression-dev (= 0.3.28-1), librust-web-sys-0.3+xpathnsresolver-dev (= 0.3.28-1), librust-web-sys-0.3+xpathresult-dev (= 0.3.28-1), librust-web-sys-0.3+xsltprocessor-dev (= 0.3.28-1), librust-web-sys-0.3-dev (= 0.3.28-1), librust-web-sys-0.3.28+abortcontroller-dev (= 0.3.28-1), librust-web-sys-0.3.28+abortsignal-dev (= 0.3.28-1), librust-web-sys-0.3.28+addeventlisteneroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+aescbcparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+aesctrparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+aesderivedkeyparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+aesgcmparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+aeskeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3.28+aeskeygenparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+algorithm-dev (= 0.3.28-1), librust-web-sys-0.3.28+alignsetting-dev (= 0.3.28-1), librust-web-sys-0.3.28+analysernode-dev (= 0.3.28-1), librust-web-sys-0.3.28+analyseroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+angleinstancedarrays-dev (= 0.3.28-1), librust-web-sys-0.3.28+animation-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationeffect-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationplaybackevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationplaybackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationplaystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationpropertydetails-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationpropertyvaluedetails-dev (= 0.3.28-1), librust-web-sys-0.3.28+animationtimeline-dev (= 0.3.28-1), librust-web-sys-0.3.28+assignednodesoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+attestationconveyancepreference-dev (= 0.3.28-1), librust-web-sys-0.3.28+attr-dev (= 0.3.28-1), librust-web-sys-0.3.28+attributenamevalue-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiobuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiobufferoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiobuffersourcenode-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiobuffersourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiocontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiocontextoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiocontextstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiodestinationnode-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiolistener-dev (= 0.3.28-1), librust-web-sys-0.3.28+audionode-dev (= 0.3.28-1), librust-web-sys-0.3.28+audionodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioparam-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioparammap-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioprocessingevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioscheduledsourcenode-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiostreamtrack-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiotrack-dev (= 0.3.28-1), librust-web-sys-0.3.28+audiotracklist-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioworklet-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioworkletglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioworkletnode-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioworkletnodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+audioworkletprocessor-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticationextensionsclientinputs-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticationextensionsclientoutputs-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticatorassertionresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticatorattachment-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticatorattestationresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticatorresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticatorselectioncriteria-dev (= 0.3.28-1), librust-web-sys-0.3.28+authenticatortransport-dev (= 0.3.28-1), librust-web-sys-0.3.28+autocompleteinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+autokeyword-dev (= 0.3.28-1), librust-web-sys-0.3.28+barprop-dev (= 0.3.28-1), librust-web-sys-0.3.28+baseaudiocontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+basecomputedkeyframe-dev (= 0.3.28-1), librust-web-sys-0.3.28+basekeyframe-dev (= 0.3.28-1), librust-web-sys-0.3.28+basepropertyindexedkeyframe-dev (= 0.3.28-1), librust-web-sys-0.3.28+basiccardrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+basiccardresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+basiccardtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+batterymanager-dev (= 0.3.28-1), librust-web-sys-0.3.28+beforeunloadevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+binarytype-dev (= 0.3.28-1), librust-web-sys-0.3.28+biquadfilternode-dev (= 0.3.28-1), librust-web-sys-0.3.28+biquadfilteroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+biquadfiltertype-dev (= 0.3.28-1), librust-web-sys-0.3.28+blob-dev (= 0.3.28-1), librust-web-sys-0.3.28+blobevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+blobeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+blobpropertybag-dev (= 0.3.28-1), librust-web-sys-0.3.28+blockparsingoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+boxquadoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+broadcastchannel-dev (= 0.3.28-1), librust-web-sys-0.3.28+browserelementdownloadoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+browserelementexecutescriptoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+browserfeedwriter-dev (= 0.3.28-1), librust-web-sys-0.3.28+browserfindcasesensitivity-dev (= 0.3.28-1), librust-web-sys-0.3.28+browserfinddirection-dev (= 0.3.28-1), librust-web-sys-0.3.28+cache-dev (= 0.3.28-1), librust-web-sys-0.3.28+cachebatchoperation-dev (= 0.3.28-1), librust-web-sys-0.3.28+cachequeryoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+cachestorage-dev (= 0.3.28-1), librust-web-sys-0.3.28+cachestoragenamespace-dev (= 0.3.28-1), librust-web-sys-0.3.28+canvascapturemediastream-dev (= 0.3.28-1), librust-web-sys-0.3.28+canvasgradient-dev (= 0.3.28-1), librust-web-sys-0.3.28+canvaspattern-dev (= 0.3.28-1), librust-web-sys-0.3.28+canvasrenderingcontext2d-dev (= 0.3.28-1), librust-web-sys-0.3.28+canvaswindingrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+caretchangedreason-dev (= 0.3.28-1), librust-web-sys-0.3.28+caretposition-dev (= 0.3.28-1), librust-web-sys-0.3.28+caretstatechangedeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+cdatasection-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelcountmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelinterpretation-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelmergernode-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelmergeroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelpixellayout-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelpixellayoutdatatype-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelsplitternode-dev (= 0.3.28-1), librust-web-sys-0.3.28+channelsplitteroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+characterdata-dev (= 0.3.28-1), librust-web-sys-0.3.28+checkerboardreason-dev (= 0.3.28-1), librust-web-sys-0.3.28+checkerboardreport-dev (= 0.3.28-1), librust-web-sys-0.3.28+checkerboardreportservice-dev (= 0.3.28-1), librust-web-sys-0.3.28+chromefilepropertybag-dev (= 0.3.28-1), librust-web-sys-0.3.28+chromeworker-dev (= 0.3.28-1), librust-web-sys-0.3.28+client-dev (= 0.3.28-1), librust-web-sys-0.3.28+clientqueryoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+clientrectsandtexts-dev (= 0.3.28-1), librust-web-sys-0.3.28+clients-dev (= 0.3.28-1), librust-web-sys-0.3.28+clienttype-dev (= 0.3.28-1), librust-web-sys-0.3.28+clipboardevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+clipboardeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+closeevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+closeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+collectedclientdata-dev (= 0.3.28-1), librust-web-sys-0.3.28+comment-dev (= 0.3.28-1), librust-web-sys-0.3.28+compositeoperation-dev (= 0.3.28-1), librust-web-sys-0.3.28+compositionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+compositioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+computedeffecttiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+connectiontype-dev (= 0.3.28-1), librust-web-sys-0.3.28+connstatusdict-dev (= 0.3.28-1), librust-web-sys-0.3.28+console-dev (= 0.3.28-1), librust-web-sys-0.3.28+consolecounter-dev (= 0.3.28-1), librust-web-sys-0.3.28+consolecountererror-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoleevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoleinstance-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoleinstanceoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+consolelevel-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoleloglevel-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoleprofileevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+consolestackentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoletimererror-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoletimerlogorend-dev (= 0.3.28-1), librust-web-sys-0.3.28+consoletimerstart-dev (= 0.3.28-1), librust-web-sys-0.3.28+constantsourcenode-dev (= 0.3.28-1), librust-web-sys-0.3.28+constantsourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+constrainbooleanparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+constraindomstringparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+constraindoublerange-dev (= 0.3.28-1), librust-web-sys-0.3.28+constrainlongrange-dev (= 0.3.28-1), librust-web-sys-0.3.28+contextattributes2d-dev (= 0.3.28-1), librust-web-sys-0.3.28+convertcoordinateoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+convolvernode-dev (= 0.3.28-1), librust-web-sys-0.3.28+convolveroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+coordinates-dev (= 0.3.28-1), librust-web-sys-0.3.28+credential-dev (= 0.3.28-1), librust-web-sys-0.3.28+credentialcreationoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+credentialrequestoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+credentialscontainer-dev (= 0.3.28-1), librust-web-sys-0.3.28+crypto-dev (= 0.3.28-1), librust-web-sys-0.3.28+cryptokey-dev (= 0.3.28-1), librust-web-sys-0.3.28+cryptokeypair-dev (= 0.3.28-1), librust-web-sys-0.3.28+csp-dev (= 0.3.28-1), librust-web-sys-0.3.28+csppolicies-dev (= 0.3.28-1), librust-web-sys-0.3.28+cspreport-dev (= 0.3.28-1), librust-web-sys-0.3.28+cspreportproperties-dev (= 0.3.28-1), librust-web-sys-0.3.28+css-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssanimation-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssboxtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssconditionrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+csscounterstylerule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssfontfacerule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssfontfeaturevaluesrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssgroupingrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssimportrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+csskeyframerule-dev (= 0.3.28-1), librust-web-sys-0.3.28+csskeyframesrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssmediarule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssnamespacerule-dev (= 0.3.28-1), librust-web-sys-0.3.28+csspagerule-dev (= 0.3.28-1), librust-web-sys-0.3.28+csspseudoelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssrulelist-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssstyledeclaration-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssstylerule-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssstylesheet-dev (= 0.3.28-1), librust-web-sys-0.3.28+cssstylesheetparsingmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+csssupportsrule-dev (= 0.3.28-1), librust-web-sys-0.3.28+csstransition-dev (= 0.3.28-1), librust-web-sys-0.3.28+customelementregistry-dev (= 0.3.28-1), librust-web-sys-0.3.28+customevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+customeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+datatransfer-dev (= 0.3.28-1), librust-web-sys-0.3.28+datatransferitem-dev (= 0.3.28-1), librust-web-sys-0.3.28+datatransferitemlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+datetimevalue-dev (= 0.3.28-1), librust-web-sys-0.3.28+decoderdoctornotification-dev (= 0.3.28-1), librust-web-sys-0.3.28+decoderdoctornotificationtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+dedicatedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+default-dev (= 0.3.28-1), librust-web-sys-0.3.28+delaynode-dev (= 0.3.28-1), librust-web-sys-0.3.28+delayoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+deviceacceleration-dev (= 0.3.28-1), librust-web-sys-0.3.28+deviceaccelerationinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+devicelightevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+devicelighteventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+devicemotionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+devicemotioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+deviceorientationevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+deviceorientationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+deviceproximityevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+deviceproximityeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+devicerotationrate-dev (= 0.3.28-1), librust-web-sys-0.3.28+devicerotationrateinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+dhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+directionsetting-dev (= 0.3.28-1), librust-web-sys-0.3.28+directory-dev (= 0.3.28-1), librust-web-sys-0.3.28+displaynameoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+displaynameresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+distancemodeltype-dev (= 0.3.28-1), librust-web-sys-0.3.28+dnscachedict-dev (= 0.3.28-1), librust-web-sys-0.3.28+dnscacheentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+dnslookupdict-dev (= 0.3.28-1), librust-web-sys-0.3.28+document-dev (= 0.3.28-1), librust-web-sys-0.3.28+documentfragment-dev (= 0.3.28-1), librust-web-sys-0.3.28+documenttimeline-dev (= 0.3.28-1), librust-web-sys-0.3.28+documenttimelineoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+documenttype-dev (= 0.3.28-1), librust-web-sys-0.3.28+domerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+domexception-dev (= 0.3.28-1), librust-web-sys-0.3.28+domimplementation-dev (= 0.3.28-1), librust-web-sys-0.3.28+dommatrix-dev (= 0.3.28-1), librust-web-sys-0.3.28+dommatrixreadonly-dev (= 0.3.28-1), librust-web-sys-0.3.28+domparser-dev (= 0.3.28-1), librust-web-sys-0.3.28+dompoint-dev (= 0.3.28-1), librust-web-sys-0.3.28+dompointinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+dompointreadonly-dev (= 0.3.28-1), librust-web-sys-0.3.28+domquad-dev (= 0.3.28-1), librust-web-sys-0.3.28+domquadinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+domquadjson-dev (= 0.3.28-1), librust-web-sys-0.3.28+domrect-dev (= 0.3.28-1), librust-web-sys-0.3.28+domrectinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+domrectlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+domrectreadonly-dev (= 0.3.28-1), librust-web-sys-0.3.28+domrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+domrequestreadystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+domstringlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+domstringmap-dev (= 0.3.28-1), librust-web-sys-0.3.28+domtokenlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+domwindowresizeeventdetail-dev (= 0.3.28-1), librust-web-sys-0.3.28+dragevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+drageventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+dynamicscompressornode-dev (= 0.3.28-1), librust-web-sys-0.3.28+dynamicscompressoroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+ecdhkeyderiveparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+ecdsaparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+eckeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3.28+eckeygenparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+eckeyimportparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+effecttiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+element-dev (= 0.3.28-1), librust-web-sys-0.3.28+elementcreationoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+elementdefinitionoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+endingtypes-dev (= 0.3.28-1), librust-web-sys-0.3.28+errorcallback-dev (= 0.3.28-1), librust-web-sys-0.3.28+errorevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+erroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+event-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventlistener-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventlisteneroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventmodifierinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventsource-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventsourceinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+eventtarget-dev (= 0.3.28-1), librust-web-sys-0.3.28+exception-dev (= 0.3.28-1), librust-web-sys-0.3.28+extblendminmax-dev (= 0.3.28-1), librust-web-sys-0.3.28+extcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys-0.3.28+extcolorbufferhalffloat-dev (= 0.3.28-1), librust-web-sys-0.3.28+extdisjointtimerquery-dev (= 0.3.28-1), librust-web-sys-0.3.28+extendableevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+extendableeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+extendablemessageevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+extendablemessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+external-dev (= 0.3.28-1), librust-web-sys-0.3.28+extfragdepth-dev (= 0.3.28-1), librust-web-sys-0.3.28+extshadertexturelod-dev (= 0.3.28-1), librust-web-sys-0.3.28+extsrgb-dev (= 0.3.28-1), librust-web-sys-0.3.28+exttexturefilteranisotropic-dev (= 0.3.28-1), librust-web-sys-0.3.28+fakepluginmimeentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+fakeplugintaginit-dev (= 0.3.28-1), librust-web-sys-0.3.28+fetchevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+fetcheventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+fetchobserver-dev (= 0.3.28-1), librust-web-sys-0.3.28+fetchreadablestreamreaddataarray-dev (= 0.3.28-1), librust-web-sys-0.3.28+fetchreadablestreamreaddatadone-dev (= 0.3.28-1), librust-web-sys-0.3.28+fetchstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+file-dev (= 0.3.28-1), librust-web-sys-0.3.28+filecallback-dev (= 0.3.28-1), librust-web-sys-0.3.28+filelist-dev (= 0.3.28-1), librust-web-sys-0.3.28+filepropertybag-dev (= 0.3.28-1), librust-web-sys-0.3.28+filereader-dev (= 0.3.28-1), librust-web-sys-0.3.28+filereadersync-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystem-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystemdirectoryentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystemdirectoryreader-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystementriescallback-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystementry-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystementrycallback-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystemfileentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+filesystemflags-dev (= 0.3.28-1), librust-web-sys-0.3.28+fillmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+flashclassification-dev (= 0.3.28-1), librust-web-sys-0.3.28+flexlinegrowthstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+focusevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+focuseventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontface-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfacedescriptors-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfaceloadstatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfaceset-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfacesetiterator-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfacesetiteratorresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfacesetloadevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfacesetloadeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+fontfacesetloadstatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+formdata-dev (= 0.3.28-1), librust-web-sys-0.3.28+frametype-dev (= 0.3.28-1), librust-web-sys-0.3.28+fuzzingfunctions-dev (= 0.3.28-1), librust-web-sys-0.3.28+gainnode-dev (= 0.3.28-1), librust-web-sys-0.3.28+gainoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepad-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadaxismoveevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadaxismoveeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadbutton-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadbuttonevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadbuttoneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadhand-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadhapticactuator-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadhapticactuatortype-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadmappingtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadpose-dev (= 0.3.28-1), librust-web-sys-0.3.28+gamepadservicetest-dev (= 0.3.28-1), librust-web-sys-0.3.28+geolocation-dev (= 0.3.28-1), librust-web-sys-0.3.28+getnotificationoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+getrootnodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+getusermediarequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+griddeclaration-dev (= 0.3.28-1), librust-web-sys-0.3.28+gridtrackstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+groupedhistoryeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+halfopeninfodict-dev (= 0.3.28-1), librust-web-sys-0.3.28+hashchangeevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+hashchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+headers-dev (= 0.3.28-1), librust-web-sys-0.3.28+headersguardenum-dev (= 0.3.28-1), librust-web-sys-0.3.28+hiddenplugineventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+history-dev (= 0.3.28-1), librust-web-sys-0.3.28+hitregionoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+hkdfparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+hmacderivedkeyparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+hmacimportparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+hmackeyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3.28+hmackeygenparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlallcollection-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlanchorelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlareaelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlaudioelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlbaseelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlbodyelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlbrelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlbuttonelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlcanvaselement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlcollection-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldataelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldatalistelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldetailselement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldialogelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldirectoryelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldivelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldlistelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmldocument-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlembedelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlfieldsetelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlfontelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlformcontrolscollection-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlformelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlframeelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlframesetelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlheadelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlheadingelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlhrelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlhtmlelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlhyperlinkelementutils-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmliframeelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlimageelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlinputelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmllabelelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmllegendelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmllielement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmllinkelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmapelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmediaelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmenuelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmenuitemelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmetaelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmeterelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlmodelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlobjectelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlolistelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmloptgroupelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmloptionelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmloptionscollection-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmloutputelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlparagraphelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlparamelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlpictureelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlpreelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlprogresselement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlquoteelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlscriptelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlselectelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlslotelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlsourceelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlspanelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlstyleelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltablecaptionelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltablecellelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltablecolelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltableelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltablerowelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltablesectionelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltemplateelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltextareaelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltimeelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltitleelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmltrackelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlulistelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlunknownelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+htmlvideoelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+httpconndict-dev (= 0.3.28-1), librust-web-sys-0.3.28+httpconnectionelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+httpconninfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbcursor-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbcursordirection-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbcursorwithvalue-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbdatabase-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbfactory-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbfilehandle-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbfilemetadataparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbfilerequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbindex-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbindexparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbkeyrange-dev (= 0.3.28-1), librust-web-sys-0.3.28+idblocaleawarekeyrange-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbmutablefile-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbobjectstore-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbobjectstoreparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbopendboptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbopendbrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbrequestreadystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbtransaction-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbtransactionmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbversionchangeevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+idbversionchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+idledeadline-dev (= 0.3.28-1), librust-web-sys-0.3.28+idlerequestoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+iirfilternode-dev (= 0.3.28-1), librust-web-sys-0.3.28+iirfilteroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagebitmap-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagebitmapformat-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagebitmaprenderingcontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagecapture-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagecaptureerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagecaptureerrorevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagecaptureerroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+imagedata-dev (= 0.3.28-1), librust-web-sys-0.3.28+inputevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+inputeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+installtriggerdata-dev (= 0.3.28-1), librust-web-sys-0.3.28+intersectionobserver-dev (= 0.3.28-1), librust-web-sys-0.3.28+intersectionobserverentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+intersectionobserverentryinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+intersectionobserverinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+intlutils-dev (= 0.3.28-1), librust-web-sys-0.3.28+iterablekeyandvalueresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+iterablekeyorvalueresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+iterationcompositeoperation-dev (= 0.3.28-1), librust-web-sys-0.3.28+jsonwebkey-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyalgorithm-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyboardevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyboardeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyframeeffect-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyframeeffectoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+keyidsinitdata-dev (= 0.3.28-1), librust-web-sys-0.3.28+l10nelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+l10nvalue-dev (= 0.3.28-1), librust-web-sys-0.3.28+lifecyclecallbacks-dev (= 0.3.28-1), librust-web-sys-0.3.28+linealignsetting-dev (= 0.3.28-1), librust-web-sys-0.3.28+listboxobject-dev (= 0.3.28-1), librust-web-sys-0.3.28+localeinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+localmediastream-dev (= 0.3.28-1), librust-web-sys-0.3.28+location-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediacapabilities-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediacapabilitiesinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediadecodingconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediadecodingtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediadeviceinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediadevicekind-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediadevices-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaelementaudiosourcenode-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaelementaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaencodingconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaencodingtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaencryptedevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeyerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeymessageevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeymessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeymessagetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeyneededeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeys-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysession-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysessiontype-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeyspolicy-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysrequirement-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeystatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeystatusmap-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysystemaccess-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysystemconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysystemmediacapability-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediakeysystemstatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+medialist-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaquerylist-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaquerylistevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediaquerylisteventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediarecorder-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediarecordererrorevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediarecordererroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediarecorderoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediasource-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediasourceendofstreamerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediasourceenum-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediasourcereadystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastream-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamaudiodestinationnode-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamaudiosourcenode-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamaudiosourceoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamconstraints-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreameventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamtrack-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamtrackevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamtrackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediastreamtrackstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediatrackconstraints-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediatrackconstraintset-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediatracksettings-dev (= 0.3.28-1), librust-web-sys-0.3.28+mediatracksupportedconstraints-dev (= 0.3.28-1), librust-web-sys-0.3.28+messagechannel-dev (= 0.3.28-1), librust-web-sys-0.3.28+messageevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+messageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+messageport-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiaccess-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiconnectionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiconnectioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiinput-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiinputmap-dev (= 0.3.28-1), librust-web-sys-0.3.28+midimessageevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+midimessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+midioptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+midioutput-dev (= 0.3.28-1), librust-web-sys-0.3.28+midioutputmap-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiport-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiportconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiportdevicestate-dev (= 0.3.28-1), librust-web-sys-0.3.28+midiporttype-dev (= 0.3.28-1), librust-web-sys-0.3.28+mimetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+mimetypearray-dev (= 0.3.28-1), librust-web-sys-0.3.28+mouseevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mouseeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mousescrollevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mozdebug-dev (= 0.3.28-1), librust-web-sys-0.3.28+mutationevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+mutationobserver-dev (= 0.3.28-1), librust-web-sys-0.3.28+mutationobserverinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+mutationobservinginfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+mutationrecord-dev (= 0.3.28-1), librust-web-sys-0.3.28+namednodemap-dev (= 0.3.28-1), librust-web-sys-0.3.28+nativeosfilereadoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+nativeosfilewriteatomicoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+navigationtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+navigator-dev (= 0.3.28-1), librust-web-sys-0.3.28+navigatorautomationinformation-dev (= 0.3.28-1), librust-web-sys-0.3.28+networkcommandoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+networkinformation-dev (= 0.3.28-1), librust-web-sys-0.3.28+networkresultoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+node-dev (= 0.3.28-1), librust-web-sys-0.3.28+nodefilter-dev (= 0.3.28-1), librust-web-sys-0.3.28+nodeiterator-dev (= 0.3.28-1), librust-web-sys-0.3.28+nodelist-dev (= 0.3.28-1), librust-web-sys-0.3.28+notification-dev (= 0.3.28-1), librust-web-sys-0.3.28+notificationbehavior-dev (= 0.3.28-1), librust-web-sys-0.3.28+notificationdirection-dev (= 0.3.28-1), librust-web-sys-0.3.28+notificationevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+notificationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+notificationoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+notificationpermission-dev (= 0.3.28-1), librust-web-sys-0.3.28+observercallback-dev (= 0.3.28-1), librust-web-sys-0.3.28+oeselementindexuint-dev (= 0.3.28-1), librust-web-sys-0.3.28+oesstandardderivatives-dev (= 0.3.28-1), librust-web-sys-0.3.28+oestexturefloat-dev (= 0.3.28-1), librust-web-sys-0.3.28+oestexturefloatlinear-dev (= 0.3.28-1), librust-web-sys-0.3.28+oestexturehalffloat-dev (= 0.3.28-1), librust-web-sys-0.3.28+oestexturehalffloatlinear-dev (= 0.3.28-1), librust-web-sys-0.3.28+oesvertexarrayobject-dev (= 0.3.28-1), librust-web-sys-0.3.28+offlineaudiocompletionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+offlineaudiocompletioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+offlineaudiocontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+offlineaudiocontextoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+offlineresourcelist-dev (= 0.3.28-1), librust-web-sys-0.3.28+offscreencanvas-dev (= 0.3.28-1), librust-web-sys-0.3.28+openwindoweventdetail-dev (= 0.3.28-1), librust-web-sys-0.3.28+optionaleffecttiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+orientationlocktype-dev (= 0.3.28-1), librust-web-sys-0.3.28+orientationtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+oscillatornode-dev (= 0.3.28-1), librust-web-sys-0.3.28+oscillatoroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+oscillatortype-dev (= 0.3.28-1), librust-web-sys-0.3.28+oversampletype-dev (= 0.3.28-1), librust-web-sys-0.3.28+pagetransitionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+pagetransitioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+paintrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+paintrequestlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+paintworkletglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+pannernode-dev (= 0.3.28-1), librust-web-sys-0.3.28+panneroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+panningmodeltype-dev (= 0.3.28-1), librust-web-sys-0.3.28+path2d-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentaddress-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentcomplete-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentmethodchangeevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentmethodchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentrequestupdateevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentrequestupdateeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+paymentresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+pbkdf2params-dev (= 0.3.28-1), librust-web-sys-0.3.28+pcimpliceconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+pcimplicegatheringstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+pcimplsignalingstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+pcobserverstatetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+performance-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceentryeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceentryfilteroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+performancemark-dev (= 0.3.28-1), librust-web-sys-0.3.28+performancemeasure-dev (= 0.3.28-1), librust-web-sys-0.3.28+performancenavigation-dev (= 0.3.28-1), librust-web-sys-0.3.28+performancenavigationtiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceobserver-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceobserverentrylist-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceobserverinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceresourcetiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+performanceservertiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+performancetiming-dev (= 0.3.28-1), librust-web-sys-0.3.28+periodicwave-dev (= 0.3.28-1), librust-web-sys-0.3.28+periodicwaveconstraints-dev (= 0.3.28-1), librust-web-sys-0.3.28+periodicwaveoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+permissiondescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+permissionname-dev (= 0.3.28-1), librust-web-sys-0.3.28+permissions-dev (= 0.3.28-1), librust-web-sys-0.3.28+permissionstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+permissionstatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+playbackdirection-dev (= 0.3.28-1), librust-web-sys-0.3.28+plugin-dev (= 0.3.28-1), librust-web-sys-0.3.28+pluginarray-dev (= 0.3.28-1), librust-web-sys-0.3.28+plugincrashedeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+pointerevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+pointereventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+popstateevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+popstateeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+popupblockedevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+popupblockedeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+position-dev (= 0.3.28-1), librust-web-sys-0.3.28+positionalignsetting-dev (= 0.3.28-1), librust-web-sys-0.3.28+positionerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+positionoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentation-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationavailability-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnection-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectionavailableevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectionavailableeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectionbinarytype-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectionclosedreason-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectioncloseevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectioncloseeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectionlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationreceiver-dev (= 0.3.28-1), librust-web-sys-0.3.28+presentationrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+processinginstruction-dev (= 0.3.28-1), librust-web-sys-0.3.28+profiletimelinelayerrect-dev (= 0.3.28-1), librust-web-sys-0.3.28+profiletimelinemarker-dev (= 0.3.28-1), librust-web-sys-0.3.28+profiletimelinemessageportoperationtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+profiletimelinestackframe-dev (= 0.3.28-1), librust-web-sys-0.3.28+profiletimelineworkeroperationtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+progressevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+progresseventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+promisenativehandler-dev (= 0.3.28-1), librust-web-sys-0.3.28+promiserejectionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+promiserejectioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredential-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialcreationoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialentity-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialrequestoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialrpentity-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+publickeycredentialuserentity-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushencryptionkeyname-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+pusheventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushmanager-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushmessagedata-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushpermissionstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushsubscription-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushsubscriptioninit-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushsubscriptionjson-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushsubscriptionkeys-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushsubscriptionoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+pushsubscriptionoptionsinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+radionodelist-dev (= 0.3.28-1), librust-web-sys-0.3.28+range-dev (= 0.3.28-1), librust-web-sys-0.3.28+rcwnperfstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rcwnstatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+readablestream-dev (= 0.3.28-1), librust-web-sys-0.3.28+recordingstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+referrerpolicy-dev (= 0.3.28-1), librust-web-sys-0.3.28+registeredkey-dev (= 0.3.28-1), librust-web-sys-0.3.28+registerrequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+registerresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+registrationoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+request-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestcache-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestcredentials-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestdestination-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestmediakeysystemaccessnotification-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+requestredirect-dev (= 0.3.28-1), librust-web-sys-0.3.28+response-dev (= 0.3.28-1), librust-web-sys-0.3.28+responseinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+responsetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rsahashedimportparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+rsaoaepparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+rsaotherprimesinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+rsapssparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcansweroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcbundlepolicy-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtccertificate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtccertificateexpiration-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtccodecstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdatachannel-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdatachannelevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdatachanneleventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdatachannelinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdatachannelstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdatachanneltype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdegradationpreference-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdtmfsender-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdtmftonechangeevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcdtmftonechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcfecparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicecandidate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicecandidateinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicecandidatepairstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicecandidatestats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicecomponentstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtciceconnectionstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicecredentialtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicegatheringstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtciceserver-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcicetransportpolicy-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityassertion-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityassertionresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityprovider-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityproviderdetails-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityprovideroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityproviderregistrar-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcidentityvalidationresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcinboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtclifecycleevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcmediastreamstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcmediastreamtrackstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcofferansweroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcofferoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcoutboundrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcpeerconnection-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcpeerconnectioniceevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcpeerconnectioniceeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcprioritytype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtcpparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpcodecparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpcontributingsource-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpcontributingsourcestats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpencodingparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpheaderextensionparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpreceiver-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpsender-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpsourceentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpsourceentrytype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpstreamstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtpsynchronizationsource-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtptransceiver-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtptransceiverdirection-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtptransceiverinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcrtxparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcsdptype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcsessiondescription-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcsessiondescriptioninit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcsignalingstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcstatsicecandidatepairstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcstatsicecandidatetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcstatsreport-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcstatsreportinternal-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtcstatstype-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtctrackevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtctrackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+rtctransportstats-dev (= 0.3.28-1), librust-web-sys-0.3.28+screen-dev (= 0.3.28-1), librust-web-sys-0.3.28+screencolorgamut-dev (= 0.3.28-1), librust-web-sys-0.3.28+screenluminance-dev (= 0.3.28-1), librust-web-sys-0.3.28+screenorientation-dev (= 0.3.28-1), librust-web-sys-0.3.28+scriptprocessornode-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollareaevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollbehavior-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollboxobject-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollintoviewoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrolllogicalposition-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrolloptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollrestoration-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollsetting-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrolltooptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+scrollviewchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+securitypolicyviolationevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+securitypolicyviolationeventdisposition-dev (= 0.3.28-1), librust-web-sys-0.3.28+securitypolicyviolationeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+selection-dev (= 0.3.28-1), librust-web-sys-0.3.28+serversocketoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+serviceworker-dev (= 0.3.28-1), librust-web-sys-0.3.28+serviceworkercontainer-dev (= 0.3.28-1), librust-web-sys-0.3.28+serviceworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+serviceworkerregistration-dev (= 0.3.28-1), librust-web-sys-0.3.28+serviceworkerstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+serviceworkerupdateviacache-dev (= 0.3.28-1), librust-web-sys-0.3.28+shadowroot-dev (= 0.3.28-1), librust-web-sys-0.3.28+shadowrootinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+shadowrootmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+sharedworker-dev (= 0.3.28-1), librust-web-sys-0.3.28+sharedworkerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+signresponse-dev (= 0.3.28-1), librust-web-sys-0.3.28+socketelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+socketoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+socketreadystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+socketsdict-dev (= 0.3.28-1), librust-web-sys-0.3.28+sourcebuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+sourcebufferappendmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+sourcebufferlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechgrammar-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechgrammarlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognition-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionalternative-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionerror-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionerrorcode-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionerrorinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechrecognitionresultlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesis-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesiserrorcode-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesiserrorevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesiserroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesisevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesiseventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesisutterance-dev (= 0.3.28-1), librust-web-sys-0.3.28+speechsynthesisvoice-dev (= 0.3.28-1), librust-web-sys-0.3.28+stereopannernode-dev (= 0.3.28-1), librust-web-sys-0.3.28+stereopanneroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+storage-dev (= 0.3.28-1), librust-web-sys-0.3.28+storageestimate-dev (= 0.3.28-1), librust-web-sys-0.3.28+storageevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+storageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+storagemanager-dev (= 0.3.28-1), librust-web-sys-0.3.28+storagetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+stylerulechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+stylesheet-dev (= 0.3.28-1), librust-web-sys-0.3.28+stylesheetapplicablestatechangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+stylesheetchangeeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+stylesheetlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+subtlecrypto-dev (= 0.3.28-1), librust-web-sys-0.3.28+supportedtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgaelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgangle-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedangle-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedboolean-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedenumeration-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedinteger-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedlength-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedlengthlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatednumber-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatednumberlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedrect-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedstring-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatedtransformlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimateelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatemotionelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimatetransformelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svganimationelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgboundingboxoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgcircleelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgclippathelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgcomponenttransferfunctionelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgdefselement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgdescelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgellipseelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfeblendelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfecolormatrixelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfecomponenttransferelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfecompositeelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfeconvolvematrixelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfediffuselightingelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfedisplacementmapelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfedistantlightelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfedropshadowelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfefloodelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfefuncaelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfefuncbelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfefuncgelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfefuncrelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfegaussianblurelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfeimageelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfemergeelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfemergenodeelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfemorphologyelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfeoffsetelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfepointlightelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfespecularlightingelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfespotlightelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfetileelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfeturbulenceelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgfilterelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgforeignobjectelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svggelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svggeometryelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svggradientelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svggraphicselement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgimageelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svglength-dev (= 0.3.28-1), librust-web-sys-0.3.28+svglengthlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svglineargradientelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svglineelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgmarkerelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgmaskelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgmatrix-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgmetadataelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgmpathelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgnumber-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgnumberlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseg-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegarcabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegarcrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegclosepath-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetocubicabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetocubicrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetocubicsmoothabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetocubicsmoothrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetoquadraticabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetoquadraticrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetoquadraticsmoothabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegcurvetoquadraticsmoothrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglinetoabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglinetohorizontalabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglinetohorizontalrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglinetorel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglinetoverticalabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglinetoverticalrel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathseglist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegmovetoabs-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpathsegmovetorel-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpatternelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpoint-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpointlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpolygonelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpolylineelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgpreserveaspectratio-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgradialgradientelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgrect-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgrectelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgscriptelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgsetelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgstopelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgstringlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgstyleelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgsvgelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgswitchelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgsymbolelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtextcontentelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtextelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtextpathelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtextpositioningelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtitleelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtransform-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtransformlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgtspanelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgunittypes-dev (= 0.3.28-1), librust-web-sys-0.3.28+svguseelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgviewelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+svgzoomandpan-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpreadystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpserversocket-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpserversocketevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpserversocketeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpsocket-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpsocketbinarytype-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpsocketerrorevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpsocketerroreventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpsocketevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+tcpsocketeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+text-dev (= 0.3.28-1), librust-web-sys-0.3.28+textdecodeoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+textdecoder-dev (= 0.3.28-1), librust-web-sys-0.3.28+textdecoderoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+textencoder-dev (= 0.3.28-1), librust-web-sys-0.3.28+textmetrics-dev (= 0.3.28-1), librust-web-sys-0.3.28+texttrack-dev (= 0.3.28-1), librust-web-sys-0.3.28+texttrackcue-dev (= 0.3.28-1), librust-web-sys-0.3.28+texttrackcuelist-dev (= 0.3.28-1), librust-web-sys-0.3.28+texttrackkind-dev (= 0.3.28-1), librust-web-sys-0.3.28+texttracklist-dev (= 0.3.28-1), librust-web-sys-0.3.28+texttrackmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+timeevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+timeranges-dev (= 0.3.28-1), librust-web-sys-0.3.28+touch-dev (= 0.3.28-1), librust-web-sys-0.3.28+touchevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+toucheventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+touchinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+touchlist-dev (= 0.3.28-1), librust-web-sys-0.3.28+trackevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+trackeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+transitionevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+transitioneventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+transport-dev (= 0.3.28-1), librust-web-sys-0.3.28+treeboxobject-dev (= 0.3.28-1), librust-web-sys-0.3.28+treecellinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+treeview-dev (= 0.3.28-1), librust-web-sys-0.3.28+treewalker-dev (= 0.3.28-1), librust-web-sys-0.3.28+u2f-dev (= 0.3.28-1), librust-web-sys-0.3.28+u2fclientdata-dev (= 0.3.28-1), librust-web-sys-0.3.28+udpmessageeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+udpoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+uievent-dev (= 0.3.28-1), librust-web-sys-0.3.28+uieventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+url-dev (= 0.3.28-1), librust-web-sys-0.3.28+urlsearchparams-dev (= 0.3.28-1), librust-web-sys-0.3.28+userproximityevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+userproximityeventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+userverificationrequirement-dev (= 0.3.28-1), librust-web-sys-0.3.28+validitystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+videoconfiguration-dev (= 0.3.28-1), librust-web-sys-0.3.28+videofacingmodeenum-dev (= 0.3.28-1), librust-web-sys-0.3.28+videoplaybackquality-dev (= 0.3.28-1), librust-web-sys-0.3.28+videostreamtrack-dev (= 0.3.28-1), librust-web-sys-0.3.28+videotrack-dev (= 0.3.28-1), librust-web-sys-0.3.28+videotracklist-dev (= 0.3.28-1), librust-web-sys-0.3.28+visibilitystate-dev (= 0.3.28-1), librust-web-sys-0.3.28+voidcallback-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrdisplay-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrdisplaycapabilities-dev (= 0.3.28-1), librust-web-sys-0.3.28+vreye-dev (= 0.3.28-1), librust-web-sys-0.3.28+vreyeparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrfieldofview-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrframedata-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrlayer-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrmockcontroller-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrmockdisplay-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrpose-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrservicetest-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrstageparameters-dev (= 0.3.28-1), librust-web-sys-0.3.28+vrsubmitframeresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+vttcue-dev (= 0.3.28-1), librust-web-sys-0.3.28+vttregion-dev (= 0.3.28-1), librust-web-sys-0.3.28+waveshapernode-dev (= 0.3.28-1), librust-web-sys-0.3.28+waveshaperoptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgl2renderingcontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglactiveinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglbuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcolorbufferfloat-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtextureastc-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtextureatc-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtextureetc-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtextureetc1-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtexturepvrtc-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtextures3tc-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcompressedtextures3tcsrgb-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcontextattributes-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcontextevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglcontexteventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgldebugrendererinfo-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgldebugshaders-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgldepthtexture-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgldrawbuffers-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglframebuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgllosecontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglpowerpreference-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglprogram-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglquery-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglrenderbuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglrenderingcontext-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglsampler-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglshader-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglshaderprecisionformat-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglsync-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgltexture-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgltransformfeedback-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgluniformlocation-dev (= 0.3.28-1), librust-web-sys-0.3.28+webglvertexarrayobject-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpu-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuadapter-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuadapterdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuattachmentstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuattachmentstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubindgroup-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubindgroupbinding-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubindgroupdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubindgrouplayout-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubindgrouplayoutdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubinding-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubindingtype-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpublenddescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpublendfactor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpublendoperation-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpublendstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpublendstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubufferbinding-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubufferdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpubufferusage-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucolorwritebits-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucommandbuffer-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucommandencoder-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucommandencoderdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucomparefunction-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucomputepipeline-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpucomputepipelinedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpudepthstencilstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpudepthstencilstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpudevice-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpudevicedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuextensions-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpufence-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpufiltermode-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuindexformat-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuinputstate-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuinputstatedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuinputstepmode-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpulimits-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuloadop-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpulogentry-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpulogentrytype-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuobjectstatus-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpupipelinedescriptorbase-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpupipelinelayout-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpupipelinelayoutdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpupipelinestagedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpupowerpreference-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuprimitivetopology-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuqueue-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpurenderpassattachmentdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpurenderpassdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpurenderpipeline-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpurenderpipelinedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpusampler-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpusamplerdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpushadermodule-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpushadermoduledescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpushaderstage-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpushaderstagebit-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpustenciloperation-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpustencilstatefacedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpustoreop-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuswapchain-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuswapchaindescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputexture-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputexturedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputexturedimension-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputextureformat-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputextureusage-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputextureview-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgputextureviewdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuvertexattributedescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuvertexformat-dev (= 0.3.28-1), librust-web-sys-0.3.28+webgpuvertexinputdescriptor-dev (= 0.3.28-1), librust-web-sys-0.3.28+webkitcssmatrix-dev (= 0.3.28-1), librust-web-sys-0.3.28+webrtcglobalstatisticsreport-dev (= 0.3.28-1), librust-web-sys-0.3.28+websocket-dev (= 0.3.28-1), librust-web-sys-0.3.28+websocketdict-dev (= 0.3.28-1), librust-web-sys-0.3.28+websocketelement-dev (= 0.3.28-1), librust-web-sys-0.3.28+wheelevent-dev (= 0.3.28-1), librust-web-sys-0.3.28+wheeleventinit-dev (= 0.3.28-1), librust-web-sys-0.3.28+widevinecdmmanifest-dev (= 0.3.28-1), librust-web-sys-0.3.28+window-dev (= 0.3.28-1), librust-web-sys-0.3.28+windowclient-dev (= 0.3.28-1), librust-web-sys-0.3.28+worker-dev (= 0.3.28-1), librust-web-sys-0.3.28+workerdebuggerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+workerglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+workerlocation-dev (= 0.3.28-1), librust-web-sys-0.3.28+workernavigator-dev (= 0.3.28-1), librust-web-sys-0.3.28+workeroptions-dev (= 0.3.28-1), librust-web-sys-0.3.28+worklet-dev (= 0.3.28-1), librust-web-sys-0.3.28+workletglobalscope-dev (= 0.3.28-1), librust-web-sys-0.3.28+xmldocument-dev (= 0.3.28-1), librust-web-sys-0.3.28+xmlhttprequest-dev (= 0.3.28-1), librust-web-sys-0.3.28+xmlhttprequesteventtarget-dev (= 0.3.28-1), librust-web-sys-0.3.28+xmlhttprequestresponsetype-dev (= 0.3.28-1), librust-web-sys-0.3.28+xmlhttprequestupload-dev (= 0.3.28-1), librust-web-sys-0.3.28+xmlserializer-dev (= 0.3.28-1), librust-web-sys-0.3.28+xpathexpression-dev (= 0.3.28-1), librust-web-sys-0.3.28+xpathnsresolver-dev (= 0.3.28-1), librust-web-sys-0.3.28+xpathresult-dev (= 0.3.28-1), librust-web-sys-0.3.28+xsltprocessor-dev (= 0.3.28-1), librust-web-sys-0.3.28-dev (= 0.3.28-1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/length/provides-field-too-long/build-spec/fill-values b/t/recipes/checks/fields/length/provides-field-too-long/build-spec/fill-values new file mode 100644 index 0000000..7210bf8 --- /dev/null +++ b/t/recipes/checks/fields/length/provides-field-too-long/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: provides-field-too-long +Description: The Provides: field d/control is too long. diff --git a/t/recipes/checks/fields/length/provides-field-too-long/eval/desc b/t/recipes/checks/fields/length/provides-field-too-long/eval/desc new file mode 100644 index 0000000..14ba528 --- /dev/null +++ b/t/recipes/checks/fields/length/provides-field-too-long/eval/desc @@ -0,0 +1,3 @@ +Testname: provides-field-too-long +See-Also: Debian Bug#942493 +Check: fields/length diff --git a/t/recipes/checks/fields/length/provides-field-too-long/eval/hints b/t/recipes/checks/fields/length/provides-field-too-long/eval/hints new file mode 100644 index 0000000..eaf6d05 --- /dev/null +++ b/t/recipes/checks/fields/length/provides-field-too-long/eval/hints @@ -0,0 +1 @@ +provides-field-too-long (binary): field-too-long Provides (277987 chars > 5000) diff --git a/t/recipes/checks/fields/mail-address/alioth-list/build-spec/fill-values b/t/recipes/checks/fields/mail-address/alioth-list/build-spec/fill-values new file mode 100644 index 0000000..49c606a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/alioth-list/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: alioth-list +Author: Packaging Team <pkg-team@lists.alioth.debian.org> +Description: Package with alioth list in maintainer field diff --git a/t/recipes/checks/fields/mail-address/alioth-list/eval/desc b/t/recipes/checks/fields/mail-address/alioth-list/eval/desc new file mode 100644 index 0000000..2b28f4c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/alioth-list/eval/desc @@ -0,0 +1,2 @@ +Testname: alioth-list +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/alioth-list/eval/hints b/t/recipes/checks/fields/mail-address/alioth-list/eval/hints new file mode 100644 index 0000000..37f9202 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/alioth-list/eval/hints @@ -0,0 +1,2 @@ +alioth-list (source): mailing-list-on-alioth Maintainer pkg-team@lists.alioth.debian.org +alioth-list (source): mail-contact Maintainer "Packaging Team" <pkg-team@lists.alioth.debian.org> diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values new file mode 100644 index 0000000..b56d57a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changed-by-localhost +Description: Test Changed-By field with localhost address diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in new file mode 100644 index 0000000..efffd8b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: Someone <someone@localhost.localdomain> +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc new file mode 100644 index 0000000..7eee22e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc @@ -0,0 +1,2 @@ +Testname: changed-by-localhost +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints new file mode 100644 index 0000000..0b00bd4 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints @@ -0,0 +1,3 @@ +changed-by-localhost (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changed-by-localhost (changes): mail-contact Changed-By Someone <someone@localhost.localdomain> +changed-by-localhost (changes): bogus-mail-host Changed-By someone@localhost.localdomain diff --git a/t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/fill-values new file mode 100644 index 0000000..53a6789 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changed-by-malformed +Description: Test malformed Changed-By field diff --git a/t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/test.changes.in new file mode 100644 index 0000000..b5be7b7 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-malformed/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: Foo<bar> Baz +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changed-by-malformed/eval/desc b/t/recipes/checks/fields/mail-address/changed-by-malformed/eval/desc new file mode 100644 index 0000000..09f2ccc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-malformed/eval/desc @@ -0,0 +1,2 @@ +Testname: changed-by-malformed +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changed-by-malformed/eval/hints b/t/recipes/checks/fields/mail-address/changed-by-malformed/eval/hints new file mode 100644 index 0000000..1446169 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-malformed/eval/hints @@ -0,0 +1,2 @@ +changed-by-malformed (changes): malformed-contact Changed-By Foo<bar> +changed-by-malformed (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/fill-values new file mode 100644 index 0000000..8cdb321 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changed-by-no-name +Description: Test Changed-By field with missing name diff --git a/t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/test.changes.in new file mode 100644 index 0000000..80cee42 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-no-name/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: someone@example.com +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changed-by-no-name/eval/desc b/t/recipes/checks/fields/mail-address/changed-by-no-name/eval/desc new file mode 100644 index 0000000..3d4100d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-no-name/eval/desc @@ -0,0 +1,2 @@ +Testname: changed-by-no-name +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changed-by-no-name/eval/hints b/t/recipes/checks/fields/mail-address/changed-by-no-name/eval/hints new file mode 100644 index 0000000..4d7838c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-no-name/eval/hints @@ -0,0 +1,3 @@ +changed-by-no-name (changes): no-phrase Changed-By someone@example.com +changed-by-no-name (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changed-by-no-name (changes): mail-contact Changed-By someone@example.com diff --git a/t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/fill-values new file mode 100644 index 0000000..03b2a46 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changed-by-root-email +Description: Test Changed-By field with root user diff --git a/t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/test.changes.in new file mode 100644 index 0000000..2dd3fbc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root-email/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: someone <root@debian.org> +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changed-by-root-email/eval/desc b/t/recipes/checks/fields/mail-address/changed-by-root-email/eval/desc new file mode 100644 index 0000000..3b579ce --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root-email/eval/desc @@ -0,0 +1,2 @@ +Testname: changed-by-root-email +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changed-by-root-email/eval/hints b/t/recipes/checks/fields/mail-address/changed-by-root-email/eval/hints new file mode 100644 index 0000000..2137fec --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root-email/eval/hints @@ -0,0 +1,3 @@ +changed-by-root-email (changes): root-in-contact Changed-By someone <root@debian.org> +changed-by-root-email (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changed-by-root-email (changes): mail-contact Changed-By someone <root@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changed-by-root/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changed-by-root/build-spec/fill-values new file mode 100644 index 0000000..c50862a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changed-by-root +Description: Test Changed-By field with root user diff --git a/t/recipes/checks/fields/mail-address/changed-by-root/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changed-by-root/build-spec/test.changes.in new file mode 100644 index 0000000..0968226 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: root <someone@debian.org> +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changed-by-root/eval/desc b/t/recipes/checks/fields/mail-address/changed-by-root/eval/desc new file mode 100644 index 0000000..2d55c56 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root/eval/desc @@ -0,0 +1,2 @@ +Testname: changed-by-root +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changed-by-root/eval/hints b/t/recipes/checks/fields/mail-address/changed-by-root/eval/hints new file mode 100644 index 0000000..3dea25c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changed-by-root/eval/hints @@ -0,0 +1,3 @@ +changed-by-root (changes): root-in-contact Changed-By root <someone@debian.org> +changed-by-root (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changed-by-root (changes): mail-contact Changed-By root <someone@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/debian/changelog.in new file mode 100644 index 0000000..227f65f --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) squeeze-backports; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (0.1) experimental; urgency=low + + * First upload to experimental. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/fill-values new file mode 100644 index 0000000..486ac79 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changelog-file-backport/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: changelog-file-backport +Description: Check backport +# Overrides the "data/changes-file/known-dists" +# data file to avoid updating the test every release diff --git a/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/desc b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/desc new file mode 100644 index 0000000..5a915d6 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/desc @@ -0,0 +1,6 @@ +Testname: changelog-file-backport +Options: --include-dir ./lintian-include-dir +Profile: lintian-test +Check: fields/mail-address +# Overrides the "data/changes-file/known-dists" +# data file to avoid updating the test every release diff --git a/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/hints b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/hints new file mode 100644 index 0000000..575f53d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/hints @@ -0,0 +1,4 @@ +changelog-file-backport (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changelog-file-backport (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changelog-file-backport (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +changelog-file-backport (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists new file mode 100644 index 0000000..ebbedbd --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists @@ -0,0 +1,23 @@ +# A list of Debian distributions, both code names and their aliases +# - Note that common "extensions"[1] are stripped before checking for the +# distribution name (except for "sid", "unstable" and "experimental"). +# +# [1] -backports, -security, -proposed-updates etc. See checks/changes-file +# for the complete list. + + +# Codenames +squeeze +wheezy +jessie +stretch +buster +sid + +# Aliases +oldstable +stable +testing +unstable +experimental + diff --git a/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/fill-values new file mode 100644 index 0000000..0783088 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: changes +Testname: changes-bad-ubuntu-distribution +Version: 1.0+ubuntu2 +Description: Test for invalid Ubuntu distribution diff --git a/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/test.changes.in new file mode 100644 index 0000000..e3f1128 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/build-spec/test.changes.in @@ -0,0 +1,12 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: wispy +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/desc b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/desc new file mode 100644 index 0000000..714dddf --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/desc @@ -0,0 +1,3 @@ +Testname: changes-bad-ubuntu-distribution +Profile: ubuntu/main +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/hints b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/hints new file mode 100644 index 0000000..149bc21 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-bad-ubuntu-distribution/eval/hints @@ -0,0 +1,2 @@ +changes-bad-ubuntu-distribution (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-bad-ubuntu-distribution (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/fill-values new file mode 100644 index 0000000..7263201 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-distribution-mismatch +Description: Test for unstable package to be installed in stable diff --git a/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/test.changes.in new file mode 100644 index 0000000..6801232 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/build-spec/test.changes.in @@ -0,0 +1,16 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: stable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] +Changes: + [% $source %] ([% $version %]) unstable; urgency=low + . + * I used the wrong argument to `sbuild -d`. diff --git a/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/desc b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/desc new file mode 100644 index 0000000..d4cb7cb --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-distribution-mismatch +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/hints b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/hints new file mode 100644 index 0000000..78784c0 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-distribution-mismatch/eval/hints @@ -0,0 +1,2 @@ +changes-distribution-mismatch (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-distribution-mismatch (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/fill-values new file mode 100644 index 0000000..d4d4d3d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-experimental-mismatch +Description: Test for experimental package to be installed in unstable diff --git a/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/test.changes.in new file mode 100644 index 0000000..1476333 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/build-spec/test.changes.in @@ -0,0 +1,16 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] +Changes: + [% $source %] ([% $version %]) experimental; urgency=low + . + * I used the wrong argument to `sbuild -d`. diff --git a/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/desc b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/desc new file mode 100644 index 0000000..4ed6d8b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-experimental-mismatch +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/hints b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/hints new file mode 100644 index 0000000..d8727dc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-experimental-mismatch/eval/hints @@ -0,0 +1,2 @@ +changes-experimental-mismatch (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-experimental-mismatch (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/fill-values new file mode 100644 index 0000000..ecce948 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-file-bad-section +Description: Test for bad section in changes file diff --git a/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/referenced-files/__some-file__ b/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/referenced-files/__some-file__ new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/referenced-files/__some-file__ @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/test.changes.in new file mode 100644 index 0000000..721e067 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-bad-section/build-spec/test.changes.in @@ -0,0 +1,18 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Files: + 8de2b87704ef0a11144b57d243db88ec 12 non-free optional __some-file__ +Checksums-Sha1: + c54c65218154f15c32ca252946786e0ad09aa99b 12 __some-file__ +Checksums-Sha256: + e6c1396639c0b79bebc94e4448cfe2700b871d45d0d38d98df6ee9da3f09d35c 12 __some-file__ +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/desc b/t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/desc new file mode 100644 index 0000000..229c550 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-file-bad-section +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/hints b/t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/hints new file mode 100644 index 0000000..f19975a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-bad-section/eval/hints @@ -0,0 +1,2 @@ +changes-file-bad-section (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-file-bad-section (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/fill-values new file mode 100644 index 0000000..74f84be --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-file-size-checksum-mismatch +Description: Test for file size and checksums check diff --git a/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ new file mode 100644 index 0000000..336f590 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ @@ -0,0 +1 @@ +Hallo World diff --git a/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/test.changes.in new file mode 100644 index 0000000..c61138b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/build-spec/test.changes.in @@ -0,0 +1,18 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Files: + d41d8cd98f00b204e9800998ecf8427e 0 devel optional __some-file__ +Checksums-Sha1: + da39a3ee5e6b4b0d3255bfef95601890afd80709 0 __some-file__ +Checksums-Sha256: + e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 __some-file__ +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/desc b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/desc new file mode 100644 index 0000000..de01a65 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-file-size-checksum-mismatch +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/hints b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/hints new file mode 100644 index 0000000..615b8af --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-file-size-checksum-mismatch/eval/hints @@ -0,0 +1,2 @@ +changes-file-size-checksum-mismatch (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-file-size-checksum-mismatch (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in new file mode 100644 index 0000000..0312410 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/debian/control.in @@ -0,0 +1,36 @@ +Source: [% $source %] +Section: [% $section %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbg +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbg package + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It + may be an empty package. + +Package: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: [% $source %], ${shlibs:Depends}, ${misc:Depends} +Description: Manual dbgsym package + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + even be an empty package. diff --git a/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values new file mode 100644 index 0000000..4d83180 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Package-Architecture: any +Description: Package builds -dbg and -dbgsym diff --git a/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc new file mode 100644 index 0000000..19caa6d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-files-package-builds-dbg-and-dbgsym-variants +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints new file mode 100644 index 0000000..cc52ce4 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-files-package-builds-dbg-and-dbgsym-variants/eval/hints @@ -0,0 +1,6 @@ +changes-files-package-builds-dbg-and-dbgsym-variants (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-files-package-builds-dbg-and-dbgsym-variants (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-files-package-builds-dbg-and-dbgsym-variants (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-files-package-builds-dbg-and-dbgsym-variants-dbgsym (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-files-package-builds-dbg-and-dbgsym-variants-dbg (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-files-package-builds-dbg-and-dbgsym-variants (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/fill-values new file mode 100644 index 0000000..6a6b7f8 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-missing-fields +Description: Test for changes missing fields diff --git a/t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/test.changes.in new file mode 100644 index 0000000..49c165a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-fields/build-spec/test.changes.in @@ -0,0 +1,9 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Maintainer: [% $author %] +Changed-By: [% $author %] diff --git a/t/recipes/checks/fields/mail-address/changes-missing-fields/eval/desc b/t/recipes/checks/fields/mail-address/changes-missing-fields/eval/desc new file mode 100644 index 0000000..a0ec87b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-missing-fields +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-missing-fields/eval/hints b/t/recipes/checks/fields/mail-address/changes-missing-fields/eval/hints new file mode 100644 index 0000000..c0cd300 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-fields/eval/hints @@ -0,0 +1,2 @@ +changes-missing-fields (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-missing-fields (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/fill-values new file mode 100644 index 0000000..b6a6f14 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-missing-format +Description: Test for missing format field diff --git a/t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/test.changes.in new file mode 100644 index 0000000..e571bbc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-format/build-spec/test.changes.in @@ -0,0 +1,11 @@ +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] diff --git a/t/recipes/checks/fields/mail-address/changes-missing-format/eval/desc b/t/recipes/checks/fields/mail-address/changes-missing-format/eval/desc new file mode 100644 index 0000000..7255507 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-format/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-missing-format +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-missing-format/eval/hints b/t/recipes/checks/fields/mail-address/changes-missing-format/eval/hints new file mode 100644 index 0000000..3422268 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-missing-format/eval/hints @@ -0,0 +1,2 @@ +changes-missing-format (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-missing-format (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/fill-values new file mode 100644 index 0000000..4359e34 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-unreleased +Description: Test for UNRELEASED package uploaded to unstable diff --git a/t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/test.changes.in new file mode 100644 index 0000000..4a2eb46 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-unreleased/build-spec/test.changes.in @@ -0,0 +1,16 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Urgency: low +Maintainer: [% $author %] +Changed-By: [% $author %] +Description: + [% $source %] - [% $description %] +Changes: + [% $source %] ([% $version %]) UNRELEASED; urgency=low + . + * I'm still working on this package, do not upload. diff --git a/t/recipes/checks/fields/mail-address/changes-unreleased/eval/desc b/t/recipes/checks/fields/mail-address/changes-unreleased/eval/desc new file mode 100644 index 0000000..37c8043 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-unreleased/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-unreleased +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-unreleased/eval/hints b/t/recipes/checks/fields/mail-address/changes-unreleased/eval/hints new file mode 100644 index 0000000..95db75b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-unreleased/eval/hints @@ -0,0 +1,2 @@ +changes-unreleased (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-unreleased (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/build-spec/fill-values new file mode 100644 index 0000000..cf7513a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: changes-upload-has-backports-version-number +Version: 1.0~bpo9+1 +Description: Check for backports that have an incorrect Distribution diff --git a/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/desc b/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/desc new file mode 100644 index 0000000..be2530e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-upload-has-backports-version-number +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/hints b/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/hints new file mode 100644 index 0000000..cd58ef8 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/changes-upload-has-backports-version-number/eval/hints @@ -0,0 +1,4 @@ +changes-upload-has-backports-version-number (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-upload-has-backports-version-number (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-upload-has-backports-version-number (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +changes-upload-has-backports-version-number (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/fill-values b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/fill-values new file mode 100644 index 0000000..3fe5f1f --- /dev/null +++ b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: checksum-count-mismatch +Skeleton: upload-native +Description: Check for changes file with missing checksum entry diff --git a/t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/post-build.in b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/post-build.in new file mode 100755 index 0000000..4665a7a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/build-spec/post-build.in @@ -0,0 +1,3 @@ +#!/bin/sh + +perl -0777 -pi -e 's/(\nChecksums-Sha256:\n)[^\n]*\n/$1/' [% $build_product %] diff --git a/t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/desc b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/desc new file mode 100644 index 0000000..c8de938 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: checksum-count-mismatch +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/hints b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/hints new file mode 100644 index 0000000..017bfd9 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/checksum-count-mismatch/eval/hints @@ -0,0 +1,4 @@ +checksum-count-mismatch (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +checksum-count-mismatch (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +checksum-count-mismatch (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +checksum-count-mismatch (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/debian/changelog.in new file mode 100644 index 0000000..c862408 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +[% $source %] ([% $version %]) stable foo-backportss bar foo; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/fill-values b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/fill-values new file mode 100644 index 0000000..4671982 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: distribution-multiple-bad +Description: Multiple distributions with at least one bad one diff --git a/t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/desc b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/desc new file mode 100644 index 0000000..70c11c1 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/desc @@ -0,0 +1,3 @@ +Testname: distribution-multiple-bad +See-Also: Debian Bug#514853 +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/hints b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/hints new file mode 100644 index 0000000..5adc4b6 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/distribution-multiple-bad/eval/hints @@ -0,0 +1,4 @@ +distribution-multiple-bad (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +distribution-multiple-bad (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +distribution-multiple-bad (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +distribution-multiple-bad (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/debian/control.in new file mode 100644 index 0000000..d80f756 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +Uploaders: I Will Loop <fields-maintainer-bounces@packages.debian.org>, + I Will Loop Too <fields-maintainer-bounces@PACKAGES.QA.DEBIAN.ORG> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/fill-values new file mode 100644 index 0000000..710a7bd --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: fields-maintainer-bounces +Description: test e-mail addresses which are known to bounce e-mails +Author: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +# To avoid NMU warnings / having a changelog.in diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/desc b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/desc new file mode 100644 index 0000000..e428087 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-maintainer-bounces +Test-Against: + mail-address-loops-or-bounces +Check: fields/mail-address +# To avoid NMU warnings / having a changelog.in diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/hints b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/hints new file mode 100644 index 0000000..4b6e939 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-bounces/eval/hints @@ -0,0 +1,10 @@ +fields-maintainer-bounces (source): mail-contact Uploaders "I Will Loop" <fields-maintainer-bounces@packages.debian.org> +fields-maintainer-bounces (source): mail-contact Uploaders "I Will Loop Too" <fields-maintainer-bounces@PACKAGES.QA.DEBIAN.ORG> +fields-maintainer-bounces (source): mail-contact Maintainer "Ubuntu Developers" <ubuntu-devel-discuss@lists.ubuntu.com> +fields-maintainer-bounces (source): mail-address-loops-or-bounces Maintainer ubuntu-devel-discuss@lists.ubuntu.com +fields-maintainer-bounces (changes): mail-contact Maintainer "Ubuntu Developers" <ubuntu-devel-discuss@lists.ubuntu.com> +fields-maintainer-bounces (changes): mail-contact Changed-By "Ubuntu Developers" <ubuntu-devel-discuss@lists.ubuntu.com> +fields-maintainer-bounces (changes): mail-address-loops-or-bounces Maintainer ubuntu-devel-discuss@lists.ubuntu.com +fields-maintainer-bounces (changes): mail-address-loops-or-bounces Changed-By ubuntu-devel-discuss@lists.ubuntu.com +fields-maintainer-bounces (binary): mail-contact Maintainer "Ubuntu Developers" <ubuntu-devel-discuss@lists.ubuntu.com> +fields-maintainer-bounces (binary): mail-address-loops-or-bounces Maintainer ubuntu-devel-discuss@lists.ubuntu.com diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/debian/control.in new file mode 100644 index 0000000..00f2799 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/debian/control.in @@ -0,0 +1,22 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: lintian-maint@debian.org +Uploaders: <lintian-maint@debian.org>, Russ Allbery <rra@debian.org>, + Russ Allbery <rra@debian.org>, + Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>, + Double comma <double@comma.com>, , + Mr. Missing Comma <mrmc@comma.com> + Mrs. Missing Comma <mrsmc@comma.com> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/fill-values new file mode 100644 index 0000000..d6a4051 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-maintainer-general +Description: Tests of various maintainer and uploader tags diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/desc b/t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/desc new file mode 100644 index 0000000..51ea5a2 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-maintainer-general +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/hints b/t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/hints new file mode 100644 index 0000000..4e30932 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer-general/eval/hints @@ -0,0 +1,16 @@ +fields-maintainer-general (source): no-phrase Uploaders lintian-maint@debian.org +fields-maintainer-general (source): no-phrase Maintainer lintian-maint@debian.org +fields-maintainer-general (source): malformed-contact Uploaders Mr. Missing Comma <mrmc@comma.com> +fields-maintainer-general (source): malformed-contact Uploaders +fields-maintainer-general (source): mail-contact Uploaders lintian-maint@debian.org +fields-maintainer-general (source): mail-contact Uploaders "Ubuntu Developers" <ubuntu-devel-discuss@lists.ubuntu.com> +fields-maintainer-general (source): mail-contact Uploaders "Russ Allbery" <rra@debian.org> +fields-maintainer-general (source): mail-contact Uploaders "Double comma" <double@comma.com> +fields-maintainer-general (source): mail-contact Maintainer lintian-maint@debian.org +fields-maintainer-general (source): mail-address-loops-or-bounces Uploaders ubuntu-devel-discuss@lists.ubuntu.com +fields-maintainer-general (source): duplicate-contact Uploaders rra@debian.org +fields-maintainer-general (changes): no-phrase Maintainer lintian-maint@debian.org +fields-maintainer-general (changes): mail-contact Maintainer lintian-maint@debian.org +fields-maintainer-general (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +fields-maintainer-general (binary): no-phrase Maintainer lintian-maint@debian.org +fields-maintainer-general (binary): mail-contact Maintainer lintian-maint@debian.org diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/debian/control.in new file mode 100644 index 0000000..a2a865b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: Mrs. Localhost<user@localhost> +Uploaders: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/fill-values new file mode 100644 index 0000000..76428de --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-maintainer +Description: General tests of the maintainer field diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer/eval/desc b/t/recipes/checks/fields/mail-address/fields-maintainer/eval/desc new file mode 100644 index 0000000..6d0e902 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-maintainer +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-maintainer/eval/hints b/t/recipes/checks/fields/mail-address/fields-maintainer/eval/hints new file mode 100644 index 0000000..af1b6d4 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-maintainer/eval/hints @@ -0,0 +1,8 @@ +fields-maintainer (source): mail-contact Uploaders "Debian Lintian Maintainers" <lintian-maint@debian.org> +fields-maintainer (source): mail-contact Maintainer "Mrs. Localhost" <user@localhost> +fields-maintainer (source): bogus-mail-host Maintainer user@localhost +fields-maintainer (changes): mail-contact Maintainer "Mrs. Localhost" <user@localhost> +fields-maintainer (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +fields-maintainer (changes): bogus-mail-host Maintainer user@localhost +fields-maintainer (binary): mail-contact Maintainer "Mrs. Localhost" <user@localhost> +fields-maintainer (binary): bogus-mail-host Maintainer user@localhost diff --git a/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/build-spec/fill-values new file mode 100644 index 0000000..e64711d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-no-human-maintainer +Description: Checks for a package maintained only by a list +Author: Lintian Maintainers <debian-lint-maint@lists.debian.org> diff --git a/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/desc b/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/desc new file mode 100644 index 0000000..9ca88c2 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-no-human-maintainer +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/hints b/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/hints new file mode 100644 index 0000000..266558a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-no-human-maintainer/eval/hints @@ -0,0 +1,4 @@ +fields-no-human-maintainer (source): mail-contact Maintainer "Lintian Maintainers" <debian-lint-maint@lists.debian.org> +fields-no-human-maintainer (changes): mail-contact Maintainer "Lintian Maintainers" <debian-lint-maint@lists.debian.org> +fields-no-human-maintainer (changes): mail-contact Changed-By "Lintian Maintainers" <debian-lint-maint@lists.debian.org> +fields-no-human-maintainer (binary): mail-contact Maintainer "Lintian Maintainers" <debian-lint-maint@lists.debian.org> diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/changelog.in new file mode 100644 index 0000000..23a7dae --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Orphaned. + * Lintian Test Suite. + * Test: [% $testname %] + + -- Debian QA Group <debian-qa@lists.debian.org> [% $date %] diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/control.in new file mode 100644 index 0000000..5255485 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: Debian QA Group <debian-qa@lists.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/fill-values new file mode 100644 index 0000000..dbfe492 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-qa-maint-address +Description: Test for the QA in Maintainer field diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/desc b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/desc new file mode 100644 index 0000000..f5a860b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-qa-maint-address +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/hints b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/hints new file mode 100644 index 0000000..0bbb7fc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-address/eval/hints @@ -0,0 +1,8 @@ +fields-qa-maint-address (source): mail-contact Maintainer "Debian QA Group" <debian-qa@lists.debian.org> +fields-qa-maint-address (source): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org +fields-qa-maint-address (changes): mail-contact Maintainer "Debian QA Group" <debian-qa@lists.debian.org> +fields-qa-maint-address (changes): mail-contact Changed-By "Debian QA Group" <debian-qa@lists.debian.org> +fields-qa-maint-address (changes): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org +fields-qa-maint-address (changes): faulty-debian-qa-group-address Changed-By debian-qa@lists.debian.org -> packages@qa.debian.org +fields-qa-maint-address (binary): mail-contact Maintainer "Debian QA Group" <debian-qa@lists.debian.org> +fields-qa-maint-address (binary): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/changelog.in new file mode 100644 index 0000000..d545fc7 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Orphaned. + * Lintian Test Suite. + * Test: [% $testname %] + + -- Debian QA <packages@qa.debian.org> [% $date %] diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/control.in new file mode 100644 index 0000000..88bbdfb --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: Debian QA <packages@qa.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/fill-values new file mode 100644 index 0000000..bb4b82b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-qa-maint-name +Description: Test for the QA in Maintainer field diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/desc b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/desc new file mode 100644 index 0000000..c9d8f0d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-qa-maint-name +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/hints b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/hints new file mode 100644 index 0000000..d7bfa21 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-qa-maint-name/eval/hints @@ -0,0 +1,8 @@ +fields-qa-maint-name (source): mail-contact Maintainer "Debian QA" <packages@qa.debian.org> +fields-qa-maint-name (source): faulty-debian-qa-group-phrase Maintainer Debian QA -> Debian QA Group +fields-qa-maint-name (changes): mail-contact Maintainer "Debian QA" <packages@qa.debian.org> +fields-qa-maint-name (changes): mail-contact Changed-By "Debian QA" <packages@qa.debian.org> +fields-qa-maint-name (changes): faulty-debian-qa-group-phrase Maintainer Debian QA -> Debian QA Group +fields-qa-maint-name (changes): faulty-debian-qa-group-phrase Changed-By Debian QA -> Debian QA Group +fields-qa-maint-name (binary): mail-contact Maintainer "Debian QA" <packages@qa.debian.org> +fields-qa-maint-name (binary): faulty-debian-qa-group-phrase Maintainer Debian QA -> Debian QA Group diff --git a/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/changelog.in new file mode 100644 index 0000000..440e3cd --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Orphaned. + * Lintian Test Suite. + * Test: [% $testname %] + + -- root <someone@debian.org> [% $date %] diff --git a/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/control.in new file mode 100644 index 0000000..005e664 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: root <someone@debian.org> +Uploaders: John Doe <root@debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/fill-values new file mode 100644 index 0000000..8938c72 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-root-maint-address/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-root-maint-address +Description: Test for root in Maintainer field diff --git a/t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/desc b/t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/desc new file mode 100644 index 0000000..ab6b6a2 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-root-maint-address +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/hints b/t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/hints new file mode 100644 index 0000000..41e6d65 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-root-maint-address/eval/hints @@ -0,0 +1,10 @@ +fields-root-maint-address (source): root-in-contact Uploaders "John Doe" <root@debian.org> +fields-root-maint-address (source): root-in-contact Maintainer root <someone@debian.org> +fields-root-maint-address (source): mail-contact Uploaders "John Doe" <root@debian.org> +fields-root-maint-address (source): mail-contact Maintainer root <someone@debian.org> +fields-root-maint-address (changes): root-in-contact Maintainer root <someone@debian.org> +fields-root-maint-address (changes): root-in-contact Changed-By root <someone@debian.org> +fields-root-maint-address (changes): mail-contact Maintainer root <someone@debian.org> +fields-root-maint-address (changes): mail-contact Changed-By root <someone@debian.org> +fields-root-maint-address (binary): root-in-contact Maintainer root <someone@debian.org> +fields-root-maint-address (binary): mail-contact Maintainer root <someone@debian.org> diff --git a/t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/debian/control.in new file mode 100644 index 0000000..8a5812a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/debian/control.in @@ -0,0 +1,23 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Uploaders: Mrs. Localhost <user@localhost>, + Mr. Weird<no-space@somewhere.com>, + Malformed Email <@ddress@myspace.com>, + John A. J. Doe <i.am.ok@somewhere.com>, + Doris Double-Email <Doris Double-Email <doris@demail.com>>, + Valid email <0@somewhere.com> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/fill-values b/t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/fill-values new file mode 100644 index 0000000..56aa76e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-uploaders/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-uploaders +Description: General tests of the uploaders field diff --git a/t/recipes/checks/fields/mail-address/fields-uploaders/eval/desc b/t/recipes/checks/fields/mail-address/fields-uploaders/eval/desc new file mode 100644 index 0000000..6e7a347 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-uploaders/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-uploaders +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/fields-uploaders/eval/hints b/t/recipes/checks/fields/mail-address/fields-uploaders/eval/hints new file mode 100644 index 0000000..4e0c55e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/fields-uploaders/eval/hints @@ -0,0 +1,10 @@ +fields-uploaders (source): malformed-contact Uploaders Malformed Email <@ddress@myspace.com> +fields-uploaders (source): malformed-contact Uploaders Doris Double-Email <Doris +fields-uploaders (source): mail-contact Uploaders "Mrs. Localhost" <user@localhost> +fields-uploaders (source): mail-contact Uploaders "Mr. Weird" <no-space@somewhere.com> +fields-uploaders (source): mail-contact Uploaders "John A. J. Doe" <i.am.ok@somewhere.com> +fields-uploaders (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +fields-uploaders (source): bogus-mail-host Uploaders user@localhost +fields-uploaders (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +fields-uploaders (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +fields-uploaders (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/rules b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/fields/mail-address/generic-empty/build-spec/fill-values b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/fields/mail-address/generic-empty/build-spec/orig/README b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/fields/mail-address/generic-empty/build-spec/pre-build b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/fields/mail-address/generic-empty/eval/desc b/t/recipes/checks/fields/mail-address/generic-empty/eval/desc new file mode 100644 index 0000000..acf9e92 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/generic-empty/eval/hints b/t/recipes/checks/fields/mail-address/generic-empty/eval/hints new file mode 100644 index 0000000..88e582a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/generic-empty/eval/hints @@ -0,0 +1,4 @@ +generic-empty (source): malformed-contact Maintainer a +generic-empty (changes): malformed-contact Maintainer a +generic-empty (changes): malformed-contact Changed-By a <> +generic-empty (binary): malformed-contact Maintainer a diff --git a/t/recipes/checks/fields/mail-address/java-team-fp/build-spec/fill-values b/t/recipes/checks/fields/mail-address/java-team-fp/build-spec/fill-values new file mode 100644 index 0000000..f21d0dd --- /dev/null +++ b/t/recipes/checks/fields/mail-address/java-team-fp/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: java-team-fp +Author: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Description: Java team plans to use lists.alioth.d.o diff --git a/t/recipes/checks/fields/mail-address/java-team-fp/eval/desc b/t/recipes/checks/fields/mail-address/java-team-fp/eval/desc new file mode 100644 index 0000000..955e571 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/java-team-fp/eval/desc @@ -0,0 +1,3 @@ +Testname: java-team-fp +Check: fields/mail-address +See-Also: Bug#962448 diff --git a/t/recipes/checks/fields/mail-address/java-team-fp/eval/hints b/t/recipes/checks/fields/mail-address/java-team-fp/eval/hints new file mode 100644 index 0000000..58ab4e5 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/java-team-fp/eval/hints @@ -0,0 +1,2 @@ +java-team-fp (source): mailing-list-on-alioth Maintainer pkg-java-maintainers@lists.alioth.debian.org +java-team-fp (source): mail-contact Maintainer "Debian Java Maintainers" <pkg-java-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt <foo@unknown>, Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt <he@unknown> Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld <djpig@debian.org> Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/control b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..57a489c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer <debian-qa@lists.debian.org> +Uploaders: Marc 'HE' Brockschmidt <he@unknown>, Jeroen van Wolffelaar<jeroen@localhost.localdomain>, + Frank <djpig@debian.org>, Yama@gotchi, Josip, + I am afraid of spam and think this helps <no_spam_please AT debian.org> +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description uses only UTF-8 high bytes chars. + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more checks. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/fill-values b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/eval/desc b/t/recipes/checks/fields/mail-address/legacy-foo++/eval/desc new file mode 100644 index 0000000..3173f50 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/eval/hints b/t/recipes/checks/fields/mail-address/legacy-foo++/eval/hints new file mode 100644 index 0000000..2b778ce --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/eval/hints @@ -0,0 +1,20 @@ +foo++ (source): no-phrase Uploaders Yama@gotchi +foo++ (source): malformed-contact Uploaders Josip +foo++ (source): malformed-contact Uploaders I am afraid of spam and think this helps <no_spam_please +foo++ (source): mail-contact Uploaders Yama@gotchi +foo++ (source): mail-contact Uploaders Frank <djpig@debian.org> +foo++ (source): mail-contact Uploaders "Marc 'HE' Brockschmidt" <he@unknown> +foo++ (source): mail-contact Uploaders "Jeroen van Wolffelaar" <jeroen@localhost.localdomain> +foo++ (source): mail-contact Maintainer "Lintian Maintainer" <debian-qa@lists.debian.org> +foo++ (source): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org +foo++ (source): bogus-mail-host Uploaders jeroen@localhost.localdomain +foo++ (source): bogus-mail-host Uploaders he@unknown +foo++ (source): bogus-mail-host Uploaders Yama@gotchi +foo++ (changes): mail-contact Maintainer "Lintian Maintainer" <debian-qa@lists.debian.org> +foo++ (changes): mail-contact Changed-By "Marc 'HE' Brockschmidt" <he@unknown> +foo++ (changes): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org +foo++ (changes): bogus-mail-host Changed-By he@unknown +foo++-helper (binary): mail-contact Maintainer "Lintian Maintainer" <debian-qa@lists.debian.org> +foo++-helper (binary): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org +foo++ (binary): mail-contact Maintainer "Lintian Maintainer" <debian-qa@lists.debian.org> +foo++ (binary): faulty-debian-qa-group-address Maintainer debian-qa@lists.debian.org -> packages@qa.debian.org diff --git a/t/recipes/checks/fields/mail-address/legacy-foo++/eval/post-test b/t/recipes/checks/fields/mail-address/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar <jeroen@mordor> Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld <djpig@debian.org> Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson <cjw44@flatline.org.uk> Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group <packages@qa.debian.org> +Uploaders: Anyone but Jeroen <jeroen@wolffelaar.nl> +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script checks + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell </dev/null +. "$(dirname $0)/shell" ; bar +# invalid +. /usr/share/lintian/shell foo +. "$(dirname $0)/shell" bar + +print "Hit enter to continue" +read + +H[0]='this is a string' +echo ${H[0]} +echo "Index 0's length is ${#H[0]}" +echo "All of the array is: ${H[@]}" + +install-info /usr/share/info/foo \ + --quiet \ # make it so + --section foo + +echo Please use update-rc.d or invoke-rc.d to set up blah blah. + +chown root.root /usr/share/doc/maintainer-scripts/changelog +chown root:root /usr/share/doc/maintainer-scripts/changelog + +$FOO=bar +update-rc.d foo defaults >/dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '<<EOF' +echo "All of the array is: ${H[@]}" +EOF + +# This is a heredoc +cat <<-EOF +echo "All of the array is ${H[@]}" +EOF + +# As is this +cat <<';' +echo "All of the array is ${H[@]}" +; + +# and this +cat <<foo +echo "All of the array is ${H[@]}" +foobar +echo $HOSTNAME +foo + +# and again +cat <<\bar +echo "All of the array is ${H[@]}" +bar + +# yet another +cat <<"x++" +echo "All of the array is ${H[@]}" +x++ + +# Recognize single quotes even if they start at the beginning of a line. +echo not a bashism \ +'/{ptex,tex}/{amstex,plain,generic,}' + +# More bashisms. +echo -e 'foo\n' +echo "${!foo}" +cat $(\< file) +select foo in a b ; do echo $foo ; done +cnt=$((cnt + 1)) +if false ; then + exec -l /bin/sh + exec -c /bin/sh + exec -a foo /bin/sh +fi +let cnt++ +if test -a /etc/default ; then + echo "$RANDOM|stuff" +fi + +# Calling start-stop-daemon directly in an init script. +start-stop-daemon --start --quiet --name foo --startas /usr/bin/foo + +# But stopping it is fine -- we may be working around something else. +start-stop-daemon --stop --quiet --name foo --startas /usr/bin/foo + +# Deprecated chown use with flags. +chown -R root.root /usr/share/doc/maintainer-scripts + +case $mainscript in + /usr/bin/foo) foobarbaz;; +esac + +/usr/bin/baz; echo bar + +# Some comment checking +# This should flag $RANDOM +test $# -gt 2 && echo $RANDOM +# But these shouldn't +test 1=1 # echo $RANDOM +(test 1=1)# echo $RANDOM +test 1=1;# echo $RANDOM +backgroundtask &#echo $RA diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postrm b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..c0aaf19 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/postrm @@ -0,0 +1,47 @@ +#!/bin/bash +#set -e + +update-alternatives --remove dummy /usr/bin/dummy-alternative + +# Normally read in a maintainer script is not kosher, but here we're going +# to do it only if debconf doesn't exist. +if ! test -f /usr/share/debconf/confmodule ; then + echo "Hit enter" + read +fi + +# neither of the following should be detected as postrm-unsafe-ldconfig +# intended, without quotes + if [ "$1" = remove ]; then + ldconfig + fi +# reversed, many whitespace +if [ 'remove' = "$1" ] +then + + ldconfig +fi + +[ "remove" ="$1" ] && ldconfig + +update-rc.d bar remove + +# Shouldn't provoke an error despite no invoke-rc.d. +echo "/etc/init.d/package stop to stop something" + +# Shouldn't require a ucf dependency. Unfortunately, right now that's +# just because postrm isn't checked, not because we ensure that the +# invocation is conditional. +if which ucf >/dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat <<EOF +This is all really bad bash specific code!!! +read +source /bar/baz/bat foo +EOF + +# ok, back to checking +if [ "$2" == "purge" ]; then + rm -r /bar/baz +fi + +function foo( ) { + # but not here: local + local bar + echo "foo" &>/dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz
\ No newline at end of file diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..1d850e3 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..1ac448c --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/hints @@ -0,0 +1,8 @@ +maintainer-scripts (source): mail-contact Uploaders "Anyone but Jeroen" <jeroen@wolffelaar.nl> +maintainer-scripts (source): mail-contact Maintainer "QA group" <packages@qa.debian.org> +maintainer-scripts (source): faulty-debian-qa-group-phrase Maintainer QA group -> Debian QA Group +maintainer-scripts (changes): mail-contact Maintainer "QA group" <packages@qa.debian.org> +maintainer-scripts (changes): mail-contact Changed-By "Jeroen van Wolffelaar" <jeroen@wolffelaar.nl> +maintainer-scripts (changes): faulty-debian-qa-group-phrase Maintainer QA group -> Debian QA Group +maintainer-scripts (binary): mail-contact Maintainer "QA group" <packages@qa.debian.org> +maintainer-scripts (binary): faulty-debian-qa-group-phrase Maintainer QA group -> Debian QA Group diff --git a/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values new file mode 100644 index 0000000..c21a8af --- /dev/null +++ b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: mismatch-between-changes-and-source +Description: Maintainer in changes files is different from source diff --git a/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in new file mode 100755 index 0000000..123b424 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/build-spec/post-build.in @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="[% $build_product %]" + +sed -i 's/^Maintainer:.*$/Maintainer: Unknown <never@heard.of>/' "$product" diff --git a/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/desc b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/desc new file mode 100644 index 0000000..d41c78a --- /dev/null +++ b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/desc @@ -0,0 +1,2 @@ +Testname: mismatch-between-changes-and-source +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/hints b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/hints new file mode 100644 index 0000000..c013454 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/mismatch-between-changes-and-source/eval/hints @@ -0,0 +1,5 @@ +mismatch-between-changes-and-source (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +mismatch-between-changes-and-source (changes): mail-contact Maintainer Unknown <never@heard.of> +mismatch-between-changes-and-source (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +mismatch-between-changes-and-source (changes): bogus-mail-host Maintainer never@heard.of +mismatch-between-changes-and-source (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/mail-address/missing-closing-bracket/build-spec/fill-values b/t/recipes/checks/fields/mail-address/missing-closing-bracket/build-spec/fill-values new file mode 100644 index 0000000..6a687cd --- /dev/null +++ b/t/recipes/checks/fields/mail-address/missing-closing-bracket/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: missing-closing-bracket +Author: Work <me@work.com +Description: Missing closing bracket in maintainer email address (false positive) diff --git a/t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/desc b/t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/desc new file mode 100644 index 0000000..d4f124b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/desc @@ -0,0 +1,5 @@ +Testname: missing-closing-bracket +Check: fields/mail-address +Test-Against: + malformed-contact +See-Also: Bug#965335 diff --git a/t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/hints b/t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/hints new file mode 100644 index 0000000..db204a7 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/missing-closing-bracket/eval/hints @@ -0,0 +1,3 @@ +missing-closing-bracket (source): malformed-contact Maintainer Work <me@work.com +missing-closing-bracket (changes): malformed-contact Maintainer Work <me@work.com +missing-closing-bracket (binary): malformed-contact Maintainer Work <me@work.com diff --git a/t/recipes/checks/fields/mail-address/qa-group-fp/build-spec/fill-values b/t/recipes/checks/fields/mail-address/qa-group-fp/build-spec/fill-values new file mode 100644 index 0000000..e17b5d1 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/qa-group-fp/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: qa-group-fp +Author: Debian QA Group <packages@qa.debian.org> +Description: QA in Maintainer field (false positive) diff --git a/t/recipes/checks/fields/mail-address/qa-group-fp/eval/desc b/t/recipes/checks/fields/mail-address/qa-group-fp/eval/desc new file mode 100644 index 0000000..1bca3a7 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/qa-group-fp/eval/desc @@ -0,0 +1,4 @@ +Testname: qa-group-fp +Check: fields/mail-address +Test-Against: + faulty-debian-qa-group-phrase diff --git a/t/recipes/checks/fields/mail-address/qa-group-fp/eval/hints b/t/recipes/checks/fields/mail-address/qa-group-fp/eval/hints new file mode 100644 index 0000000..a088aad --- /dev/null +++ b/t/recipes/checks/fields/mail-address/qa-group-fp/eval/hints @@ -0,0 +1,4 @@ +qa-group-fp (source): mail-contact Maintainer "Debian QA Group" <packages@qa.debian.org> +qa-group-fp (changes): mail-contact Maintainer "Debian QA Group" <packages@qa.debian.org> +qa-group-fp (changes): mail-contact Changed-By "Debian QA Group" <packages@qa.debian.org> +qa-group-fp (binary): mail-contact Maintainer "Debian QA Group" <packages@qa.debian.org> diff --git a/t/recipes/checks/fields/mail-address/right-to-left-override/build-spec/fill-values b/t/recipes/checks/fields/mail-address/right-to-left-override/build-spec/fill-values new file mode 100644 index 0000000..0bb1549 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/right-to-left-override/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: right-to-left-override +Author: Ansgar <"‮ansgar"@43-1.org> +Description: Maintainer with UTF-8 RIGHT-TO-LEFT OVERRIDE from Ansgar's 'colorful' test package (false positive) diff --git a/t/recipes/checks/fields/mail-address/right-to-left-override/eval/desc b/t/recipes/checks/fields/mail-address/right-to-left-override/eval/desc new file mode 100644 index 0000000..e2c8d32 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/right-to-left-override/eval/desc @@ -0,0 +1,3 @@ +Testname: right-to-left-override +Check: fields/mail-address +See-Also: Bug#962277 diff --git a/t/recipes/checks/fields/mail-address/right-to-left-override/eval/hints b/t/recipes/checks/fields/mail-address/right-to-left-override/eval/hints new file mode 100644 index 0000000..a990983 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/right-to-left-override/eval/hints @@ -0,0 +1,4 @@ +right-to-left-override (source): mail-contact Maintainer Ansgar <‮ansgar@43-1.org> +right-to-left-override (changes): mail-contact Maintainer Ansgar <‮ansgar@43-1.org> +right-to-left-override (changes): mail-contact Changed-By Ansgar <‮ansgar@43-1.org> +right-to-left-override (binary): mail-contact Maintainer Ansgar <‮ansgar@43-1.org> diff --git a/t/recipes/checks/fields/mail-address/two-maintainers/build-spec/fill-values b/t/recipes/checks/fields/mail-address/two-maintainers/build-spec/fill-values new file mode 100644 index 0000000..20af99e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/two-maintainers/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: two-maintainers +Author: Work <me@work.com>, Home <me@debian.org> +Description: Two contacts listed as maintainers diff --git a/t/recipes/checks/fields/mail-address/two-maintainers/eval/desc b/t/recipes/checks/fields/mail-address/two-maintainers/eval/desc new file mode 100644 index 0000000..ed8b807 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/two-maintainers/eval/desc @@ -0,0 +1,2 @@ +Testname: two-maintainers +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/two-maintainers/eval/hints b/t/recipes/checks/fields/mail-address/two-maintainers/eval/hints new file mode 100644 index 0000000..db8c7eb --- /dev/null +++ b/t/recipes/checks/fields/mail-address/two-maintainers/eval/hints @@ -0,0 +1,12 @@ +two-maintainers (source): too-many-contacts Maintainer Work <me@work.com>, Home <me@debian.org> +two-maintainers (source): mail-contact Maintainer Work <me@work.com> +two-maintainers (source): mail-contact Maintainer Home <me@debian.org> +two-maintainers (changes): too-many-contacts Maintainer Work <me@work.com>, Home <me@debian.org> +two-maintainers (changes): too-many-contacts Changed-By Work <me@work.com>, Home <me@debian.org> +two-maintainers (changes): mail-contact Maintainer Work <me@work.com> +two-maintainers (changes): mail-contact Maintainer Home <me@debian.org> +two-maintainers (changes): mail-contact Changed-By Work <me@work.com> +two-maintainers (changes): mail-contact Changed-By Home <me@debian.org> +two-maintainers (binary): too-many-contacts Maintainer Work <me@work.com>, Home <me@debian.org> +two-maintainers (binary): mail-contact Maintainer Work <me@work.com> +two-maintainers (binary): mail-contact Maintainer Home <me@debian.org> diff --git a/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc new file mode 100644 index 0000000..bd03c4e --- /dev/null +++ b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/upstream/signing-key.asc @@ -0,0 +1 @@ +Too lazy to fake this file diff --git a/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/watch b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/watch new file mode 100644 index 0000000..139bc40 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/debian/watch @@ -0,0 +1,5 @@ +version=4 +opts="pgpmode=next" https://alioth.debian.org/frs/?group_id=30928 \ + (?:.*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian +opts="pgpmode=previous" https://alioth.debian.org/frs/?group_id=30928 \ + (?:.*)/@PACKAGE@@ANY_VERSION@@SIGNATURE_EXT@ previous diff --git a/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/fill-values b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/fill-values new file mode 100644 index 0000000..061e5ae --- /dev/null +++ b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: watch-file-pgpmode-next +Skeleton: upload-non-native +Version: 2.0-1 +Description: Watch file with pgpmode=next diff --git a/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/desc b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/desc new file mode 100644 index 0000000..28bb0a6 --- /dev/null +++ b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/desc @@ -0,0 +1,3 @@ +Testname: watch-file-pgpmode-next +See-Also: #841000 +Check: fields/mail-address diff --git a/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/hints b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/hints new file mode 100644 index 0000000..3c6ea0b --- /dev/null +++ b/t/recipes/checks/fields/mail-address/watch-file-pgpmode-next/eval/hints @@ -0,0 +1,4 @@ +watch-file-pgpmode-next (source): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +watch-file-pgpmode-next (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> +watch-file-pgpmode-next (changes): mail-contact Changed-By "Debian Lintian Maintainers" <lintian-maint@debian.org> +watch-file-pgpmode-next (binary): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/maintainer/alioth-list/build-spec/fill-values b/t/recipes/checks/fields/maintainer/alioth-list/build-spec/fill-values new file mode 100644 index 0000000..49c606a --- /dev/null +++ b/t/recipes/checks/fields/maintainer/alioth-list/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: alioth-list +Author: Packaging Team <pkg-team@lists.alioth.debian.org> +Description: Package with alioth list in maintainer field diff --git a/t/recipes/checks/fields/maintainer/alioth-list/eval/desc b/t/recipes/checks/fields/maintainer/alioth-list/eval/desc new file mode 100644 index 0000000..924e927 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/alioth-list/eval/desc @@ -0,0 +1,2 @@ +Testname: alioth-list +Check: fields/maintainer diff --git a/t/recipes/checks/fields/maintainer/alioth-list/eval/hints b/t/recipes/checks/fields/maintainer/alioth-list/eval/hints new file mode 100644 index 0000000..8b018b0 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/alioth-list/eval/hints @@ -0,0 +1 @@ +alioth-list (source): no-human-maintainers diff --git a/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/build-spec/fill-values b/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/build-spec/fill-values new file mode 100644 index 0000000..e64711d --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-no-human-maintainer +Description: Checks for a package maintained only by a list +Author: Lintian Maintainers <debian-lint-maint@lists.debian.org> diff --git a/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/desc b/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/desc new file mode 100644 index 0000000..c5d6400 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-no-human-maintainer +Check: fields/maintainer diff --git a/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/hints b/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/hints new file mode 100644 index 0000000..7b5aaa0 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-no-human-maintainer/eval/hints @@ -0,0 +1 @@ +fields-no-human-maintainer (source): no-human-maintainers diff --git a/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/changelog.in b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/changelog.in new file mode 100644 index 0000000..23a7dae --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Orphaned. + * Lintian Test Suite. + * Test: [% $testname %] + + -- Debian QA Group <debian-qa@lists.debian.org> [% $date %] diff --git a/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/control.in b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/control.in new file mode 100644 index 0000000..5255485 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: Debian QA Group <debian-qa@lists.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/fill-values b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/fill-values new file mode 100644 index 0000000..dbfe492 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-qa-maint-address +Description: Test for the QA in Maintainer field diff --git a/t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/desc b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/desc new file mode 100644 index 0000000..9d0b18c --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-qa-maint-address +Check: fields/maintainer diff --git a/t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/hints b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/hints new file mode 100644 index 0000000..fb94696 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/fields-qa-maint-address/eval/hints @@ -0,0 +1 @@ +fields-qa-maint-address (source): no-human-maintainers diff --git a/t/recipes/checks/fields/maintainer/java-team-fp/build-spec/fill-values b/t/recipes/checks/fields/maintainer/java-team-fp/build-spec/fill-values new file mode 100644 index 0000000..f21d0dd --- /dev/null +++ b/t/recipes/checks/fields/maintainer/java-team-fp/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: java-team-fp +Author: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Description: Java team plans to use lists.alioth.d.o diff --git a/t/recipes/checks/fields/maintainer/java-team-fp/eval/desc b/t/recipes/checks/fields/maintainer/java-team-fp/eval/desc new file mode 100644 index 0000000..70ded9b --- /dev/null +++ b/t/recipes/checks/fields/maintainer/java-team-fp/eval/desc @@ -0,0 +1,3 @@ +Testname: java-team-fp +Check: fields/maintainer +See-Also: Bug#962448 diff --git a/t/recipes/checks/fields/maintainer/java-team-fp/eval/hints b/t/recipes/checks/fields/maintainer/java-team-fp/eval/hints new file mode 100644 index 0000000..b2eda9c --- /dev/null +++ b/t/recipes/checks/fields/maintainer/java-team-fp/eval/hints @@ -0,0 +1 @@ +java-team-fp (source): no-human-maintainers diff --git a/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/fill-values b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/fill-values new file mode 100644 index 0000000..c21a8af --- /dev/null +++ b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: mismatch-between-changes-and-source +Description: Maintainer in changes files is different from source diff --git a/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in new file mode 100755 index 0000000..123b424 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/build-spec/post-build.in @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="[% $build_product %]" + +sed -i 's/^Maintainer:.*$/Maintainer: Unknown <never@heard.of>/' "$product" diff --git a/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/desc b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/desc new file mode 100644 index 0000000..63105f2 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/desc @@ -0,0 +1,2 @@ +Testname: mismatch-between-changes-and-source +Check: fields/maintainer diff --git a/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/hints b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/hints new file mode 100644 index 0000000..77eff9c --- /dev/null +++ b/t/recipes/checks/fields/maintainer/mismatch-between-changes-and-source/eval/hints @@ -0,0 +1 @@ +mismatch-between-changes-and-source (changes): inconsistent-maintainer Unknown <never@heard.of> (changes vs. source) Debian Lintian Maintainers <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/build-spec/fill-values b/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/build-spec/fill-values new file mode 100644 index 0000000..29ee5d4 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: source-native +Testname: clojure-package-java-maintainer +Source: cool-clojure-package +Author: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Description: Source name contains clojure (but not java) and is Java Team maintained diff --git a/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/desc b/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/desc new file mode 100644 index 0000000..140ac74 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/desc @@ -0,0 +1,4 @@ +Testname: clojure-package-java-maintainer +Check: fields/maintainer/team +See-Also: + https://salsa.debian.org/lintian/lintian/-/merge_requests/353 diff --git a/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/hints b/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/hints new file mode 100644 index 0000000..ae84ab7 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/team/clojure-package-java-maintainer/eval/hints @@ -0,0 +1 @@ +cool-clojure-package (source): wrong-team java » clojure diff --git a/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/fill-values b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/fill-values new file mode 100644 index 0000000..bd6f233 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: ubuntu-maintainer-different +Distribution: focal +Description: Maintainer in changes files is different from source, but in Ubuntu (false positive) diff --git a/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/post-build.in b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/post-build.in new file mode 100755 index 0000000..123b424 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/build-spec/post-build.in @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="[% $build_product %]" + +sed -i 's/^Maintainer:.*$/Maintainer: Unknown <never@heard.of>/' "$product" diff --git a/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/desc b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/desc new file mode 100644 index 0000000..d649a76 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/desc @@ -0,0 +1,5 @@ +Testname: ubuntu-maintainer-different +Check: fields/maintainer +Test-Against: inconsistent-maintainer +See-Also: Ubuntu Bug#1862787, + https://wiki.ubuntu.com/DebianMaintainerField diff --git a/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/hints b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/fields/maintainer/ubuntu-maintainer-different/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/control.in b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/control.in new file mode 100644 index 0000000..13b4d9d --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: fonts +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: fonts-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] (okay) + Font package containing fonts. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/fonts-fields-font-not-multiarch-foreign.install b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/fonts-fields-font-not-multiarch-foreign.install new file mode 100644 index 0000000..19a2037 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/debian/fonts-fields-font-not-multiarch-foreign.install @@ -0,0 +1,2 @@ +font-multiarch-test.ttf usr/share/fonts/truetype +font.ttf usr/share/fonts/truetype diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/fill-values b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/fill-values new file mode 100644 index 0000000..b60b2d7 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-font-not-multiarch-foreign +Package-Architecture: all +Description: Font package Multi-Arch checks diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font-multiarch-test.ttf b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font-multiarch-test.ttf new file mode 100644 index 0000000..780ab93 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font-multiarch-test.ttf @@ -0,0 +1,2 @@ +This isn't actually a font. The current test is based on the file +name and doesn't care. diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font.ttf b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font.ttf new file mode 100644 index 0000000..c118d8d --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/build-spec/orig/font.ttf @@ -0,0 +1 @@ +This is a fake font file. diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/desc b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/desc new file mode 100644 index 0000000..ae1fed7 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-font-not-multiarch-foreign +Check: fields/multi-arch diff --git a/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/hints b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/hints new file mode 100644 index 0000000..2ac66c4 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-font-not-multiarch-foreign/eval/hints @@ -0,0 +1 @@ +fonts-fields-font-not-multiarch-foreign (binary): font-package-not-multi-arch-foreign diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..dcb1163 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/DEBIAN/control.in @@ -0,0 +1,12 @@ +Package: [% $source %] +Version: [% $version %] +Architecture: all +Multi-Arch: same +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/fill-values b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/fill-values new file mode 100644 index 0000000..96eaf1f --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: fields-multi-arch-illegal +Description: Test package with illegal Multi-arch value diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/desc b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/desc new file mode 100644 index 0000000..7378a25 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-multi-arch-illegal +Check: fields/multi-arch diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/hints b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/hints new file mode 100644 index 0000000..989d1df --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-illegal/eval/hints @@ -0,0 +1 @@ +fields-multi-arch-illegal (binary): illegal-multi-arch-value all same diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in new file mode 100644 index 0000000..88afb0f --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Multi-Arch: same +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-nonrel +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] (false positive) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This is a false-positive. diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides-nonrel.lintian-overrides.amd64 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values new file mode 100644 index 0000000..085fb2f --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-multi-arch-same-package-has-arch-specific-overrides +Description: Test for Multi-Arch: same package with arch-specific overrides +Package-Architecture: any diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc new file mode 100644 index 0000000..00792c9 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-multi-arch-same-package-has-arch-specific-overrides +Test-Architectures: amd64 +Check: fields/multi-arch diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints new file mode 100644 index 0000000..d1730eb --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/hints @@ -0,0 +1 @@ +fields-multi-arch-same-package-has-arch-specific-overrides (source): multi-arch-same-package-has-arch-specific-overrides [debian/fields-multi-arch-same-package-has-arch-specific-overrides.lintian-overrides.amd64] diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..ca441c4 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/DEBIAN/control.in @@ -0,0 +1,12 @@ +Package: [% $source %] +Version: [% $version %] +Architecture: [% $package_architecture %] +Multi-Arch: cheese +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/fill-values b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/fill-values new file mode 100644 index 0000000..59cc9f1 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: fields-multi-arch-unknown +Description: Test package with an unknown Multi-arch value diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/desc b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/desc new file mode 100644 index 0000000..687b40f --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-multi-arch-unknown +Check: fields/multi-arch diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/hints b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/hints new file mode 100644 index 0000000..5c84ca6 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch-unknown/eval/hints @@ -0,0 +1 @@ +fields-multi-arch-unknown (binary): unknown-multi-arch-value fields-multi-arch-unknown cheese diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/debian/control.in b/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/debian/control.in new file mode 100644 index 0000000..ab7a6a5 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/debian/control.in @@ -0,0 +1,20 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %]-same +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: same +Description: [% $description %] - same + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This is a test with a valid Multi-Arch field. + diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/fill-values b/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/fill-values new file mode 100644 index 0000000..02565d9 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-multi-arch +Package-Architecture: any +Description: Tests for the Multi-Arch field diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/orig/Makefile b/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/orig/Makefile new file mode 100644 index 0000000..6df56c1 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch/build-spec/orig/Makefile @@ -0,0 +1,5 @@ +all: + +install: + install -d -m 0755 "$(DESTDIR)/usr/lib/package" + echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file" diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/desc b/t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/desc new file mode 100644 index 0000000..a3d90af --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-multi-arch +Test-Against: + illegal-multi-arch-value + unknown-multi-arch-value +Check: fields/multi-arch diff --git a/t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/hints b/t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/multi-arch/fields-multi-arch/eval/hints diff --git a/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/fill-values b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/fill-values new file mode 100644 index 0000000..de6afa7 --- /dev/null +++ b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: multiple-lines-in-maintainer-field +Description: Test for multiline maintainer field diff --git a/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/post-build b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/post-build new file mode 100755 index 0000000..962da9d --- /dev/null +++ b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/build-spec/post-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +product="$1" + +perl -pi -0777 -e 's/(\nMaintainer:)/$1\n/' "$product" diff --git a/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/desc b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/desc new file mode 100644 index 0000000..54aab13 --- /dev/null +++ b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/desc @@ -0,0 +1,3 @@ +Testname: multiple-lines-in-maintainer-field +See-Also: Policy 5.6 & 7.1 +Check: fields/multi-line diff --git a/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/hints b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/hints new file mode 100644 index 0000000..667287e --- /dev/null +++ b/t/recipes/checks/fields/multi-line/multiple-lines-in-maintainer-field/eval/hints @@ -0,0 +1 @@ +multiple-lines-in-maintainer-field (source): multiline-field Maintainer diff --git a/t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/control.in b/t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/control.in new file mode 100644 index 0000000..fac3281 --- /dev/null +++ b/t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Bugs: debbugs://bugs.debian.org/ +Origin: debian + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/install b/t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/install new file mode 100644 index 0000000..6c37889 --- /dev/null +++ b/t/recipes/checks/fields/origin/fields-redundant/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/share/lintian diff --git a/t/recipes/checks/fields/origin/fields-redundant/build-spec/fill-values b/t/recipes/checks/fields/origin/fields-redundant/build-spec/fill-values new file mode 100644 index 0000000..f5e21a7 --- /dev/null +++ b/t/recipes/checks/fields/origin/fields-redundant/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-redundant +Description: General tests redundant fields diff --git a/t/recipes/checks/fields/origin/fields-redundant/build-spec/orig/some-file b/t/recipes/checks/fields/origin/fields-redundant/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/origin/fields-redundant/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/origin/fields-redundant/eval/desc b/t/recipes/checks/fields/origin/fields-redundant/eval/desc new file mode 100644 index 0000000..509bdd7 --- /dev/null +++ b/t/recipes/checks/fields/origin/fields-redundant/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-redundant +Check: fields/origin diff --git a/t/recipes/checks/fields/origin/fields-redundant/eval/hints b/t/recipes/checks/fields/origin/fields-redundant/eval/hints new file mode 100644 index 0000000..83a2595 --- /dev/null +++ b/t/recipes/checks/fields/origin/fields-redundant/eval/hints @@ -0,0 +1,2 @@ +fields-redundant (source): redundant-origin-field +fields-redundant (binary): redundant-origin-field diff --git a/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/control b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/rules b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/fields/origin/legacy-relations/build-spec/fill-values b/t/recipes/checks/fields/origin/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/fields/origin/legacy-relations/eval/desc b/t/recipes/checks/fields/origin/legacy-relations/eval/desc new file mode 100644 index 0000000..8864d0b --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: fields/origin diff --git a/t/recipes/checks/fields/origin/legacy-relations/eval/hints b/t/recipes/checks/fields/origin/legacy-relations/eval/hints new file mode 100644 index 0000000..9ff849b --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/eval/hints @@ -0,0 +1,3 @@ +relations (source): redundant-origin-field +relations-multiple-libs (binary): redundant-origin-field +relations (binary): redundant-origin-field diff --git a/t/recipes/checks/fields/origin/legacy-relations/eval/post-test b/t/recipes/checks/fields/origin/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/origin/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/debian/control.in new file mode 100644 index 0000000..543796e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/debian/control.in @@ -0,0 +1,25 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], bd-conflict, revision-1 (>= 1.0-1), + bash, make, x-dev (>= 1.0) | ok, build-essential, new-package | xlibmesa-gl-dev, + xorg-dev, java-propose-classpath, python3-dev, foo [all], + bar [i386 any], baz [source lintian-fake-arch], baz [i386 !amd64], + other-pkg [kfreebsd-any], yet-another [any-powerpc], + packaging-dev, libdb5.1++-dev, libdb5.1-java-dev, hardening-wrapper (>= 2.2), + mount +Build-Conflicts: + bd-conflict, +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/fill-values new file mode 100644 index 0000000..293febc --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-depends-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-build-depends-general +Package-Architecture: all +Description: General tests for build dependencies diff --git a/t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/desc b/t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/desc new file mode 100644 index 0000000..be767ce --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-build-depends-general +See-Also: Debian Bug#540594, Debian Bug#551793 +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/hints b/t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/hints new file mode 100644 index 0000000..fa4c200 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-depends-general/eval/hints @@ -0,0 +1,18 @@ +fields-build-depends-general (source): ored-build-depends-on-obsolete-package Build-Depends: xlibmesa-gl-dev +fields-build-depends-general (source): invalid-arch-string-in-source-relation source [Build-Depends: baz [source lintian-fake-arch]] +fields-build-depends-general (source): invalid-arch-string-in-source-relation lintian-fake-arch [Build-Depends: baz [source lintian-fake-arch]] +fields-build-depends-general (source): invalid-arch-string-in-source-relation all [Build-Depends: foo [all]] +fields-build-depends-general (source): depends-on-packaging-dev Build-Depends +fields-build-depends-general (source): conflicting-negation-in-source-relation Build-Depends: baz [i386 !amd64] +fields-build-depends-general (source): build-depends-on-versioned-berkeley-db Build-Depends:libdb5.1-java-dev +fields-build-depends-general (source): build-depends-on-versioned-berkeley-db Build-Depends:libdb5.1++-dev +fields-build-depends-general (source): build-depends-on-python-dev-with-no-arch-any +fields-build-depends-general (source): build-depends-on-obsolete-package Build-Depends: x-dev (>= 1.0) +fields-build-depends-general (source): build-depends-on-obsolete-package Build-Depends: hardening-wrapper (>= 2.2) => use dpkg-buildflags instead +fields-build-depends-general (source): build-depends-on-non-build-package Build-Depends: java-propose-classpath +fields-build-depends-general (source): build-depends-on-metapackage Build-Depends: xorg-dev +fields-build-depends-general (source): build-depends-on-essential-package-without-using-version Build-Depends: bash +fields-build-depends-general (source): build-depends-on-build-essential-package-without-using-version make [Build-Depends: make] +fields-build-depends-general (source): build-depends-on-build-essential Build-Depends +fields-build-depends-general (source): build-depends-on-1-revision Build-Depends: revision-1 (>= 1.0-1) +fields-build-depends-general (source): build-conflicts-with-build-dependency Build-Conflicts bd-conflict [debian/control:10] diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in new file mode 100644 index 0000000..7df1b9f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in @@ -0,0 +1,33 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + big <stage1>, bpfail1 <foobar>, + bpcomplicated <stage1 nocheck> <cross> <!pkg.[% $source %].foo> +Rules-Requires-Root: no + +Package: [% $source %]-wrong-syntax +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: <in<valid> +Description: [% $description %] (wrong syntax) + Check the syntax of the Build-Profiles field + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-unknown-profile +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: <!stage1 !nocheck> <!unknown> <pkg.[% $source %].foo> +Description: [% $description %] (unknown profile) + Check for unknown profile names + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values new file mode 100644 index 0000000..7fd9fd0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-build-profiles-general +Description: General tests for build profiles diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc new file mode 100644 index 0000000..910a094 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-build-profiles-general +See-Also: Debian Bug#540594, Debian Bug#551793 +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints new file mode 100644 index 0000000..485eeda --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints @@ -0,0 +1 @@ +fields-build-profiles-general (source): invalid-profile-name-in-source-relation foobar [Build-Depends: bpfail1 <foobar>] diff --git a/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/debian/control.in new file mode 100644 index 0000000..5e276a2 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Build-Depends-Arch: some-package +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/fill-values new file mode 100644 index 0000000..a42e801 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-dep-without-arch-dep-binary +Package-Architecture: all +Description: Test for B-D-A and no architecture-dependent pkgs diff --git a/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/desc b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/desc new file mode 100644 index 0000000..e9eebc5 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-dep-without-arch-dep-binary +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/hints b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/hints new file mode 100644 index 0000000..808ae8f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-dep-without-arch-dep-binary/eval/hints @@ -0,0 +1 @@ +fields-dep-without-arch-dep-binary (source): build-depends-arch-without-arch-dependent-binary diff --git a/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/control.in new file mode 100644 index 0000000..054ffc3 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/control.in @@ -0,0 +1,81 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], libtest-simple-perl (>= 0.98), perl-modules +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, xorg, bash, + conflict-dep, gawk | awk, new-package | xbase-clients (>= 0.1), [% $source %], + gaim (>= 0.1), emacs21, emacs22, emacs23, makedev, libtest-simple-perl (>= 0.98), + packaging-dev, xfont-a, emacs22-gtk, emacs23-el, emacs23-nox, emacs23-lucid, + emacs222, perl-modules, debhelper +Breaks: package-without-version, [% $source %] (<< 0.1), + replaced-wo-version +Replaces: replaced-wo-version +Conflicts: package-with-version (<< 3.0), conflict-dep +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: lib[% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, libdb1-compat, perl-modules-5.22 +Recommends: debconf-doc, cdbs +Conflicts: debhelper +Section: libs +Description: [% $description %] -- fake library + This is a fake library designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: py-[% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python-minimal +Description: [% $description %] - Fake Python package + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The fake Python package. + +Package: [% $source %]-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, [% $source %] +Description: [% $description %] - Fake Doc package + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The fake doc package. + +Package: dh-[% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, debhelper +Description: [% $description %] - Fake Debhelper package + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The fake Debhelper package to test false-positives in + binary-package-depends-on-toolchain-package. + +Package: [% $source %]-source +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, debhelper +Description: [% $description %] - Fake DKMS-like package + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The fake DKMS-like package to test false-positives in + binary-package-depends-on-toolchain-package. diff --git a/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/install b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/install new file mode 100644 index 0000000..6c37889 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/share/lintian diff --git a/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/fill-values new file mode 100644 index 0000000..6e84753 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-depends-general +Description: General tests for binary package dependencies diff --git a/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/orig/some-file b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-general/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/package-relations/fields-depends-general/eval/desc b/t/recipes/checks/fields/package-relations/fields-depends-general/eval/desc new file mode 100644 index 0000000..4a65de6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-depends-general +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-depends-general/eval/hints b/t/recipes/checks/fields/package-relations/fields-depends-general/eval/hints new file mode 100644 index 0000000..37ffd89 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-general/eval/hints @@ -0,0 +1,30 @@ +fields-depends-general (source): virtual-package-depends-without-real-package-depends Build-Depends: perl-modules +fields-depends-general (source): package-relation-with-perl-modules Build-Depends: perl-modules +py-fields-depends-general (binary): depends-on-python-minimal Depends +libfields-depends-general (binary): package-relation-with-perl-modules Depends: perl-modules-5.22 +libfields-depends-general (binary): lib-recommends-documentation Recommends: debconf-doc +libfields-depends-general (binary): depends-on-libdb1-compat Depends +libfields-depends-general (binary): binary-package-depends-on-toolchain-package Recommends: cdbs +fields-depends-general-doc (binary): doc-package-depends-on-main-package Depends +fields-depends-general (binary): virtual-package-depends-without-real-package-depends Depends: perl-modules +fields-depends-general (binary): package-relation-with-self Breaks: fields-depends-general (<< 0.1) +fields-depends-general (binary): package-relation-with-perl-modules Depends: perl-modules +fields-depends-general (binary): package-depends-on-an-x-font-package Depends: xfont-a +fields-depends-general (binary): ored-depends-on-obsolete-package Depends: xbase-clients (>= 0.1) +fields-depends-general (binary): needlessly-depends-on-awk Depends +fields-depends-general (binary): depends-on-packaging-dev Depends +fields-depends-general (binary): depends-on-old-emacs Depends: emacs23-nox +fields-depends-general (binary): depends-on-old-emacs Depends: emacs23-lucid +fields-depends-general (binary): depends-on-old-emacs Depends: emacs23-el +fields-depends-general (binary): depends-on-old-emacs Depends: emacs23 +fields-depends-general (binary): depends-on-old-emacs Depends: emacs22-gtk +fields-depends-general (binary): depends-on-old-emacs Depends: emacs22 +fields-depends-general (binary): depends-on-old-emacs Depends: emacs21 +fields-depends-general (binary): depends-on-obsolete-package Depends: gaim (>= 0.1) +fields-depends-general (binary): depends-on-metapackage Depends: xorg +fields-depends-general (binary): depends-on-essential-package-without-using-version Depends: bash +fields-depends-general (binary): depends-exclusively-on-makedev Depends +fields-depends-general (binary): conflicts-with-version package-with-version (<< 3.0) +fields-depends-general (binary): conflicts-with-dependency Depends conflict-dep +fields-depends-general (binary): breaks-without-version package-without-version +fields-depends-general (binary): binary-package-depends-on-toolchain-package Depends: debhelper diff --git a/t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/debian/control.in new file mode 100644 index 0000000..94828b8 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], xorg-dev +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, xorg +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/fill-values new file mode 100644 index 0000000..2392a9b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-depends-metapackage +Description: Tests for package dependencies in a metapackage diff --git a/t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/desc b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/desc new file mode 100644 index 0000000..d39a20b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-depends-metapackage +Test-Against: depends-on-metapackage +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/hints b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/hints new file mode 100644 index 0000000..252a42e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-metapackage/eval/hints @@ -0,0 +1 @@ +fields-depends-metapackage (source): build-depends-on-metapackage Build-Depends: xorg-dev diff --git a/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/debian/control.in new file mode 100644 index 0000000..9702137 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, foo [linux-any], bar [i386], + baz [amd64] +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/fill-values new file mode 100644 index 0000000..579e2cb --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-depends-wildcard +Package-Architecture: any +Description: Check package dependencies with arch wildcards diff --git a/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/orig/Makefile b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/orig/Makefile new file mode 100644 index 0000000..6df56c1 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/build-spec/orig/Makefile @@ -0,0 +1,5 @@ +all: + +install: + install -d -m 0755 "$(DESTDIR)/usr/lib/package" + echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file" diff --git a/t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/desc b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/desc new file mode 100644 index 0000000..23099a8 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-depends-wildcard +Test-Against: + bad-relation + invalid-arch-string-in-source-relation +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/hints b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-depends-wildcard/eval/hints diff --git a/t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/debian/control.in new file mode 100644 index 0000000..b34b15b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], perl (>= 5.10) | libmodule-build-perl +Build-Depends-Indep: perl (>= 5.10) +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/fill-values new file mode 100644 index 0000000..f54e3f5 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-duplicate-build/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-duplicate-build +Package-Architecture: all +Description: Check for duplicate build relations diff --git a/t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/desc b/t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/desc new file mode 100644 index 0000000..1467f4f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-duplicate-build +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/hints b/t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/hints new file mode 100644 index 0000000..2c513d3 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-duplicate-build/eval/hints @@ -0,0 +1 @@ +fields-duplicate-build (source): redundant-build-prerequisites perl (>= 5.10), perl (>= 5.10) | libmodule-build-perl diff --git a/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/package-relations/fields-general-bad/eval/desc b/t/recipes/checks/fields/package-relations/fields-general-bad/eval/desc new file mode 100644 index 0000000..3ccfd07 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-general-bad/eval/hints b/t/recipes/checks/fields/package-relations/fields-general-bad/eval/hints new file mode 100644 index 0000000..2f60cea --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general-bad/eval/hints @@ -0,0 +1,4 @@ +fields-general-BAD? (binary): bad-version-in-relation Recommends: g++ (>= s4.1) +fields-general-BAD? (binary): bad-version-in-relation Depends: other-package (>= 1.0?) +fields-general-BAD? (binary): bad-relation Depends: another-package (>< 1.0) +fields-general-BAD? (binary): alternates-not-allowed Conflicts diff --git a/t/recipes/checks/fields/package-relations/fields-general/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-general/build-spec/debian/control.in new file mode 100644 index 0000000..f5aa07a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general/build-spec/debian/control.in @@ -0,0 +1,46 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. +# Whoops, typo +Homepage: ttp://lintian.debian.org/ + +Package: [% $source %]-dbg +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dbg) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The debug package (dbg)g. +# ... and some unneeded <> +Homepage: <http://lintian.debian.org/> + +Package: [% $source %]-debug +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (debug) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The debug package (debug). + diff --git a/t/recipes/checks/fields/package-relations/fields-general/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-general/build-spec/fill-values new file mode 100644 index 0000000..11b0c69 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-general +Description: Test for tags related to minor field issues diff --git a/t/recipes/checks/fields/package-relations/fields-general/eval/desc b/t/recipes/checks/fields/package-relations/fields-general/eval/desc new file mode 100644 index 0000000..9807f78 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-general/eval/hints b/t/recipes/checks/fields/package-relations/fields-general/eval/hints new file mode 100644 index 0000000..f742e4d --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-general/eval/hints @@ -0,0 +1 @@ +fields-general (source): dbg-package-missing-depends fields-general-dbg diff --git a/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/debian/control.in new file mode 100644 index 0000000..cadcd5d --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Build-Depends-Indep: some-package +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/fill-values new file mode 100644 index 0000000..3d13a3f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-indep-without-arch-indep +Package-Architecture: any +Description: Test for B-D-I and no indep pkgs diff --git a/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/orig/Makefile b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/orig/Makefile new file mode 100644 index 0000000..6df56c1 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/build-spec/orig/Makefile @@ -0,0 +1,5 @@ +all: + +install: + install -d -m 0755 "$(DESTDIR)/usr/lib/package" + echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file" diff --git a/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/desc b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/desc new file mode 100644 index 0000000..9a95dcb --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-indep-without-arch-indep +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/hints b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/hints new file mode 100644 index 0000000..346ffd3 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-indep-without-arch-indep/eval/hints @@ -0,0 +1 @@ +fields-indep-without-arch-indep (source): build-depends-indep-without-arch-indep diff --git a/t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/control.in new file mode 100644 index 0000000..6e1b3e8 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/control.in @@ -0,0 +1,37 @@ +Source: [% $source %] +Priority: optional +Section: java +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], openjdk-6-doc, openjdk-6-jdk, java-compiler +Rules-Requires-Root: no + +Package: lib[% $source %]-java +Architecture: all +Depends: ${misc:Depends}, + default-jre-headless | java-runtime-headless | + java2-runtime-headless | kaffe | gcj-jdk | + openjdk-6-jre | gcj-4.5-jre +Suggests: libservlet2.5-java +Recommends: libservlet3.0-java +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Recommends: openjdk-6-doc +# Negative testing as well, this should not be triggered. +Replaces: openjdk-6-doc +Description: [% $description %] - API + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + Doc package. + diff --git a/t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/install b/t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/install new file mode 100644 index 0000000..6c37889 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-java/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/share/lintian diff --git a/t/recipes/checks/fields/package-relations/fields-java/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-java/build-spec/fill-values new file mode 100644 index 0000000..141e8e4 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-java/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-java +Description: General tests for java package (build) dependencies diff --git a/t/recipes/checks/fields/package-relations/fields-java/build-spec/orig/some-file b/t/recipes/checks/fields/package-relations/fields-java/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-java/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/package-relations/fields-java/eval/desc b/t/recipes/checks/fields/package-relations/fields-java/eval/desc new file mode 100644 index 0000000..1cd4aeb --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-java/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-java +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-java/eval/hints b/t/recipes/checks/fields/package-relations/fields-java/eval/hints new file mode 100644 index 0000000..03f863f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-java/eval/hints @@ -0,0 +1,9 @@ +fields-java (source): virtual-package-depends-without-real-package-depends Build-Depends: java-compiler +fields-java (source): build-depends-on-specific-java-doc-package openjdk-6-doc +fields-java (source): build-depends-on-obsolete-package Build-Depends: openjdk-6-jdk +fields-java (source): build-depends-on-an-obsolete-java-package java-compiler +libfields-java-java-doc (binary): depends-on-specific-java-doc-package Recommends +libfields-java-java (binary): ored-depends-on-obsolete-package Depends: openjdk-6-jre +libfields-java-java (binary): needless-suggest-recommend-libservlet-java libservlet3.0-java +libfields-java-java (binary): needless-suggest-recommend-libservlet-java libservlet2.5-java +libfields-java-java (binary): needless-dependency-on-jre diff --git a/t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/debian/control.in new file mode 100644 index 0000000..0456c0a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Build-Depends-Indep: libmodule-build-perl, libmodule-build-tiny-perl +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/fill-values new file mode 100644 index 0000000..500130f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-module-build-perl/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-module-build-perl +Package-Architecture: all +Description: Test some libmodule-build(-tiny)-perl checks diff --git a/t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/desc b/t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/desc new file mode 100644 index 0000000..4120397 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-module-build-perl +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/hints b/t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/hints new file mode 100644 index 0000000..b6dad72 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-module-build-perl/eval/hints @@ -0,0 +1,2 @@ +fields-module-build-perl (source): libmodule-build-tiny-perl-needs-to-be-in-build-depends +fields-module-build-perl (source): libmodule-build-perl-needs-to-be-in-build-depends diff --git a/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/compat.in b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/control.in new file mode 100644 index 0000000..f7a6221 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/control.in @@ -0,0 +1,52 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: + debhelper (>= [% $dh_compat_level %]~), + default-mta | mail-transport-agent, + default-mta +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %]-bad-1 +Architecture: all +# default-mta missing mail-transport-agent +Depends: ${misc:Depends}, default-mta, exim4, nullmailer +Pre-Depends: mail-transport-agent +Recommends: default-mta, mail-transport-agent +Suggests: exim4 | mail-transport-agent +Description: [% $description %] (bad set 1) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + . + This package has incorrect dependencies (1). + +Package: [% $source %]-bad-2 +Architecture: all +# default-mta missing +Depends: ${misc:Depends}, exim4 | postfix | mail-transport-agent +# default-mta not listed first +Pre-Depends: exim4 | default-mta | mail-transport-agent +Description: [% $description %] (bad set 2) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + . + This package has incorrect dependencies (2). + +Package: [% $source %]-good-1 +Architecture: all +Depends: ${misc:Depends}, default-mta | mail-transport-agent +Pre-Depends: default-mta | exim4 | mail-transport-agent +Recommends: default-mta | mail-transport-agent | exim4 +Suggests: lintian +Provides: mail-transport-agent +Description: [% $description %] (good 1) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package + . + This package has correct dependencies. diff --git a/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/rules new file mode 100644 index 0000000..c3e3793 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_install:: + set -ex; for X in $$(dh_listpackages); do \ + dh_install -p$$X some-file.txt usr/share/$$X; \ + done diff --git a/t/recipes/checks/fields/package-relations/fields-mua/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/fill-values new file mode 100644 index 0000000..9d49c89 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-mua +Description: Test for tags related to MUA etc. diff --git a/t/recipes/checks/fields/package-relations/fields-mua/build-spec/orig/some-file.txt b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/orig/some-file.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/build-spec/orig/some-file.txt diff --git a/t/recipes/checks/fields/package-relations/fields-mua/eval/desc b/t/recipes/checks/fields/package-relations/fields-mua/eval/desc new file mode 100644 index 0000000..fcae7a6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-mua +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-mua/eval/hints b/t/recipes/checks/fields/package-relations/fields-mua/eval/hints new file mode 100644 index 0000000..78f0222 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-mua/eval/hints @@ -0,0 +1,6 @@ +fields-mua (source): default-mta-dependency-does-not-specify-mail-transport-agent Build-Depends: debhelper (>= 13~), default-mta +fields-mua-bad-2 (binary): mail-transport-agent-dependency-does-not-specify-default-mta Depends: exim4 | postfix | mail-transport-agent +fields-mua-bad-2 (binary): default-mta-dependency-not-listed-first Pre-Depends: exim4 | default-mta | mail-transport-agent +fields-mua-bad-1 (binary): virtual-package-depends-without-real-package-depends Pre-Depends: mail-transport-agent +fields-mua-bad-1 (binary): mail-transport-agent-dependency-does-not-specify-default-mta Pre-Depends: mail-transport-agent +fields-mua-bad-1 (binary): default-mta-dependency-does-not-specify-mail-transport-agent Depends: default-mta, exim4, nullmailer diff --git a/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/debian/control.in new file mode 100644 index 0000000..07de573 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/debian/control.in @@ -0,0 +1,22 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends}, + libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, + tk8.2, tk8.3, + tcl8.0, tcl8.2, + tclx76, tclx8.0.4, tclx8.2, + libpng2, libpng3 +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/fill-values new file mode 100644 index 0000000..24a7c93 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-multiple-x-deps +Description: Tests for multiple depends on X diff --git a/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/desc b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/desc new file mode 100644 index 0000000..6abd4de --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-multiple-x-deps +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/hints b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/hints new file mode 100644 index 0000000..94dff61 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-multiple-x-deps/eval/hints @@ -0,0 +1,5 @@ +fields-multiple-x-deps (binary): package-depends-on-multiple-tk-versions tk8.2 tk8.3 +fields-multiple-x-deps (binary): package-depends-on-multiple-tclx-versions tclx76 tclx8.0.4 tclx8.2 +fields-multiple-x-deps (binary): package-depends-on-multiple-tcl-versions tcl8.0 tcl8.2 +fields-multiple-x-deps (binary): package-depends-on-multiple-libstdc-versions libstdc++2.10 libstdc++2.10-glibc2.2 libstdc++3.0 +fields-multiple-x-deps (binary): package-depends-on-multiple-libpng-versions libpng2 libpng3 diff --git a/t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..194fe95 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/DEBIAN/control.in @@ -0,0 +1,12 @@ +Package: [% $source %] +Version: [% $version %] +Architecture: [% $package_architecture %] +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Conflicts: libsqlite3-0 (< 3.6.12) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/fill-values new file mode 100644 index 0000000..74fe997 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: fields-obsolete-relation +Description: Test for obsolete relation syntax in a binary package diff --git a/t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/desc b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/desc new file mode 100644 index 0000000..938a601 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-obsolete-relation +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/hints b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/hints new file mode 100644 index 0000000..847c878 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-obsolete-relation/eval/hints @@ -0,0 +1,2 @@ +fields-obsolete-relation (binary): obsolete-relation-form Conflicts: libsqlite3-0 (< 3.6.12) +fields-obsolete-relation (binary): conflicts-with-version libsqlite3-0 (< 3.6.12) diff --git a/t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/debian/control.in new file mode 100644 index 0000000..5cbe5b4 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/debian/control.in @@ -0,0 +1,14 @@ +Source: [% $source %] +Section: devel +Priority: optional +Maintainer: [% $author %] +Build-Depends: [% $build_depends %], g++ (>= s4.0) +Standards-Version: [% $standards_version %] + +Package: [% $source %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/fill-values new file mode 100644 index 0000000..503dcc2 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-src-bad-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: fields-src-bad-version +Version: 1 +Description: Test for d/control with syntax errors diff --git a/t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/desc b/t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/desc new file mode 100644 index 0000000..3b28648 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-src-bad-version +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/hints b/t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/hints new file mode 100644 index 0000000..84ee7fc --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-src-bad-version/eval/hints @@ -0,0 +1 @@ +fields-src-bad-version (source): bad-version-in-relation Build-Depends: g++ (>= s4.0) diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in new file mode 100644 index 0000000..4657b6e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in @@ -0,0 +1,32 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, httpd +Provides: + 123456789, + [% $source %]-${source:Version}, + arch-specific [i386], + provides-are-allowed [!i386], + valid-versioned-provides (= 1.0) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]2 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: a, iNvAlId-NaMe, versioned (>> 0.1) +Description: [% $description %] - bogus + This is a bogus test package designed to exercise some feature or tag + of Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install new file mode 100644 index 0000000..6e59b8c --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/lib/lintian diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values new file mode 100644 index 0000000..cde3e6b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-virtual-packages +Description: Tests related to virtual packages diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc new file mode 100644 index 0000000..cb0f562 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-virtual-packages +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints new file mode 100644 index 0000000..70699dd --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints @@ -0,0 +1,4 @@ +fields-virtual-packages2 (binary): invalid-versioned-provides versioned (>> 0.1) +fields-virtual-packages2 (binary): bad-provided-package-name iNvAlId-NaMe +fields-virtual-packages2 (binary): bad-provided-package-name a +fields-virtual-packages (binary): virtual-package-depends-without-real-package-depends Depends: httpd diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: ü. + It also has a usefull speling error. + + -- Russ Allbery <rra@debian.org> Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt <he@debian.org> Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/control b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org> +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: <http://lintian.debian.org/> +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad ® character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello!
+Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/index.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/templates b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/fill-values b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/eval/desc b/t/recipes/checks/fields/package-relations/legacy-binary/eval/desc new file mode 100644 index 0000000..5bf368b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/eval/hints b/t/recipes/checks/fields/package-relations/legacy-binary/eval/hints new file mode 100644 index 0000000..af3ad3a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/eval/hints @@ -0,0 +1 @@ +binary (binary): depends-on-metapackage Pre-Depends: xorg diff --git a/t/recipes/checks/fields/package-relations/legacy-binary/eval/post-test b/t/recipes/checks/fields/package-relations/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers <debian-lint-maint@debian.org> Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/control b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers <debian-lint-maint@debian.org> +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld <djpig@debian.org> + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-test.templates.in diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld <djpig@debian.org>\n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld <djpig@debian.org>\n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/fill-values b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/eval/desc b/t/recipes/checks/fields/package-relations/legacy-debconf/eval/desc new file mode 100644 index 0000000..cf9edea --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/eval/hints b/t/recipes/checks/fields/package-relations/legacy-debconf/eval/hints new file mode 100644 index 0000000..defe466 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/eval/hints @@ -0,0 +1 @@ +debconf (source): build-depends-on-obsolete-package Build-Depends: dpatch diff --git a/t/recipes/checks/fields/package-relations/legacy-debconf/eval/post-test b/t/recipes/checks/fields/package-relations/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer <toddy@debian.org> Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/control b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/fill-values b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/eval/desc b/t/recipes/checks/fields/package-relations/legacy-fields/eval/desc new file mode 100644 index 0000000..a435fe4 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/eval/hints b/t/recipes/checks/fields/package-relations/legacy-fields/eval/hints new file mode 100644 index 0000000..e334541 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/eval/hints @@ -0,0 +1 @@ +fields (binary): depends-on-python-minimal Depends diff --git a/t/recipes/checks/fields/package-relations/legacy-fields/eval/post-test b/t/recipes/checks/fields/package-relations/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/changelog.in @@ -0,0 +1,78 @@ +filenames ([% $version %]) [% $distribution %]; urgency=low + + * /me is doing a correct NMU of this package, bumping the epoch too. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:04:39 +0200 + +filenames (11) unstable; urgency=low + + * Add a README.macos. + + -- Marc 'HE' Brockschmidt <he@debian.org> Mon, 12 Apr 2004 23:35:24 +0200 + +filenames (10) unstable; urgency=low + + * Some new files to check the checks for the use of /usr/*/X11 and + /usr/X11R6/*. + + -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 11 Apr 2004 17:35:20 +0200 + +filenames (9) unstable; urgency=low + + * Add a two *.ali files, one with the right permission, one with + the more common, but false one. + + -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 11 Apr 2004 00:18:16 +0200 + +filenames (8) unstable; urgency=low + + * Add a real ancient file + + -- Frank Lichtenheld <djpig@debian.org> Thu, 8 Apr 2004 22:22:40 +0200 + +filenames (7) unstable; urgency=low + + * Add a dozen symlinks, some correct, some not + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 01:28:42 +0100 + +filenames (6) unstable; urgency=low + + * Add perl files to check if + package-installs-nonbinary-perl-in-usr-lib-perl5 is correctly + issued even after attempting to suppress it in some cases + + -- Frank Lichtenheld <djpig@debian.org> Fri, 27 Feb 2004 00:49:44 +0100 + +filenames (5) unstable; urgency=low + + * Added check for too long symlink + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 3 Jan 2001 13:20:31 -0800 + +filenames (4) unstable; urgency=low + + * Add /usr/lib/menu/menu file to test the bad-menu-file-name tag. + * Add /usr/lib/menu/README to test the new execption for it. + + -- Richard Braakman <dark@xs4all.nl> Thu, 22 Oct 1998 15:42:52 +0200 + +filenames (3) unstable; urgency=low + + * Don't rely on the installer's umask. + + -- Richard Braakman <dark@xs4all.nl> Thu, 20 Aug 1998 12:45:47 +0200 + +filenames (2) unstable; urgency=low + + * Noted more limitations on what filenames lintian handles. + * Added Changes.gz in /usr/doc/filenames and made a symlink from changelog.gz + to Changes.gz. + + -- Richard Braakman <dark@xs4all.nl> Sat, 4 Jul 1998 15:46:11 +0200 + +filenames (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Sat, 4 Jul 1998 15:25:01 +0200 diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/control b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..c5596a2 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/control @@ -0,0 +1,43 @@ +Source: filenames +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets + +Package: filenames +Architecture: any +Depends: test, python-support +Description: see how lintian reacts to weird filenames + This package contains files with the most evil names I could find, + except for ones that lintian is explicitly not designed to handle. + . + Lintian does not handle filenames containing newlines, or filenames + that contain the strings " link to ", " -> ", or ": ". The last one + is used as a separator by the file command, the others are used as + separators by tar. + . + Lintian also does not handle filenames that contain backslashes, or + other characters that are mangled by tar's -tv output. + +Package: filename-games +Architecture: all +Depends: filenames +Section: games +Description: Test game filename/location checks + This package contains files with slightly less evil names than + filenames. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: more-filename-games +Architecture: all +Depends: filenames, filename-games +Section: games +Priority: optional +Description: More test for game filename/location checks + This package contains no evil names, only evil locations. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/doc-base @@ -0,0 +1,11 @@ +Document: testing +Title: Working doc-base control file +Author: Russ Allbery +Abstract: This control file ensures that we don't get false positives for + correct doc-base files. + . + There isn't anything wrong with this one. +Section: Education + +Format: Text +Files: /usr/share/doc/filenames/README.macosx diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/debian/rules @@ -0,0 +1,231 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +clean: + mkdir -p .svn CVS "{arch}" .arch-ids .bzr + touch data/.cvsignore data/svn-commit.tmp data/svk-commitsEr9P.tmp + touch data/.arch-inventory + touch 'data/.#Maelstrom Sound.1.1.1' 'data/Maelstrom Sounce.r121' + touch 'data/Maelstrom Sound.mine' + touch "data/'\\ " + touch filenames.c~ + +build-arch: + +build-indep: + +build: build-arch build-indep + + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + cp -a data debian/tmp/files + chmod -R go=rX debian/tmp/files + + install -d debian/tmp/usr/lib/filenames + install -m 555 -d debian/tmp/usr/lib/filenames/readonly + touch debian/tmp/usr/lib/filenames/readonly/test + + install -d debian/tmp/usr/lib/menu + install -d debian/tmp/usr/share/menu + touch debian/tmp/usr/lib/menu/README + touch debian/tmp/usr/share/menu/README + touch debian/tmp/usr/lib/menu/menu + touch debian/tmp/usr/share/menu/menu + chmod 644 debian/tmp/usr/lib/menu/* + + install -d debian/tmp/$(VENDORARCH)/foo + mkdir debian/tmp/$(VENDORARCH)/.svn + mkdir debian/tmp/$(VENDORARCH)/CVS + mkdir "debian/tmp/$(VENDORARCH)/{arch}" + mkdir debian/tmp/$(VENDORARCH)/.arch-ids + mkdir debian/tmp/$(VENDORARCH)/.bzr + mkdir debian/tmp/$(VENDORARCH)/.be + mkdir debian/tmp/$(VENDORARCH)/.ditrack + install -d debian/tmp/usr/share/perl5 + echo foo > debian/tmp/$(VENDORARCH)/foo/.gitignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgtags + echo foo > debian/tmp/$(VENDORARCH)/foo/.hg_archival.txt + + touch debian/tmp/$(VENDORARCH)/foo/.packlist + chmod 644 debian/tmp/$(VENDORARCH)/foo/.packlist + touch debian/tmp/$(VENDORARCH)/foo/bar.pm + TZ=UTC touch -t 197501010101 debian/tmp/$(VENDORARCH)/foo/ancient.pm + chmod 644 debian/tmp/$(VENDORARCH)/foo/bar.pm + + install -d debian/tmp/usr/share/pixmaps + install -d debian/tmp/usr/share/pixmaps/foo + touch debian/tmp/usr/share/pixmaps/license.jpeg + touch debian/tmp/usr/share/pixmaps/licence.jpg + touch debian/tmp/usr/share/pixmaps/copying.xpm + touch debian/tmp/usr/share/pixmaps/foo/COPYING.svg + touch debian/tmp/usr/share/pixmaps/foo/copying.png + touch debian/tmp/usr/share/pixmaps/license.txt + touch debian/tmp/usr/share/pixmaps/license.foo + touch debian/tmp/usr/share/pixmaps/COPYING + + install -d debian/tmp/usr/share/linda/overrides + echo 'foo' > debian/tmp/usr/share/linda/overrides/filenames + + install -d debian/tmp/usr/share/doc/filenames + touch debian/tmp/usr/share/doc/filenames/README.macosx + + echo foo > debian/tmp/usr/share/doc/filenames/bokmÃ¥l + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\Ã¥l + echo foo > debian/tmp/usr/share/doc/filenames/bokmål + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\ål + + echo foo > debian/tmp/usr/share/doc/filenames/Thumbs.db + echo foo > debian/tmp/usr/share/doc/filenames/.DS_Store + echo foo > debian/tmp/usr/share/doc/filenames/._NEWS.Debian + + touch debian/tmp/usr/share/doc/filenames/news.debian + gzip -n debian/tmp/usr/share/doc/filenames/news.debian + touch debian/tmp/usr/share/doc/filenames/NEWS.Debian + + echo foo > debian/tmp/usr/share/doc/filenames/link-one + ln debian/tmp/usr/share/doc/filenames/link-one \ + debian/tmp/usr/share/doc/filenames/link-two + + install -d debian/tmp/usr/share/doc/filenames/examples + touch debian/tmp/usr/share/doc/filenames/examples/__init__.py + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + gzip -n debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + + install -d debian/tmp/usr/lib/ada/adalib/ + touch debian/tmp/usr/lib/ada/adalib/test.ali debian/tmp/usr/lib/ada/adalib/test2.ali + chmod 0644 debian/tmp/usr/lib/ada/adalib/test.ali + chmod 0444 debian/tmp/usr/lib/ada/adalib/test2.ali + + install -d debian/tmp/usr/bin/X11/ + touch debian/tmp/usr/bin/X11/testxbin + install -d debian/tmp/usr/X11R6/bin + touch debian/tmp/usr/X11R6/bin/testxbin2 + install -d debian/tmp/usr/include/X11 + touch debian/tmp/usr/include/X11/foo.h + + install -d debian/tmp/usr/bin/mh + touch debian/tmp/usr/bin/mh/read + chmod 755 debian/tmp/usr/bin/mh/read + install -d debian/tmp/usr/bin/bin + touch debian/tmp/usr/bin/bin/bad + chmod 755 debian/tmp/usr/bin/bin/bad + + install -m 644 debian/changelog debian/tmp/usr/share/doc/filenames/Changes + gzip -n -9 debian/tmp/usr/share/doc/filenames/Changes + ln -s Changes.gz debian/tmp/usr/share/doc/filenames/changelog.gz + + install -d debian/tmp/var/www + echo foo > debian/tmp/var/www/foo + + install -d debian/tmp/srv/foo + touch debian/tmp/srv/foo/bar + install -d debian/tmp/opt/foo + touch debian/tmp/opt/foo/bar + + install -d debian/tmp/etc/gconf/schemas + touch debian/tmp/etc/gconf/schemas/test.schema + + install -d debian/tmp/usr/lib/sgml + touch debian/tmp/usr/lib/sgml/package + + install -d debian/tmp/usr/share/gnome/apps/System + touch debian/tmp/usr/share/gnome/apps/System/foo.desktop + + install -d debian/tmp/usr/share/filenames + touch debian/tmp/usr/share/filenames/jquery.js + touch debian/tmp/usr/share/filenames/jquery.lite.js + touch debian/tmp/usr/share/filenames/jquery.min.js + touch debian/tmp/usr/share/filenames/jquery.pack.js + touch debian/tmp/usr/share/filenames/mochikit.js + touch debian/tmp/usr/share/filenames/prototype-1.2.3.4.js + touch debian/tmp/usr/share/filenames/prototype.js + touch debian/tmp/usr/share/filenames/prototype.js.gz + touch debian/tmp/usr/share/filenames/scriptaculous.js + touch debian/tmp/usr/share/filenames/yahoo-dom-event.js + touch debian/tmp/usr/share/filenames/yahoo-min.js + + ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz + ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok + ln -s ../../../etc/symlink debian/tmp/usr/lib/filenames/symlink1wrong + ln -s ../../../../etc/symlink debian/tmp/usr/lib/filenames/symlink2wrong + ln -s /etc/symlink debian/tmp/usr/lib/filenames/symlink2ok + ln -s /usr/lib/filenames/symlink2 debian/tmp/usr/lib/filenames/symlink3wrong + ln -s test debian/tmp/usr/lib/filenames/symlink3ok + ln -s ../filenames/symlink2 debian/tmp/usr/lib/filenames/symlink4wrong + ln -s ../menu/../somethingelse debian/tmp/usr/lib/filenames/symlink5wrong + ln -s ../menu/somethingelse debian/tmp/usr/lib/filenames/symlink4ok + ln -s ./file4 debian/tmp/usr/lib/filenames/symlink6wrong + ln -s ../menu/./something debian/tmp/usr/lib/filenames/symlink7wrong + ln -s ../menu//something debian/tmp/usr/lib/filenames/symlink8wrong + ln -s ../menu/something/ debian/tmp/usr/lib/filenames/symlink9wrong + ln -s .. debian/tmp/usr/lib/filenames/symlink5ok+warn + ln -s . debian/tmp/usr/lib/filenames/symlink6ok+warn + ln -s / debian/tmp/usr/lib/filenames/symlink7ok+warn + ln -s ../../.. debian/tmp/usr/lib/filenames/symlink10wrong + +# devhelp tests. Files in /usr/share/gtk-doc/html or /usr/share/devhelp/books +# are okay. Files elsewhere are okay iff their parent path is symlinked into +# one of those paths. + install -d debian/tmp/usr/share/devhelp/books/filenames + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/a.devhelp + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + gzip -n -9 debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + install -d debian/tmp/usr/share/gtk-doc/html/filenames + echo 'Not really XML' > debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + gzip -n -9 debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + install -d debian/tmp/usr/share/doc/filenames/good-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/good-devhelp/.devhelp2 + install -d debian/tmp/usr/share/doc/filenames/bad-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + gzip -n -9 debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + ln -s ../../doc/filenames/good-devhelp debian/tmp/usr/share/gtk-doc/html/good + ln -s ../doc/filenames/bad-devhelp debian/tmp/usr/share/gtk-doc/html/bad + + install -d debian/tmp/usr/share/doc-base + install -m 644 debian/doc-base debian/tmp/usr/share/doc-base/filenames + + dpkg-gencontrol -pfilenames -Pdebian/tmp + dpkg --build debian/tmp .. + + install -d debian/filename-games debian/filename-games/DEBIAN + install -d debian/filename-games/usr debian/filename-games/usr/games debian/filename-games/usr/bin + echo '#! /bin/sh' > debian/filename-games/usr/bin/test-game + chmod 755 debian/filename-games/usr/bin/test-game + dpkg-gencontrol -pfilename-games -Pdebian/filename-games + dpkg --build debian/filename-games .. + + install -d debian/more-filename-games debian/more-filename-games/DEBIAN + install -d debian/more-filename-games/usr debian/more-filename-games/usr/games debian/more-filename-games/usr/bin + echo '#! /bin/sh' > debian/more-filename-games/usr/bin/another-test-game + echo '#! /bin/sh' > debian/more-filename-games/usr/games/yet-another-test-game + chmod 755 debian/more-filename-games/usr/bin/another-test-game debian/more-filename-games/usr/games/yet-another-test-game + dpkg-gencontrol -pmore-filename-games -Pdebian/more-filename-games + dpkg --build debian/more-filename-games .. + +binary: binary-arch binary-indep + +.PHONY: build-indep build-arch build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/fill-values b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-filenames +Source: filenames +Version: 1:12-0.1 +Description: Legacy test "filenames" diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/ .tif @@ -0,0 +1,2 @@ +This filename was inspired by the ".tif used by fnlib. The real package +uses space.tif. diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/".tif b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/".tif new file mode 100644 index 0000000..e005775 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/".tif @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/eval/desc b/t/recipes/checks/fields/package-relations/legacy-filenames/eval/desc new file mode 100644 index 0000000..66f25fc --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/eval/hints b/t/recipes/checks/fields/package-relations/legacy-filenames/eval/hints new file mode 100644 index 0000000..a278f83 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/eval/hints @@ -0,0 +1 @@ +filenames (binary): depends-on-obsolete-package Depends: python-support => use dh_python2 instead diff --git a/t/recipes/checks/fields/package-relations/legacy-filenames/eval/post-test b/t/recipes/checks/fields/package-relations/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-filenames/eval/post-test @@ -0,0 +1,3 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ +s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g +/package-installs-packlist/ d diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/control b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..95c669c --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl, python3-all-dev +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..4773780 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test that python-all-dev satisfies a Python requirement. + python -V || true + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/fill-values b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/eval/desc b/t/recipes/checks/fields/package-relations/legacy-relations/eval/desc new file mode 100644 index 0000000..a826da6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/eval/hints b/t/recipes/checks/fields/package-relations/legacy-relations/eval/hints new file mode 100644 index 0000000..8f80c42 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/eval/hints @@ -0,0 +1,39 @@ +relations (source): virtual-package-depends-without-real-package-depends Build-Depends: mail-transport-agent +relations (source): redundant-build-prerequisites perl, perl (>= 5.0) +relations (source): redundant-build-prerequisites foo (<< 4) [!amd64 !i386], foo (= 3) [!amd64 !i386] +relations (source): ored-build-depends-on-obsolete-package Build-Depends-Indep: gs +relations (source): mail-transport-agent-dependency-does-not-specify-default-mta Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl, python3-all-dev +relations (source): invalid-arch-string-in-source-relation test [Build-Conflicts: bar [alpha test]] +relations (source): build-depends-on-python-dev-with-no-arch-any +relations (source): build-depends-on-essential-package-without-using-version Build-Depends: findutils +relations (source): build-depends-on-essential-package-without-using-version Build-Depends-Indep: bash +relations (source): build-depends-on-build-essential-package-without-using-version make [Build-Depends-Indep: make] +relations (source): build-depends-on-build-essential-package-without-using-version libc6-dev [Build-Depends: libc6-dev] +relations (source): build-depends-on-build-essential Build-Depends-Indep +relations (source): build-depends-on-1-revision Build-Depends-Indep: libfoo (>= 1.2-1) +relations (source): build-conflicts-with-build-dependency Build-Conflicts-Indep debmake [!powerpc] [debian/control:14] +relations (source): build-conflicts-with-build-dependency Build-Conflicts bar [alpha test] [debian/control:13] +relations-multiple-libs (binary): package-depends-on-multiple-tk-versions tk8.2 tk8.3 +relations-multiple-libs (binary): package-depends-on-multiple-tcl-versions tcl8.0 tcl8.2 +relations-multiple-libs (binary): package-depends-on-multiple-libstdc-versions libstdc++2.10 libstdc++2.10-glibc2.2 libstdc++3.0 +relations-multiple-libs (binary): package-depends-on-multiple-libpng-versions libpng2 libpng3 +relations-multiple-libs (binary): ored-depends-on-obsolete-package Suggests: gs +relations-multiple-libs (binary): depends-on-obsolete-package Suggests: x-dev +relations-multiple-libs (binary): depends-on-obsolete-package Recommends: gs-gpl +relations-multiple-libs (binary): depends-on-obsolete-package Recommends: gs +relations-multiple-libs (binary): conflicts-with-dependency Depends libpng2 +relations-multiple-libs (binary): breaks-without-version libpng2 +relations (binary): virtual-package-depends-without-real-package-depends Pre-Depends: awk +relations (binary): virtual-package-depends-without-real-package-depends Depends: mail-transport-agent +relations (binary): package-relation-with-self Depends: relations (<< 3) +relations (binary): ored-depends-on-obsolete-package Recommends: gs-aladdin +relations (binary): needlessly-depends-on-awk Pre-Depends +relations (binary): mail-transport-agent-dependency-does-not-specify-default-mta Depends: relations (<< 3), dpkg, bash (>> 2.0), mail-transport-agent, foo (>> 2.0), foo (<< 2.2), coreutils, null (>= 0), makedev +relations (binary): depends-on-old-emacs Recommends: emacs21 +relations (binary): depends-on-obsolete-package Recommends: gs +relations (binary): depends-on-essential-package-without-using-version Depends: dpkg +relations (binary): depends-on-essential-package-without-using-version Depends: coreutils +relations (binary): depends-exclusively-on-makedev Depends +relations (binary): conflicts-with-version foobar (<< 5+5) +relations (binary): conflicts-with-dependency Depends relations +relations (binary): conflicts-with-dependency Depends foo diff --git a/t/recipes/checks/fields/package-relations/legacy-relations/eval/post-test b/t/recipes/checks/fields/package-relations/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/changelog.in @@ -0,0 +1,41 @@ +scripts ([% $version %]) [% $distribution %]; urgency=low + + * I'm also not able to write my name. + * Added a script in /etc/Xsession.d + * Bizarre version number courtesy of + https://wiki.ubuntu.com/SecurityUpdateProcedures#Prepare + + -- Mark 'HE' Brokschmitt <he@debian.org> Thu, 23 Jun 2005 14:32:39 +0200 + +scripts (5-1) unstable; urgency=low + + * I'm making a typo in my own name... And I want lintian to warn me about + it. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:26:34 +0200 + +scripts (4-1) unstable; urgency=low + + * Add new example to check that not executable files with a shebang line + called *in don't trigger the script-not-executable warning. + + -- Marc 'HE' Brockschmidt <he@debian.org> Wed, 14 Apr 2004 19:44:04 +0200 + +scripts (3-3) unstable; urgency=low + + * Add suidperlfoo and some code in debian/rules to + check the new suidperl checks + + -- Frank Lichtenheld <djpig@debian.org> Wed, 31 Mar 2004 21:06:20 +0000 + +scripts (2-1) unstable; urgency=low + + * Add tkfoo script for tk checkings + + -- Lintian Maintainers <lintian-maint@debian.org> Sat, 21 Feb 2004 17:13:36 +0100 + +scripts (1-0) unstable; urgency=low + + * Initial version + + -- Lintian Maintainers <lintian-maint@debian.org> Sat, 10 Feb 2001 15:37:31 -0800 diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: scripts +Section: interpreters +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Jeroen van Wolfelaar <jeroen@wolffelaar.nl>, Marc 'HE' Brockschmidt <he@debian.org> +Build-Depends-Indep: dpatch +Standards-Version: 3.2.1 + +Package: scripts +Architecture: [% $package_architecture %] +Depends: test, ruby1.8, build-essential, libssl0.9.7, php7.0-cli +Recommends: tk8.4 | wish +Description: test lintian's script file checks + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/copyright @@ -0,0 +1,5 @@ +This file contains the phrase "under the same terms as Perl itself" to +trigger warnings about not having common-licenses references. + +This file contains the phrase "public domain" which should suppress +warnings about no copyright date. diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list @@ -0,0 +1,11 @@ +01_not_here_right_now.dpatch + +# some comment +/* some more + elaborate comment + which needs DPATCH_OPTION_CPP=1 + */02_i_dont_have_a_description.patch 03_specified_without_dpatch + +// and again a comment + +04_i_dont_have_a_description_either.patch diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00list.sparc @@ -0,0 +1 @@ +01_some_other_patch_thats_not_in_the_package.dpatch diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch new file mode 100644 index 0000000..9279c1b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_i_dont_have_a_description.patch.dpatch by Marc 'HE' Brockschmidt <Marc 'HE' Brockschmidt <he@debian.org>> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch @@ -0,0 +1,5 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## All lines beginning with `## DP:' are a description of the patch. +## DP: Listed in 00list without .dpatch suffix. + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch new file mode 100644 index 0000000..b603f16 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_i_dont_have_a_description_either.patch by Adam D. Barratt <adam@adam-barratt.org.uk> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ -x "/etc/init.d/lsb-broken" ] ; then + update-rc.d lsb-broken defaults >/dev/null +fi +if [ -x "/etc/init.d/no-lsb" ] ; then + update-rc.d no-lsb defaults >/dev/null +fi +if [ -x "/etc/init.d/skeleton" ] ; then + update-rc.d skeleton defaults >/dev/null +fi +if [ -x "/etc/init.d/lsb-other" ] ; then + update-rc.d lsb-other defaults >/dev/null +fi diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = purge ] ; then + update-rc.d lsb-broken remove >/dev/null + update-rc.d no-lsb remove >/dev/null + update-rc.d skeleton remove >/dev/null + update-rc.d lsb-other remove >/dev/null + update-rc.d lsb-other remove >/dev/null +fi diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +set -x + +# +# Some comments here +# + +# This serves as an example of an "empty" script, so +# please do not add any real code here, thank you :) + +#DEBHELPER# + +exit 0 diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + echo "Hi, in an arch: all package, I am a bug!" + +build-indep: + +build: build-arch build-indep + +binary-arch: + echo "Hi, in an arch: all package, I am a bug!" + +binary-indep: + install -d $(tmp)/usr/bin/ + install -d $(tmp)/etc/X11/Xsession.d/ + install -d $(tmp)/etc/init.d/ + install -d $(tmp)/etc/csh/login.d/ + install -d $(tmp)/etc/fish.d/ + install -d $(tmp)/usr/share/scripts/ + install -d $(tmp)/usr/share/doc/scripts/ + install -d $(tmp)/usr/lib/cgi-bin + install -d $(tmp)/usr/src/scripts + install -d $(tmp)/DEBIAN + + install -m 755 csh-foo $(tmp)/etc/csh/login.d/ + install -m 755 envfoo $(tmp)/usr/bin/ + install -m 755 fish-foo $(tmp)/etc/fish.d/ + install -m 755 jruby-broken $(tmp)/usr/bin/ + install -m 755 perlfoo $(tmp)/usr/bin/ + install -m 755 rubyfoo $(tmp)/usr/bin/ +# This doesn't use "env" but should also trigger script-in-usr-share-doc + install -m 755 rubyfoo $(tmp)/usr/share/doc/scripts/ + install -m 755 make-foo $(tmp)/usr/bin/ + install -m 755 lefty-foo $(tmp)/usr/bin/ + install -m 4751 perlfoo $(tmp)/usr/bin/suidperlfoo2 + install -m 755 sh-broken $(tmp)/usr/bin/ + install -m 4555 suidperlfoo $(tmp)/usr/bin/ + install -m 755 tkfoo $(tmp)/usr/bin/ + install -m 755 wishfoo $(tmp)/usr/bin/ + install -m 644 xsession-test $(tmp)/etc/X11/Xsession.d/ + +# Permissions here aren't part of what's being tested, but let us exercise +# some other errors. + install -m 755 perl-bizarre-1 $(tmp)/usr/bin/ + install -m 750 perl-bizarre-2 $(tmp)/usr/bin/ + install -m 754 perl-bizarre-3 $(tmp)/usr/bin/ + install -m 705 guile-bizarre $(tmp)/usr/bin/ + +# First one should produce a warning; second one shouldn't. + install -m 755 gccbug.dpatch $(tmp)/usr/share/scripts/ + install -m 755 gccbug.dpatch $(tmp)/usr/src/scripts/ + + install -m 644 init-skeleton $(tmp)/etc/init.d/skeleton + install -m 755 init-no-lsb $(tmp)/etc/init.d/no-lsb + install -m 755 init-lsb-broken $(tmp)/etc/init.d/lsb-broken + install -m 755 init-lsb-other $(tmp)/etc/init.d/lsb-other + + install -m 755 phpfoo $(tmp)/usr/share/scripts/ + sed 's/php$$/php7.0/' phpfoo > $(tmp)/usr/share/scripts/php7.0foo + chmod 755 $(tmp)/usr/share/scripts/php7.0foo + + install -m 755 phpenvfoo $(tmp)/usr/share/scripts/ + sed 's/php$$/php7.0/' phpenvfoo > $(tmp)/usr/share/scripts/php7.0envfoo + chmod 755 $(tmp)/usr/share/scripts/php7.0envfoo + + echo "#!/usr/bin/perl" >> $(tmp)/usr/share/scripts/foobar.in + chmod 644 $(tmp)/usr/share/scripts/foobar.in + + touch $(tmp)/usr/share/scripts/mono.exe + chmod 755 $(tmp)/usr/share/scripts/mono.exe + + echo "#!/bin/sh" > $(tmp)/usr/share/scripts/foo\$$bar + chmod 755 $(tmp)/usr/share/scripts/foo\$$bar + + echo "#!/bin/sh" > $(tmp)/usr/lib/cgi-bin/cgi-script + chmod 755 $(tmp)/usr/lib/cgi-bin/cgi-script + + echo "#!/bin/sh" > $(tmp)/usr/bin/test.sh + chmod 755 $(tmp)/usr/bin/test.sh + + + dh_testroot # dummy to test missing debhelper dependency + + + install -m 644 debian/changelog $(tmp)/usr/share/doc/scripts/changelog.Debian + gzip -n -9 $(tmp)/usr/share/doc/scripts/changelog.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/scripts/copyright + + install -m 644 debian/scripts.conffiles $(tmp)/DEBIAN/conffiles + install -m 755 debian/preinst $(tmp)/DEBIAN/preinst + install -m 755 debian/postinst $(tmp)/DEBIAN/postinst + install -m 755 debian/postrm $(tmp)/DEBIAN/postrm + touch $(tmp)/DEBIAN/prerm + chmod 755 $(tmp)/DEBIAN/prerm + dpkg-gencontrol -isp + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/scripts.conffiles @@ -0,0 +1,6 @@ +/etc/init.d/lsb-broken +/etc/init.d/lsb-other +/etc/init.d/no-lsb +/etc/X11/Xsession.d/xsession-test +/etc/csh/login.d/csh-foo +/etc/fish.d/fish-foo diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/debian/watch @@ -0,0 +1,8 @@ +# watch file with upstream version mangling + +version=2 +opts="uversionmangle=s/$/ds/" \ +http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate + +version=3 +http://ftp.sf.net/foo/foo_bar(.+)\.Z 5 uupdate
\ No newline at end of file diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/fill-values b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: legacy-scripts +Source: scripts +Version: 6ds-1ubuntu0.5.10.1 +Package-Architecture: all +Skeleton: upload-non-native +Description: Legacy test "scripts" diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/envfoo @@ -0,0 +1,4 @@ +#! /bin/env python + +if __name__ == '__main__': + print 'Hi there' diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/gccbug.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh -e + +# DP: Use sensible-editor instead of vi as fallback editor + +# Taken from gcc-4.1-source. Chokes bash -n (due to the patch) despite being +# a valid dpatch, so don't warn about it if it's in /usr/src. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- gcc/gccbug.in~ 2003-03-01 00:51:42.000000000 +0100 ++++ gcc/gccbug.in 2003-03-02 12:08:36.000000000 +0100 +@@ -134,7 +134,7 @@ + # If they don't have a preferred editor set, then use + if [ -z "$VISUAL" ]; then + if [ -z "$EDITOR" ]; then +- EDIT=vi ++ EDIT=/usr/bin/sensible-editor + else + EDIT="$EDITOR" + fi diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/guile-bizarre @@ -0,0 +1,6 @@ +#! /bin/sh +# -*- scheme -*- +exec guile -s $0 $* +# Seen in the wild as build-guile-gtk in libguilegtk-1.2-dev (0.31-5.1) +# Tests script_is_evil_and_wrong +!# diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-broken @@ -0,0 +1,34 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bad-lsb +# Required-Start: $local_fs $remote_fs +# Required-Stop: +# Default-Start: 1 2 3 4 5 +# Default-Stop: S 0 1 6 X +# Short-Description: Example Lintian initscript +# but this can't be continued +# Description: An example of a bad LSB section in an init script. +# This continuation is allowed (with spaces). +# This one is too (with tabs). +# X-Debian-Foo: Some unknown but valid keyword. +# Foo: Some invalid keyword. + +# Whoops, no terminating line. + +# And then we have this duplicate section. +### BEGIN INIT INFO +# Required-Start: This one doesn't count. +### END INIT INFO + +# Hey, look at all of those missing actions! But stop isn't missing. +case "$1" in + start|stop) + echo "Blah" + ;; + *) + echo "Usage: foo start" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-lsb-other @@ -0,0 +1,22 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: lsb-other +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Description: This is another LSB script test, which has a missing +# Short-Description. +### END INIT INFO + +case "$1" in + start|stop|restart|reload|force-reload) + echo "Blah" + ;; + *) + echo "Usage: foo start" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-no-lsb @@ -0,0 +1,17 @@ +#! /bin/sh +# No LSB section, but otherwise okay. (Well, the messages are bad, but we +# don't check that yet.) + +case "$1" in + start) + echo "Blah starting" + ;; + stop) + echo "Blah stopping" + ;; + restart|force-reload) + echo "Blah restarting" + ;; +esac + +: diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/init-skeleton @@ -0,0 +1,150 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: skeleton +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Example Lintian initscript +# Description: This file should be used to construct scripts to be +# placed in /etc/init.d. +### END INIT INFO + +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/usr/sbin:/usr/bin:/sbin:/bin +DESC="Description of the service" +NAME=daemonexecutablename +DAEMON=/usr/sbin/$NAME +DAEMON_ARGS="--options args" +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Load the VERBOSE setting and other rcS variables +[ -f /etc/default/rcS ] && . /etc/default/rcS + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ + $DAEMON_ARGS \ + || return 2 + # Add code here, if necessary, that waits for the process to be ready + # to handle requests from services started subsequently which depend + # on this one. As a last resort, sleep for some time. +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + # If the above conditions are not satisfied then add some other code + # that waits for the process to drop all resources that could be + # needed by services started subsequently. A last resort is to + # sleep for some time. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + [ "$?" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME + return 0 +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + #reload|force-reload) + # + # If do_reload() is not implemented then leave this commented out + # and leave 'force-reload' as an alias for 'restart'. + # + #log_daemon_msg "Reloading $DESC" "$NAME" + #do_reload + #log_end_msg $? + #;; + restart|force-reload) + # + # If the "reload" option is implemented then remove the + # 'force-reload' alias + # + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/jruby-broken @@ -0,0 +1,2 @@ +#!/usr/bin/jruby +# There's no non-versioned jruby, so this should be an error. diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-1 @@ -0,0 +1,11 @@ +#! /bin/sh +eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \ +;exec perl -x -S -- "$0" ${1+"$@"};#'if 0; +eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+ +#!perl -w +package Htex::a2ping; $0=~/(.*)/s;unshift@INC,'.';do($1);die$@if$@;__END__+if !1; +# This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003. +# Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib + +# The above was actually seen in the wild and stresses the +# script_is_evil_and_wrong test. diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-2 @@ -0,0 +1,7 @@ +#!/bin/sh +eval 'exec /usr/bin/perl -wS $0 ${1+"$@"}' + if $running_under_some_shell; + +# I'm someone following perlrun except without using the Perl #! line. +# Now something to choke bash. +while (<>) { if (/%#/) { print } } diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perl-bizarre-3 @@ -0,0 +1,6 @@ +eval '(exit $?0)' && eval 'exec perl -wS $0 ${1+"$@"}' +& eval 'exec /usr/bin/perl -wS $0 $argv:q' + if $running_under_some_shell; + +# More utterly bizarreness from perlrun. This one even doesn't work if +# there's a valid #! line on the first line. I don't understand why.... diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php +<html> +<head> +<title>Dumb PHP script</title> +</head> +<body><? print(Date("l F d, Y")); ?></body> +</html> diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php +<html> +<head> +<title>Dumb PHP script</title> +</head> +<body><? print(Date("l F d, Y")); ?></body> +</html> diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/rubyfoo @@ -0,0 +1,4 @@ +#!/bin/ruby1.8 + +# Ok, that example is really pathetic, but until we have +# some better code in checks/scripts, it will do diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/tkfoo @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Insane amount of empty lines and comments + +# +# +# +# + +# +# + +# +# +# + +# +# + +# +# This line makes the next one a comment in Tcl \ +exec wish "$0" -- ${1+"$@"} + +# lintian should not check the following for syntax +# if it detects the line above correctly +# Code snippet taken from eTkTab + +if { [array names prefs keybindings] != "" } { + # Read in the file + array set unparsed_bindings [ read_settings_file $prefs(keybindings)] +} diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/wishfoo @@ -0,0 +1,4 @@ +#!/usr/bin/wish +# +# This is not actually a wish script, here to force a test of wish +# dependencies. diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/pre-build b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +DIR="$1" + +rm -f "$DIR/debian/compat" diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/eval/desc b/t/recipes/checks/fields/package-relations/legacy-scripts/eval/desc new file mode 100644 index 0000000..d95817a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/eval/hints b/t/recipes/checks/fields/package-relations/legacy-scripts/eval/hints new file mode 100644 index 0000000..3ab9282 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/eval/hints @@ -0,0 +1,2 @@ +scripts (source): build-depends-on-obsolete-package Build-Depends-Indep: dpatch +scripts (binary): depends-on-obsolete-package Depends: ruby1.8 diff --git a/t/recipes/checks/fields/package-relations/legacy-scripts/eval/post-test b/t/recipes/checks/fields/package-relations/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source new file mode 100644 index 0000000..4ff54b4 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/README.source @@ -0,0 +1 @@ +I am using dpatch. diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list new file mode 100644 index 0000000..52ee366 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list @@ -0,0 +1,12 @@ +01_not_here_right_now.dpatch + +# some comment +/* some more + elaborate comment + which needs DPATCH_OPTION_CPP=1 + */02_i_dont_have_a_description.patch 03_specified_without_dpatch + +// and again a comment + +04_i_dont_have_a_description_either.patch +05_dep3.diff diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00list.sparc @@ -0,0 +1 @@ +01_some_other_patch_thats_not_in_the_package.dpatch diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch new file mode 100644 index 0000000..9279c1b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/02_i_dont_have_a_description.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_i_dont_have_a_description.patch.dpatch by Marc 'HE' Brockschmidt <Marc 'HE' Brockschmidt <he@debian.org>> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/03_specified_without_dpatch.dpatch @@ -0,0 +1,5 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## All lines beginning with `## DP:' are a description of the patch. +## DP: Listed in 00list without .dpatch suffix. + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch new file mode 100644 index 0000000..b603f16 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/04_i_dont_have_a_description_either.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_i_dont_have_a_description_either.patch by Adam D. Barratt <adam@adam-barratt.org.uk> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff new file mode 100644 index 0000000..5cbb237 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/debian/patches/05_dep3.diff @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_dep3.diff by Russ Allbery <rra@debian.org> +# +# Description: Patch using the DEP 3 patch header +# Author: Russ Allbery <rra@debian.org> + +@DPATCH@ diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values new file mode 100644 index 0000000..cb818e9 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: patch-systems-dpatch-description +Description: Test patch-system tags for a dpatch package +Extra-Build-Depends: dpatch diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/desc b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/desc new file mode 100644 index 0000000..11d661f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-dpatch-description +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/hints b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/hints new file mode 100644 index 0000000..a6a702e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-dpatch-description/eval/hints @@ -0,0 +1 @@ +patch-systems-dpatch-description (source): build-depends-on-obsolete-package Build-Depends: dpatch diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/README.source b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/README.source new file mode 100644 index 0000000..052084e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/README.source @@ -0,0 +1 @@ +Some stuff about quilt here. diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README.patches b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README.patches new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/README.patches @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-commented-out @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-mentioned-in-vendor-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/file-not-referenced-in-series @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/series b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/series new file mode 100644 index 0000000..da9ddb2 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/series @@ -0,0 +1,6 @@ +# tries to create an exising file, which fails in dpkg-source +# some-file +some-other-file -p0 +# non-existent patches trigger an error in dpkg-source +# some-nonexistent-patch +# file-commented-out diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-file b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-file new file mode 100644 index 0000000..7749d40 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-file @@ -0,0 +1,11 @@ +Some regular patch creating a file. + +--- /dev/null ++++ debian/debian/some-file +@@ -0,0 +1,6 @@ ++Some ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-other-file b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-other-file new file mode 100644 index 0000000..ed24c8f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/some-other-file @@ -0,0 +1,12 @@ +Some -p0 patch creating a file. + +--- /dev/null ++++ debian/some-other-file +@@ -0,0 +1,7 @@ ++Some ++other ++file ++created ++in ++debian ++directory. diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/README b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/README new file mode 100644 index 0000000..843d249 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/README @@ -0,0 +1 @@ +false positive for patch-file-present-but-not-mentioned-in-series tag diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/subdir/file-not-referenced-in-series-2 @@ -0,0 +1 @@ +foo diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series new file mode 100644 index 0000000..4232ed0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/debian/patches/vendorname.series @@ -0,0 +1 @@ +file-mentioned-in-vendor-series diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/diff/README b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/diff/README new file mode 100644 index 0000000..55d9771 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/diff/README @@ -0,0 +1 @@ +Debian README diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/fill-values b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/fill-values new file mode 100644 index 0000000..ced4b7a --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: patch-systems-quilt-general +Skeleton: upload-non-native +Extra-Build-Depends: quilt, dpatch +Description: General tests of a quilt patch system diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/desc b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/desc new file mode 100644 index 0000000..a871f28 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/desc @@ -0,0 +1,2 @@ +Testname: patch-systems-quilt-general +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/hints b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/hints new file mode 100644 index 0000000..03ebe4b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/patch-systems-quilt-general/eval/hints @@ -0,0 +1 @@ +patch-systems-quilt-general (source): build-depends-on-obsolete-package Build-Depends: dpatch diff --git a/t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/debian/control.in b/t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/debian/control.in new file mode 100644 index 0000000..7aed5bd --- /dev/null +++ b/t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] + +Package: [% $source %] +Package-Type: deb +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/fill-values b/t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/fill-values new file mode 100644 index 0000000..48373fb --- /dev/null +++ b/t/recipes/checks/fields/package-type/explicit-type-deb/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: explicit-type-deb +Description: Explicit type deb is discouraged by policy diff --git a/t/recipes/checks/fields/package-type/explicit-type-deb/eval/desc b/t/recipes/checks/fields/package-type/explicit-type-deb/eval/desc new file mode 100644 index 0000000..335b1b8 --- /dev/null +++ b/t/recipes/checks/fields/package-type/explicit-type-deb/eval/desc @@ -0,0 +1,3 @@ +Testname: explicit-type-deb +Check: fields/package-type +See-Also: Policy 5.6.28, Debian Bug#951513, Debian Bug#953857 diff --git a/t/recipes/checks/fields/package-type/explicit-type-deb/eval/hints b/t/recipes/checks/fields/package-type/explicit-type-deb/eval/hints new file mode 100644 index 0000000..f2b4967 --- /dev/null +++ b/t/recipes/checks/fields/package-type/explicit-type-deb/eval/hints @@ -0,0 +1 @@ +explicit-type-deb (binary): explicit-default-in-package-type diff --git a/t/recipes/checks/fields/package/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/package/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/package/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/package/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/package/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/package/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/package/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/package/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/package/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/package/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/package/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/package/fields-general-bad/eval/desc b/t/recipes/checks/fields/package/fields-general-bad/eval/desc new file mode 100644 index 0000000..f1471a4 --- /dev/null +++ b/t/recipes/checks/fields/package/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/package diff --git a/t/recipes/checks/fields/package/fields-general-bad/eval/hints b/t/recipes/checks/fields/package/fields-general-bad/eval/hints new file mode 100644 index 0000000..5f6671f --- /dev/null +++ b/t/recipes/checks/fields/package/fields-general-bad/eval/hints @@ -0,0 +1,2 @@ +fields-general-BAD? (binary): package-not-lowercase +fields-general-BAD? (binary): bad-package-name diff --git a/t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/debian/control.in b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/debian/control.in new file mode 100644 index 0000000..5a8f490 --- /dev/null +++ b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: doc +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %]-docs +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/fill-values b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/fill-values new file mode 100644 index 0000000..7defdcb --- /dev/null +++ b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-unusual-doc-package-name +Package-Architecture: all +Description: Check for -docs packages diff --git a/t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/desc b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/desc new file mode 100644 index 0000000..ec610fc --- /dev/null +++ b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-unusual-doc-package-name +Check: fields/package diff --git a/t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/hints b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/hints new file mode 100644 index 0000000..ff4d810 --- /dev/null +++ b/t/recipes/checks/fields/package/fields-unusual-doc-package-name/eval/hints @@ -0,0 +1 @@ +fields-unusual-doc-package-name-docs (binary): unusual-documentation-package-name diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in new file mode 100644 index 0000000..1db6f3b --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in @@ -0,0 +1,55 @@ +Source: [% $source %] +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: lib[% $source %]42 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Priority: important +Description: [% $description %] (lib) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Priority: standard +Description: [% $description %] (dev) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + (This is a dev package.) + +Package: lib[% $source %]-false-positive-bin +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Priority: required +Description: [% $description %] (false positive bin) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + (This is a -bin false positive) + +Package: lib[% $source %]-false-positive-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Priority: optional +Description: [% $description %] (false positive) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + (This is a -dev false positive) diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules new file mode 100644 index 0000000..6dd864a --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_install: + set -e ; for P in $$(dh_listpackages -a) ; do \ + dh_install -p$$P some-file usr/lib/$$P ; \ + done diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values new file mode 100644 index 0000000..238669e --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-excessive-priority-for-library-package +Description: Library packages with excessive Priority field diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc new file mode 100644 index 0000000..3256006 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-excessive-priority-for-library-package +Check: fields/priority diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints new file mode 100644 index 0000000..c04c9f2 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints @@ -0,0 +1,2 @@ +libfields-excessive-priority-for-library-package42 (binary): excessive-priority-for-library-package important +libfields-excessive-priority-for-library-package-dev (binary): excessive-priority-for-library-package standard diff --git a/t/recipes/checks/fields/priority/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/priority/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/priority/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/priority/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/priority/fields-general-bad/eval/desc b/t/recipes/checks/fields/priority/fields-general-bad/eval/desc new file mode 100644 index 0000000..cce1ebb --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/priority diff --git a/t/recipes/checks/fields/priority/fields-general-bad/eval/hints b/t/recipes/checks/fields/priority/fields-general-bad/eval/hints new file mode 100644 index 0000000..0c94a86 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-general-bad/eval/hints @@ -0,0 +1 @@ +fields-general-BAD? (binary): unknown-priority is weird diff --git a/t/recipes/checks/fields/priority/priority-extra/build-spec/fill-values b/t/recipes/checks/fields/priority/priority-extra/build-spec/fill-values new file mode 100644 index 0000000..28a70be --- /dev/null +++ b/t/recipes/checks/fields/priority/priority-extra/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: priority-extra +Skeleton: upload-native +Description: Test check for old priority extra +Priority: extra diff --git a/t/recipes/checks/fields/priority/priority-extra/eval/desc b/t/recipes/checks/fields/priority/priority-extra/eval/desc new file mode 100644 index 0000000..362d66b --- /dev/null +++ b/t/recipes/checks/fields/priority/priority-extra/eval/desc @@ -0,0 +1,2 @@ +Testname: priority-extra +Check: fields/priority diff --git a/t/recipes/checks/fields/priority/priority-extra/eval/hints b/t/recipes/checks/fields/priority/priority-extra/eval/hints new file mode 100644 index 0000000..1dc8c92 --- /dev/null +++ b/t/recipes/checks/fields/priority/priority-extra/eval/hints @@ -0,0 +1 @@ +priority-extra (binary): priority-extra-is-replaced-by-priority-optional diff --git a/t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/fill-values b/t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/fill-values new file mode 100644 index 0000000..6a6b7f8 --- /dev/null +++ b/t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-missing-fields +Description: Test for changes missing fields diff --git a/t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/test.changes.in b/t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/test.changes.in new file mode 100644 index 0000000..49c165a --- /dev/null +++ b/t/recipes/checks/fields/recommended/changes-missing-fields/build-spec/test.changes.in @@ -0,0 +1,9 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Maintainer: [% $author %] +Changed-By: [% $author %] diff --git a/t/recipes/checks/fields/recommended/changes-missing-fields/eval/desc b/t/recipes/checks/fields/recommended/changes-missing-fields/eval/desc new file mode 100644 index 0000000..e130c42 --- /dev/null +++ b/t/recipes/checks/fields/recommended/changes-missing-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-missing-fields +Check: fields/recommended diff --git a/t/recipes/checks/fields/recommended/changes-missing-fields/eval/hints b/t/recipes/checks/fields/recommended/changes-missing-fields/eval/hints new file mode 100644 index 0000000..bf35725 --- /dev/null +++ b/t/recipes/checks/fields/recommended/changes-missing-fields/eval/hints @@ -0,0 +1 @@ +changes-missing-fields (changes): recommended-field test.changes Urgency diff --git a/t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/control.in b/t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/control.in new file mode 100644 index 0000000..3058e5a --- /dev/null +++ b/t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/control.in @@ -0,0 +1,118 @@ +Source: [% $source %] +Priority: optional +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + fiddle [amd64 powerpc mips mipsel hppa s390], + faddle + (>> + 2) [ + sparc i386 amd64 + ] +Build-Depends-Indep: perl (> 5.8) +Rules-Requires-Root: no +XS-Vcs-Svn: https://svn.example.com/[% $source %]/trunk +#Vcs-Git: git://git.debian.org/collab-maint/<pkg>.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/<pkg>.git;a=summary + +Package: [% $source %] +Section: [% $section %] +Maintainer: [% $author %] +Build-Conflicts: foo +Architecture: all +Pre-depends: ${misc:Pre-depends}, multiarch-support +Depends: [% $source %], foo, baz, ${shlibs:Depends} ${some:Depends}, ${misc:Depends} +Recommends: foo, bar, no-match${lintian:Foo}, match${lintian:Match}, no-match${lintian:Bar}-foo +Suggests: bar | baz, no-match${lintian:Bar}, match${lintian:Match} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-1 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Breaks: libsqlite3-0 (< 3.6.12) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-2 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (two) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-3 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo (>= 1), + baz (<< 2), + fizz (= 2.0), gcc-${pv:gcc} ${reqv:gcc} +Description: [% $description %] (three) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-4 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, foo | + bar (>= 1), baz +Description: [% $description %] (four) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-5 +Section: [% $section %] +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbgsym +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: dbg-sym + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbg +Section: debug +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Description: debug + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-udeb +Section: debian-installer +Package-Type: udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (udeb) + udeb tests. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/rules b/t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/rules new file mode 100644 index 0000000..f5db4bb --- /dev/null +++ b/t/recipes/checks/fields/recommended/control-file-general/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_gencontrol: + echo 'pv:gcc=4.3' >> debian/substvars + echo 'reqv:gcc=(>= 4.3-1)' >> debian/substvars + dh_gencontrol diff --git a/t/recipes/checks/fields/recommended/control-file-general/build-spec/fill-values b/t/recipes/checks/fields/recommended/control-file-general/build-spec/fill-values new file mode 100644 index 0000000..7338a95 --- /dev/null +++ b/t/recipes/checks/fields/recommended/control-file-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-general +Description: Various problems with debian/control diff --git a/t/recipes/checks/fields/recommended/control-file-general/eval/desc b/t/recipes/checks/fields/recommended/control-file-general/eval/desc new file mode 100644 index 0000000..c21d5bb --- /dev/null +++ b/t/recipes/checks/fields/recommended/control-file-general/eval/desc @@ -0,0 +1,5 @@ +Testname: control-file-general +See-Also: Debian Bug#30020, Debian Bug#409099, Debian Bug#516706, + Debian Bug#533202, Debian Bug#557971, Debian Bug#573399, Debian Bug#580494, + Debian Bug#657110 +Check: fields/recommended diff --git a/t/recipes/checks/fields/recommended/control-file-general/eval/hints b/t/recipes/checks/fields/recommended/control-file-general/eval/hints new file mode 100644 index 0000000..7dd5437 --- /dev/null +++ b/t/recipes/checks/fields/recommended/control-file-general/eval/hints @@ -0,0 +1 @@ +control-file-general (source): recommended-field (in section for source) Section [debian/control:1] diff --git a/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..cfbac73 --- /dev/null +++ b/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/DEBIAN/control.in @@ -0,0 +1,8 @@ +Section: [% $section %] +Priority: optional +Depends: some-pkg +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/fill-values b/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/fill-values new file mode 100644 index 0000000..91e093a --- /dev/null +++ b/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-missing +Version: 1.0-1 +Description: Test for missing control fields diff --git a/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/recommended/fields-general-missing/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/recommended/fields-general-missing/eval/desc b/t/recipes/checks/fields/recommended/fields-general-missing/eval/desc new file mode 100644 index 0000000..5c928d9 --- /dev/null +++ b/t/recipes/checks/fields/recommended/fields-general-missing/eval/desc @@ -0,0 +1,4 @@ +Testname: fields-general-missing +Check: fields/recommended +Test-Against: + recommended-field diff --git a/t/recipes/checks/fields/recommended/fields-general-missing/eval/hints b/t/recipes/checks/fields/recommended/fields-general-missing/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/fields/recommended/fields-general-missing/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values b/t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README b/t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build b/t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/fields/recommended/generic-empty/eval/desc b/t/recipes/checks/fields/recommended/generic-empty/eval/desc new file mode 100644 index 0000000..719b39a --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: fields/recommended diff --git a/t/recipes/checks/fields/recommended/generic-empty/eval/hints b/t/recipes/checks/fields/recommended/generic-empty/eval/hints new file mode 100644 index 0000000..e1f53e3 --- /dev/null +++ b/t/recipes/checks/fields/recommended/generic-empty/eval/hints @@ -0,0 +1,4 @@ +generic-empty (source): recommended-field (in section for source) Section [debian/control:1] +generic-empty (source): recommended-field (in section for source) Priority [debian/control:1] +generic-empty (binary): recommended-field generic-empty_1.0_all.deb Section +generic-empty (binary): recommended-field generic-empty_1.0_all.deb Priority diff --git a/t/recipes/checks/fields/required/changes-missing-fields/build-spec/fill-values b/t/recipes/checks/fields/required/changes-missing-fields/build-spec/fill-values new file mode 100644 index 0000000..6a6b7f8 --- /dev/null +++ b/t/recipes/checks/fields/required/changes-missing-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: changes +Testname: changes-missing-fields +Description: Test for changes missing fields diff --git a/t/recipes/checks/fields/required/changes-missing-fields/build-spec/test.changes.in b/t/recipes/checks/fields/required/changes-missing-fields/build-spec/test.changes.in new file mode 100644 index 0000000..49c165a --- /dev/null +++ b/t/recipes/checks/fields/required/changes-missing-fields/build-spec/test.changes.in @@ -0,0 +1,9 @@ +Format: 1.8 +Date: [% $date %] +Source: [% $source %] +Binary: [% $source %] +Architecture: source all +Version: [% $version %] +Distribution: unstable +Maintainer: [% $author %] +Changed-By: [% $author %] diff --git a/t/recipes/checks/fields/required/changes-missing-fields/eval/desc b/t/recipes/checks/fields/required/changes-missing-fields/eval/desc new file mode 100644 index 0000000..2a7722e --- /dev/null +++ b/t/recipes/checks/fields/required/changes-missing-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: changes-missing-fields +Check: fields/required diff --git a/t/recipes/checks/fields/required/changes-missing-fields/eval/hints b/t/recipes/checks/fields/required/changes-missing-fields/eval/hints new file mode 100644 index 0000000..a180763 --- /dev/null +++ b/t/recipes/checks/fields/required/changes-missing-fields/eval/hints @@ -0,0 +1,4 @@ +changes-missing-fields (changes): required-field test.changes Files +changes-missing-fields (changes): required-field test.changes Checksums-Sha256 +changes-missing-fields (changes): required-field test.changes Checksums-Sha1 +changes-missing-fields (changes): required-field test.changes Changes diff --git a/t/recipes/checks/fields/required/fields-general-missing/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/required/fields-general-missing/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..cfbac73 --- /dev/null +++ b/t/recipes/checks/fields/required/fields-general-missing/build-spec/DEBIAN/control.in @@ -0,0 +1,8 @@ +Section: [% $section %] +Priority: optional +Depends: some-pkg +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/required/fields-general-missing/build-spec/fill-values b/t/recipes/checks/fields/required/fields-general-missing/build-spec/fill-values new file mode 100644 index 0000000..91e093a --- /dev/null +++ b/t/recipes/checks/fields/required/fields-general-missing/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-missing +Version: 1.0-1 +Description: Test for missing control fields diff --git a/t/recipes/checks/fields/required/fields-general-missing/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/required/fields-general-missing/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/required/fields-general-missing/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/required/fields-general-missing/eval/desc b/t/recipes/checks/fields/required/fields-general-missing/eval/desc new file mode 100644 index 0000000..a52fa00 --- /dev/null +++ b/t/recipes/checks/fields/required/fields-general-missing/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-missing +Check: fields/required diff --git a/t/recipes/checks/fields/required/fields-general-missing/eval/hints b/t/recipes/checks/fields/required/fields-general-missing/eval/hints new file mode 100644 index 0000000..6e17eb5 --- /dev/null +++ b/t/recipes/checks/fields/required/fields-general-missing/eval/hints @@ -0,0 +1,4 @@ +fields-general-missing (binary): required-field fields-general-missing.deb Version +fields-general-missing (binary): required-field fields-general-missing.deb Package +fields-general-missing (binary): required-field fields-general-missing.deb Maintainer +fields-general-missing (binary): required-field fields-general-missing.deb Architecture diff --git a/t/recipes/checks/fields/required/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/fields/required/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/fields/required/generic-empty/build-spec/debian/control.in b/t/recipes/checks/fields/required/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/fields/required/generic-empty/build-spec/debian/rules b/t/recipes/checks/fields/required/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/fields/required/generic-empty/build-spec/fill-values b/t/recipes/checks/fields/required/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/fields/required/generic-empty/build-spec/orig/README b/t/recipes/checks/fields/required/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/fields/required/generic-empty/build-spec/pre-build b/t/recipes/checks/fields/required/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/fields/required/generic-empty/eval/desc b/t/recipes/checks/fields/required/generic-empty/eval/desc new file mode 100644 index 0000000..0d83817 --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: fields/required diff --git a/t/recipes/checks/fields/required/generic-empty/eval/hints b/t/recipes/checks/fields/required/generic-empty/eval/hints new file mode 100644 index 0000000..40c0929 --- /dev/null +++ b/t/recipes/checks/fields/required/generic-empty/eval/hints @@ -0,0 +1,4 @@ +generic-empty (source): required-field generic-empty_1.0.dsc Standards-Version +generic-empty (source): required-field (in section for source) Standards-Version [debian/control:1] +generic-empty (source): required-field (in section for generic-empty) Description [debian/control:4] +generic-empty (binary): required-field generic-empty_1.0_all.deb Description diff --git a/t/recipes/checks/fields/section/fields-general/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-general/build-spec/debian/control.in new file mode 100644 index 0000000..f5aa07a --- /dev/null +++ b/t/recipes/checks/fields/section/fields-general/build-spec/debian/control.in @@ -0,0 +1,46 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. +# Whoops, typo +Homepage: ttp://lintian.debian.org/ + +Package: [% $source %]-dbg +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dbg) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The debug package (dbg)g. +# ... and some unneeded <> +Homepage: <http://lintian.debian.org/> + +Package: [% $source %]-debug +Section: debug +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (debug) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + The debug package (debug). + diff --git a/t/recipes/checks/fields/section/fields-general/build-spec/fill-values b/t/recipes/checks/fields/section/fields-general/build-spec/fill-values new file mode 100644 index 0000000..11b0c69 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-general +Description: Test for tags related to minor field issues diff --git a/t/recipes/checks/fields/section/fields-general/eval/desc b/t/recipes/checks/fields/section/fields-general/eval/desc new file mode 100644 index 0000000..3debe0d --- /dev/null +++ b/t/recipes/checks/fields/section/fields-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general +Check: fields/section diff --git a/t/recipes/checks/fields/section/fields-general/eval/hints b/t/recipes/checks/fields/section/fields-general/eval/hints new file mode 100644 index 0000000..374bae3 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-general/eval/hints @@ -0,0 +1 @@ +fields-general-debug (binary): wrong-section-according-to-package-name debug diff --git a/t/recipes/checks/fields/section/fields-section-general/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-section-general/build-spec/debian/control.in new file mode 100644 index 0000000..25106b7 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-section-general/build-spec/debian/control.in @@ -0,0 +1,31 @@ +Source: [% $source %] +Priority: optional +Section: contrib/[% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Section: contrib/dveel +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (typo) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package has a typo in its section fields. + +Package: [% $source %]-main +Architecture: all +Section: [% $section %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (main) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package can go to main. diff --git a/t/recipes/checks/fields/section/fields-section-general/build-spec/fill-values b/t/recipes/checks/fields/section/fields-section-general/build-spec/fill-values new file mode 100644 index 0000000..f8cf9f7 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-section-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-section-general +Description: Test for general section/area issues diff --git a/t/recipes/checks/fields/section/fields-section-general/eval/desc b/t/recipes/checks/fields/section/fields-section-general/eval/desc new file mode 100644 index 0000000..63409be --- /dev/null +++ b/t/recipes/checks/fields/section/fields-section-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-section-general +Check: fields/section diff --git a/t/recipes/checks/fields/section/fields-section-general/eval/hints b/t/recipes/checks/fields/section/fields-section-general/eval/hints new file mode 100644 index 0000000..dccef08 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-section-general/eval/hints @@ -0,0 +1 @@ +fields-section-general (binary): unknown-section contrib/dveel diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in new file mode 100644 index 0000000..169c352 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/control.in @@ -0,0 +1,15 @@ +Source: [% $source %] +Priority: standard +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, + some-replacement +Description: [% $description %] + This is a transitional package that should have been in section + oldlibs and priority extra. diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install new file mode 100644 index 0000000..6c37889 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/share/lintian diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values b/t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values new file mode 100644 index 0000000..99dded7 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-transitional +Description: Test for transitional package in wrong section diff --git a/t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file b/t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-transitional/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/section/fields-transitional/eval/desc b/t/recipes/checks/fields/section/fields-transitional/eval/desc new file mode 100644 index 0000000..af33edb --- /dev/null +++ b/t/recipes/checks/fields/section/fields-transitional/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-transitional +Check: fields/section diff --git a/t/recipes/checks/fields/section/fields-transitional/eval/hints b/t/recipes/checks/fields/section/fields-transitional/eval/hints new file mode 100644 index 0000000..899fdbe --- /dev/null +++ b/t/recipes/checks/fields/section/fields-transitional/eval/hints @@ -0,0 +1 @@ +fields-transitional (binary): transitional-package-not-oldlibs-optional devel/standard diff --git a/t/recipes/checks/fields/section/fields-udeb/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-udeb/build-spec/debian/control.in new file mode 100644 index 0000000..e7475d5 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-udeb/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Package-Type: udeb +Depends: ${misc:Depends}, +Installer-Menu-Item: network +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/section/fields-udeb/build-spec/fill-values b/t/recipes/checks/fields/section/fields-udeb/build-spec/fill-values new file mode 100644 index 0000000..62f644c --- /dev/null +++ b/t/recipes/checks/fields/section/fields-udeb/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-udeb +Description: Test for various udeb field issues diff --git a/t/recipes/checks/fields/section/fields-udeb/eval/desc b/t/recipes/checks/fields/section/fields-udeb/eval/desc new file mode 100644 index 0000000..9ccb083 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-udeb/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-udeb +Check: fields/section diff --git a/t/recipes/checks/fields/section/fields-udeb/eval/hints b/t/recipes/checks/fields/section/fields-udeb/eval/hints new file mode 100644 index 0000000..f9204dc --- /dev/null +++ b/t/recipes/checks/fields/section/fields-udeb/eval/hints @@ -0,0 +1 @@ +fields-udeb (udeb): wrong-section-for-udeb devel diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in new file mode 100644 index 0000000..112d226 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/control.in @@ -0,0 +1,254 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + Only here as valid dependency for [% $source %]-dbg. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (doc) + Test for doc section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, [% $source %] (= ${binary:Version}) +Description: [% $description %] (debug) + Test for debug section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-dev +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (dev) + Test for libdevel section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-perl +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (perl) + Test for perl section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: python-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Python) + Test for Python section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: python3-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Python 3) + Test for Python section for Python 3. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-ocaml-dev +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (OCaml) + Test for OCaml section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: libjs-[% $source %] +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Javascript) + Test for web section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: libghc-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Haskell) + Test for Haskell section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-cil +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (CLI/Mono) + Test for CLI/Mono section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: libphp-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (PHP) + Test for PHP section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-ruby1.8 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Ruby) + Test for Ruby section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-java +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (Java) + Test for Java section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: r-cran-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (GNU R) + Test for GNU R section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: lib[% $source %]-oldlibs-dev +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: oldlibs +Description: [% $description %] (oldlibs) + Test for oldlibs section. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-contrib-doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: contrib/[% $section %] +Description: [% $description %] (contrib docs) + Test for suggestion for packages not in main. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: gir1.2-[% $source %]-0.1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${gir:Depends} +Description: [% $description %] (gir1.2-pkg) + Test for gir1.2 packages. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: libnss-[% $source %] +Architecture: all +Section: web +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (NSS module) + Test for NSS modules. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: libpam-[% $source %]1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] (PAM module with number suffix) + Test for PAM modules. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: fonts-[% $source %]1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +Description: [% $description %] (fonts) + Test for font modules. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: xfonts-[% $source %]1 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: foreign +Description: [% $description %] (xfonts) + Test for xfonts modules. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules new file mode 100644 index 0000000..6dd864a --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_install: + set -e ; for P in $$(dh_listpackages -a) ; do \ + dh_install -p$$P some-file usr/lib/$$P ; \ + done diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values new file mode 100644 index 0000000..640aa3f --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-wrong-section +Description: Packages placed in the wrong sections diff --git a/t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/build-spec/orig/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/section/fields-wrong-section/eval/desc b/t/recipes/checks/fields/section/fields-wrong-section/eval/desc new file mode 100644 index 0000000..e7b71e6 --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-wrong-section +Check: fields/section diff --git a/t/recipes/checks/fields/section/fields-wrong-section/eval/hints b/t/recipes/checks/fields/section/fields-wrong-section/eval/hints new file mode 100644 index 0000000..8855a8e --- /dev/null +++ b/t/recipes/checks/fields/section/fields-wrong-section/eval/hints @@ -0,0 +1,20 @@ +xfonts-fields-wrong-section1 (binary): wrong-section-according-to-package-name devel => fonts +r-cran-fields-wrong-section (binary): wrong-section-according-to-package-name devel => gnu-r +python3-fields-wrong-section (binary): wrong-section-according-to-package-name devel => python +python-fields-wrong-section (binary): wrong-section-according-to-package-name devel => python +libphp-fields-wrong-section (binary): wrong-section-according-to-package-name devel => php +libpam-fields-wrong-section1 (binary): wrong-section-according-to-package-name devel => admin +libnss-fields-wrong-section (binary): wrong-section-according-to-package-name web => admin +libjs-fields-wrong-section (binary): wrong-section-according-to-package-name devel => javascript +libghc-fields-wrong-section (binary): wrong-section-according-to-package-name devel => haskell +libfields-wrong-section-ruby1.8 (binary): wrong-section-according-to-package-name devel => ruby +libfields-wrong-section-perl (binary): wrong-section-according-to-package-name devel => perl +libfields-wrong-section-ocaml-dev (binary): wrong-section-according-to-package-name devel => ocaml +libfields-wrong-section-java (binary): wrong-section-according-to-package-name devel => java +libfields-wrong-section-dev (binary): wrong-section-according-to-package-name devel => libdevel +libfields-wrong-section-cil (binary): wrong-section-according-to-package-name devel => cli-mono +gir1.2-fields-wrong-section-0.1 (binary): wrong-section-according-to-package-name devel => introspection +fonts-fields-wrong-section1 (binary): wrong-section-according-to-package-name devel => fonts +fields-wrong-section-doc (binary): wrong-section-according-to-package-name devel => doc +fields-wrong-section-dbg (binary): wrong-section-according-to-package-name devel => debug +fields-wrong-section-contrib-doc (binary): wrong-section-according-to-package-name contrib/devel => contrib/doc diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/README.Debian b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/README.Debian new file mode 100644 index 0000000..69112e6 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/README.Debian @@ -0,0 +1,6 @@ +generic-dh-make-2008 for Debian +------------------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Russ Allbery <rra@debian.org> Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/changelog.in b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/changelog.in new file mode 100644 index 0000000..8d16a3d --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/changelog.in @@ -0,0 +1,5 @@ +generic-dh-make-2008 ([% $version %]) [% $distribution %]; urgency=low + + * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> + + -- Russ Allbery <rra@debian.org> Mon, 29 Dec 2008 17:33:59 -0800 diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/compat.in b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/control.in b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/control.in new file mode 100644 index 0000000..a668392 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/control.in @@ -0,0 +1,13 @@ +Source: generic-dh-make-2008 +Section: unknown +Priority: optional +Maintainer: Russ Allbery <rra@debian.org> +Build-Depends: debhelper (>= 7) +Standards-Version: 3.7.3 +Homepage: <insert the upstream URL, if relevant> + +Package: generic-dh-make-2008 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: <insert up to 60 chars description> + <insert long description, indented with spaces> diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/copyright b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/copyright new file mode 100644 index 0000000..31b796a --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Russ Allbery <rra@debian.org> on +Mon, 29 Dec 2008 17:33:59 -0800. + +It was downloaded from <url://example.com> + +Upstream Author(s): + + <put author's name and email here> + <likewise for another author> + +Copyright: + + <Copyright (C) YYYY Name OfAuthor> + <likewise for another author> + +License: + + <Put the license of the package here indented by 4 spaces> + +The Debian packaging is (C) 2008, Russ Allbery <rra@debian.org> and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/cron.d.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/cron.d.ex new file mode 100644 index 0000000..d00b7d0 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/cron.d.ex @@ -0,0 +1,4 @@ +# +# Regular cron jobs for the generic-dh-make-2008 package +# +0 4 * * * root [ -x /usr/bin/generic-dh-make-2008_maintenance ] && /usr/bin/generic-dh-make-2008_maintenance diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/dirs b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/docs b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/docs @@ -0,0 +1 @@ +README diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-install.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-install.ex new file mode 100644 index 0000000..393594b --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-install.ex @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/generic-dh-make-2008 + +# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily +# from the install scripts for gettext by Santiago Vila +# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex new file mode 100644 index 0000000..c48d194 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-remove.ex @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/generic-dh-make-2008 + +FLAVOR=$1 +PACKAGE=generic-dh-make-2008 + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/generic-dh-make-2008.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex new file mode 100644 index 0000000..b51657a --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/emacsen-startup.ex @@ -0,0 +1,25 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50generic-dh-make-2008.el +;; for the Debian generic-dh-make-2008 package +;; +;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> +;; Modified by Dirk Eddelbuettel <edd@debian.org> +;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org> + +;; The generic-dh-make-2008 package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/generic-dh-make-2008"))) +;; If package-dir does not exist, the generic-dh-make-2008 package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)) + (autoload 'generic-dh-make-2008-mode "generic-dh-make-2008-mode" + "Major mode for editing generic-dh-make-2008 files." t) + (add-to-list 'auto-mode-alist '("\\.generic-dh-make-2008$" . generic-dh-make-2008-mode)))) + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex new file mode 100644 index 0000000..d770c6e --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.default.ex @@ -0,0 +1,10 @@ +# Defaults for generic-dh-make-2008 initscript +# sourced by /etc/init.d/generic-dh-make-2008 +# installed at /etc/default/generic-dh-make-2008 by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX new file mode 100644 index 0000000..3b966d1 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/generic-dh-make-2008.doc-base.EX @@ -0,0 +1,22 @@ +Document: generic-dh-make-2008 +Title: Debian generic-dh-make-2008 Manual +Author: <insert document author here> +Abstract: This manual describes what generic-dh-make-2008 is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.sgml.gz + +Format: postscript +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.ps.gz + +Format: text +Files: /usr/share/doc/generic-dh-make-2008/generic-dh-make-2008.text.gz + +Format: HTML +Index: /usr/share/doc/generic-dh-make-2008/html/index.html +Files: /usr/share/doc/generic-dh-make-2008/html/*.html + + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.ex new file mode 100644 index 0000000..b464594 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.ex @@ -0,0 +1,157 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg <miquels@cistron.nl>. +# Modified for Debian +# by Ian Murdock <imurdock@gnu.ai.mit.edu>. +# Further changes by Javier Fernandez-Sanguino <jfs@debian.org> +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/generic-dh-make-2008 +NAME=generic-dh-make-2008 +DESC=generic-dh-make-2008 + +test -x $DAEMON || exit 0 + +LOGDIR=/var/log/generic-dh-make-2008 +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +# Include generic-dh-make-2008 defaults if available +if [ -f /etc/default/generic-dh-make-2008 ] ; then + . /etc/default/generic-dh-make-2008 +fi + +set -e + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $DAEMON_OPTS + if running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + echo "$NAME." + ;; + force-stop) + echo -n "Forcefully stopping $DESC: " + force_stop + if ! running ; then + echo "$NAME." + else + echo " ERROR." + fi + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart" except that it does nothing if the + # daemon isn't already running. + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + echo -n "$LABEL is " + if running ; then + echo "running" + else + echo " not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex new file mode 100644 index 0000000..b3559de --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/init.d.lsb.ex @@ -0,0 +1,296 @@ +#!/bin/sh +# +# Example init.d script with LSB support. +# +# Please read this init.d carefully and modify the sections to +# adjust it to the program you want to run. +# +# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> +# +# This is free software; you may redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, +# or (at your option) any later version. +# +# This is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License with +# the Debian operating system, in /usr/share/common-licenses/GPL; if +# not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# +### BEGIN INIT INFO +# Provides: generic-dh-make-2008 +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: <Enter a short description of the sortware> +# Description: <Enter a long description of the software> +# <...> +# <...> +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/generic-dh-make-2008 # Introduce the server's location here +NAME=#PACKAGE # Introduce the short server's name here +DESC=#PACKAGE # Introduce a short description here +LOGDIR=/var/log/generic-dh-make-2008 # Log directory to use + +PIDFILE=/var/run/$NAME.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/$NAME +DAEMON_OPTS="" # Additional options given to the server + +DIETIME=10 # Time to wait for the server to die, in seconds + # If this value is set too low you might not + # let some servers to die gracefully and + # 'restart' will not work + +#STARTTIME=2 # Time to wait for the server to start, in seconds + # If this value is set each time the server is + # started (on start or restart) the script will + # stall to try to determine if it is running + # If it is not set and the server takes time + # to setup a pid file the log message might + # be a false positive (says it did not start + # when it actually did) + +LOGFILE=$LOGDIR/$NAME.log # Server logfile +#DAEMONUSER=generic-dh-make-2008 # Users to run the daemons as. If this value + # is set start-stop-daemon will chuid the server + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +# Use this if you want the user to explicitly set 'RUN' in +# /etc/default/ +#if [ "x$RUN" != "xyes" ] ; then +# log_failure_msg "$NAME disabled, please adjust the configuration to your needs " +# log_failure_msg "and then set RUN to 'yes' in /etc/default/$NAME to enable it." +# exit 1 +#fi + +# Check that the user exists (if we set a user) +# Does the user exist? +if [ -n "$DAEMONUSER" ] ; then + if getent passwd | grep -q "^$DAEMONUSER:"; then + # Obtain the uid and gid + DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'` + DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'` + else + log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist." + exit 1 + fi +fi + + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected server + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +start_server() { +# Start the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS + errcode=$? + else +# if we are using a daemonuser then change the user id + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --chuid $DAEMONUSER \ + --exec $DAEMON -- $DAEMON_OPTS + errcode=$? + fi + return $errcode +} + +stop_server() { +# Stop the process using the wrapper + if [ -z "$DAEMONUSER" ] ; then + killproc -p $PIDFILE $DAEMON + errcode=$? + else +# if we are using a daemonuser then look for process that match + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --user $DAEMONUSER \ + --exec $DAEMON + errcode=$? + fi + + return $errcode +} + +reload_server() { + [ ! -f "$PIDFILE" ] && return 1 + pid=pidofproc $PIDFILE # This is the daemon's pid + # Send a SIGHUP + kill -1 $pid + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$DIETIME"s + if running ; then + kill -9 $pid + sleep "$DIETIME"s + if running ; then + echo "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + # Check if it's running first + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_server ; then + # NOTE: Some servers might die some time after they start, + # this code will detect this issue if STARTTIME is set + # to a reasonable value + [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time + if running ; then + # It's ok, the server started and is running + log_end_msg 0 + else + # It is not running after we did start + log_end_msg 1 + fi + else + # Either we could not start it + log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + # Only stop the server if we see it running + errcode=0 + stop_server || errcode=$? + log_end_msg $errcode + else + # If it's not running don't do anything + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + force-stop) + # First try to stop gracefully the program + $0 stop + if running; then + # If it's still running try to kill it more forcefully + log_daemon_msg "Stopping (force) $DESC" "$NAME" + errcode=0 + force_stop || errcode=$? + log_end_msg $errcode + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + errcode=0 + stop_server || errcode=$? + # Wait some sensible amount, some server need this + [ -n "$DIETIME" ] && sleep $DIETIME + start_server || errcode=$? + [ -n "$STARTTIME" ] && sleep $STARTTIME + running || errcode=$? + log_end_msg $errcode + ;; + status) + + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + # Use this if the daemon cannot reload + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + # And this if it cann + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # log_daemon_msg "Reloading $DESC configuration files" "$NAME" + # if running ; then + # reload_server + # if ! running ; then + # Process died after we tried to reload + # log_progress_msg "died on reload" + # log_end_msg 1 + # exit 1 + # fi + # else + # log_progress_msg "server is not running" + # log_end_msg 1 + # exit 1 + # fi + #;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.1.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.1.ex new file mode 100644 index 0000000..d67baa2 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.1.ex @@ -0,0 +1,59 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH GENERIC-DH-MAKE-2008 SECTION "December 29, 2008" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +generic-dh-make-2008 \- program to do something +.SH SYNOPSIS +.B generic-dh-make-2008 +.RI [ options ] " files" ... +.br +.B bar +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B generic-dh-make-2008 +and +.B bar +commands. +.PP +.\" TeX users may be more comfortable with the \fB<whatever>\fP and +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBgeneric-dh-make-2008\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR bar (1), +.BR baz (1). +.br +The programs are documented fully by +.IR "The Rise and Fall of a Fooish Bar" , +available via the Info system. +.SH AUTHOR +generic-dh-make-2008 was written by <upstream author>. +.PP +This manual page was written by Russ Allbery <rra@debian.org>, +for the Debian project (but may be used by others). diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex new file mode 100644 index 0000000..26b3e0c --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.sgml.ex @@ -0,0 +1,156 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>"> + <!ENTITY dhsurname "<surname>SURNAME</surname>"> + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY dhdate "<date>December 29, 2008</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>"> + <!ENTITY dhemail "<email>rra@debian.org</email>"> + <!ENTITY dhusername "Russ Allbery"> + <!ENTITY dhucpackage "<refentrytitle>GENERIC-DH-MAKE-2008</refentrytitle>"> + <!ENTITY dhpackage "generic-dh-make-2008"> + + <!ENTITY debian "<productname>Debian</productname>"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + &dhemail; + </address> + <author> + &dhfirstname; + &dhsurname; + </author> + <copyright> + <year>2003</year> + <holder>&dhusername;</holder> + </copyright> + &dhdate; + </refentryinfo> + <refmeta> + &dhucpackage; + + &dhsection; + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + + <refpurpose>program to do something</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage;</command> + + <arg><option>-e <replaceable>this</replaceable></option></arg> + + <arg><option>--example <replaceable>that</replaceable></option></arg> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para>This manual page documents briefly the + <command>&dhpackage;</command> and <command>bar</command> + commands.</para> + + <para>This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in the &gnu; + <application>Info</application> format; see below.</para> + + <para><command>&dhpackage;</command> is a program that...</para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para>These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + <application>Info</application> files.</para> + + <variablelist> + <varlistentry> + <term><option>-h</option> + <option>--help</option> + </term> + <listitem> + <para>Show summary of options.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-v</option> + <option>--version</option> + </term> + <listitem> + <para>Show version of program.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1> + <title>SEE ALSO</title> + + <para>bar (1), baz (1).</para> + + <para>The programs are documented fully by <citetitle>The Rise and + Fall of a Fooish Bar</citetitle> available via the + <application>Info</application> system.</para> + </refsect1> + <refsect1> + <title>AUTHOR</title> + + <para>This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + </para> + <para> + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + </para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> + + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.xml.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.xml.ex new file mode 100644 index 0000000..2d01c6f --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/manpage.xml.ex @@ -0,0 +1,291 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" +"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + +<!-- + +`xsltproc -''-nonet \ + -''-param man.charmap.use.subset "0" \ + -''-param make.year.ranges "1" \ + -''-param make.single.year.ranges "1" \ + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ + manpage.xml' + +A manual page <package>.<section> will be generated. You may view the +manual page with: nroff -man <package>.<section> | less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as +<refsect1> ... </refsect1>. + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "FIRSTNAME"> + <!ENTITY dhsurname "SURNAME"> + <!-- dhusername could also be set to "&firstname; &surname;". --> + <!ENTITY dhusername "Russ Allbery"> + <!ENTITY dhemail "rra@debian.org"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1) and + http://www.tldp.org/HOWTO/Man-Page/q2.html. --> + <!ENTITY dhsection "SECTION"> + <!-- TITLE should be something like "User commands" or similar (see + http://www.tldp.org/HOWTO/Man-Page/q2.html). --> + <!ENTITY dhtitle "generic-dh-make-2008 User Manual"> + <!ENTITY dhucpackage "GENERIC-DH-MAKE-2008"> + <!ENTITY dhpackage "generic-dh-make-2008"> +]> + +<refentry> + <refentryinfo> + <title>&dhtitle;</title> + <productname>&dhpackage;</productname> + <authorgroup> + <author> + <firstname>&dhfirstname;</firstname> + <surname>&dhsurname;</surname> + <contrib>Wrote this manpage for the Debian system.</contrib> + <address> + <email>&dhemail;</email> + </address> + </author> + </authorgroup> + <copyright> + <year>2007</year> + <holder>&dhusername;</holder> + </copyright> + <legalnotice> + <para>This manual page was written for the Debian system + (but may be used by others).</para> + <para>Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation.</para> + <para>On Debian systems, the complete text of the GNU General Public + License can be found in + <filename>/usr/share/common-licenses/GPL</filename>.</para> + </legalnotice> + </refentryinfo> + <refmeta> + <refentrytitle>&dhucpackage;</refentrytitle> + <manvolnum>&dhsection;</manvolnum> + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + <refpurpose>program to do something</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage;</command> + <!-- These are several examples, how syntaxes could look --> + <arg choice="plain"><option>-e <replaceable>this</replaceable></option></arg> + <arg choice="opt"><option>--example=<parameter>that</parameter></option></arg> + <arg choice="opt"> + <group choice="req"> + <arg choice="plain"><option>-e</option></arg> + <arg choice="plain"><option>--example</option></arg> + </group> + <replaceable class="option">this</replaceable> + </arg> + <arg choice="opt"> + <group choice="req"> + <arg choice="plain"><option>-e</option></arg> + <arg choice="plain"><option>--example</option></arg> + </group> + <group choice="req"> + <arg choice="plain"><replaceable>this</replaceable></arg> + <arg choice="plain"><replaceable>that</replaceable></arg> + </group> + </arg> + </cmdsynopsis> + <cmdsynopsis> + <command>&dhpackage;</command> + <!-- Normally the help and version options make the programs stop + right after outputting the requested information. --> + <group choice="opt"> + <arg choice="plain"> + <group choice="req"> + <arg choice="plain"><option>-h</option></arg> + <arg choice="plain"><option>--help</option></arg> + </group> + </arg> + <arg choice="plain"> + <group choice="req"> + <arg choice="plain"><option>-v</option></arg> + <arg choice="plain"><option>--version</option></arg> + </group> + </arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1 id="description"> + <title>DESCRIPTION</title> + <para>This manual page documents briefly the + <command>&dhpackage;</command> and <command>bar</command> + commands.</para> + <para>This manual page was written for the Debian distribution + because the original program does not have a manual page. + Instead, it has documentation in the GNU <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> format; see below.</para> + <para><command>&dhpackage;</command> is a program that...</para> + </refsect1> + <refsect1 id="options"> + <title>OPTIONS</title> + <para>The program follows the usual GNU command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> files.</para> + <variablelist> + <!-- Use the variablelist.term.separator and the + variablelist.term.break.after parameters to + control the term elements. --> + <varlistentry> + <term><option>-e <replaceable>this</replaceable></option></term> + <term><option>--example=<replaceable>that</replaceable></option></term> + <listitem> + <para>Does this and that.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-h</option></term> + <term><option>--help</option></term> + <listitem> + <para>Show summary of options.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-v</option></term> + <term><option>--version</option></term> + <listitem> + <para>Show version of program.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1 id="files"> + <title>FILES</title> + <variablelist> + <varlistentry> + <term><filename>/etc/foo.conf</filename></term> + <listitem> + <para>The system-wide configuration file to control the + behaviour of <application>&dhpackage;</application>. See + <citerefentry> + <refentrytitle>foo.conf</refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry> for further details.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><filename>${HOME}/.foo.conf</filename></term> + <listitem> + <para>The per-user configuration file to control the + behaviour of <application>&dhpackage;</application>. See + <citerefentry> + <refentrytitle>foo.conf</refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry> for further details.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1 id="environment"> + <title>ENVIONMENT</title> + <variablelist> + <varlistentry> + <term><envar>FOO_CONF</envar></term> + <listitem> + <para>If used, the defined file is used as configuration + file (see also <xref linkend="files"/>).</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + <refsect1 id="diagnostics"> + <title>DIAGNOSTICS</title> + <para>The following diagnostics may be issued + on <filename class="devicefile">stderr</filename>:</para> + <variablelist> + <varlistentry> + <term><errortext>Bad configuration file. Exiting.</errortext></term> + <listitem> + <para>The configuration file seems to contain a broken configuration + line. Use the <option>--verbose</option> option, to get more info. + </para> + </listitem> + </varlistentry> + </variablelist> + <para><command>&dhpackage;</command> provides some return codes, that can + be used in scripts:</para> + <segmentedlist> + <segtitle>Code</segtitle> + <segtitle>Diagnostic</segtitle> + <seglistitem> + <seg><errorcode>0</errorcode></seg> + <seg>Program exited successfully.</seg> + </seglistitem> + <seglistitem> + <seg><errorcode>1</errorcode></seg> + <seg>The configuration file seems to be broken.</seg> + </seglistitem> + </segmentedlist> + </refsect1> + <refsect1 id="bugs"> + <!-- Or use this section to tell about upstream BTS. --> + <title>BUGS</title> + <para>The program is currently limited to only work + with the <package>foobar</package> library.</para> + <para>The upstreams <acronym>BTS</acronym> can be found + at <ulink url="http://bugzilla.foo.tld"/>.</para> + </refsect1> + <refsect1 id="see_also"> + <title>SEE ALSO</title> + <!-- In alpabetical order. --> + <para><citerefentry> + <refentrytitle>bar</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>, <citerefentry> + <refentrytitle>baz</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry>, <citerefentry> + <refentrytitle>foo.conf</refentrytitle> + <manvolnum>5</manvolnum> + </citerefentry></para> + <para>The programs are documented fully by <citetitle>The Rise and + Fall of a Fooish Bar</citetitle> available via the <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> system.</para> + </refsect1> +</refentry> + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/menu.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/menu.ex new file mode 100644 index 0000000..8a67e62 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/menu.ex @@ -0,0 +1,2 @@ +?package(generic-dh-make-2008):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ + title="generic-dh-make-2008" command="/usr/bin/generic-dh-make-2008" diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postinst.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postinst.ex new file mode 100644 index 0000000..b5f5ca7 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postinst.ex @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postrm.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postrm.ex new file mode 100644 index 0000000..1d8a18a --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/postrm.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postrm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/preinst.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/preinst.ex new file mode 100644 index 0000000..3134ccf --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/preinst.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/prerm.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/prerm.ex new file mode 100644 index 0000000..4e5dd3f --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/prerm.ex @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for generic-dh-make-2008 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/rules b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/rules new file mode 100755 index 0000000..92aa2b1 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/generic-dh-make-2008.sgml > generic-dh-make-2008.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generic-dh-make-2008. + $(MAKE) DESTDIR=$(CURDIR)/debian/generic-dh-make-2008 install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/watch.ex b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/watch.ex new file mode 100644 index 0000000..e62d18f --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/debian/watch.ex @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# <Webpage URL> <string match> +#http://www.example.com/downloads.php generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/generic-dh-make-2008-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/generic-dh-make-2008/generic-dh-make-2008-(.*)\.tar\.gz + +# Uncomment to find new files on GooglePages +# http://example.googlepages.com/foo.html generic-dh-make-2008-(.*)\.tar\.gz diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/fill-values b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/fill-values new file mode 100644 index 0000000..ef7a896 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/fill-values @@ -0,0 +1,7 @@ +Testname: generic-dh-make-2008 +Skeleton: upload-builder-only +Author: Russ Allbery <rra@debian.org> +Package-Architecture: any +Dh-Compat-Level: 7 +Description: Generic dh_make template generated in 2008 +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/Makefile b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/Makefile new file mode 100644 index 0000000..4f762d8 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/Makefile @@ -0,0 +1,4 @@ +# Stub Makefile that's just enough so that the default rules file doesn't +# error out. + +clean install: diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/README b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/README new file mode 100644 index 0000000..6a3c009 --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/orig/README @@ -0,0 +1,13 @@ +dh_make 0.46 test +================= + +This is the results of running dh_make 0.46 on an upstream tarball +containing only this file. It's a useful test for the various dh_make +template and boilerplate tags, as well as many tags for ways of doing +things dh_make used to promote but are now deprecated or old debhelper +commands that are now deprecated. + +Please don't modify anything about the files in this package; instead, add +new tags as needed when Lintian adds new checks. This test case is +intended to continue to be a test of Lintian's handling of old and +template packages. diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/pre-build.in b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/pre-build.in new file mode 100755 index 0000000..bbdb5cb --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/build-spec/pre-build.in @@ -0,0 +1,5 @@ +#!/bin/sh + +# not using any templates, but dh_clean requires compat + +echo "[% $dh_compat_level %]" > "$1/debian/compat" diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/eval/desc b/t/recipes/checks/fields/section/generic-dh-make-2008/eval/desc new file mode 100644 index 0000000..eb53f0b --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/eval/desc @@ -0,0 +1,4 @@ +Testname: generic-dh-make-2008 +Check: fields/section +See-Also: + Bug#497347 diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/eval/hints b/t/recipes/checks/fields/section/generic-dh-make-2008/eval/hints new file mode 100644 index 0000000..268dcdd --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/eval/hints @@ -0,0 +1 @@ +generic-dh-make-2008 (binary): section-is-dh_make-template diff --git a/t/recipes/checks/fields/section/generic-dh-make-2008/eval/post-test b/t/recipes/checks/fields/section/generic-dh-make-2008/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/section/generic-dh-make-2008/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer <toddy@debian.org> Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/control b/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/rules b/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/section/legacy-fields/build-spec/fill-values b/t/recipes/checks/fields/section/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/fields/section/legacy-fields/eval/desc b/t/recipes/checks/fields/section/legacy-fields/eval/desc new file mode 100644 index 0000000..238c163 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: fields/section diff --git a/t/recipes/checks/fields/section/legacy-fields/eval/hints b/t/recipes/checks/fields/section/legacy-fields/eval/hints new file mode 100644 index 0000000..70e11e8 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/eval/hints @@ -0,0 +1 @@ +fields (binary): unknown-section does-not-exist diff --git a/t/recipes/checks/fields/section/legacy-fields/eval/post-test b/t/recipes/checks/fields/section/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package is released under public domain. This is distributed in the hope +that it will be useful, but without any warranty; without even the implied +warranty of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include <math.h> + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/extra.c diff --git a/t/recipes/checks/fields/section/legacy-libbaz/eval/desc b/t/recipes/checks/fields/section/legacy-libbaz/eval/desc new file mode 100644 index 0000000..6aba0cb --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: fields/section diff --git a/t/recipes/checks/fields/section/legacy-libbaz/eval/hints b/t/recipes/checks/fields/section/legacy-libbaz/eval/hints new file mode 100644 index 0000000..b32131f --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/eval/hints @@ -0,0 +1,3 @@ +libbaz2-dev (binary): wrong-section-according-to-package-name libs => libdevel +libbaz2-dbg (binary): wrong-section-according-to-package-name libs => debug +libbaz1-dev (binary): wrong-section-according-to-package-name libs => libdevel diff --git a/t/recipes/checks/fields/section/legacy-libbaz/eval/post-test b/t/recipes/checks/fields/section/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/fields/section/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ +s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g +/: file-references-package-build-path / d diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/source/fields-general-bad/eval/desc b/t/recipes/checks/fields/source/fields-general-bad/eval/desc new file mode 100644 index 0000000..842ffb1 --- /dev/null +++ b/t/recipes/checks/fields/source/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/source diff --git a/t/recipes/checks/fields/source/fields-general-bad/eval/hints b/t/recipes/checks/fields/source/fields-general-bad/eval/hints new file mode 100644 index 0000000..a910386 --- /dev/null +++ b/t/recipes/checks/fields/source/fields-general-bad/eval/hints @@ -0,0 +1 @@ +fields-general-BAD? (binary): source-field-malformed fields-general-BAD? diff --git a/t/recipes/checks/fields/source/fields-malformed-source/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/source/fields-malformed-source/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..67b1c4f --- /dev/null +++ b/t/recipes/checks/fields/source/fields-malformed-source/build-spec/DEBIAN/control.in @@ -0,0 +1,12 @@ +Package: [% $source %] +Source: Malformed +Version: [% $version %] +Architecture: [% $package_architecture %] +Maintainer: [% $author %] +Section: [% $section %] +Priority: optional +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/source/fields-malformed-source/build-spec/fill-values b/t/recipes/checks/fields/source/fields-malformed-source/build-spec/fill-values new file mode 100644 index 0000000..797442d --- /dev/null +++ b/t/recipes/checks/fields/source/fields-malformed-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: fields-malformed-source +Description: Test for bad source package name diff --git a/t/recipes/checks/fields/source/fields-malformed-source/eval/desc b/t/recipes/checks/fields/source/fields-malformed-source/eval/desc new file mode 100644 index 0000000..2620915 --- /dev/null +++ b/t/recipes/checks/fields/source/fields-malformed-source/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-malformed-source +Check: fields/source diff --git a/t/recipes/checks/fields/source/fields-malformed-source/eval/hints b/t/recipes/checks/fields/source/fields-malformed-source/eval/hints new file mode 100644 index 0000000..2e76f9e --- /dev/null +++ b/t/recipes/checks/fields/source/fields-malformed-source/eval/hints @@ -0,0 +1 @@ +fields-malformed-source (binary): source-field-malformed Malformed diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: ü. + It also has a usefull speling error. + + -- Russ Allbery <rra@debian.org> Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt <he@debian.org> Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org> +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: <http://lintian.debian.org/> +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad ® character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello!
+Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/index.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/templates b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/eval/desc b/t/recipes/checks/fields/standards-version/legacy-binary/eval/desc new file mode 100644 index 0000000..12da30d --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/eval/hints b/t/recipes/checks/fields/standards-version/legacy-binary/eval/hints new file mode 100644 index 0000000..dc99982 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/eval/hints @@ -0,0 +1,2 @@ +binary (source): standards-version 3.2.1 +binary (source): out-of-date-standards-version 3.2.1 (released 2000-08-24) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-binary/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/changelog.in new file mode 100644 index 0000000..f5e308e --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +debconf ([% $version %]) [% $distribution %]; urgency=low + + * Initial Release + * Changelog line with exactly 80 characters which tests the line-too-long tag. + + -- Lintian Maintainers <debian-lint-maint@debian.org> Wed, 3 May 2006 18:07:19 -0500 diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/compat.in b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/control new file mode 100644 index 0000000..bf9f4e9 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/control @@ -0,0 +1,52 @@ +Source: debconf +Section: utils +Priority: optional +Build-Depends: debhelper (>= 4), dpatch +Maintainer: Lintian Maintainers <debian-lint-maint@debian.org> +Standards-Version: 3.7.2 + +Package: debconf-test +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (dummy) + +Package: debconf-test-noscripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (noscripts) + Package missing postinst/postrm/config. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-test-preinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (preinst) + Package uses debconf only in preinst. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-test-postinst +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Test package for the debconf checks of lintian (postinst) + Package uses debconf only in postinst. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: debconf-udeb +Section: debian-installer +XC-Package-Type: udeb +XB-Installer-Menu-Item: 100 +Architecture: any +Depends: ${shlibs:Depends} +Description: Test udeb package for the debconf checks of lintian (dummy) diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/copyright b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/copyright new file mode 100644 index 0000000..84843ee --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/copyright @@ -0,0 +1,10 @@ +Copyright (C) 2004 Frank Lichtenheld <djpig@debian.org> + +Test for really old FSF address: + +Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. + +Test for a dh-make boilerplate: +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates new file mode 100644 index 0000000..93f8071 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-noscripts.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst new file mode 100644 index 0000000..56ab871 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.templates b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-postinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm new file mode 100644 index 0000000..cbf5e3b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +#DEBHELPER# diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst new file mode 100644 index 0000000..bf6f074 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Obsolete name for the confmodule +. /usr/share/debconf/confmodule.sh + +. /usr/share/debconf/confmodule + +db_input medium debconf/test + +#DEBHELPER# + +true diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.templates b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.templates new file mode 100644 index 0000000..2a2a8ab --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test-preinst.templates @@ -0,0 +1,3 @@ +Template: debconf/test +Type: text +_description: Enter something: diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.config b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.config new file mode 100644 index 0000000..9e32d06 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.config @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_settitle "Funky lintian test" + +# Bad priorities. +db_text LOW debconf/test +db_input normal debconf/test + +# Valid priorities. +db_text \ +high debconf/test +foo=medium +db_input $foo debconf/test +db_input "$foo" debconf/test +db_input 'medium' debconf/test + +# debconf/transtring should not be flagged as unused +# (it's aliased to debconf/alias, which is used) +db_register debconf/transtring debconf/alias +db_input medium debconf/alias diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.postinst b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.postinst new file mode 100644 index 0000000..b387037 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +# Not supposed to do this here. +db_input medium debconf/test + +true diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates new file mode 100644 index 0000000..811bb6c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates @@ -0,0 +1,101 @@ +Template: debconf/test +Type: text +_description: Foo bar (1) + +Template: debconf/testmulti +Type: multiselect +__Choices: foo, bar, boo +_Description: test comma usages in choices fields + +Template: debconf/testmulti-escape +Type: multiselect +_Choices: foo\, bar, boo +_Description: test escaped comma usages in choices fields: + +Template: debconf/testboolean +Type: boolean +_Description: Enter yes or no: + Do you want to answer this question? + +Template: debconf/teststring +Type: string +_Description: This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + This template goes on and on. + +Template: debconf/testnote +Type: note +Description: This should be a title and not a really long sentence that ends in a regular period. + +Template: debconf/1st-person +Type: select +__Choices: one, two +_Description: Select one of these: + I am a stupid test of first-person syntax that tells you to select yes + even though yes isn't an option in this prompt. + +Template: debconf/internal +Type: boolean +Description: For internal use only + We are testing that style checks are not applied to templates that are + marked as internal. + +Template: debconf/no-description +Type: string + +Template: debconf/translate +Type: boolean +_Default: false +_Description: Should this really be translated? + +Template: debconf/transtring +Type: string +_Default: 1 +_Description: Count of templates: + The number of useless numbers that a translator would have to translate + for this template. + +Template: debconf/language +__Choices: English, Spanish, German, French +# This is the default choice. Translators should put their own language, +# if available, here instead, but the value MUST be the English version +# of the value for the package scripts to work properly. +_Default: English[ translators, see the comment in the PO files] +_Description: The default language, an example of a default that should + be translated. + +Template: debconf/error +Type: error +_Description: An error occurred + This is a sample Debconf error template. + +Template: debconf/should-be-boolean +Type: select +__Choices: yes, no +_Description: Choose: + Pick yes or no. + +Template: debconf/should-be-no-longer-a-problem +Type: boolean +_Description: Decide, lintian + Using "no longer" should no longer be detected as + making-assumptions-about-interfaces-in-templates by lintian. diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.de b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.de new file mode 100644 index 0000000..f9ea121 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.de @@ -0,0 +1,3 @@ +Template: debconf/testmulti +Type: multiselect +Choices: foo, bar\, boo, boo diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.in b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.in new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-test.templates.in diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.postinst b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.postinst new file mode 100644 index 0000000..4ce41f0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +ldconfig + +true diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.templates b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.templates new file mode 100644 index 0000000..5d7cf5a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/debconf-udeb.templates @@ -0,0 +1,3 @@ +Template: debian-installer/debconf-udeb/title +Type: text +_description: This is just a test diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/POTFILES.in b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/POTFILES.in new file mode 100644 index 0000000..d0c82f0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] debconf-test.templates +[type: gettext/rfc822deb] debconf-udeb.templates diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/de.po b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/de.po new file mode 100644 index 0000000..86c5796 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/de.po @@ -0,0 +1,66 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2004-12-06 01:01+0100\n" +"Last-Translator: Frank Lichtenheld <djpig@debian.org>\n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:11 +msgid "foo\\, bar, boo" +msgstr "foo, bar, boo" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "Dies ist nur ein Test" diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/fr.po b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/fr.po new file mode 100644 index 0000000..c74deb2 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/fr.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"Last-Translator: Frank Lichtenheld <djpig@debian.org>\n" +"Language-Team: debian-l10n-german@l.d.o\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "foo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "bar, boo" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "boo" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr " diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/lang.po b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/lang.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/lang.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/nds.po b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/nds.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/nds.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/output b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/output new file mode 100644 index 0000000..c3df1a5 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/pt_BR.po b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/pt_BR.po new file mode 100644 index 0000000..7ac498a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/pt_BR.po @@ -0,0 +1,15 @@ +msgid "" +msgstr "" +"Project-Id-Version: debconf-test 1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: 2005-10-13 15:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/sample-file.po b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/sample-file.po new file mode 100644 index 0000000..8dcc0ff --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/sample-file.po @@ -0,0 +1 @@ +This is some file that isn't actually a valid .po file. diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/templates.pot b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/templates.pot new file mode 100644 index 0000000..914c77f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-12-06 00:51+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: text +#. description +#: ../debconf-test.templates:3 +msgid "Foo bar (2)" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "foo" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "bar" +msgstr "" + +#. Type: multiselect +#. Choices +#: ../debconf-test.templates:7 +msgid "boo" +msgstr "" + +#. Type: multiselect +#. Description +#: ../debconf-test.templates:8 +msgid "test comma usages in choices fields" +msgstr "" + +#. Type: text +#. description +#: ../debconf-udeb.templates:3 +msgid "This is just a test" +msgstr "" diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pycompat b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pyversions b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pyversions new file mode 100644 index 0000000..6f290b0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/pyversions @@ -0,0 +1 @@ +>= 2.7 diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/rules new file mode 100755 index 0000000..933901a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +deb_dir = debian/debconf +udeb_dir = debian/debconf-udeb +build_dirs = $(deb_dir) $(udeb_dir) + +build-indep: +# There are no architecture-independent files to be built +# by this package. If there were any they would be made +# here. + +build-arch: + dh_testdir + touch build + +build: build-indep build-arch + +clean: + dh_testdir + dh_testroot + -rm -f build + + dh_clean + +binary-indep: build +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs -a + + dh_installchangelogs -a + dh_installdocs -a + dh_installdebconf -pdebconf-test + dh_installdebconf -pdebconf-test-noscripts --noscripts + dh_installdebconf -pdebconf-test-preinst --noscripts + dh_installdebconf -pdebconf-test-postinst --noscripts + dh_installdebconf -pdebconf-udeb + + + + + dh_compress -a + dh_fixperms -a + +# The shlibs stuff doesn't matter here so do it in a weird order to +# test warnings. + dh_installdeb -a + dh_shlibdeps -a + dh_makeshlibs -a + dh_gencontrol -a + dh_md5sums + dh_builddeb -a + dh_makeshlibs -a + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +.PHONY: build-arch build-indep build binary binary-arch binary-indep clean checkroot diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/fill-values new file mode 100644 index 0000000..186615f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-native +Testname: legacy-debconf +Source: debconf +Version: 1~rc1 +Description: Legacy test "debconf" +Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~) diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/eval/desc b/t/recipes/checks/fields/standards-version/legacy-debconf/eval/desc new file mode 100644 index 0000000..8279bed --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-debconf +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/eval/hints b/t/recipes/checks/fields/standards-version/legacy-debconf/eval/hints new file mode 100644 index 0000000..8496e1c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/eval/hints @@ -0,0 +1 @@ +debconf (source): standards-version 3.7.2 diff --git a/t/recipes/checks/fields/standards-version/legacy-debconf/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-debconf/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-debconf/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/README.Debian b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/README.Debian new file mode 100644 index 0000000..e289bfb --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a package to test lintian's handling of files in /etc. +Also, there's a random mention of /usr/doc here to prompt a warning. +But /usr/documentation doesn't. + + -- Russ Allbery <rra@debian.org>, Mon, 18 Feb 2008 16:40:55 -0800 diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/changelog.in new file mode 100644 index 0000000..00cdc77 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +etcfiles ([% $version %]) [% $distribution %]; urgency=low + + * Acknowledge NMU (Closes: #123456). + * initial setup + + -- Lintian Maintainers <lintian-maint@debian.org> Fri, 21 Sep 2001 11:56:02 -0700 + diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles new file mode 100644 index 0000000..76032b7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles @@ -0,0 +1,5 @@ +/etc/proper +/var/lib/foo +/etc/cron.daily/cronfile-normal +/etc/cron.daily/.cronfile-begins-with-fullstop +/etc/cron.daily/cronfile-contains.fullstop diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles.only b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles.only new file mode 100644 index 0000000..a4b3895 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/conffiles.only @@ -0,0 +1,2 @@ +/etc/etcfiles/foo +/etc/etcfiles/bar diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/control new file mode 100644 index 0000000..f3dbda7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/control @@ -0,0 +1,20 @@ +Source: etcfiles +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.5.0 + +Package: etcfiles +Architecture: any +Depends: ${shlibs:Depends} +Description: test handling of files in /etc + Regression test for lintian's handling of files in /etc. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: only-etcfiles +Architecture: all +Depends: etcfiles (= ${source:Version}) +Description: test handling of conffile-only package diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/rules new file mode 100755 index 0000000..97ff09f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +tmp=debian/tmp +tmponly=debian/only-etcfiles + +clean: + rm -f debian/files debian/substvars + rm -rf debian/tmp + rm -rf debian/only-etcfiles + +build: +build-arch: +build-indep: +binary-indep: + install -d $(tmp)/etc + install -m 644 proper $(tmp)/etc + install -m 644 improper $(tmp)/etc + mkdir $(tmp)/etc/cron.daily + touch $(tmp)/etc/cron.daily/cronfile-normal + touch $(tmp)/etc/cron.daily/.cronfile-begins-with-fullstop + touch $(tmp)/etc/cron.daily/cronfile-contains.fullstop + ln $(tmp)/etc/improper $(tmp)/etc/improper-link + install -d $(tmp)/usr/share/doc/etcfiles + install -d $(tmp)/var/lib + install -m 644 proper $(tmp)/var/lib/foo + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/etcfiles + install -m 644 debian/changelog $(tmp)/usr/share/doc/etcfiles + #gzip -9 $(tmp)/usr/share/doc/etcfiles/changelog + install -d $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-normal' \ + > debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/.cronfile-begins-with-fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo 'd41d8cd98f00b204e9800998ecf8427e ./etc/cron.daily/cronfile-contains.fullstop' \ + >> debian/tmp/DEBIAN/md5sums + echo '05c72cacce994208128b7d081116b04a ./etc/proper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce etc/improper' \ + >> debian/tmp/DEBIAN/md5sums + echo 'ab371382468880299e5ebd05921764ce usr/bin/foo' \ + >> debian/tmp/DEBIAN/md5sums + echo 'this is a malformed line' \ + >> debian/tmp/DEBIAN/md5sums + echo '56fb27e455dd86d8801f1ecd3a4cee49 usr/share/doc/etcfiles/README.Debian' \ + >> debian/tmp/DEBIAN/md5sums + + install -d $(tmponly)/etc/etcfiles + touch $(tmponly)/etc/etcfiles/foo + touch $(tmponly)/etc/etcfiles/bar + install -d $(tmponly)/usr/share/doc + cd $(tmponly)/usr/share/doc && ln -s etcfiles only-etcfiles + install -d $(tmponly)/DEBIAN + install -m 644 debian/conffiles.only $(tmponly)/DEBIAN/conffiles + + dpkg-gencontrol -isp -petcfiles + dpkg-gencontrol -isp -ponly-etcfiles -P$(tmponly) + dpkg --build $(tmp) .. + dpkg --build $(tmponly) .. + +binary: binary-indep + +.PHONY: binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/fill-values new file mode 100644 index 0000000..86deb10 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-etcfiles +Source: etcfiles +Version: 1 +Description: Legacy test "etcfiles" diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/improper b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/improper new file mode 100644 index 0000000..23656f4 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/improper @@ -0,0 +1,2 @@ +[config] + var = value
\ No newline at end of file diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/proper b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/proper new file mode 100644 index 0000000..f3dc68b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/build-spec/orig/proper @@ -0,0 +1,2 @@ +# i am a config file +foo = var
\ No newline at end of file diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/desc b/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/desc new file mode 100644 index 0000000..6b6e302 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-etcfiles +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/hints b/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/hints new file mode 100644 index 0000000..081bd7f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/hints @@ -0,0 +1,2 @@ +etcfiles (source): standards-version 3.5.0 +etcfiles (source): out-of-date-standards-version 3.5.0 (released 2001-01-29) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-etcfiles/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer <toddy@debian.org> Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/eval/desc b/t/recipes/checks/fields/standards-version/legacy-fields/eval/desc new file mode 100644 index 0000000..ea55f4a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/eval/hints b/t/recipes/checks/fields/standards-version/legacy-fields/eval/hints new file mode 100644 index 0000000..216d3bf --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/eval/hints @@ -0,0 +1 @@ +fields (source): standards-version 3.9.2 diff --git a/t/recipes/checks/fields/standards-version/legacy-fields/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/changelog.in new file mode 100644 index 0000000..b79c4ca --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/changelog.in @@ -0,0 +1,78 @@ +filenames ([% $version %]) [% $distribution %]; urgency=low + + * /me is doing a correct NMU of this package, bumping the epoch too. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:04:39 +0200 + +filenames (11) unstable; urgency=low + + * Add a README.macos. + + -- Marc 'HE' Brockschmidt <he@debian.org> Mon, 12 Apr 2004 23:35:24 +0200 + +filenames (10) unstable; urgency=low + + * Some new files to check the checks for the use of /usr/*/X11 and + /usr/X11R6/*. + + -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 11 Apr 2004 17:35:20 +0200 + +filenames (9) unstable; urgency=low + + * Add a two *.ali files, one with the right permission, one with + the more common, but false one. + + -- Marc 'HE' Brockschmidt <he@debian.org> Sun, 11 Apr 2004 00:18:16 +0200 + +filenames (8) unstable; urgency=low + + * Add a real ancient file + + -- Frank Lichtenheld <djpig@debian.org> Thu, 8 Apr 2004 22:22:40 +0200 + +filenames (7) unstable; urgency=low + + * Add a dozen symlinks, some correct, some not + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 01:28:42 +0100 + +filenames (6) unstable; urgency=low + + * Add perl files to check if + package-installs-nonbinary-perl-in-usr-lib-perl5 is correctly + issued even after attempting to suppress it in some cases + + -- Frank Lichtenheld <djpig@debian.org> Fri, 27 Feb 2004 00:49:44 +0100 + +filenames (5) unstable; urgency=low + + * Added check for too long symlink + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 3 Jan 2001 13:20:31 -0800 + +filenames (4) unstable; urgency=low + + * Add /usr/lib/menu/menu file to test the bad-menu-file-name tag. + * Add /usr/lib/menu/README to test the new execption for it. + + -- Richard Braakman <dark@xs4all.nl> Thu, 22 Oct 1998 15:42:52 +0200 + +filenames (3) unstable; urgency=low + + * Don't rely on the installer's umask. + + -- Richard Braakman <dark@xs4all.nl> Thu, 20 Aug 1998 12:45:47 +0200 + +filenames (2) unstable; urgency=low + + * Noted more limitations on what filenames lintian handles. + * Added Changes.gz in /usr/doc/filenames and made a symlink from changelog.gz + to Changes.gz. + + -- Richard Braakman <dark@xs4all.nl> Sat, 4 Jul 1998 15:46:11 +0200 + +filenames (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Sat, 4 Jul 1998 15:25:01 +0200 diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/control new file mode 100644 index 0000000..1ff9c50 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: filenames +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets + +Package: filenames +Architecture: any +Description: see how lintian reacts to weird filenames + This package contains files with the most evil names I could find, + except for ones that lintian is explicitly not designed to handle. + . + Lintian does not handle filenames containing newlines, or filenames + that contain the strings " link to ", " -> ", or ": ". The last one + is used as a separator by the file command, the others are used as + separators by tar. + . + Lintian also does not handle filenames that contain backslashes, or + other characters that are mangled by tar's -tv output. + +Package: filename-games +Architecture: all +Depends: filenames +Section: games +Description: Test game filename/location checks + This package contains files with slightly less evil names than + filenames. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: more-filename-games +Architecture: all +Depends: filenames, filename-games +Section: games +Priority: optional +Description: More test for game filename/location checks + This package contains no evil names, only evil locations. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/doc-base b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/doc-base new file mode 100644 index 0000000..e5a611b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/doc-base @@ -0,0 +1,11 @@ +Document: testing +Title: Working doc-base control file +Author: Russ Allbery +Abstract: This control file ensures that we don't get false positives for + correct doc-base files. + . + There isn't anything wrong with this one. +Section: Education + +Format: Text +Files: /usr/share/doc/filenames/README.macosx diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/rules new file mode 100755 index 0000000..0b9e87c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/debian/rules @@ -0,0 +1,231 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +clean: + mkdir -p .svn CVS "{arch}" .arch-ids .bzr + touch data/.cvsignore data/svn-commit.tmp data/svk-commitsEr9P.tmp + touch data/.arch-inventory + touch 'data/.#Maelstrom Sound.1.1.1' 'data/Maelstrom Sounce.r121' + touch 'data/Maelstrom Sound.mine' + touch "data/'\\ " + touch filenames.c~ + +build-arch: + +build-indep: + +build: build-arch build-indep + + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + cp -a data debian/tmp/files + chmod -R go=rX debian/tmp/files + + install -d debian/tmp/usr/lib/filenames + install -m 555 -d debian/tmp/usr/lib/filenames/readonly + touch debian/tmp/usr/lib/filenames/readonly/test + + install -d debian/tmp/usr/lib/menu + install -d debian/tmp/usr/share/menu + touch debian/tmp/usr/lib/menu/README + touch debian/tmp/usr/share/menu/README + touch debian/tmp/usr/lib/menu/menu + touch debian/tmp/usr/share/menu/menu + chmod 644 debian/tmp/usr/lib/menu/* + + install -d debian/tmp/$(VENDORARCH)/foo + mkdir debian/tmp/$(VENDORARCH)/.svn + mkdir debian/tmp/$(VENDORARCH)/CVS + mkdir "debian/tmp/$(VENDORARCH)/{arch}" + mkdir debian/tmp/$(VENDORARCH)/.arch-ids + mkdir debian/tmp/$(VENDORARCH)/.bzr + mkdir debian/tmp/$(VENDORARCH)/.be + mkdir debian/tmp/$(VENDORARCH)/.ditrack + install -d debian/tmp/usr/share/perl5 + echo foo > debian/tmp/$(VENDORARCH)/foo/.gitignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgignore + echo foo > debian/tmp/$(VENDORARCH)/foo/.hgtags + echo foo > debian/tmp/$(VENDORARCH)/foo/.hg_archival.txt + + touch debian/tmp/$(VENDORARCH)/foo/.packlist + chmod 644 debian/tmp/$(VENDORARCH)/foo/.packlist + touch debian/tmp/$(VENDORARCH)/foo/bar.pm + TZ=UTC touch -t 197501010101 debian/tmp/$(VENDORARCH)/foo/ancient.pm + chmod 644 debian/tmp/$(VENDORARCH)/foo/bar.pm + + install -d debian/tmp/usr/share/pixmaps + install -d debian/tmp/usr/share/pixmaps/foo + touch debian/tmp/usr/share/pixmaps/license.jpeg + touch debian/tmp/usr/share/pixmaps/licence.jpg + touch debian/tmp/usr/share/pixmaps/copying.xpm + touch debian/tmp/usr/share/pixmaps/foo/COPYING.svg + touch debian/tmp/usr/share/pixmaps/foo/copying.png + touch debian/tmp/usr/share/pixmaps/license.txt + touch debian/tmp/usr/share/pixmaps/license.foo + touch debian/tmp/usr/share/pixmaps/COPYING + + install -d debian/tmp/usr/share/linda/overrides + echo 'foo' > debian/tmp/usr/share/linda/overrides/filenames + + install -d debian/tmp/usr/share/doc/filenames + touch debian/tmp/usr/share/doc/filenames/README.macosx + + echo foo > debian/tmp/usr/share/doc/filenames/bokmÃ¥l + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\Ã¥l + echo foo > debian/tmp/usr/share/doc/filenames/bokmål + echo foo > debian/tmp/usr/share/doc/filenames/bokm\\ål + + echo foo > debian/tmp/usr/share/doc/filenames/Thumbs.db + echo foo > debian/tmp/usr/share/doc/filenames/.DS_Store + echo foo > debian/tmp/usr/share/doc/filenames/._NEWS.Debian + + touch debian/tmp/usr/share/doc/filenames/news.debian + gzip -n debian/tmp/usr/share/doc/filenames/news.debian + touch debian/tmp/usr/share/doc/filenames/NEWS.Debian + + echo foo > debian/tmp/usr/share/doc/filenames/link-one + ln debian/tmp/usr/share/doc/filenames/link-one \ + debian/tmp/usr/share/doc/filenames/link-two + + install -d debian/tmp/usr/share/doc/filenames/examples + touch debian/tmp/usr/share/doc/filenames/examples/__init__.py + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example + touch debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + gzip -n debian/tmp/usr/share/doc/filenames/examples/very_interesting_example2 + + install -d debian/tmp/usr/lib/ada/adalib/ + touch debian/tmp/usr/lib/ada/adalib/test.ali debian/tmp/usr/lib/ada/adalib/test2.ali + chmod 0644 debian/tmp/usr/lib/ada/adalib/test.ali + chmod 0444 debian/tmp/usr/lib/ada/adalib/test2.ali + + install -d debian/tmp/usr/bin/X11/ + touch debian/tmp/usr/bin/X11/testxbin + install -d debian/tmp/usr/X11R6/bin + touch debian/tmp/usr/X11R6/bin/testxbin2 + install -d debian/tmp/usr/include/X11 + touch debian/tmp/usr/include/X11/foo.h + + install -d debian/tmp/usr/bin/mh + touch debian/tmp/usr/bin/mh/read + chmod 755 debian/tmp/usr/bin/mh/read + install -d debian/tmp/usr/bin/bin + touch debian/tmp/usr/bin/bin/bad + chmod 755 debian/tmp/usr/bin/bin/bad + + install -m 644 debian/changelog debian/tmp/usr/share/doc/filenames/Changes + gzip -n -9 debian/tmp/usr/share/doc/filenames/Changes + ln -s Changes.gz debian/tmp/usr/share/doc/filenames/changelog.gz + + install -d debian/tmp/var/www + echo foo > debian/tmp/var/www/foo + + install -d debian/tmp/srv/foo + touch debian/tmp/srv/foo/bar + install -d debian/tmp/opt/foo + touch debian/tmp/opt/foo/bar + + install -d debian/tmp/etc/gconf/schemas + touch debian/tmp/etc/gconf/schemas/test.schema + + install -d debian/tmp/usr/lib/sgml + touch debian/tmp/usr/lib/sgml/package + + install -d debian/tmp/usr/share/gnome/apps/System + touch debian/tmp/usr/share/gnome/apps/System/foo.desktop + + install -d debian/tmp/usr/share/filenames + touch debian/tmp/usr/share/filenames/jquery.js + touch debian/tmp/usr/share/filenames/jquery.lite.js + touch debian/tmp/usr/share/filenames/jquery.min.js + touch debian/tmp/usr/share/filenames/jquery.pack.js + touch debian/tmp/usr/share/filenames/mochikit.js + touch debian/tmp/usr/share/filenames/prototype-1.2.3.4.js + touch debian/tmp/usr/share/filenames/prototype.js + touch debian/tmp/usr/share/filenames/prototype.js.gz + touch debian/tmp/usr/share/filenames/scriptaculous.js + touch debian/tmp/usr/share/filenames/yahoo-dom-event.js + touch debian/tmp/usr/share/filenames/yahoo-min.js + + ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz + ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok + ln -s ../../../etc/symlink debian/tmp/usr/lib/filenames/symlink1wrong + ln -s ../../../../etc/symlink debian/tmp/usr/lib/filenames/symlink2wrong + ln -s /etc/symlink debian/tmp/usr/lib/filenames/symlink2ok + ln -s /usr/lib/filenames/symlink2 debian/tmp/usr/lib/filenames/symlink3wrong + ln -s test debian/tmp/usr/lib/filenames/symlink3ok + ln -s ../filenames/symlink2 debian/tmp/usr/lib/filenames/symlink4wrong + ln -s ../menu/../somethingelse debian/tmp/usr/lib/filenames/symlink5wrong + ln -s ../menu/somethingelse debian/tmp/usr/lib/filenames/symlink4ok + ln -s ./file4 debian/tmp/usr/lib/filenames/symlink6wrong + ln -s ../menu/./something debian/tmp/usr/lib/filenames/symlink7wrong + ln -s ../menu//something debian/tmp/usr/lib/filenames/symlink8wrong + ln -s ../menu/something/ debian/tmp/usr/lib/filenames/symlink9wrong + ln -s .. debian/tmp/usr/lib/filenames/symlink5ok+warn + ln -s . debian/tmp/usr/lib/filenames/symlink6ok+warn + ln -s / debian/tmp/usr/lib/filenames/symlink7ok+warn + ln -s ../../.. debian/tmp/usr/lib/filenames/symlink10wrong + +# devhelp tests. Files in /usr/share/gtk-doc/html or /usr/share/devhelp/books +# are okay. Files elsewhere are okay iff their parent path is symlinked into +# one of those paths. + install -d debian/tmp/usr/share/devhelp/books/filenames + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/a.devhelp + echo 'Not really XML' > debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + gzip -n -9 debian/tmp/usr/share/devhelp/books/filenames/.devhelp2 + install -d debian/tmp/usr/share/gtk-doc/html/filenames + echo 'Not really XML' > debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + gzip -n -9 debian/tmp/usr/share/gtk-doc/html/filenames/b.devhelp + install -d debian/tmp/usr/share/doc/filenames/good-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/good-devhelp/.devhelp2 + install -d debian/tmp/usr/share/doc/filenames/bad-devhelp + echo 'Not really XML' > debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + gzip -n -9 debian/tmp/usr/share/doc/filenames/bad-devhelp/c.devhelp + ln -s ../../doc/filenames/good-devhelp debian/tmp/usr/share/gtk-doc/html/good + ln -s ../doc/filenames/bad-devhelp debian/tmp/usr/share/gtk-doc/html/bad + + install -d debian/tmp/usr/share/doc-base + install -m 644 debian/doc-base debian/tmp/usr/share/doc-base/filenames + + dpkg-gencontrol -pfilenames -Pdebian/tmp + dpkg --build debian/tmp .. + + install -d debian/filename-games debian/filename-games/DEBIAN + install -d debian/filename-games/usr debian/filename-games/usr/games debian/filename-games/usr/bin + echo '#! /bin/sh' > debian/filename-games/usr/bin/test-game + chmod 755 debian/filename-games/usr/bin/test-game + dpkg-gencontrol -pfilename-games -Pdebian/filename-games + dpkg --build debian/filename-games .. + + install -d debian/more-filename-games debian/more-filename-games/DEBIAN + install -d debian/more-filename-games/usr debian/more-filename-games/usr/games debian/more-filename-games/usr/bin + echo '#! /bin/sh' > debian/more-filename-games/usr/bin/another-test-game + echo '#! /bin/sh' > debian/more-filename-games/usr/games/yet-another-test-game + chmod 755 debian/more-filename-games/usr/bin/another-test-game debian/more-filename-games/usr/games/yet-another-test-game + dpkg-gencontrol -pmore-filename-games -Pdebian/more-filename-games + dpkg --build debian/more-filename-games .. + +binary: binary-arch binary-indep + +.PHONY: build-indep build-arch build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/fill-values new file mode 100644 index 0000000..062a1ea --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-filenames +Source: filenames +Version: 1:12-0.1 +Description: Legacy test "filenames" diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/ .tif b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/ .tif new file mode 100644 index 0000000..07fd914 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/ .tif @@ -0,0 +1,2 @@ +This filename was inspired by the ".tif used by fnlib. The real package +uses space.tif. diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/".tif b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/".tif new file mode 100644 index 0000000..e005775 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/".tif @@ -0,0 +1 @@ +This filename is really used, by fnlib. diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/Maelstrom Sound b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/Maelstrom Sound new file mode 100644 index 0000000..4110410 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/build-spec/orig/data/Maelstrom Sound @@ -0,0 +1 @@ +This filename occurs in the maelstrom package. diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/eval/desc b/t/recipes/checks/fields/standards-version/legacy-filenames/eval/desc new file mode 100644 index 0000000..76e1462 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-filenames +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/eval/hints b/t/recipes/checks/fields/standards-version/legacy-filenames/eval/hints new file mode 100644 index 0000000..a9139ee --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/eval/hints @@ -0,0 +1,2 @@ +filenames (source): standards-version 3.1.1 +filenames (source): out-of-date-standards-version 3.1.1 (released 1999-11-16) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-filenames/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-filenames/eval/post-test new file mode 100644 index 0000000..571e35d --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-filenames/eval/post-test @@ -0,0 +1,3 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ +s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g +/package-installs-packlist/ d diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/README.Debian b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/README.Debian new file mode 100644 index 0000000..87bfcdf --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/README.Debian @@ -0,0 +1,7 @@ +foo++ for Debian +---------------- + +This should trigger a warning, as i use a fake mail address. + + -- Marc 'HE' Brockschmidt <foo@unknown>, Wed, 14 Apr 2004 01:44:18 +0200 + diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/changelog.in new file mode 100644 index 0000000..f838939 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/changelog.in @@ -0,0 +1,31 @@ +foo++ ([% $version %]) [% $distribution %]; urgency=low + + * Add a fake README.Debian to trigger a warning. + * This should trigger + debian-changelog-file-contains-debmake-default-email-address. + + -- Marc 'HE' Brockschmidt <he@unknown> Wed, 14 Apr 2003 01:35:47 +0200 + +foo++ (4) unstable; urgency=low + + * This changelog now includes a ISO-8859-1 character: 'ä' + + -- Frank Lichtenheld <djpig@debian.org> Fri, 5 Mar 2004 13:41:39 +0100 + +foo++ (3) unstable; urgency=low + + * Set maintainers + uploaders incorrectly + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 5 Mar 2004 04:20:24 +0100 + +foo++ (2) unstable; urgency=low + + * Added a foo++-helper package to try and catch even more ++ bugs. + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Sat, 10 Feb 2001 23:16:17 -0800 + +foo++ (1) unstable; urgency=low + + * Initial version + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/control new file mode 100644 index 0000000..57a489c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/control @@ -0,0 +1,30 @@ +Source: foo++ +Section: misc +Priority: optional +Maintainer: Lintian Maintainer <debian-qa@lists.debian.org> +Uploaders: Marc 'HE' Brockschmidt <he@unknown>, Jeroen van Wolffelaar<jeroen@localhost.localdomain>, + Frank <djpig@debian.org>, Yama@gotchi, Josip, + I am afraid of spam and think this helps <no_spam_please AT debian.org> +Standards-Version: 3.1.1 +XS-Dm-Upload-Allowed: no + +Package: foo++ +Architecture: all +Build-Depends: test +Depends: test, libssl0.9.7 +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. + . + This description uses only UTF-8 high bytes chars. + +Package: foo++-helper +Architecture: all +Depends: test, foo++ +Description: see how lintian reacts to plus signs in the package name + Regression test to see if lintian tests work on a package with plus signs in + its name. This has /usr/share/doc links to foo++ to trigger even more checks. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/copyright b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/copyright new file mode 100644 index 0000000..e2d6d93 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/copyright @@ -0,0 +1,7 @@ +A reference to /usr/share/common-licenses/GPL to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, there is also a reference to /usr/share/common-licenses/LGPL, so +who knows what bits actually depend on libssl. + +Copr. 2007 Somebody. diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/rules new file mode 100755 index 0000000..63bb4db --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +foo=foo++ +helper=foo++-helper + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/$(foo)/DEBIAN + install -d debian/$(foo)/usr/share/doc/$(foo) + install -m 644 debian/changelog \ + debian/$(foo)/usr/share/doc/$(foo)/changelog + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/changelog + install -m 644 debian/README.Debian \ + debian/$(foo)/usr/share/doc/$(foo)/README.Debian + gzip -n -9 debian/$(foo)/usr/share/doc/$(foo)/README.Debian + dpkg-gencontrol -isp -p$(foo) -Pdebian/$(foo) + dpkg --build debian/$(foo) .. + + install -d debian/$(helper)/DEBIAN + install -d debian/$(helper)/usr/share/doc/ + ln -sf $(foo) debian/$(helper)/usr/share/doc/$(helper) + dpkg-gencontrol -isp -p$(helper) -Pdebian/$(helper) + dpkg --build debian/$(helper) .. + +binary: binary-arch binary-indep + +clean: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/watch b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/watch new file mode 100644 index 0000000..26f9a3c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/debian/watch @@ -0,0 +1,6 @@ +# A comment \ +version=0 + +# uscan does not interpret the backslash above, it is just part of the comment + +http://domain.tld/file-(.*)\.tar\.gz diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/fill-values new file mode 100644 index 0000000..86d43bc --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-foo++ +Source: foo++ +Version: 5 +Description: Legacy test "foo++" diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/eval/desc b/t/recipes/checks/fields/standards-version/legacy-foo++/eval/desc new file mode 100644 index 0000000..3a7d107 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-foo++ +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/eval/hints b/t/recipes/checks/fields/standards-version/legacy-foo++/eval/hints new file mode 100644 index 0000000..54434ee --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/eval/hints @@ -0,0 +1,2 @@ +foo++ (source): standards-version 3.1.1 +foo++ (source): out-of-date-standards-version 3.1.1 (released 1999-11-16) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-foo++/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-foo++/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-foo++/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/changelog.in new file mode 100644 index 0000000..91a6bb5 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/changelog.in @@ -0,0 +1,6 @@ +libbaz ([% $version %]) [% $distribution %]; urgency=low + + * Initial setup + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/compat.in b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/control new file mode 100644 index 0000000..1506687 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/control @@ -0,0 +1,58 @@ +Source: libbaz +Section: libs +Priority: optional +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Build-depends: debhelper (>=4) +Standards-Version: 3.2.1 + +Package: libbaz1 +Architecture: any +Provides: libbaz +Description: test handling of library packages + Regression test for lintian's handling of libraries. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz1-dev +Architecture: any +Depends: libbaz1 (= ${source:Version}), perlapi-5.8.8 +Description: development package + Regression test for lintian's handling of libraries (dev). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz2 +Architecture: any +Depends: ${shlibs:Depends}, libssl0.9.8 +Description: test handling of library packages (good) + Regression test for lintian's handling of libraries (good). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz2-dev +Architecture: any +Depends: ${shlibs:Depends}, libbaz2 (= ${source:Version}) +Description: development package (good) + Regression test for lintian's handling of libraries (dev good). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + +Package: libbaz2-dbg +Architecture: any +Depends: libbaz2 (= ${binary:Version}) +Priority: optional +Description: debugging package + Regression test for lintian's handling of libraries (debug). + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. + diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/copyright b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/copyright new file mode 100644 index 0000000..a874c87 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/copyright @@ -0,0 +1,8 @@ +This package is released under public domain. This is distributed in the hope +that it will be useful, but without any warranty; without even the implied +warranty of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +However, this has an OpenSSL exception. diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.postinst b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.postinst new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.postinst @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.prerm b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.prerm new file mode 100644 index 0000000..683e3cc --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/dev.prerm @@ -0,0 +1,4 @@ +#!/bin/sh -e + +$PKG=libbaz1-dev + diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.postinst b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.postinst new file mode 100644 index 0000000..ec0b98a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.postinst @@ -0,0 +1,10 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] +; then + ln -sf ../share/doc/$PKG /usr/doc/$PKG + fi +fi diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.prerm b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.prerm new file mode 100644 index 0000000..50e37c3 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +$PKG=libbaz1 + +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then + rm -f /usr/doc/$PKG +fi diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.shlibs b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.shlibs new file mode 100644 index 0000000..b88e288 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.shlibs @@ -0,0 +1,8 @@ +libdoesntexist2 1.0 libbaz1 +libdoesntexist2 1.0 libbaz1 +libbaz2 1.1 libbaz +libbaz3 1 libbaz1 (>> 1-1) +libbaz4 1 libbaz1 (= 1-1) +libbaz5 1 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 +udeb: libdoesntexist2 1.0 libbaz2 diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.symbols b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.symbols new file mode 100644 index 0000000..72f9d8a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/lib.symbols @@ -0,0 +1,3 @@ +libbaz.so.2 libbaz1 #MINVER# + pw 1-1 + foo 1.1-1 diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/rules new file mode 100755 index 0000000..fa99bc8 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/rules @@ -0,0 +1,121 @@ +#!/usr/bin/make -f + +lib_tmp=debian/tmp-lib +dev_tmp=debian/tmp-dev + +LIB=libbaz1 +DEV=libbaz1-dev + +VENDORARCH := $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') + +build-arch: + $(MAKE) + +build-indep: + +build: build-arch build-indep + +clean: + $(MAKE) clean + dh_clean -plibbaz2 -plibbaz2-dev + rm -f debian/files debian/substvars + rm -rf $(lib_tmp) $(dev_tmp) + +# Now the correct libbaz2-dev package +binary-correct: + install -d debian/libbaz2-dev/usr/lib + cp -a libbaz2.a libbaz2.so debian/libbaz2-dev/usr/lib + # usually, I'd also include some .h files to /usr/include + + # Now the correct libbaz2 package + install -d debian/libbaz2/usr/lib + cp -a libbaz2.so.* debian/libbaz2/usr/lib + chmod a-x debian/libbaz2/usr/lib/* + + # General stuff that is tested in other testsets: + dh_installdocs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_compress -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # Mess up the libbaz2 changelog files to test the symlink handling. + ln -s /usr/share/doc/lintian/changelog.gz \ + debian/libbaz2/usr/share/doc/libbaz2/changelog.gz + install -m 644 debian/changelog \ + debian/libbaz2-dev/usr/share/doc/libbaz2-dev/foo + ln -s foo debian/libbaz2-dev/usr/share/doc/libbaz2-dev/changelog + + # Okay, if either line is omitted, it should be noted + dh_strip --dbg-package=libbaz2-dbg -plibbaz2 -plibbaz2-dev + dh_makeshlibs -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_shlibdeps -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + + # and again, regular packaging stuff + dh_installdeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + echo udeb: libbaz2 1.0 libbaz2 >> debian/libbaz2/DEBIAN/shlibs + dh_gencontrol -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + dh_builddeb -plibbaz2 -plibbaz2-dev -plibbaz2-dbg + +# and the incorrect one +binary-arch: build-arch binary-correct + # first, the lib package + install -d $(lib_tmp)/usr/lib + # resp. no soname (check), wrong soname (check), and no-pic (check) + cp -a libbaz1.so.1.0* $(lib_tmp)/usr/lib + cp -a libbaz2.so.1.0.3b $(lib_tmp)/usr/lib/libfoo2.so.1.0.3b + install -m644 libbaz3.so.1.0.3b $(lib_tmp)/usr/lib/libbaz3.so.1.0.3b + # let's include the .a in the non-dev too (TODO) + # Also, libbaz1.a hasn't a symbol table (TODO) + cp -a *.a $(lib_tmp)/usr/lib + # And a wrong .so symlink (wrong, only in -dev, TODO) + ln -s libfoo3.so.0.9 $(lib_tmp)/usr/lib/libfoo3.so + # And a wrong .so.X symlink (wrong, should point to a real existing + # shlib, TODO) + ln -s libfoo.so.0.9.1 $(lib_tmp)/usr/lib/libfoo.so.0.9 + # And a plain .so (wrong, TODO) + touch $(lib_tmp)/usr/lib/libbar2.so + # And a non-versioned SONAME. + install -m644 libbaz.so $(lib_tmp)/usr/lib/libbaz.so + strip --remove-section=.comment --strip-unneeded $(lib_tmp)/usr/lib/libbaz.so + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(lib_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(lib_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + + install -d $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/copyright $(lib_tmp)/usr/share/doc/$(LIB) + install -m 644 debian/changelog $(lib_tmp)/usr/share/doc/$(LIB) + gzip -n -9 $(lib_tmp)/usr/share/doc/$(LIB)/changelog + install -d $(lib_tmp)/DEBIAN + install -m 755 debian/lib.postinst $(lib_tmp)/DEBIAN/postinst + install -m 755 debian/lib.prerm $(lib_tmp)/DEBIAN/prerm + touch $(lib_tmp)/usr/share/doc/README.Debian + #dpkg-shlibdeps $(lib_tmp)/usr/lib/libbaz.so.1.0 + install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs + install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols + dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp) + dpkg --build $(lib_tmp) .. + + # now the -dev package + install -d $(dev_tmp)/usr/include + install -d $(lib_tmp)/usr/lib + # let's also install the .so at the same time... (wrong, TODO) + cp -a *.a *.so.* $(lib_tmp)/usr/lib + # and fuck up permission (TODO) + chmod a+x $(lib_tmp)/usr/lib/*.a + # Pretend to be a Perl module to test a lack of Perl dependencies. + install -d $(dev_tmp)/$(VENDORARCH)/auto/Foo + install -m 644 libbaz2.so.1.0.3b $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + strip $(dev_tmp)/$(VENDORARCH)/auto/Foo/Foo.so + install -d $(dev_tmp)/usr/share/doc + ln -s $(LIB) $(dev_tmp)/usr/share/doc/$(DEV) + install -d $(dev_tmp)/DEBIAN + install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst + install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm + dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp) + dpkg --build $(dev_tmp) .. + + +binary: binary-arch + +# The mention of binary-indep here should be sufficient to suppress the +# warning that it's not present. +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/source.lintian-overrides b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/source.lintian-overrides new file mode 100644 index 0000000..6008d27 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/debian/source.lintian-overrides @@ -0,0 +1 @@ +libbaz source: maintainer-script-lacks-debhelper-token diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/fill-values new file mode 100644 index 0000000..7effe4f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-libbaz +Source: libbaz +Version: 1-1 +Default-Build-Depends: debhelper (>= 9.20151004~) +Description: Legacy test "libbaz" diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/Makefile b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/Makefile new file mode 100644 index 0000000..657dc2a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/Makefile @@ -0,0 +1,55 @@ +# This is the correct way to build a lib + +CC=gcc +CFLAGS=-g -Wall -Winline -O2 +LDFLAGS=-Wl,--no-as-needed + +OBJS=baz.o extra.o +SHOBJS=baz.sho extra.sho +NOPICOBJS = $(SHOBJS) + +all: libbaz1.a libbaz2.a libbaz1.so.1.0.3b libbaz2.so libbaz3.so.1.0.3b \ + libbaz.so + +libbaz2.so: libbaz2.so.1.0 + ln -sf $^ $@ +libbaz2.so.1.0: libbaz2.so.1.0.3b + ln -sf $^ $@ + +# Oops, forget the soname altogether +libbaz1.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared $^ -lc + +libbaz2.so.1.0.3b: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz2.so.1.0 $^ -lc + +# Non-PIC. We can't test this on all architectures +libbaz3.so.1.0.3b: $(NOPICOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz3.so.1 $^ -lc + +# Non-versioned SONAME. +libbaz.so: $(SHOBJS) + $(CC) $(LDFLAGS) -o $@ -shared -Wl,-soname,libbaz.so $^ -lc + +#%.o-noreentrant: %.c +# $(CC) $(LDFLAGS) $(CFLAGS) -o $@ -c $< + +%.sho: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -fPIC -o $@ -c $< + +%.o: %.c + $(CC) $(LDFLAGS) $(CFLAGS) -D_REENTRANT -o $@ -c $< + +libbaz2.a: $(OBJS) + ar cq $@ $(OBJS) + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ + ranlib $@ + +# The pic one in the .a (wrong), no archive table +libbaz1.a: $(SHOBJS) + ar cqS $@ $^ + strip --strip-unneeded --remove-section=.comment \ + --remove-section=-note $@ +clean: + rm -f *.a *.o *.so* *.sho diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/baz.c b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/baz.c new file mode 100644 index 0000000..4d5fc45 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/baz.c @@ -0,0 +1,6 @@ +#include <math.h> + +double pw(double p) +{ + return exp(p); +} diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/extra.c b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/extra.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/extra.c diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/desc b/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/desc new file mode 100644 index 0000000..d9f58c7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-libbaz +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/hints b/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/hints new file mode 100644 index 0000000..f068162 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/hints @@ -0,0 +1,2 @@ +libbaz (source): standards-version 3.2.1 +libbaz (source): out-of-date-standards-version 3.2.1 (released 2000-08-24) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/post-test new file mode 100755 index 0000000..29dc3f4 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-libbaz/eval/post-test @@ -0,0 +1,4 @@ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ +s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g +/: file-references-package-build-path / d diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..a12fc8c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/changelog.in @@ -0,0 +1,57 @@ +maintainer-scripts ([% $version %]) [% $distribution %]; urgency=low + + * Doing an upload for QA but I fail to give it a correct version number, + have some uploaders, and also fail to mention it... Bad me ;) + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:05:29 +0200 + +maintainer-scripts (6.1) unstable; urgency=low + + * I made this entry on my local PC, oops ;) + + -- Jeroen van Wolffelaar <jeroen@mordor> Sat, 21 Feb 2004 18:29:37 +0100 + +maintainer-scripts (6) unstable; urgency=low + + * added ldconfig calls to postrm to check test the postrm tests + from shared-libs + + -- Frank Lichtenheld <djpig@debian.org> Sat, 21 Feb 2004 18:29:36 +0100 + +maintainer-scripts (5) unstable; urgency=low + + * added bash style arrays to postinst, this one is for you Torsten (-: + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 30 Mar 2001 23:27:06 -0800 + +maintainer-scripts (4) unstable; urgency=low + + * added a here document to the prerm, along with two more bashisms + * made postrm a bash script to check that bash scripts are not searched + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Mon, 26 Feb 2001 13:02:57 -0800 + +maintainer-scripts (3) unstable; urgency=low + + * Added check for '.' called as '. foo || bar', lintian 1.11.15 failed this + thinking the '||' was a argument. + * also added an invalid call to '. foo bar' + * postinst now has a space between the #! and /bin/sh to test the interpreter + checking code. + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 9 Jan 2001 23:06:25 -0800 + +maintainer-scripts (2) unstable; urgency=low + + * Fix location of changelog. + * prerm and postrm do 'update-alternatives --remove'; should only complain + about postrm. + + -- Colin Watson <cjw44@flatline.org.uk> Fri, 29 Dec 2000 06:01:24 +0000 + +maintainer-scripts (1) unstable; urgency=low + + * Initial version + * postinst and prerm set the usr/doc symlink + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 16 Nov 2000 09:11:40 -0800 diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/control.in b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..63dd2db --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: maintainer-scripts +Section: misc +Priority: optional +Maintainer: QA group <packages@qa.debian.org> +Uploaders: Anyone but Jeroen <jeroen@wolffelaar.nl> +Build-Depends: [% $build_depends %] +Standards-Version: 3.1.1 +Rules-Requires-Root: binary-targets +XS-Dm-Upload-Allowed: Yes + +Package: maintainer-scripts +Architecture: [% $package_architecture %] +Depends: test +Description: test lintian's maintainer script checks + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postinst b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..e56ed3b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postinst @@ -0,0 +1,181 @@ +#! /bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/maintainer-scripts -a -d /usr/share/doc/maintainer-scripts ]; then + ln -sf ../share/doc/maintainer-scripts /usr/doc/maintainer-scripts + fi +fi + +# valid +. /usr/share/lintian/shell || exit 0 +. /usr/share/lintian/shell >/dev/null +. /usr/share/lintian/shell 2>/dev/null +. /usr/share/lintian/shell </dev/null +. "$(dirname $0)/shell" ; bar +# invalid +. /usr/share/lintian/shell foo +. "$(dirname $0)/shell" bar + +print "Hit enter to continue" +read + +H[0]='this is a string' +echo ${H[0]} +echo "Index 0's length is ${#H[0]}" +echo "All of the array is: ${H[@]}" + +install-info /usr/share/info/foo \ + --quiet \ # make it so + --section foo + +echo Please use update-rc.d or invoke-rc.d to set up blah blah. + +chown root.root /usr/share/doc/maintainer-scripts/changelog +chown root:root /usr/share/doc/maintainer-scripts/changelog + +$FOO=bar +update-rc.d foo defaults >/dev/null +update-rc.d $FOO defaults +update-rc.d foo remove + +# valid +FOO=/tmp +FOO=/var/tmp +: ${FOO:=/tmp} +FOO=`mktemp /tmp/scripts.XXXXXX` +rm "$FOO" +FOO=`tempfile -n/tmp/scripts.tmp` +mkdir /var/tmp/scripts +FOO="/tmp/false.positive.XXXXXX" +# invalid +echo foo >>/tmp/scripts.tmp +rm /tmp/scripts.tmp +rmdir /var/tmp/scripts + +# invalid, maintainer-script-hides-init-failure +invoke-rc.d foo start || exit 0 + +# The right way to invoke an rc script +if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d package start +else + /etc/init.d/package start +fi + +# Example ucf invocation. +ucf /usr/share/foo/configuration /etc/foo.conf + +# Calling gconftool directly. +gconftool-2 --makefile-install-rule foo.schema + +# Calling gconf-schemas with no dependency. +gconf-schemas --register foo.schema + +# Calling update-xmlcatalog with no dependency. +update-xmlcatalog --add --type system --id "/usr/share/sgml/dtd/foo" \ + --package maintainer-scripts --root + +# Maintainer scripts shouldn't touch /var/lib/dpkg/status. This is the old +# recipe from the dpkg wiki that should be replaced with dpkg-query. +sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' /etc/conffile'{s/.* //;p}}\" \ + /var/lib/dpkg/status + +# Don't modify these files. +echo 'broken 6714/tcp' >> /etc/services +cp /nonexistent /etc/protocols +mv /usr/share/doc/rpc /etc/rpc + +# But this is okay. +cp /etc/protocols /etc/protocols.new + +# This is also wrong. +echo 'broken' > /etc/inetd.conf +cp /etc/inetd.conf.new /etc/inetd.conf + +# But this is fine. +cp /etc/inetd.conf /srv/chroot/etc/inetd.conf + +# Deprecated +install-sgmlcatalog --install package +install-sgmlcatalog --remove package + +# This too is a heredoc. +some-program > /etc/config-file <<'EOF' +echo "All of the array is: ${H[@]}" +EOF + +# But this isn't. +cat '<<EOF' +echo "All of the array is: ${H[@]}" +EOF + +# This is a heredoc +cat <<-EOF +echo "All of the array is ${H[@]}" +EOF + +# As is this +cat <<';' +echo "All of the array is ${H[@]}" +; + +# and this +cat <<foo +echo "All of the array is ${H[@]}" +foobar +echo $HOSTNAME +foo + +# and again +cat <<\bar +echo "All of the array is ${H[@]}" +bar + +# yet another +cat <<"x++" +echo "All of the array is ${H[@]}" +x++ + +# Recognize single quotes even if they start at the beginning of a line. +echo not a bashism \ +'/{ptex,tex}/{amstex,plain,generic,}' + +# More bashisms. +echo -e 'foo\n' +echo "${!foo}" +cat $(\< file) +select foo in a b ; do echo $foo ; done +cnt=$((cnt + 1)) +if false ; then + exec -l /bin/sh + exec -c /bin/sh + exec -a foo /bin/sh +fi +let cnt++ +if test -a /etc/default ; then + echo "$RANDOM|stuff" +fi + +# Calling start-stop-daemon directly in an init script. +start-stop-daemon --start --quiet --name foo --startas /usr/bin/foo + +# But stopping it is fine -- we may be working around something else. +start-stop-daemon --stop --quiet --name foo --startas /usr/bin/foo + +# Deprecated chown use with flags. +chown -R root.root /usr/share/doc/maintainer-scripts + +case $mainscript in + /usr/bin/foo) foobarbaz;; +esac + +/usr/bin/baz; echo bar + +# Some comment checking +# This should flag $RANDOM +test $# -gt 2 && echo $RANDOM +# But these shouldn't +test 1=1 # echo $RANDOM +(test 1=1)# echo $RANDOM +test 1=1;# echo $RANDOM +backgroundtask &#echo $RA diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postrm b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..c0aaf19 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/postrm @@ -0,0 +1,47 @@ +#!/bin/bash +#set -e + +update-alternatives --remove dummy /usr/bin/dummy-alternative + +# Normally read in a maintainer script is not kosher, but here we're going +# to do it only if debconf doesn't exist. +if ! test -f /usr/share/debconf/confmodule ; then + echo "Hit enter" + read +fi + +# neither of the following should be detected as postrm-unsafe-ldconfig +# intended, without quotes + if [ "$1" = remove ]; then + ldconfig + fi +# reversed, many whitespace +if [ 'remove' = "$1" ] +then + + ldconfig +fi + +[ "remove" ="$1" ] && ldconfig + +update-rc.d bar remove + +# Shouldn't provoke an error despite no invoke-rc.d. +echo "/etc/init.d/package stop to stop something" + +# Shouldn't require a ucf dependency. Unfortunately, right now that's +# just because postrm isn't checked, not because we ensure that the +# invocation is conditional. +if which ucf >/dev/null; then + ucf --purge /etc/foo.conf +fi + +# This isn't allowed. +rm /tmp/foo /dev/device +rm /dev/device1 + +# But this is okay. +rm /tmp/foo > /dev/null + +# Not allowed here even with remove. +install-sgmlcatalog --remove package diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/preinst b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..6058978 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/preinst @@ -0,0 +1,18 @@ +#!/bin/sh + +update-rc.d foo remove +update-rc.d bar defaults + +# Obsolete dpkg assertions. +dpkg --assert-support-predepends || exit 1 +dpkg --assert-working-epoch || exit 1 +dpkg --assert-long-filenames || exit 1 +dpkg --assert-multi-conrep || exit 1 + +/bin/grep -E --mmap "^Package: foo$" /var/lib/dpkg/status + +# continuation lines +update-alternatives --install /usr/bin/fakeroot fakeroot \ + /usr/bin/fakeroot-ng 5 \ + --slave /usr/share/man/man1/fakeroot.1.gz \ + fakeroot.1.gz /usr/share/man/man1/fakeroot-ng.1.gz diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/prerm b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/prerm new file mode 100644 index 0000000..076ecaf --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/prerm @@ -0,0 +1,188 @@ +#!/bin/sh + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove dummy /usr/bin/dummy-alternative +fi + +if ([ "$1" = "upgrade" ] || [ "$1" = "remove" ]) && [ -L /usr/doc/maintainer-scripts ]; the +n + rm -f /usr/doc/maintainer-scripts +fi + +cat <<EOF +This is all really bad bash specific code!!! +read +source /bar/baz/bat foo +EOF + +# ok, back to checking +if [ "$2" == "purge" ]; then + rm -r /bar/baz +fi + +function foo( ) { + # but not here: local + local bar + echo "foo" &>/dev/null +} + +source $FOO + +trap "echo hi" EXIT HUP 3 + +if [[ "$2" = "purge" ]]; then + kill -HUP $$ +fi + +#this is ok though +if test -n $(echo foo | perl -pe 's/[[:space:]]//go'); then + echo 1 +fi + +update-rc.d foo remove + +# More false positives for bashism checks. None of these are errors. +echo "$line" | grep -q '{fonts/map,}/{\$progname,pdftex,dvips,}//' +echo "$line" | grep -q "${fonts},${foo}" +echo '$[1+2]' +printf "foo |& bar" +perl -e "print q( kill -HUP $? )" + +# Still catch disallowed expansions in double-quotes, though. +echo "${line:3:1}" + +# The wrong way to run an init script (no invoke-rc.d). +/etc/init.d/package stop + +# This is the only install-sgmlcatalog call that's allowed. +install-sgmlcatalog --quiet --remove package + +# More bashisms checks + +read -x foo +read -x +read -r foo +read foo +read + +echo "a\\b" +echo 'a\nb' + +echo "${UID}" +echo "$EUID" +echo "$SHLVL" +echo "$DIRSTACK" +echo "$SECONDS" +echo "$BASH" +echo "$BASH_FOO" +echo "$SHELLOPTS" +echo "$PIPESTATUS" + +bar="$(cut '-d|' -f2 <<< "$foo")" + +VAR=1 +VAR+=a + +echos() { + echo -n -e "bar" + echo -e -n "bar" + echo -en "bar" + echo -ne "bar" + echo "bar" + echo "echo -e foo" +} + +ech.os() { + echo foo >& 2 + echo foo >&bar + echo foo >& bar +} + +echoes() { + echo "abc\nxyz" + echo 'xyz\rabc' + echo foo\cbar + + echo -e "abc\nxyz" + echo -net 'xyz\rabc' + echo -e foo\cbar +} + +foobar.() { + suspend x + suspended x + caller x + complete x + compgen x + declare -a foo +} + +.foobar() { + typeset -x bar + disown 1 + builtin foo + set -B + alias -p + unalias -a +} + +IFS="()" + +ulimit +shopt +type -v bar +time ls +dirs +diff <(tac a) <(tac b) + +pushd + +local foo=bar +local -x foo + +popd + +readonly -f + +echo bar > /dev/tcp +export x +export -x x +export -p x + +sh -x +sh -D +sh --foo +sh +O + +# Brace expansion checks +echo {a,b} +echo {abc},{bcd} + +foobar() +{ + # This is a function +} + + foo.bar() +( + # This is a function with a bad name +) + +foobar@() +{ + # As is this +} + +# This is ok +read -r foo +# but these aren't +read -r +read -p "Would you like to restart the service?" foo bar +read --fish + +set -e + +source "$BAR" +source '$BAR' +source ~/bar +source a diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/rules new file mode 100755 index 0000000..5fcef00 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + install -m 0755 debian/preinst debian/tmp/DEBIAN + install -m 0755 debian/postinst debian/tmp/DEBIAN + install -m 0755 debian/prerm debian/tmp/DEBIAN + install -m 0755 debian/postrm debian/tmp/DEBIAN + install -m 0644 debian/triggers debian/tmp/DEBIAN + install -d debian/tmp/usr/share/doc/maintainer-scripts + install -m 0644 debian/changelog \ + debian/tmp/usr/share/doc/maintainer-scripts/changelog + gzip -n -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-arch binary-indep + +# Make sure we see dh_clean even in a rule clean depends on. Not the point of +# this test suite, but a convenient place to put it. +clean: clean1 clean2 clean3 +clean1: +clean2: + dh_clean +clean3: + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/triggers b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/triggers new file mode 100644 index 0000000..f627094 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/triggers @@ -0,0 +1,4 @@ +# Example triggers file +activate foo + +interest bar diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/watch new file mode 100644 index 0000000..430eea3 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/debian/watch @@ -0,0 +1,11 @@ +# A whitespace is fine for uscan: + version=5 + +# Following line should not be matched: +#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \ +# Following one is incorrect, there's a missing backslash at the end +opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/ + +# 'active' is useless here, but it works anyway +options=active \ +http://domain.tld/foo-(.+)\.tar\.gz
\ No newline at end of file diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/fill-values new file mode 100644 index 0000000..c281e87 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Skeleton: upload-non-native +Testname: legacy-maintainer-scripts +Source: maintainer-scripts +Version: 7+dfsg-0.1 +Description: Legacy test "maintainer-scripts" +Extra-Build-Depends: dash (>= 0.5.10.2) diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/desc b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/desc new file mode 100644 index 0000000..f5db267 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-maintainer-scripts +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/hints b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/hints new file mode 100644 index 0000000..93c1a8f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/hints @@ -0,0 +1,2 @@ +maintainer-scripts (source): standards-version 3.1.1 +maintainer-scripts (source): out-of-date-standards-version 3.1.1 (released 1999-11-16) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-maintainer-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/changelog.in new file mode 100644 index 0000000..9a82ea7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/changelog.in @@ -0,0 +1,33 @@ +relations ([% $version %]) [% $distribution %]; urgency=low + + * I'm orphaning this package -- I'm sick of it: it's completely broken, + lintian complains all over the place. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 02 Dec 2007 15:59:59 -0800 + +relations (4) unstable; urgency=low + + * Added a package that tests dependencies for multiple versions of + libraries, and test some description stuff in there as well. + + -- Josip Rodin <jrodin@jagor.srce.hr> Fri, 29 Nov 2002 20:13:33 +0100 + +relations (3) unstable; urgency=low + + * Added a virtual provides to test against my virtual depends without + a real package first test + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Thu, 8 Feb 2001 11:29:53 -0800 + +relations (2) unstable; urgency=low + + * Added a depends on dpkg (violates policy) and a versioned depends + on bash (follows policy) + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Fri, 2 Feb 2001 12:37:17 -0800 + +relations (1) unstable; urgency=low + + * Initial version + + -- Richard Braakman <dark@xs4all.nl> Tue, 7 Jul 1998 16:27:56 +0200 diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/control b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/control new file mode 100644 index 0000000..6cd1c04 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/control @@ -0,0 +1,51 @@ +Source: relations +Section: misc +Priority: optional +Build-Depends: mail-transport-agent, libc6-dev, findutils, foo (= 3) [!amd64 !i386], bar, arch-test1 [i386], arch-test2 [!i386], quilt (>= 0.40), perl +Build-Depends-Indep: make, bash, debmake, build-essential, baz (= 2.0), ghostscript | gs, + car (>= 1.0), car (<= 2.0), caz (= 1.0) [amd64], caz (>= 2.0) [i386], + caz (= 2.0) [powerpc], perl (>= 5.0), foo (<< 4) [!amd64 !i386], libfoo (>= 1.2-1), bozzle [kfreebsd-i386] +Build-Conflicts: foo [amd64 i386], bar [alpha test], xlibs-dev, arch-test1 [powerpc], arch-test2 [!sparc] +Build-Conflicts-Indep: debmake [!powerpc] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: 3.7.3 +Homepage: lintian.debian.org +Origin: Debian +Bugs: debbugs://bugs.debian.org/ + +Package: relations +Architecture: all +Section: contrib/misc +Pre-Depends: awk|gawk +Depends: relations(<< 3), dpkg, bash (>> 2.0 ), mail-transport-agent, gawk | awk, foo (>> 2.0), foo (<< 2.2), coreutils, ,null (>= 0), ${misc:Depends}, makedev +Provides: mail-reader +Replaces: relations +Conflicts: foobar (<< 5+5), foo, relations, + gnuwdf, +Suggests: alpha, gnu (>= 44-3-4-8-11.4) | ung (<< 89beta) | nug | ngu, beta, some-other-package +Recommends: emacs21 | emacsen, dpkg, null, some-other-package, ${f-oo:b-ar}, gs | ghostscript | gs-aladdin +Description: Strange dependency relationships (dummy) + This package declares relationships designed to tickle lintian's "fields" + check. It should generate a number of tags for these. + . + The package is built with "dpkg --build --no-check", because some of the + relationships used here are normally rejected by dpkg. + +Package: relations-multiple-libs +Architecture: all +Section: non-free/misc +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3, xorg, ${shlibs:Depends}, makedev | udev +Provides: awk +Enhances: foo +Recommends: ${shlibs:Depends}, relations-multiple-libs, gs | gs-gpl, makedev +Breaks: libpng3 (<< 1.0), libpng2 +Suggests: x-dev, ghostscript | gs +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. + This tests the depending on different versions of the same library + at the same time. + . + At the same time, it conveniently tests some description file checks. :) + . + It is a metapackage from the lintian perspective, so the xorg dependency + should be allowed. diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/rules new file mode 100755 index 0000000..5027f33 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Copyright (C) 1998 Richard Braakman +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, you can find it on the World Wide +# Web at https://www.gnu.org/copyleft/gpl.html, or write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d debian/tmp/DEBIAN + dpkg-gencontrol -prelations -isp + dpkg --build debian/tmp ../relations_5_all.deb + install -d debian/tmp/usr/share/doc/ + ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs + dpkg-gencontrol -prelations-multiple-libs -isp + dpkg --build debian/tmp ../relations-multiple-libs_5_all.deb + +binary: binary-arch binary-indep + +clean:: + rm -rf debian/tmp debian/files + +# Test allowing quilt Build-Depends for manual quilt invocations. + TESTING=foo ANOTHER=bar quilt || true + +# Test requiring perl Build-Depends for manual perl invocations. + [ ! -f Build ] || $(PERL) Build distclean + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/tmp/DEBIAN/control b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/tmp/DEBIAN/control new file mode 100644 index 0000000..87e7fe6 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/debian/tmp/DEBIAN/control @@ -0,0 +1,14 @@ +Package: relations-multiple-libs +Version: 4 +Section: misc +Priority: optional +Architecture: all +Depends: libstdc++2.10, libstdc++2.10-glibc2.2, libstdc++3.0, tk8.2, tk8.3, tcl8.0, tcl8.2, tkx8.2, tkx8.3, tclx8.2, libpng2, libpng3 +Installed-Size: 12 +Maintainer: Lintian Maintainer <lintian-maint@debian.org> +Source: relations +Description: Duplicate library dependency relationships. + Duplicate library dependency relationships. This tests the depending on + different versions of the same library at the same time. + . + At the same time, it conveniently tests some description file checks. :) diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/fill-values new file mode 100644 index 0000000..7e4661b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: legacy-relations +Source: relations +Version: 5 +Description: Legacy test "relations" diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/eval/desc b/t/recipes/checks/fields/standards-version/legacy-relations/eval/desc new file mode 100644 index 0000000..77b29bb --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-relations +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/eval/hints b/t/recipes/checks/fields/standards-version/legacy-relations/eval/hints new file mode 100644 index 0000000..a6b7706 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/eval/hints @@ -0,0 +1,2 @@ +relations (source): timewarp-standards-version (2007-12-02 < 2007-12-03) +relations (source): standards-version 3.7.3 diff --git a/t/recipes/checks/fields/standards-version/legacy-relations/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-relations/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-relations/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/changelog.in new file mode 100644 index 0000000..935c633 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/changelog.in @@ -0,0 +1,41 @@ +scripts ([% $version %]) [% $distribution %]; urgency=low + + * I'm also not able to write my name. + * Added a script in /etc/Xsession.d + * Bizarre version number courtesy of + https://wiki.ubuntu.com/SecurityUpdateProcedures#Prepare + + -- Mark 'HE' Brokschmitt <he@debian.org> Thu, 23 Jun 2005 14:32:39 +0200 + +scripts (5-1) unstable; urgency=low + + * I'm making a typo in my own name... And I want lintian to warn me about + it. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 02:26:34 +0200 + +scripts (4-1) unstable; urgency=low + + * Add new example to check that not executable files with a shebang line + called *in don't trigger the script-not-executable warning. + + -- Marc 'HE' Brockschmidt <he@debian.org> Wed, 14 Apr 2004 19:44:04 +0200 + +scripts (3-3) unstable; urgency=low + + * Add suidperlfoo and some code in debian/rules to + check the new suidperl checks + + -- Frank Lichtenheld <djpig@debian.org> Wed, 31 Mar 2004 21:06:20 +0000 + +scripts (2-1) unstable; urgency=low + + * Add tkfoo script for tk checkings + + -- Lintian Maintainers <lintian-maint@debian.org> Sat, 21 Feb 2004 17:13:36 +0100 + +scripts (1-0) unstable; urgency=low + + * Initial version + + -- Lintian Maintainers <lintian-maint@debian.org> Sat, 10 Feb 2001 15:37:31 -0800 diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/control.in b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/control.in new file mode 100644 index 0000000..75a521f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: scripts +Section: interpreters +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Jeroen van Wolfelaar <jeroen@wolffelaar.nl>, Marc 'HE' Brockschmidt <he@debian.org> +Build-Depends-Indep: dpatch +Standards-Version: 3.2.1 + +Package: scripts +Architecture: [% $package_architecture %] +Depends: test, ruby1.8, build-essential, libssl0.9.7, php7.0-cli +Recommends: tk8.4 | wish +Description: test lintian's script file checks + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/copyright b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/copyright new file mode 100644 index 0000000..ad8a119 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/copyright @@ -0,0 +1,5 @@ +This file contains the phrase "under the same terms as Perl itself" to +trigger warnings about not having common-licenses references. + +This file contains the phrase "public domain" which should suppress +warnings about no copyright date. diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list new file mode 100644 index 0000000..3b9d37e --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list @@ -0,0 +1,11 @@ +01_not_here_right_now.dpatch + +# some comment +/* some more + elaborate comment + which needs DPATCH_OPTION_CPP=1 + */02_i_dont_have_a_description.patch 03_specified_without_dpatch + +// and again a comment + +04_i_dont_have_a_description_either.patch diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list.sparc b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list.sparc new file mode 100644 index 0000000..8b47ab3 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00list.sparc @@ -0,0 +1 @@ +01_some_other_patch_thats_not_in_the_package.dpatch diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00options b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00options new file mode 100644 index 0000000..57ffeb6 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/00options @@ -0,0 +1 @@ +DPATCH_OPTION_CPP=1 diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch new file mode 100644 index 0000000..9279c1b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/02_i_dont_have_a_description.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_i_dont_have_a_description.patch.dpatch by Marc 'HE' Brockschmidt <Marc 'HE' Brockschmidt <he@debian.org>> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch new file mode 100644 index 0000000..8303ac6 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/03_specified_without_dpatch.dpatch @@ -0,0 +1,5 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## All lines beginning with `## DP:' are a description of the patch. +## DP: Listed in 00list without .dpatch suffix. + +@DPATCH@ diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch new file mode 100644 index 0000000..b603f16 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/patches/04_i_dont_have_a_description_either.patch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_i_dont_have_a_description_either.patch by Adam D. Barratt <adam@adam-barratt.org.uk> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: + +@DPATCH@ diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ -x "/etc/init.d/lsb-broken" ] ; then + update-rc.d lsb-broken defaults >/dev/null +fi +if [ -x "/etc/init.d/no-lsb" ] ; then + update-rc.d no-lsb defaults >/dev/null +fi +if [ -x "/etc/init.d/skeleton" ] ; then + update-rc.d skeleton defaults >/dev/null +fi +if [ -x "/etc/init.d/lsb-other" ] ; then + update-rc.d lsb-other defaults >/dev/null +fi diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postrm b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postrm new file mode 100644 index 0000000..8fa75a2 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = purge ] ; then + update-rc.d lsb-broken remove >/dev/null + update-rc.d no-lsb remove >/dev/null + update-rc.d skeleton remove >/dev/null + update-rc.d lsb-other remove >/dev/null + update-rc.d lsb-other remove >/dev/null +fi diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/preinst b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/preinst new file mode 100644 index 0000000..0799557 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +set -x + +# +# Some comments here +# + +# This serves as an example of an "empty" script, so +# please do not add any real code here, thank you :) + +#DEBHELPER# + +exit 0 diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/rules b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/rules new file mode 100755 index 0000000..ee3677e --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + echo "Hi, in an arch: all package, I am a bug!" + +build-indep: + +build: build-arch build-indep + +binary-arch: + echo "Hi, in an arch: all package, I am a bug!" + +binary-indep: + install -d $(tmp)/usr/bin/ + install -d $(tmp)/etc/X11/Xsession.d/ + install -d $(tmp)/etc/init.d/ + install -d $(tmp)/etc/csh/login.d/ + install -d $(tmp)/etc/fish.d/ + install -d $(tmp)/usr/share/scripts/ + install -d $(tmp)/usr/share/doc/scripts/ + install -d $(tmp)/usr/lib/cgi-bin + install -d $(tmp)/usr/src/scripts + install -d $(tmp)/DEBIAN + + install -m 755 csh-foo $(tmp)/etc/csh/login.d/ + install -m 755 envfoo $(tmp)/usr/bin/ + install -m 755 fish-foo $(tmp)/etc/fish.d/ + install -m 755 jruby-broken $(tmp)/usr/bin/ + install -m 755 perlfoo $(tmp)/usr/bin/ + install -m 755 rubyfoo $(tmp)/usr/bin/ +# This doesn't use "env" but should also trigger script-in-usr-share-doc + install -m 755 rubyfoo $(tmp)/usr/share/doc/scripts/ + install -m 755 make-foo $(tmp)/usr/bin/ + install -m 755 lefty-foo $(tmp)/usr/bin/ + install -m 4751 perlfoo $(tmp)/usr/bin/suidperlfoo2 + install -m 755 sh-broken $(tmp)/usr/bin/ + install -m 4555 suidperlfoo $(tmp)/usr/bin/ + install -m 755 tkfoo $(tmp)/usr/bin/ + install -m 755 wishfoo $(tmp)/usr/bin/ + install -m 644 xsession-test $(tmp)/etc/X11/Xsession.d/ + +# Permissions here aren't part of what's being tested, but let us exercise +# some other errors. + install -m 755 perl-bizarre-1 $(tmp)/usr/bin/ + install -m 750 perl-bizarre-2 $(tmp)/usr/bin/ + install -m 754 perl-bizarre-3 $(tmp)/usr/bin/ + install -m 705 guile-bizarre $(tmp)/usr/bin/ + +# First one should produce a warning; second one shouldn't. + install -m 755 gccbug.dpatch $(tmp)/usr/share/scripts/ + install -m 755 gccbug.dpatch $(tmp)/usr/src/scripts/ + + install -m 644 init-skeleton $(tmp)/etc/init.d/skeleton + install -m 755 init-no-lsb $(tmp)/etc/init.d/no-lsb + install -m 755 init-lsb-broken $(tmp)/etc/init.d/lsb-broken + install -m 755 init-lsb-other $(tmp)/etc/init.d/lsb-other + + install -m 755 phpfoo $(tmp)/usr/share/scripts/ + sed 's/php$$/php7.0/' phpfoo > $(tmp)/usr/share/scripts/php7.0foo + chmod 755 $(tmp)/usr/share/scripts/php7.0foo + + install -m 755 phpenvfoo $(tmp)/usr/share/scripts/ + sed 's/php$$/php7.0/' phpenvfoo > $(tmp)/usr/share/scripts/php7.0envfoo + chmod 755 $(tmp)/usr/share/scripts/php7.0envfoo + + echo "#!/usr/bin/perl" >> $(tmp)/usr/share/scripts/foobar.in + chmod 644 $(tmp)/usr/share/scripts/foobar.in + + touch $(tmp)/usr/share/scripts/mono.exe + chmod 755 $(tmp)/usr/share/scripts/mono.exe + + echo "#!/bin/sh" > $(tmp)/usr/share/scripts/foo\$$bar + chmod 755 $(tmp)/usr/share/scripts/foo\$$bar + + echo "#!/bin/sh" > $(tmp)/usr/lib/cgi-bin/cgi-script + chmod 755 $(tmp)/usr/lib/cgi-bin/cgi-script + + echo "#!/bin/sh" > $(tmp)/usr/bin/test.sh + chmod 755 $(tmp)/usr/bin/test.sh + + + dh_testroot # dummy to test missing debhelper dependency + + + install -m 644 debian/changelog $(tmp)/usr/share/doc/scripts/changelog.Debian + gzip -n -9 $(tmp)/usr/share/doc/scripts/changelog.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/scripts/copyright + + install -m 644 debian/scripts.conffiles $(tmp)/DEBIAN/conffiles + install -m 755 debian/preinst $(tmp)/DEBIAN/preinst + install -m 755 debian/postinst $(tmp)/DEBIAN/postinst + install -m 755 debian/postrm $(tmp)/DEBIAN/postrm + touch $(tmp)/DEBIAN/prerm + chmod 755 $(tmp)/DEBIAN/prerm + dpkg-gencontrol -isp + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/scripts.conffiles b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/scripts.conffiles new file mode 100644 index 0000000..01a371a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/scripts.conffiles @@ -0,0 +1,6 @@ +/etc/init.d/lsb-broken +/etc/init.d/lsb-other +/etc/init.d/no-lsb +/etc/X11/Xsession.d/xsession-test +/etc/csh/login.d/csh-foo +/etc/fish.d/fish-foo diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/watch b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/watch new file mode 100644 index 0000000..dba5815 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/watch @@ -0,0 +1,8 @@ +# watch file with upstream version mangling + +version=2 +opts="uversionmangle=s/$/ds/" \ +http://qa.debian.org/watch/sf.php?project=foo scripts\.([\d.]+)\.tar\.gz debian uupdate + +version=3 +http://ftp.sf.net/foo/foo_bar(.+)\.Z 5 uupdate
\ No newline at end of file diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/fill-values b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/fill-values new file mode 100644 index 0000000..8a68457 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: legacy-scripts +Source: scripts +Version: 6ds-1ubuntu0.5.10.1 +Package-Architecture: all +Skeleton: upload-non-native +Description: Legacy test "scripts" diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/csh-foo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/csh-foo new file mode 100644 index 0000000..eaf47a1 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/csh-foo @@ -0,0 +1,2 @@ +#! /bin/csh + diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/envfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/envfoo new file mode 100755 index 0000000..e005037 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/envfoo @@ -0,0 +1,4 @@ +#! /bin/env python + +if __name__ == '__main__': + print 'Hi there' diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/fish-foo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/fish-foo new file mode 100644 index 0000000..7f59139 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/fish-foo @@ -0,0 +1,2 @@ +#! /usr/bin/fish + diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/gccbug.dpatch b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/gccbug.dpatch new file mode 100755 index 0000000..65cbf37 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/gccbug.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh -e + +# DP: Use sensible-editor instead of vi as fallback editor + +# Taken from gcc-4.1-source. Chokes bash -n (due to the patch) despite being +# a valid dpatch, so don't warn about it if it's in /usr/src. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- gcc/gccbug.in~ 2003-03-01 00:51:42.000000000 +0100 ++++ gcc/gccbug.in 2003-03-02 12:08:36.000000000 +0100 +@@ -134,7 +134,7 @@ + # If they don't have a preferred editor set, then use + if [ -z "$VISUAL" ]; then + if [ -z "$EDITOR" ]; then +- EDIT=vi ++ EDIT=/usr/bin/sensible-editor + else + EDIT="$EDITOR" + fi diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/guile-bizarre b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/guile-bizarre new file mode 100644 index 0000000..70e2c74 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/guile-bizarre @@ -0,0 +1,6 @@ +#! /bin/sh +# -*- scheme -*- +exec guile -s $0 $* +# Seen in the wild as build-guile-gtk in libguilegtk-1.2-dev (0.31-5.1) +# Tests script_is_evil_and_wrong +!# diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-broken b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-broken new file mode 100644 index 0000000..e4dfa92 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-broken @@ -0,0 +1,34 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bad-lsb +# Required-Start: $local_fs $remote_fs +# Required-Stop: +# Default-Start: 1 2 3 4 5 +# Default-Stop: S 0 1 6 X +# Short-Description: Example Lintian initscript +# but this can't be continued +# Description: An example of a bad LSB section in an init script. +# This continuation is allowed (with spaces). +# This one is too (with tabs). +# X-Debian-Foo: Some unknown but valid keyword. +# Foo: Some invalid keyword. + +# Whoops, no terminating line. + +# And then we have this duplicate section. +### BEGIN INIT INFO +# Required-Start: This one doesn't count. +### END INIT INFO + +# Hey, look at all of those missing actions! But stop isn't missing. +case "$1" in + start|stop) + echo "Blah" + ;; + *) + echo "Usage: foo start" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-other b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-other new file mode 100644 index 0000000..adb4795 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-lsb-other @@ -0,0 +1,22 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: lsb-other +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Description: This is another LSB script test, which has a missing +# Short-Description. +### END INIT INFO + +case "$1" in + start|stop|restart|reload|force-reload) + echo "Blah" + ;; + *) + echo "Usage: foo start" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-no-lsb b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-no-lsb new file mode 100644 index 0000000..6b994dd --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-no-lsb @@ -0,0 +1,17 @@ +#! /bin/sh +# No LSB section, but otherwise okay. (Well, the messages are bad, but we +# don't check that yet.) + +case "$1" in + start) + echo "Blah starting" + ;; + stop) + echo "Blah stopping" + ;; + restart|force-reload) + echo "Blah restarting" + ;; +esac + +: diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-skeleton b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-skeleton new file mode 100644 index 0000000..c868508 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/init-skeleton @@ -0,0 +1,150 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: skeleton +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Example Lintian initscript +# Description: This file should be used to construct scripts to be +# placed in /etc/init.d. +### END INIT INFO + +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/usr/sbin:/usr/bin:/sbin:/bin +DESC="Description of the service" +NAME=daemonexecutablename +DAEMON=/usr/sbin/$NAME +DAEMON_ARGS="--options args" +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Load the VERBOSE setting and other rcS variables +[ -f /etc/default/rcS ] && . /etc/default/rcS + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ + $DAEMON_ARGS \ + || return 2 + # Add code here, if necessary, that waits for the process to be ready + # to handle requests from services started subsequently which depend + # on this one. As a last resort, sleep for some time. +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + # If the above conditions are not satisfied then add some other code + # that waits for the process to drop all resources that could be + # needed by services started subsequently. A last resort is to + # sleep for some time. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + [ "$?" = 2 ] && return 2 + # Many daemons don't delete their pidfiles when they exit. + rm -f $PIDFILE + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME + return 0 +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + #reload|force-reload) + # + # If do_reload() is not implemented then leave this commented out + # and leave 'force-reload' as an alias for 'restart'. + # + #log_daemon_msg "Reloading $DESC" "$NAME" + #do_reload + #log_end_msg $? + #;; + restart|force-reload) + # + # If the "reload" option is implemented then remove the + # 'force-reload' alias + # + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/jruby-broken b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/jruby-broken new file mode 100644 index 0000000..56f574d --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/jruby-broken @@ -0,0 +1,2 @@ +#!/usr/bin/jruby +# There's no non-versioned jruby, so this should be an error. diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/lefty-foo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/lefty-foo new file mode 100644 index 0000000..52c003e --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/lefty-foo @@ -0,0 +1,2 @@ +#!/usr/local/bin/lefty + diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/make-foo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/make-foo new file mode 100644 index 0000000..6b787b5 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/make-foo @@ -0,0 +1,3 @@ +#!/usr/bin/make + + diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-1 b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-1 new file mode 100644 index 0000000..fc632c8 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-1 @@ -0,0 +1,11 @@ +#! /bin/sh +eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \ +;exec perl -x -S -- "$0" ${1+"$@"};#'if 0; +eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+ +#!perl -w +package Htex::a2ping; $0=~/(.*)/s;unshift@INC,'.';do($1);die$@if$@;__END__+if !1; +# This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003. +# Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib + +# The above was actually seen in the wild and stresses the +# script_is_evil_and_wrong test. diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-2 b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-2 new file mode 100644 index 0000000..afd9cfe --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-2 @@ -0,0 +1,7 @@ +#!/bin/sh +eval 'exec /usr/bin/perl -wS $0 ${1+"$@"}' + if $running_under_some_shell; + +# I'm someone following perlrun except without using the Perl #! line. +# Now something to choke bash. +while (<>) { if (/%#/) { print } } diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-3 b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-3 new file mode 100644 index 0000000..44baf75 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perl-bizarre-3 @@ -0,0 +1,6 @@ +eval '(exit $?0)' && eval 'exec perl -wS $0 ${1+"$@"}' +& eval 'exec /usr/bin/perl -wS $0 $argv:q' + if $running_under_some_shell; + +# More utterly bizarreness from perlrun. This one even doesn't work if +# there's a valid #! line on the first line. I don't understand why.... diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perlfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perlfoo new file mode 100644 index 0000000..5b27ed0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/perlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/perl + +print "Hello, World!"; diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpenvfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpenvfoo new file mode 100644 index 0000000..cbbfb2e --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpenvfoo @@ -0,0 +1,7 @@ +#!/usr/bin/env php +<html> +<head> +<title>Dumb PHP script</title> +</head> +<body><? print(Date("l F d, Y")); ?></body> +</html> diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpfoo new file mode 100644 index 0000000..e0595e6 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/phpfoo @@ -0,0 +1,7 @@ +#!/usr/bin/php +<html> +<head> +<title>Dumb PHP script</title> +</head> +<body><? print(Date("l F d, Y")); ?></body> +</html> diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/rubyfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/rubyfoo new file mode 100644 index 0000000..8024605 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/rubyfoo @@ -0,0 +1,4 @@ +#!/bin/ruby1.8 + +# Ok, that example is really pathetic, but until we have +# some better code in checks/scripts, it will do diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/sh-broken b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/sh-broken new file mode 100644 index 0000000..7b79074 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/sh-broken @@ -0,0 +1,2 @@ +#!/bin/sh +if fi diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/suidperlfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/suidperlfoo new file mode 100644 index 0000000..bcbc471 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/suidperlfoo @@ -0,0 +1,3 @@ +#! /usr/bin/suidperl + +print "Hello, World!"; diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/tkfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/tkfoo new file mode 100755 index 0000000..533595a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/tkfoo @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Insane amount of empty lines and comments + +# +# +# +# + +# +# + +# +# +# + +# +# + +# +# This line makes the next one a comment in Tcl \ +exec wish "$0" -- ${1+"$@"} + +# lintian should not check the following for syntax +# if it detects the line above correctly +# Code snippet taken from eTkTab + +if { [array names prefs keybindings] != "" } { + # Read in the file + array set unparsed_bindings [ read_settings_file $prefs(keybindings)] +} diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/wishfoo b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/wishfoo new file mode 100644 index 0000000..035c9ad --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/wishfoo @@ -0,0 +1,4 @@ +#!/usr/bin/wish +# +# This is not actually a wish script, here to force a test of wish +# dependencies. diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/xsession-test b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/xsession-test new file mode 100644 index 0000000..ca49d72 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/orig/xsession-test @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "Foo." diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/pre-build b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/pre-build new file mode 100755 index 0000000..b5649a8 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +DIR="$1" + +rm -f "$DIR/debian/compat" diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/eval/desc b/t/recipes/checks/fields/standards-version/legacy-scripts/eval/desc new file mode 100644 index 0000000..6cbcb6b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-scripts +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/eval/hints b/t/recipes/checks/fields/standards-version/legacy-scripts/eval/hints new file mode 100644 index 0000000..6763d3d --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/eval/hints @@ -0,0 +1,2 @@ +scripts (source): standards-version 3.2.1 +scripts (source): out-of-date-standards-version 3.2.1 (released 2000-08-24) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/eval/post-test b/t/recipes/checks/fields/standards-version/legacy-scripts/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/standards-version-classifications/build-spec/fill-values b/t/recipes/checks/fields/standards-version/standards-version-classifications/build-spec/fill-values new file mode 100644 index 0000000..6734009 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-classifications/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: standards-version-classifications +Description: Test standards version diff --git a/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/desc b/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/desc new file mode 100644 index 0000000..eb8d49c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/desc @@ -0,0 +1,2 @@ +Testname: standards-version-classifications +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/hints b/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/hints new file mode 100644 index 0000000..028d6d0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/hints @@ -0,0 +1 @@ +standards-version-classifications (source): standards-version VERSION diff --git a/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/post-test b/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/post-test new file mode 100644 index 0000000..8ff6614 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-classifications/eval/post-test @@ -0,0 +1 @@ +s/(standards-version) [0-9.]+/\1 VERSION/ diff --git a/t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/debian/control.in b/t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/debian/control.in new file mode 100644 index 0000000..3334af5 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 3.8 +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/fill-values b/t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/fill-values new file mode 100644 index 0000000..487b533 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-invalid/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: standards-version-invalid +Description: Test invalid standards version diff --git a/t/recipes/checks/fields/standards-version/standards-version-invalid/eval/desc b/t/recipes/checks/fields/standards-version/standards-version-invalid/eval/desc new file mode 100644 index 0000000..7e74fe9 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-invalid/eval/desc @@ -0,0 +1,2 @@ +Testname: standards-version-invalid +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/standards-version-invalid/eval/hints b/t/recipes/checks/fields/standards-version/standards-version-invalid/eval/hints new file mode 100644 index 0000000..ed58ab9 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-invalid/eval/hints @@ -0,0 +1 @@ +standards-version-invalid (source): invalid-standards-version 3.8 diff --git a/t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/debian/control.in b/t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/debian/control.in new file mode 100644 index 0000000..a063aa3 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 5.15.0.0 +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/fill-values b/t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/fill-values new file mode 100644 index 0000000..37ee75a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-newer/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: standards-version-newer +Description: Test too-new standards version diff --git a/t/recipes/checks/fields/standards-version/standards-version-newer/eval/desc b/t/recipes/checks/fields/standards-version/standards-version-newer/eval/desc new file mode 100644 index 0000000..de61950 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-newer/eval/desc @@ -0,0 +1,2 @@ +Testname: standards-version-newer +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/standards-version-newer/eval/hints b/t/recipes/checks/fields/standards-version/standards-version-newer/eval/hints new file mode 100644 index 0000000..9f60483 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-newer/eval/hints @@ -0,0 +1,2 @@ +standards-version-newer (source): standards-version 5.15.0.0 +standards-version-newer (source): newer-standards-version 5.15.0.0 (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/standards-version-newer/eval/post-test b/t/recipes/checks/fields/standards-version/standards-version-newer/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-newer/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/build-spec/debian/control.in b/t/recipes/checks/fields/standards-version/standards-version-old/build-spec/debian/control.in new file mode 100644 index 0000000..1db8a5f --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 3.9.6 +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/build-spec/fill-values b/t/recipes/checks/fields/standards-version/standards-version-old/build-spec/fill-values new file mode 100644 index 0000000..a4f5a62 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: standards-version-old +Description: Test old standards version on recent package +# Overrides the "data/standards-version/ancient-date" +# data file to avoid turning "old" into "ancient". diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/eval/desc b/t/recipes/checks/fields/standards-version/standards-version-old/eval/desc new file mode 100644 index 0000000..87bb01a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/eval/desc @@ -0,0 +1,6 @@ +Testname: standards-version-old +Profile: lintian-test +Options: --include-dir ./lintian-include-dir +Check: fields/standards-version +# Overrides the "data/standards-version/ancient-date" +# data file to avoid turning "old" into "ancient". diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/eval/hints b/t/recipes/checks/fields/standards-version/standards-version-old/eval/hints new file mode 100644 index 0000000..f6c0b09 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/eval/hints @@ -0,0 +1,2 @@ +standards-version-old (source): standards-version 3.9.6 +standards-version-old (source): out-of-date-standards-version 3.9.6 (released 2014-09-17) (current is CURRENT) diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date b/t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date new file mode 100644 index 0000000..42f8743 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/eval/lintian-include-dir/vendors/lintian-test/main/data/standards-version/ancient-date @@ -0,0 +1,7 @@ +# Any Standards Version released before this day is "ancient" +# +# Frozen for this test so we do not have to update the test every time +# we update the real "ancient-date" data file. +# +# Format is ANCIENT < Date +ANCIENT < 20 Feb 2014 diff --git a/t/recipes/checks/fields/standards-version/standards-version-old/eval/post-test b/t/recipes/checks/fields/standards-version/standards-version-old/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-old/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/debian/changelog.in new file mode 100644 index 0000000..1918c87 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) UNRELEASED; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] Thu, 15 Mar 2001 07:00:00 +0000 diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/fill-values b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/fill-values new file mode 100644 index 0000000..230b6c2 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: standards-version-timewarp-unrel +Description: Test newer standards version with unreleased old changelog date diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/desc b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/desc new file mode 100644 index 0000000..8aee982 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: standards-version-timewarp-unrel +Test-Against: + timewarp-standards-version +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/hints b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/hints new file mode 100644 index 0000000..a33584b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/hints @@ -0,0 +1 @@ +standards-version-timewarp-unrel (source): standards-version VERSION diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/post-test b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/post-test new file mode 100644 index 0000000..8ff6614 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp-unrel/eval/post-test @@ -0,0 +1 @@ +s/(standards-version) [0-9.]+/\1 VERSION/ diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/changelog.in b/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/changelog.in new file mode 100644 index 0000000..43ce66b --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] Thu, 15 Mar 2001 07:00:00 +0000 diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/copyright b/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/copyright new file mode 100644 index 0000000..8e3f0f0 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lintian +Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org> +Source: http://git.debian.org/?p=lintian/lintian.git + +Files: * +Copyright: 1900 Always in the Past, Inc. <debian-lint-maint@lists.debian.org> +License: MIT + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/fill-values b/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/fill-values new file mode 100644 index 0000000..f309cf7 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: standards-version-timewarp +Description: Test newer standards version with old changelog date diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/desc b/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/desc new file mode 100644 index 0000000..394e40a --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/desc @@ -0,0 +1,2 @@ +Testname: standards-version-timewarp +Check: fields/standards-version diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/hints b/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/hints new file mode 100644 index 0000000..eb1810c --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/hints @@ -0,0 +1,2 @@ +standards-version-timewarp (source): timewarp-standards-version (2001-03-15 < CURRENT) +standards-version-timewarp (source): standards-version VERSION diff --git a/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/post-test b/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/post-test new file mode 100644 index 0000000..b965b05 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/standards-version-timewarp/eval/post-test @@ -0,0 +1,2 @@ +s/< [0-9]{4}-[0-9]{2}-[0-9]{2}/< CURRENT/ +s/(standards-version) [0-9.]+/\1 VERSION/ diff --git a/t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in b/t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in new file mode 100644 index 0000000..3035904 --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +HOMEPAGE: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/style/all-caps/build-spec/fill-values b/t/recipes/checks/fields/style/all-caps/build-spec/fill-values new file mode 100644 index 0000000..c6948f5 --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: all-caps +Description: All caps spelling of field names. diff --git a/t/recipes/checks/fields/style/all-caps/eval/desc b/t/recipes/checks/fields/style/all-caps/eval/desc new file mode 100644 index 0000000..ae8925f --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/eval/desc @@ -0,0 +1,2 @@ +Testname: all-caps +Check: fields/style diff --git a/t/recipes/checks/fields/style/all-caps/eval/hints b/t/recipes/checks/fields/style/all-caps/eval/hints new file mode 100644 index 0000000..c9500f7 --- /dev/null +++ b/t/recipes/checks/fields/style/all-caps/eval/hints @@ -0,0 +1 @@ +all-caps (source): cute-field HOMEPAGE vs Homepage [debian/control:8] diff --git a/t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in b/t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in new file mode 100644 index 0000000..7dde207 --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +XS-Go-Import-Path: some-path + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/style/go-import-path/build-spec/fill-values b/t/recipes/checks/fields/style/go-import-path/build-spec/fill-values new file mode 100644 index 0000000..4fd14b5 --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: go-import-path +Description: Go-Import-Path vs GO-Import-Path (false positive) diff --git a/t/recipes/checks/fields/style/go-import-path/eval/desc b/t/recipes/checks/fields/style/go-import-path/eval/desc new file mode 100644 index 0000000..f55916d --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/eval/desc @@ -0,0 +1,5 @@ +Testname: go-import-path +Check: fields/style +Test-Against: + cute-field +See-Also: Bug#965966 diff --git a/t/recipes/checks/fields/style/go-import-path/eval/hints b/t/recipes/checks/fields/style/go-import-path/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/fields/style/go-import-path/eval/hints @@ -0,0 +1 @@ + diff --git a/t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in b/t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in new file mode 100644 index 0000000..c4bb5aa --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-requires-root: [% $rules_requires_root %] +Homepage: [% $homepage %] + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values b/t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values new file mode 100644 index 0000000..2a356cb --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: lower-case-component +Description: Component of field name in lower case diff --git a/t/recipes/checks/fields/style/lower-case-component/eval/desc b/t/recipes/checks/fields/style/lower-case-component/eval/desc new file mode 100644 index 0000000..4b65289 --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/eval/desc @@ -0,0 +1,2 @@ +Testname: lower-case-component +Check: fields/style diff --git a/t/recipes/checks/fields/style/lower-case-component/eval/hints b/t/recipes/checks/fields/style/lower-case-component/eval/hints new file mode 100644 index 0000000..98a87d5 --- /dev/null +++ b/t/recipes/checks/fields/style/lower-case-component/eval/hints @@ -0,0 +1 @@ +lower-case-component (source): cute-field Rules-requires-root vs Rules-Requires-Root [debian/control:7] diff --git a/t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in b/t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in new file mode 100644 index 0000000..9c4dc3d --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Xs-Python-Version: >= 2.7 + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values b/t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values new file mode 100644 index 0000000..360ca26 --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: shy-prefix +Description: Second letter lowercase in field name with XS- prefix diff --git a/t/recipes/checks/fields/style/shy-prefix/eval/desc b/t/recipes/checks/fields/style/shy-prefix/eval/desc new file mode 100644 index 0000000..82a5b4d --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/eval/desc @@ -0,0 +1,2 @@ +Testname: shy-prefix +Check: fields/style diff --git a/t/recipes/checks/fields/style/shy-prefix/eval/hints b/t/recipes/checks/fields/style/shy-prefix/eval/hints new file mode 100644 index 0000000..c4a8860 --- /dev/null +++ b/t/recipes/checks/fields/style/shy-prefix/eval/hints @@ -0,0 +1 @@ +shy-prefix (source): cute-field Xs-Python-Version vs XS-Python-Version [debian/control:9] diff --git a/t/recipes/checks/fields/terminal-control/colorful/build-spec/fill-values b/t/recipes/checks/fields/terminal-control/colorful/build-spec/fill-values new file mode 100644 index 0000000..d0108c7 --- /dev/null +++ b/t/recipes/checks/fields/terminal-control/colorful/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: colorful +Author: Colorful <"[31mc[32mo[33ml[34mo[35mr[36mf[37mu[96ml[0m"@43-1.org> +Description: Colorful maintainer from Ansgar's 'colorful' test package (false positive) diff --git a/t/recipes/checks/fields/terminal-control/colorful/eval/desc b/t/recipes/checks/fields/terminal-control/colorful/eval/desc new file mode 100644 index 0000000..30aeda4 --- /dev/null +++ b/t/recipes/checks/fields/terminal-control/colorful/eval/desc @@ -0,0 +1,3 @@ +Testname: colorful +Check: fields/terminal-control +See-Also: Bug#962277 diff --git a/t/recipes/checks/fields/terminal-control/colorful/eval/hints b/t/recipes/checks/fields/terminal-control/colorful/eval/hints new file mode 100644 index 0000000..c2a029b --- /dev/null +++ b/t/recipes/checks/fields/terminal-control/colorful/eval/hints @@ -0,0 +1,4 @@ +colorful (source): ansi-escape Maintainer Colorful <"[31mc[32mo[33ml[34mo[35mr[36mf[37mu[96ml[0m"@43-1.org> +colorful (changes): ansi-escape Maintainer Colorful <"[31mc[32mo[33ml[34mo[35mr[36mf[37mu[96ml[0m"@43-1.org> +colorful (changes): ansi-escape Changed-By Colorful <"[31mc[32mo[33ml[34mo[35mr[36mf[37mu[96ml[0m"@43-1.org> +colorful (binary): ansi-escape Maintainer Colorful <"[31mc[32mo[33ml[34mo[35mr[36mf[37mu[96ml[0m"@43-1.org> diff --git a/t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values b/t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values new file mode 100644 index 0000000..f544650 --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: native-source +Description: Plain native source package for trimmed field classification tags. diff --git a/t/recipes/checks/fields/trimmed/native-source/eval/desc b/t/recipes/checks/fields/trimmed/native-source/eval/desc new file mode 100644 index 0000000..8efa431 --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-source/eval/desc @@ -0,0 +1,2 @@ +Testname: native-source +Check: fields/trimmed diff --git a/t/recipes/checks/fields/trimmed/native-source/eval/hints b/t/recipes/checks/fields/trimmed/native-source/eval/hints new file mode 100644 index 0000000..7bdcf2a --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-source/eval/hints @@ -0,0 +1 @@ +native-source (source): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/trimmed/native-source/eval/post-test b/t/recipes/checks/fields/trimmed/native-source/eval/post-test new file mode 100644 index 0000000..de6da8f --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-source/eval/post-test @@ -0,0 +1,2 @@ +# retain one field for illustration; many are too volatile for a test +/[^ ]* \([^)]*\): trimmed-field Maintainer .*/!d diff --git a/t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values b/t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values new file mode 100644 index 0000000..dcfb84f --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: native-upload +Description: Plain native changes file with debs for trimmed field classification tags. diff --git a/t/recipes/checks/fields/trimmed/native-upload/eval/desc b/t/recipes/checks/fields/trimmed/native-upload/eval/desc new file mode 100644 index 0000000..a327de3 --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-upload/eval/desc @@ -0,0 +1,2 @@ +Testname: native-upload +Check: fields/trimmed diff --git a/t/recipes/checks/fields/trimmed/native-upload/eval/hints b/t/recipes/checks/fields/trimmed/native-upload/eval/hints new file mode 100644 index 0000000..976d6f3 --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-upload/eval/hints @@ -0,0 +1,3 @@ +native-upload (source): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org> +native-upload (changes): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org> +native-upload (binary): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org> diff --git a/t/recipes/checks/fields/trimmed/native-upload/eval/post-test b/t/recipes/checks/fields/trimmed/native-upload/eval/post-test new file mode 100644 index 0000000..de6da8f --- /dev/null +++ b/t/recipes/checks/fields/trimmed/native-upload/eval/post-test @@ -0,0 +1,2 @@ +# retain one field for illustration; many are too volatile for a test +/[^ ]* \([^)]*\): trimmed-field Maintainer .*/!d diff --git a/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/debian/control.in b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/debian/control.in new file mode 100644 index 0000000..63689f8 --- /dev/null +++ b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +XS-Debian-Vcs-Git: https://salsa.debian.org/foo/bar.git +Vcs-Git: https://git.launchpad.net/ubuntu/+source/bar + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/fill-values b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/fill-values new file mode 100644 index 0000000..b3ad32e --- /dev/null +++ b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-non-native +Testname: debian-vcs-git-in-non-debian-profile +Description: Test to ensure that on non-Debian profiles, Debian-VCS works (false positive) diff --git a/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/desc b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/desc new file mode 100644 index 0000000..a0e1dd1 --- /dev/null +++ b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/desc @@ -0,0 +1,4 @@ +Testname: debian-vcs-git-in-non-debian-profile +Check: fields/unknown +Profile: ubuntu/main +Test-Against: unknown-field diff --git a/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/hints b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/fields/unknown/debian-vcs-git-in-non-debian-profile/eval/hints diff --git a/t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/control.in b/t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/control.in new file mode 100644 index 0000000..185ef5f --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/control.in @@ -0,0 +1,28 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +XS-Essential: no +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets + +Package: [% $source %] +Essential: yes +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]2 +Essential: maybe +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] -- maybe + This is another test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/rules b/t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/rules new file mode 100755 index 0000000..41937bf --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-essential/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +pkg=fields-essential +export DH_VERBOSE=1 +%: + dh $@ + +override_dh_builddeb: + dh_builddeb --package=$(pkg) + dpkg-deb --nocheck --build debian/$(pkg)2 ../$(pkg)2_1.0_all.deb diff --git a/t/recipes/checks/fields/unknown/fields-essential/build-spec/fill-values b/t/recipes/checks/fields/unknown/fields-essential/build-spec/fill-values new file mode 100644 index 0000000..ca276e8 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-essential/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-essential +Description: Test for Essential field-related errors diff --git a/t/recipes/checks/fields/unknown/fields-essential/eval/desc b/t/recipes/checks/fields/unknown/fields-essential/eval/desc new file mode 100644 index 0000000..2e8b39b --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-essential/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-essential +Check: fields/unknown diff --git a/t/recipes/checks/fields/unknown/fields-essential/eval/hints b/t/recipes/checks/fields/unknown/fields-essential/eval/hints new file mode 100644 index 0000000..2256d0b --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-essential/eval/hints @@ -0,0 +1 @@ +fields-essential (source): unknown-field Essential diff --git a/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/unknown/fields-general-bad/eval/desc b/t/recipes/checks/fields/unknown/fields-general-bad/eval/desc new file mode 100644 index 0000000..b81a7a5 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/unknown diff --git a/t/recipes/checks/fields/unknown/fields-general-bad/eval/hints b/t/recipes/checks/fields/unknown/fields-general-bad/eval/hints new file mode 100644 index 0000000..fc31f73 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-general-bad/eval/hints @@ -0,0 +1 @@ +fields-general-BAD? (binary): unknown-field Unknown-Field diff --git a/t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/debian/control.in b/t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/debian/control.in new file mode 100644 index 0000000..de4411c --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/debian/control.in @@ -0,0 +1,24 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Require-Root: no +Rules-Requires-Root: no +XS-Comment: This is random comment ending up in the dsc file. +Autobuild: no +Go-Import-Path: github.com/example/example +Ruby-Versions: ${ruby:Versions} +Python-Version: 2.7 +Python3-Version: 3.7 + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/fill-values b/t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/fill-values new file mode 100644 index 0000000..df47230 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-unknown-fields +Description: General tests for unknown fields diff --git a/t/recipes/checks/fields/unknown/fields-unknown-fields/eval/desc b/t/recipes/checks/fields/unknown/fields-unknown-fields/eval/desc new file mode 100644 index 0000000..76f8fc8 --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-unknown-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-unknown-fields +Check: fields/unknown diff --git a/t/recipes/checks/fields/unknown/fields-unknown-fields/eval/hints b/t/recipes/checks/fields/unknown/fields-unknown-fields/eval/hints new file mode 100644 index 0000000..5c65b7b --- /dev/null +++ b/t/recipes/checks/fields/unknown/fields-unknown-fields/eval/hints @@ -0,0 +1 @@ +fields-unknown-fields (source): unknown-field Comment diff --git a/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/debian/control.in b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/debian/control.in new file mode 100644 index 0000000..54bf0f9 --- /dev/null +++ b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +XS-../foo: bar +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +XB-../bar: moo +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/fill-values b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/fill-values new file mode 100644 index 0000000..76e9551 --- /dev/null +++ b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: unpack-slashes-in-field-name +Description: Test package with slashes in a control field name diff --git a/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/desc b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/desc new file mode 100644 index 0000000..d9d6921 --- /dev/null +++ b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/desc @@ -0,0 +1,2 @@ +Testname: unpack-slashes-in-field-name +Check: fields/unknown diff --git a/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/hints b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/hints new file mode 100644 index 0000000..f27147d --- /dev/null +++ b/t/recipes/checks/fields/unknown/unpack-slashes-in-field-name/eval/hints @@ -0,0 +1,2 @@ +unpack-slashes-in-field-name (source): unknown-field ../foo +unpack-slashes-in-field-name (binary): unknown-field ../bar diff --git a/t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/debian/control.in b/t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/debian/control.in new file mode 100644 index 0000000..00f2799 --- /dev/null +++ b/t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/debian/control.in @@ -0,0 +1,22 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: lintian-maint@debian.org +Uploaders: <lintian-maint@debian.org>, Russ Allbery <rra@debian.org>, + Russ Allbery <rra@debian.org>, + Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>, + Double comma <double@comma.com>, , + Mr. Missing Comma <mrmc@comma.com> + Mrs. Missing Comma <mrsmc@comma.com> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/fill-values b/t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/fill-values new file mode 100644 index 0000000..d6a4051 --- /dev/null +++ b/t/recipes/checks/fields/uploaders/fields-maintainer-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-maintainer-general +Description: Tests of various maintainer and uploader tags diff --git a/t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/desc b/t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/desc new file mode 100644 index 0000000..90ff900 --- /dev/null +++ b/t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-maintainer-general +Check: fields/uploaders diff --git a/t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/hints b/t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/hints new file mode 100644 index 0000000..1060a6c --- /dev/null +++ b/t/recipes/checks/fields/uploaders/fields-maintainer-general/eval/hints @@ -0,0 +1,2 @@ +fields-maintainer-general (source): uploader-name-missing you have used a double comma +fields-maintainer-general (source): maintainer-also-in-uploaders diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values b/t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README b/t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build b/t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/fields/urgency/generic-empty/eval/desc b/t/recipes/checks/fields/urgency/generic-empty/eval/desc new file mode 100644 index 0000000..86791bb --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: fields/urgency diff --git a/t/recipes/checks/fields/urgency/generic-empty/eval/hints b/t/recipes/checks/fields/urgency/generic-empty/eval/hints new file mode 100644 index 0000000..361e1cc --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/eval/hints @@ -0,0 +1 @@ +generic-empty (changes): bad-urgency-in-changes-file unknown diff --git a/t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/debian/control.in new file mode 100644 index 0000000..c1c9cdc --- /dev/null +++ b/t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/debian/control.in @@ -0,0 +1,26 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Uploaders: + Wrapped Onto New Line <test@example.com> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: binary-targets +Homepage: https://lintian.debian.org/ +Vcs-Browser: +# The following line contains "Vcs-Git: \n" +Vcs-Git: + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: +# The following line contains "Provides: \n" +Provides: +Recommends: ${false:Positive} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/fill-values b/t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/fill-values new file mode 100644 index 0000000..65e572e --- /dev/null +++ b/t/recipes/checks/fields/vcs/control-has-empty-field/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-has-empty-field +Description: Check for empty fields diff --git a/t/recipes/checks/fields/vcs/control-has-empty-field/eval/desc b/t/recipes/checks/fields/vcs/control-has-empty-field/eval/desc new file mode 100644 index 0000000..db0637d --- /dev/null +++ b/t/recipes/checks/fields/vcs/control-has-empty-field/eval/desc @@ -0,0 +1,2 @@ +Testname: control-has-empty-field +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/control-has-empty-field/eval/hints b/t/recipes/checks/fields/vcs/control-has-empty-field/eval/hints new file mode 100644 index 0000000..611b5f2 --- /dev/null +++ b/t/recipes/checks/fields/vcs/control-has-empty-field/eval/hints @@ -0,0 +1,5 @@ +control-has-empty-field (source): package-is-co-maintained (with 1 uploaders) +control-has-empty-field (source): co-maintained-package-with-no-vcs-fields +control-has-empty-field (changes): package-is-maintained-by-individual +control-has-empty-field (buildinfo): package-is-maintained-by-individual +control-has-empty-field (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/debian/control.in new file mode 100644 index 0000000..f47dd34 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/test/test.git -b valid/syntax [subdir] +Vcs-Browser: https://salsa.debian.org/test/test + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/fill-values new file mode 100644 index 0000000..f090b95 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-malformed-vcs-fields-unrel-different-order +Description: Test malformed VCS-* fields diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/desc b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/desc new file mode 100644 index 0000000..867ea81 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/desc @@ -0,0 +1,4 @@ +Testname: fields-malformed-vcs-fields-unrel-different-order +Test-Against: + vcs-field-has-unexpected-spaces +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/hints b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/hints new file mode 100644 index 0000000..84f91cf --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel-different-order/eval/hints @@ -0,0 +1,6 @@ +fields-malformed-vcs-fields-unrel-different-order (source): vcs-uri Git https://salsa.debian.org/test/test.git -b valid/syntax [subdir] +fields-malformed-vcs-fields-unrel-different-order (source): vcs git +fields-malformed-vcs-fields-unrel-different-order (source): package-is-maintained-by-individual +fields-malformed-vcs-fields-unrel-different-order (changes): package-is-maintained-by-individual +fields-malformed-vcs-fields-unrel-different-order (buildinfo): package-is-maintained-by-individual +fields-malformed-vcs-fields-unrel-different-order (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..6c56f36 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/test/test.git [subdir] -b valid/syntax +Vcs-Browser: https://salsa.debian.org/test/test + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/fill-values new file mode 100644 index 0000000..1916a70 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-malformed-vcs-fields-unrel +Description: Test malformed VCS-* fields diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/desc b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/desc new file mode 100644 index 0000000..d66e767 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/desc @@ -0,0 +1,4 @@ +Testname: fields-malformed-vcs-fields-unrel +Test-Against: + vcs-field-has-unexpected-spaces +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/hints b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/hints new file mode 100644 index 0000000..47a775b --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields-unrel/eval/hints @@ -0,0 +1,6 @@ +fields-malformed-vcs-fields-unrel (source): vcs-uri Git https://salsa.debian.org/test/test.git [subdir] -b valid/syntax +fields-malformed-vcs-fields-unrel (source): vcs git +fields-malformed-vcs-fields-unrel (source): package-is-maintained-by-individual +fields-malformed-vcs-fields-unrel (changes): package-is-maintained-by-individual +fields-malformed-vcs-fields-unrel (buildinfo): package-is-maintained-by-individual +fields-malformed-vcs-fields-unrel (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/debian/control.in new file mode 100644 index 0000000..d726675 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Browser: svn.debian.org/wsvn/foobar/trunk +Vcs-Svn: svn+ssh://svn.debian.org/svn/foobar/trunk +Vcs-Git: https://anonscm.debian.org/test/test.git --branch wrong + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/fill-values new file mode 100644 index 0000000..7a53bee --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-malformed-vcs-fields +Description: Test malformed VCS-* fields diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/desc b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/desc new file mode 100644 index 0000000..e41bb92 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-malformed-vcs-fields +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/hints b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/hints new file mode 100644 index 0000000..0445201 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-malformed-vcs-fields/eval/hints @@ -0,0 +1,14 @@ +fields-malformed-vcs-fields (source): vcs-uri Svn svn+ssh://svn.debian.org/svn/foobar/trunk +fields-malformed-vcs-fields (source): vcs-uri Git https://anonscm.debian.org/test/test.git --branch wrong +fields-malformed-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Svn svn+ssh://svn.debian.org/svn/foobar/trunk +fields-malformed-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Git https://anonscm.debian.org/test/test.git --branch wrong +fields-malformed-vcs-fields (source): vcs-fields-use-more-than-one-vcs git svn +fields-malformed-vcs-fields (source): vcs-field-uses-unknown-uri-format Browser svn.debian.org/wsvn/foobar/trunk +fields-malformed-vcs-fields (source): vcs-field-uses-not-recommended-uri-format Svn svn+ssh://svn.debian.org/svn/foobar/trunk +fields-malformed-vcs-fields (source): vcs-field-has-unexpected-spaces Git https://anonscm.debian.org/test/test.git --branch wrong +fields-malformed-vcs-fields (source): vcs svn +fields-malformed-vcs-fields (source): vcs git +fields-malformed-vcs-fields (source): package-is-maintained-by-individual +fields-malformed-vcs-fields (changes): package-is-maintained-by-individual +fields-malformed-vcs-fields (buildinfo): package-is-maintained-by-individual +fields-malformed-vcs-fields (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/debian/control.in new file mode 100644 index 0000000..9eb380f --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Vcs-Git: https://salsa.debian.org/project/repo.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/fill-values new file mode 100644 index 0000000..34b230f --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-missing-vcs-browser +Description: Check for packages missing Vcs-Browser diff --git a/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/desc b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/desc new file mode 100644 index 0000000..1a6b2fa --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-missing-vcs-browser +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/hints b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/hints new file mode 100644 index 0000000..fc164ff --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-missing-vcs-browser/eval/hints @@ -0,0 +1,7 @@ +fields-missing-vcs-browser (source): vcs-uri Git https://salsa.debian.org/project/repo.git +fields-missing-vcs-browser (source): vcs git +fields-missing-vcs-browser (source): package-is-maintained-by-individual +fields-missing-vcs-browser (source): missing-vcs-browser-field Vcs-Git https://salsa.debian.org/project/repo.git +fields-missing-vcs-browser (changes): package-is-maintained-by-individual +fields-missing-vcs-browser (buildinfo): package-is-maintained-by-individual +fields-missing-vcs-browser (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in new file mode 100644 index 0000000..212de12 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: git@git.debian.org:foobar.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values new file mode 100644 index 0000000..cca8699 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-not-malformed-vcs-fields +Description: Test not malformed VCS-* fields (especially #778323) diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc new file mode 100644 index 0000000..b0bb689 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc @@ -0,0 +1,4 @@ +Testname: fields-not-malformed-vcs-fields +Test-Against: + vcs-field-uses-unknown-uri-format +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints new file mode 100644 index 0000000..5130228 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints @@ -0,0 +1,7 @@ +fields-not-malformed-vcs-fields (source): vcs-uri Git git@git.debian.org:foobar.git +fields-not-malformed-vcs-fields (source): vcs-field-uses-not-recommended-uri-format Git git@git.debian.org:foobar.git +fields-not-malformed-vcs-fields (source): vcs git +fields-not-malformed-vcs-fields (source): package-is-maintained-by-individual +fields-not-malformed-vcs-fields (changes): package-is-maintained-by-individual +fields-not-malformed-vcs-fields (buildinfo): package-is-maintained-by-individual +fields-not-malformed-vcs-fields (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/changelog.in b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/changelog.in new file mode 100644 index 0000000..b341aab --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * QA Upload. + * Lintian Test Suite. + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/control.in new file mode 100644 index 0000000..39e7740 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://git.dgit.debian.org/python-ofxhome +Vcs-Browser: https://browse.dgit.debian.org/python-ofxhome.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/fill-values new file mode 100644 index 0000000..6561c1e --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-orphaned-package-not-maintained-in-debian-infrastructure-fp +Description: Test for orphaned package not maintained in Debian infrastucture +Package-Architecture: all diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/desc b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/desc new file mode 100644 index 0000000..968d201 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-orphaned-package-not-maintained-in-debian-infrastructure-fp +Test-Against: orphaned-package-not-maintained-in-debian-infrastructure +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/hints b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/hints new file mode 100644 index 0000000..3002653 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure-fp/eval/hints @@ -0,0 +1,6 @@ +fields-orphaned-package-not-maintained-in-debian-infrastructure-fp (source): vcs-uri Git https://git.dgit.debian.org/python-ofxhome +fields-orphaned-package-not-maintained-in-debian-infrastructure-fp (source): vcs git +fields-orphaned-package-not-maintained-in-debian-infrastructure-fp (source): package-is-maintained-by-individual +fields-orphaned-package-not-maintained-in-debian-infrastructure-fp (changes): package-is-maintained-by-individual +fields-orphaned-package-not-maintained-in-debian-infrastructure-fp (buildinfo): package-is-maintained-by-individual +fields-orphaned-package-not-maintained-in-debian-infrastructure-fp (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/changelog.in b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/changelog.in new file mode 100644 index 0000000..b341aab --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * QA Upload. + * Lintian Test Suite. + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/control.in new file mode 100644 index 0000000..a553c3a --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://github.com/user/project +Vcs-Browser: https://github.com/user/project + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/fill-values new file mode 100644 index 0000000..4dfa4f3 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-orphaned-package-not-maintained-in-debian-infrastructure +Description: Test for orphaned package not maintained in Debian infrastucture +Package-Architecture: all diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/desc b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/desc new file mode 100644 index 0000000..ee1e829 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-orphaned-package-not-maintained-in-debian-infrastructure +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/hints b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/hints new file mode 100644 index 0000000..2252f64 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-orphaned-package-not-maintained-in-debian-infrastructure/eval/hints @@ -0,0 +1,7 @@ +fields-orphaned-package-not-maintained-in-debian-infrastructure (source): vcs-uri Git https://github.com/user/project +fields-orphaned-package-not-maintained-in-debian-infrastructure (source): vcs git +fields-orphaned-package-not-maintained-in-debian-infrastructure (source): package-is-maintained-by-individual +fields-orphaned-package-not-maintained-in-debian-infrastructure (source): orphaned-package-not-maintained-in-debian-infrastructure Vcs-Git https://github.com/user/project +fields-orphaned-package-not-maintained-in-debian-infrastructure (changes): package-is-maintained-by-individual +fields-orphaned-package-not-maintained-in-debian-infrastructure (buildinfo): package-is-maintained-by-individual +fields-orphaned-package-not-maintained-in-debian-infrastructure (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/debian/control.in new file mode 100644 index 0000000..7e22ee3 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/foo/bar.git.git.git.git +Vcs-Browser: https://salsa.debian.org/foo/bar.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/fill-values new file mode 100644 index 0000000..658b67a --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-uncanonical-salsa-vcs-fields +Description: Test for vcs fields needing canonization (salsa) diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/desc b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/desc new file mode 100644 index 0000000..c675752 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-uncanonical-salsa-vcs-fields +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/hints b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/hints new file mode 100644 index 0000000..3c9f3c0 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-salsa-vcs-fields/eval/hints @@ -0,0 +1,8 @@ +fields-uncanonical-salsa-vcs-fields (source): vcs-uri Git https://salsa.debian.org/foo/bar.git.git.git.git +fields-uncanonical-salsa-vcs-fields (source): vcs-field-not-canonical Git https://salsa.debian.org/foo/bar.git.git.git.git https://salsa.debian.org/foo/bar.git +fields-uncanonical-salsa-vcs-fields (source): vcs-field-not-canonical Browser https://salsa.debian.org/foo/bar.git https://salsa.debian.org/foo/bar +fields-uncanonical-salsa-vcs-fields (source): vcs git +fields-uncanonical-salsa-vcs-fields (source): package-is-maintained-by-individual +fields-uncanonical-salsa-vcs-fields (changes): package-is-maintained-by-individual +fields-uncanonical-salsa-vcs-fields (buildinfo): package-is-maintained-by-individual +fields-uncanonical-salsa-vcs-fields (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/debian/control.in new file mode 100644 index 0000000..867eefe --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/debian/control.in @@ -0,0 +1,23 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Browser: https://svn.debian.org/wsvn/foobar/trunk?foo=bar;op=log;something=else +Vcs-Svn: svn://svn.debian.org/svn/foobar/trunk +Vcs-Mtn: mtn://www.example.org?org.debian.foobar +Vcs-Hg: http://hg.debian.org/hg/foobar/pkg/foobar +Vcs-Git: git://git.debian.org/~djpig/foobar.git -b master +Vcs-Cvs: :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/foobar module +Vcs-Bzr: nosmart+http://bzr.debian.org/bzr/collab-maint/foobar + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/fill-values new file mode 100644 index 0000000..07f1c43 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-uncanonical-vcs-fields +Description: Test for vcs fields needing canonization diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/desc b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/desc new file mode 100644 index 0000000..27397ff --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-uncanonical-vcs-fields +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/hints b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/hints new file mode 100644 index 0000000..9b073c5 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-uncanonical-vcs-fields/eval/hints @@ -0,0 +1,33 @@ +fields-uncanonical-vcs-fields (source): vcs-uri Svn svn://svn.debian.org/svn/foobar/trunk +fields-uncanonical-vcs-fields (source): vcs-uri Mtn mtn://www.example.org?org.debian.foobar +fields-uncanonical-vcs-fields (source): vcs-uri Hg http://hg.debian.org/hg/foobar/pkg/foobar +fields-uncanonical-vcs-fields (source): vcs-uri Git git://git.debian.org/~djpig/foobar.git -b master +fields-uncanonical-vcs-fields (source): vcs-uri Cvs :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/foobar module +fields-uncanonical-vcs-fields (source): vcs-uri Bzr nosmart+http://bzr.debian.org/bzr/collab-maint/foobar +fields-uncanonical-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Svn svn://svn.debian.org/svn/foobar/trunk +fields-uncanonical-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Hg http://hg.debian.org/hg/foobar/pkg/foobar +fields-uncanonical-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Git git://git.debian.org/~djpig/foobar.git -b master +fields-uncanonical-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Bzr nosmart+http://bzr.debian.org/bzr/collab-maint/foobar +fields-uncanonical-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Browser https://svn.debian.org/wsvn/foobar/trunk?foo=bar;op=log;something=else +fields-uncanonical-vcs-fields (source): vcs-git-uses-invalid-user-uri Git git://git.debian.org/~djpig/foobar.git https://anonscm.debian.org/git/users/djpig/foobar.git +fields-uncanonical-vcs-fields (source): vcs-fields-use-more-than-one-vcs bzr cvs git hg mtn svn +fields-uncanonical-vcs-fields (source): vcs-field-uses-insecure-uri Svn svn://svn.debian.org/svn/foobar/trunk +fields-uncanonical-vcs-fields (source): vcs-field-uses-insecure-uri Hg http://hg.debian.org/hg/foobar/pkg/foobar +fields-uncanonical-vcs-fields (source): vcs-field-uses-insecure-uri Git git://git.debian.org/~djpig/foobar.git -b master +fields-uncanonical-vcs-fields (source): vcs-field-uses-insecure-uri Cvs :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/foobar module +fields-uncanonical-vcs-fields (source): vcs-field-uses-insecure-uri Bzr nosmart+http://bzr.debian.org/bzr/collab-maint/foobar +fields-uncanonical-vcs-fields (source): vcs-field-not-canonical Svn svn://svn.debian.org/svn/foobar/trunk svn://anonscm.debian.org/foobar/trunk +fields-uncanonical-vcs-fields (source): vcs-field-not-canonical Hg http://hg.debian.org/hg/foobar/pkg/foobar https://anonscm.debian.org/hg/foobar/pkg/foobar +fields-uncanonical-vcs-fields (source): vcs-field-not-canonical Bzr nosmart+http://bzr.debian.org/bzr/collab-maint/foobar nosmart+https://anonscm.debian.org/bzr/collab-maint/foobar +fields-uncanonical-vcs-fields (source): vcs-field-bitrotted Cvs :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/foobar :pserver:anonymous@anonscm.debian.org:/cvs/foobar +fields-uncanonical-vcs-fields (source): vcs-field-bitrotted Browser https://svn.debian.org/wsvn/foobar/trunk?foo=bar;op=log;something=else https://anonscm.debian.org/viewvc/foobar/trunk?foo=bar;something=else +fields-uncanonical-vcs-fields (source): vcs svn +fields-uncanonical-vcs-fields (source): vcs mtn +fields-uncanonical-vcs-fields (source): vcs hg +fields-uncanonical-vcs-fields (source): vcs git +fields-uncanonical-vcs-fields (source): vcs cvs +fields-uncanonical-vcs-fields (source): vcs bzr +fields-uncanonical-vcs-fields (source): package-is-maintained-by-individual +fields-uncanonical-vcs-fields (changes): package-is-maintained-by-individual +fields-uncanonical-vcs-fields (buildinfo): package-is-maintained-by-individual +fields-uncanonical-vcs-fields (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in new file mode 100644 index 0000000..9be25c5 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Browser: http://salsa.debian.org/toddy/foobar +Vcs-Git: git://salsa.debian.org/users/toddy/foobar.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values new file mode 100644 index 0000000..edb1367 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-vcs-field-insecure-uri +Description: Test for VCS-* fields using insecure URIs diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc new file mode 100644 index 0000000..e2fe1de --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-vcs-field-insecure-uri +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints new file mode 100644 index 0000000..90a1b13 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints @@ -0,0 +1,8 @@ +fields-vcs-field-insecure-uri (source): vcs-uri Git git://salsa.debian.org/users/toddy/foobar.git +fields-vcs-field-insecure-uri (source): vcs-field-uses-insecure-uri Git git://salsa.debian.org/users/toddy/foobar.git +fields-vcs-field-insecure-uri (source): vcs-field-uses-insecure-uri Browser http://salsa.debian.org/toddy/foobar +fields-vcs-field-insecure-uri (source): vcs git +fields-vcs-field-insecure-uri (source): package-is-maintained-by-individual +fields-vcs-field-insecure-uri (changes): package-is-maintained-by-individual +fields-vcs-field-insecure-uri (buildinfo): package-is-maintained-by-individual +fields-vcs-field-insecure-uri (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/debian/control.in new file mode 100644 index 0000000..02d8676 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/debian/control.in @@ -0,0 +1,21 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Vcs-Bzr: https://gitlab.org/lintian/lintian.git +Vcs-Git: https://salsa.debian.org/lintian/lintian.git +Vcs-Svn: https://salsa.debian.org/lintian/lintian.git +Vcs-Browser: https://salsa.debian.org/lintian/lintian + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/fill-values new file mode 100644 index 0000000..8611280 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-vcs-field-mismatch +Description: Check for packages with mismatched Vcs-* fields diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/desc b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/desc new file mode 100644 index 0000000..0447dd8 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-vcs-field-mismatch +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/hints b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/hints new file mode 100644 index 0000000..3d7136e --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-field-mismatch/eval/hints @@ -0,0 +1,13 @@ +fields-vcs-field-mismatch (source): vcs-uri Svn https://salsa.debian.org/lintian/lintian.git +fields-vcs-field-mismatch (source): vcs-uri Git https://salsa.debian.org/lintian/lintian.git +fields-vcs-field-mismatch (source): vcs-uri Bzr https://gitlab.org/lintian/lintian.git +fields-vcs-field-mismatch (source): vcs-fields-use-more-than-one-vcs bzr git svn +fields-vcs-field-mismatch (source): vcs-field-mismatch Vcs-Svn != Vcs-Git https://salsa.debian.org/lintian/lintian.git +fields-vcs-field-mismatch (source): vcs-field-mismatch Vcs-Bzr != Vcs-Git https://gitlab.org/lintian/lintian.git +fields-vcs-field-mismatch (source): vcs svn +fields-vcs-field-mismatch (source): vcs git +fields-vcs-field-mismatch (source): vcs bzr +fields-vcs-field-mismatch (source): package-is-maintained-by-individual +fields-vcs-field-mismatch (changes): package-is-maintained-by-individual +fields-vcs-field-mismatch (buildinfo): package-is-maintained-by-individual +fields-vcs-field-mismatch (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/debian/control.in new file mode 100644 index 0000000..18b6e81 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/debian/control.in @@ -0,0 +1,23 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Browser: https://anonscm.debian.org/viewvc/foobar/trunk?rev=0&sc=0 +Vcs-Svn: svn://anonscm.debian.org/foobar/trunk +Vcs-Mtn: www.example.org org.debian.foobar +Vcs-Hg: https://anonscm.debian.org/hg/foobar/pkg/foobar -b master +Vcs-Git: https://anonscm.debian.org/users/djpig/foobar.git -b master +Vcs-Cvs: :pserver:anonymous@anonscm.debian.org:/cvs/foobar module +Vcs-Bzr: nosmart+http://anonscm.debian.org/bzr/collab-maint/foobar + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/fill-values new file mode 100644 index 0000000..4179ac4 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-fields/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-vcs-fields +Description: Test well formed VCS-* fields diff --git a/t/recipes/checks/fields/vcs/fields-vcs-fields/eval/desc b/t/recipes/checks/fields/vcs/fields-vcs-fields/eval/desc new file mode 100644 index 0000000..60ce3bf --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-fields/eval/desc @@ -0,0 +1,8 @@ +Testname: fields-vcs-fields +Test-Against: + vcs-field-bitrotted + vcs-field-has-unexpected-spaces + vcs-field-not-canonical + vcs-field-uses-unknown-uri-format + vcs-git-uses-invalid-user-uri +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-vcs-fields/eval/hints b/t/recipes/checks/fields/vcs/fields-vcs-fields/eval/hints new file mode 100644 index 0000000..a6b3361 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-fields/eval/hints @@ -0,0 +1,27 @@ +fields-vcs-fields (source): vcs-uri Svn svn://anonscm.debian.org/foobar/trunk +fields-vcs-fields (source): vcs-uri Mtn www.example.org org.debian.foobar +fields-vcs-fields (source): vcs-uri Hg https://anonscm.debian.org/hg/foobar/pkg/foobar -b master +fields-vcs-fields (source): vcs-uri Git https://anonscm.debian.org/users/djpig/foobar.git -b master +fields-vcs-fields (source): vcs-uri Cvs :pserver:anonymous@anonscm.debian.org:/cvs/foobar module +fields-vcs-fields (source): vcs-uri Bzr nosmart+http://anonscm.debian.org/bzr/collab-maint/foobar +fields-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Svn svn://anonscm.debian.org/foobar/trunk +fields-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Hg https://anonscm.debian.org/hg/foobar/pkg/foobar -b master +fields-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Git https://anonscm.debian.org/users/djpig/foobar.git -b master +fields-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Bzr nosmart+http://anonscm.debian.org/bzr/collab-maint/foobar +fields-vcs-fields (source): vcs-obsolete-in-debian-infrastructure Browser https://anonscm.debian.org/viewvc/foobar/trunk?rev=0&sc=0 +fields-vcs-fields (source): vcs-fields-use-more-than-one-vcs bzr cvs git hg mtn svn +fields-vcs-fields (source): vcs-field-uses-not-recommended-uri-format Mtn www.example.org org.debian.foobar +fields-vcs-fields (source): vcs-field-uses-insecure-uri Svn svn://anonscm.debian.org/foobar/trunk +fields-vcs-fields (source): vcs-field-uses-insecure-uri Cvs :pserver:anonymous@anonscm.debian.org:/cvs/foobar module +fields-vcs-fields (source): vcs-field-uses-insecure-uri Bzr nosmart+http://anonscm.debian.org/bzr/collab-maint/foobar +fields-vcs-fields (source): vcs-browser-links-to-empty-view https://anonscm.debian.org/viewvc/foobar/trunk?rev=0&sc=0 +fields-vcs-fields (source): vcs svn +fields-vcs-fields (source): vcs mtn +fields-vcs-fields (source): vcs hg +fields-vcs-fields (source): vcs git +fields-vcs-fields (source): vcs cvs +fields-vcs-fields (source): vcs bzr +fields-vcs-fields (source): package-is-maintained-by-individual +fields-vcs-fields (changes): package-is-maintained-by-individual +fields-vcs-fields (buildinfo): package-is-maintained-by-individual +fields-vcs-fields (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/debian/control.in new file mode 100644 index 0000000..0e690fc --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Vcs-Git: https://salsa.debian.org/foo/bar.git +Vcs-Browser: https://salsa.debian.org/foo/bar + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/fill-values new file mode 100644 index 0000000..72be2d8 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-vcs-obsolete-in-debian-infrastructure-unrel +Description: Check for false positives with deprecated Vcs-* fields diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/desc b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/desc new file mode 100644 index 0000000..653f1d3 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/desc @@ -0,0 +1,5 @@ +Testname: fields-vcs-obsolete-in-debian-infrastructure-unrel +Test-Against: + vcs-obsolete-in-debian-infrastructure + vcs-field-not-canonical +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/hints b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/hints new file mode 100644 index 0000000..3b06ac0 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure-unrel/eval/hints @@ -0,0 +1,6 @@ +fields-vcs-obsolete-in-debian-infrastructure-unrel (source): vcs-uri Git https://salsa.debian.org/foo/bar.git +fields-vcs-obsolete-in-debian-infrastructure-unrel (source): vcs git +fields-vcs-obsolete-in-debian-infrastructure-unrel (source): package-is-maintained-by-individual +fields-vcs-obsolete-in-debian-infrastructure-unrel (changes): package-is-maintained-by-individual +fields-vcs-obsolete-in-debian-infrastructure-unrel (buildinfo): package-is-maintained-by-individual +fields-vcs-obsolete-in-debian-infrastructure-unrel (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/debian/control.in new file mode 100644 index 0000000..79f8014 --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: https://lintian.debian.org/ +Vcs-Svn: svn://anonscm.debian.org/foobar/trunk +Vcs-Browser: https://anonscm.debian.org/git/lintian/lintian.git + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/fill-values new file mode 100644 index 0000000..5d800ca --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-vcs-obsolete-in-debian-infrastructure +Description: Check for packages with deprecated Vcs-* fields in the Debian infrastructure diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/desc b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/desc new file mode 100644 index 0000000..5f7f8be --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-vcs-obsolete-in-debian-infrastructure +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/hints b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/hints new file mode 100644 index 0000000..dcaac6c --- /dev/null +++ b/t/recipes/checks/fields/vcs/fields-vcs-obsolete-in-debian-infrastructure/eval/hints @@ -0,0 +1,9 @@ +fields-vcs-obsolete-in-debian-infrastructure (source): vcs-uri Svn svn://anonscm.debian.org/foobar/trunk +fields-vcs-obsolete-in-debian-infrastructure (source): vcs-obsolete-in-debian-infrastructure Svn svn://anonscm.debian.org/foobar/trunk +fields-vcs-obsolete-in-debian-infrastructure (source): vcs-obsolete-in-debian-infrastructure Browser https://anonscm.debian.org/git/lintian/lintian.git +fields-vcs-obsolete-in-debian-infrastructure (source): vcs-field-uses-insecure-uri Svn svn://anonscm.debian.org/foobar/trunk +fields-vcs-obsolete-in-debian-infrastructure (source): vcs svn +fields-vcs-obsolete-in-debian-infrastructure (source): package-is-maintained-by-individual +fields-vcs-obsolete-in-debian-infrastructure (changes): package-is-maintained-by-individual +fields-vcs-obsolete-in-debian-infrastructure (buildinfo): package-is-maintained-by-individual +fields-vcs-obsolete-in-debian-infrastructure (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/NEWS.Debian b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/NEWS.Debian new file mode 100644 index 0000000..29f561c --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/NEWS.Debian @@ -0,0 +1,12 @@ +binary (4-1.1) UNRELEASED; urgency=high + + This is a Debian NEWS entry that isn't encoded properly in UTF-8: ü. + It also has a usefull speling error. + + -- Russ Allbery <rra@debian.org> Sun, 14 Oct 2007 17:11:36 -0700 + +binary (1) unstable; urgency=low + + This is another entry but this one isn't syntactically valid. + + -- Russ Allbery 2007-10-14 diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/README.Debian b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/README.Debian new file mode 100644 index 0000000..94bcc0a --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/README.Debian @@ -0,0 +1,5 @@ +this is a binary package to test lintian's handling of bins. +Check handling of D-Bus and dbus (neither of which should produce +warnings). + + -- Russ Allbery <rra@debian.org>, Wed, 6 Feb 2008 18:35:11 -0800 diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/changelog.in b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/changelog.in new file mode 100644 index 0000000..39301d6 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/changelog.in @@ -0,0 +1,47 @@ +binary ([% $version %]) [% $distribution %]; urgency=low + + * I'm doing an comaintainer-upload, acknowledging a NMU, but with a version + number which suggests I'm doing a NMU myself. + + Lintian-maintainers: Please don't update this changelog, otherwise you'll + probably break the checks/nmu checks. + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Sun, 18 Apr 2004 01:49:42 +0200 + +binary (4-1) unstable; urgency=low + + * Weird version number for the new check for accidents with native + packaging. + * Date was fixed by BR and this test was put on changelog-file-strange-date + due to dpkg bug, see #794674. + + -- Marc 'HE' Brockschmidt <he@debian.org> Thu, 15 Apr 2004 23:33:51 +0200 + +binary (4) unstable; urgency=low + + * Add big file to /usr/share to trigger the big-usr-share check + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Fri, 27 Feb 2004 10:15:59 +0100 + +binary (3) unstable; urgency=unlimited + + * Add some bogus menu entries using su-to-root in a bogus way + + -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl> Thu, 12 Feb 2004 20:11:22 +0100 + +binary (2) unstable; urgency=low + + * Added an INSTALL document which policy 6.3 suggests not to do + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Tue, 30 Jan 2001 15:23:59 -0800 + +binary (1) unstable; urgency=low + + * hello.c added + * hello-static is same as hello, but compiled statically + * added a menu entry which lacks a Section + * added a postinst + * postinst calls suidregister which is no longer policy compliant + + -- Sean 'Shaleh' Perry <shaleh@debian.org> Wed, 10 Jan 2001 08:55:34 -0800 + diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/conffiles b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/conffiles new file mode 100644 index 0000000..d1a0843 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/lintian diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/control b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/control new file mode 100644 index 0000000..c797357 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/control @@ -0,0 +1,42 @@ +Source: binary +Section: misc +Priority: optional +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Uploaders: Co-maintainer one <one@debian.org>, Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, Co-maintainer three <three@debian.org> +Standards-Version: 3.2.1 +Homepage: http://lintian.debian.org/ +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +XS-Vcs-Browser: http://svn.wolffelaar.nl/lintian/trunk +XS-Dm-Upload-Allowed: yes + +Package: binary +Architecture: any +Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${source:Version}), libssl0.9.8 +Homepage: <http://lintian.debian.org/> +Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk +Description: test handling of binary files + Regression test for lintian's handling of binary files for debian. This + is checked for picky spelling errors. + . + This package list [ subversion | gconf ] should not be flagged as a spelling + mistake. The spelling correction for dont should be correct. + . + Homepage: http://lintian.debian.org/ + +Package: binary-data +Architecture: all +Depends: binary (= ${source:Version}), libssl-not-openssl, + libssl0.9.8 | or-something-else +Description: test handling of binary relationships + Regression test for lintian's checking of package relationships between + arch:any and arch:all packages. + . + This mention of subversion should be flagged as a spelling mistake. + +#Package: binary-comment +#Architecture: space-almonds +#Depends: * +#Depends: * +#Description: test comment support +# Yes, comments are actually allowed in debian/control, so none of the +# above should produce errors. diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/copyright b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/copyright new file mode 100644 index 0000000..1d6806d --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/copyright @@ -0,0 +1,15 @@ +hello.c is released under public domain. This is distributed in the hope that +it will be useful, but without any warranty; without even the implied warranty +of merchantability or fitness for a particular purpose. + +A reference to /usr/share/common-licenses/GPL-2 to make it look like this +package is under the GPL and trigger the OpenSSL warning. + +Test for old FSF address: + +Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +Test for deprecated nätionäl äncoding. + +Improper capitalization of linux or debian isn't caught here. diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/doc-base b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/doc-base new file mode 100644 index 0000000..7e5b38f --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/doc-base @@ -0,0 +1,41 @@ +Document: binary!docs +Title: Broken debian binary doc-base control file +Author: Russ Allbery +Abstract: This control file exercises various tests of doc-base control + files, including several things that aren't tested yet. The third and + fourth one has trailing whitespace. + . + This section has a speling error and bad ® character. + . + The above separator was fine. +Section: Non/Existant +Unknown: Some field + + + +Format: debiandoc-sgML +Files: /usr/share/doc/binary/binary.sgml.gz +Unknown: Some field + +Format: ESP +Index: /usr/share/doc/binary/binary.txt + +Index: /usr/share/doc/binary/html/index.html + /usr/share/doc/binary/html/ch1.html + /usr/share/doc/binary/html/ch4.html + + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch?.h*l + /usr/share/doc/binary/hml/*.html + +Format: inFO +Files: /usr/share/info/binary.info.gz + +Format: HTML +Index: /usr/share/doc/binary/html/index.html +Files: /usr/share/doc/binary/html/ch5.html + /usr/share/doc/binary/html/ch6.html + + diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/goodbye.desktop b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/goodbye.desktop new file mode 100644 index 0000000..f6ce8e3 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/goodbye.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name:Goodbye +# Name=Goodbye +Comment=Say hello! +SpecialTag=This doesn't exist! +Exec=goodbye +icon=hello +Terminal=true +Type=Application +Categories=WeirdStuff;Screensaver; +Encoding=ISO-10646-1 +[Other Entry] +Name=Goodbye diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/hello.desktop b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/hello.desktop new file mode 100644 index 0000000..f795468 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/hello.desktop @@ -0,0 +1,14 @@ +# some random comment + +# [Foo Bar] +[KDE Desktop Entry] +Name=Hello +Name[en_US]=Hello +Comment=Say hello!
+Exec=kdesu hello +Icon=hello +Terminal=true +Type=Application +Categories=GNOME;GTK;System;Applet;X-Foo;Settings; +Encoding=UTF-8 +OnlyShowIn=GNOME; diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu new file mode 100644 index 0000000..e8972f4 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu @@ -0,0 +1,26 @@ +?package(binary):needs=text title="Hello World" command="/usr/bin/hello" +?package(binary):needs=text section="Applications/System" title="Run cfdisk (0)" command="/usr/bin/su-to-root cfdisk" +?package(binary):needs="text" section="Applications/System/Hardware" title="Run cfdisk (1)" command="sux -p cfdisk" +?package(binary):needs="x11" section="Window Managers" title="Run xfdisk" command="/usr/sbin/su-to-root -c xfdisk" +?package(binary):needs="wm" section="Applications/System/Administration" title="Run fdisk-wm" command="su-to-root -c hello" +?package(binary):section="Apps/Games" title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Apps/System" title="I'm not here!" command="/imnothere" +?package(binary,other-binary):\ + needs="text"\ + section="Applications/Shells"\ + title="more than one required"\ + command="other-bin -s omething" +?package(binary):needs="wmmodule" section="WindowManagers/Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="wmmodule" section="FVWM Modules" title="somemodule" command="ModuleCmd" +?package(binary):needs="text" section="Applications/System/Administration" title="I'm not in /usr/bin!" command="iminusrbin" +?package(binary):needs="text"\ + section="Applications/System/Administration"\ + title="I'm not root!" command="su-to-root -c imnothere" +?package(binary):needs="text" section="Applications/System/Administration"\ + title="Run cfdisk (0)" command="cfdisk" +?package(binary):needs="text" section="Applications/System/Administration" title="Hello World" command="/usr/bin/hello" +?package(binary):needs="wm" section="FVWM Modules" title="Fake Module" command="hello" +?package(binary):needs="fvwmmodule" section="Window Maker" title="Fake Module"\ + command="hello" +?package(binary):needs="x11" section="Applications/System/Hardware" title="Run xfdisk" command="su-to-root -c 'xfdisk -f'" +?package(binary):needs="text" section="Applications/System/Administration" title="foo" command="sh /path/to/foo" diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu-method b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu-method new file mode 100644 index 0000000..9f07bd7 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/menu-method @@ -0,0 +1,22 @@ +#!/usr/bin/install-menu + +# -*- mode: shell-script; -*- +#I need menu-1! +# + +!include notmenu.h + +compat="menu-2" + +outputencoding="UTF-8"; +outputlanguage="C"; + +x11 = AppEntry("false"); +text = AppEntry("true"); + +startmenu = ""; +endmenu = ""; +submenutitle = ""; +rootprefix = "/var/lib/lintian/menu"; +userprefix = ".local/share/lintian/menu"; + diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/postinst new file mode 100644 index 0000000..29e1861 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/postinst @@ -0,0 +1,6 @@ +#! /bin/bash -e + +if [ $1 eq 'configure' ] +then + suidregister hello-static root root 4755 +fi diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/rules b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/rules new file mode 100755 index 0000000..a962ea9 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/rules @@ -0,0 +1,92 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +# This reference to $(PWD) should not cause an error but the one below +# should. +build-arch: + make + echo $(PWD) + +build: build-arch + +clean: + make -i clean + [ ! -f debian/files ] || rm -f debian/files + [ ! -f debian/substvars ] || rm -f debian/substvars + [ ! -d debian/tmp ] || rm -rf debian/tmp + [ ! -d debian/binary ] || rm -rf debian/binary + [ ! -d debian/binary-data ] || rm -rf debian/binary-data + +binary-arch: build + install -d $(tmp)/usr/bin + install -d $(tmp)/boot/hello + install -m 755 hello $(tmp)/usr/bin + touch $(tmp)/usr/bin/iminusrbin + chmod 755 $(tmp)/usr/bin/iminusrbin + install -m 755 hello-static $(tmp)/usr/bin + strip $(tmp)/usr/bin/hello-static + install -m 755 hello-static $(tmp)/usr/bin/hello.static + strip --remove-section=.comment --remove-section=.note $(tmp)/usr/bin/hello.static + ln $(tmp)/usr/bin/hello.static $(tmp)/usr/bin/static-hello + install -m 755 hello-static $(tmp)/boot/hello + strip --remove-section=.comment --remove-section=.note $(tmp)/boot/hello/hello-static + install -d $(tmp)/usr/share/doc/binary + install -m 644 INSTALL $(tmp)/usr/share/doc/binary + install -d $(tmp)/usr/share/doc/binary/html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/index.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch1.html + ln -s ../html/./ch1.html $(tmp)/usr/share/doc/binary/html/ch2.html + ln -s /usr/share/doc/binary/htm/ch1.html $(tmp)/usr/share/doc/binary/html/ch3.html + echo '<html></html>' > $(tmp)/usr/share/doc/binary/html/ch5.html + ln $(tmp)/usr/share/doc/binary/html/ch5.html \ + $(tmp)/usr/share/doc/binary/html/ch6.html + install -d $(tmp)/usr/share/menu + install -d $(tmp)/usr/lib/menu + install -d $(tmp)/usr/share/binary + install -m 644 debian/menu $(tmp)/usr/share/menu/binary + install -m 644 debian/menu $(tmp)/usr/lib/menu/binary + install -d $(tmp)/etc/menu-methods + install -m 755 debian/menu-method $(tmp)/etc/menu-methods/lintian + install -d $(tmp)/usr/share/doc-base + install -m 644 debian/doc-base $(tmp)/usr/share/doc-base/binary + touch '$(tmp)/usr/share/doc-base/space ' + install -m 644 debian/README.Debian $(tmp)/usr/share/doc/binary + install -m 644 debian/NEWS.Debian $(tmp)/usr/share/doc/binary + gzip -n -9 $(tmp)/usr/share/doc/binary/NEWS.Debian + install -m 644 debian/copyright $(tmp)/usr/share/doc/binary + install -m 644 debian/changelog $(tmp)/usr/share/doc/binary + #gzip -n -9 $(tmp)/usr/share/doc/binary/changelog + install -d $(tmp)/DEBIAN + install -m 755 debian/postinst $(tmp)/DEBIAN + install -m 644 debian/conffiles $(tmp)/DEBIAN + + install -d $(tmp)/usr/share/applications + install -m 644 debian/hello.desktop \ + $(tmp)/usr/share/applications/hello.desktop + install -m 755 debian/goodbye.desktop \ + $(tmp)/usr/share/applications/goodbye.desktop + + # should be ok... + echo boe > $(tmp)/usr/bar + ln $(tmp)/usr/bar $(tmp)/usr/foo + # but this isn't + echo boe > $(tmp)/usr/bar2 + ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz + + dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=4000 + + install -d debian/binary-data/DEBIAN + install -d debian/binary-data/usr/share/doc + ln -s binary debian/binary-data/usr/share/doc/binary-data + + dpkg-shlibdeps $(tmp)/usr/bin/hello + dpkg-gencontrol -pbinary -isp + dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp + + dpkg --build debian/tmp .. + dpkg --build debian/binary-data .. + +binary: binary-arch + +.PHONY: build-arch build binary-arch binary clean diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/templates b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/templates new file mode 100644 index 0000000..3d92861 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/debian/templates @@ -0,0 +1,16 @@ +# The debconf templates defined here are the sort that you'd use if +# providing a wordlist and an ispell dictionary for the language +# "perl". This shouldn't trigger warnings about not using debconf-po. + +Template: shared/packages-ispell +Type: text +Description: + +Template: shared/packages-wordlist +Type: text +Description: + +Template: miscfiles/languages +Type: text +Default: perl (Pathologically Eclectic Rubbish Lister) +Description: diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/fill-values b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/fill-values new file mode 100644 index 0000000..b503871 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-binary +Source: binary +Version: 4-1.1 +Description: Legacy test "binary" diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/INSTALL b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/INSTALL new file mode 100644 index 0000000..3b50ea9 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/INSTALL @@ -0,0 +1,176 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/Makefile b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/Makefile new file mode 100644 index 0000000..da1dc55 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/Makefile @@ -0,0 +1,12 @@ +all: hello hello-static + +hello: hello.c + gcc hello.c -o hello + +hello-static: hello.c + gcc -static hello.c -o hello-static + +clean: + rm -f hello hello-static + +distclean: clean diff --git a/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/hello.c b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/hello.c new file mode 100644 index 0000000..2fb04e1 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + printf("Hello, World!\n"); + exit(0); +} diff --git a/t/recipes/checks/fields/vcs/legacy-binary/eval/desc b/t/recipes/checks/fields/vcs/legacy-binary/eval/desc new file mode 100644 index 0000000..17862c3 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-binary +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/legacy-binary/eval/hints b/t/recipes/checks/fields/vcs/legacy-binary/eval/hints new file mode 100644 index 0000000..6369c95 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/eval/hints @@ -0,0 +1,9 @@ +binary (source): vcs-uri Svn http://svn.wolffelaar.nl/lintian/trunk +binary (source): vcs-field-uses-insecure-uri Svn http://svn.wolffelaar.nl/lintian/trunk +binary (source): vcs-field-uses-insecure-uri Browser http://svn.wolffelaar.nl/lintian/trunk +binary (source): vcs svn +binary (source): package-is-co-maintained (with 3 uploaders) +binary (changes): package-is-maintained-by-individual +binary (buildinfo): package-is-maintained-by-individual +binary-data (binary): package-is-maintained-by-individual +binary (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/legacy-binary/eval/post-test b/t/recipes/checks/fields/vcs/legacy-binary/eval/post-test new file mode 100644 index 0000000..3deefd5 --- /dev/null +++ b/t/recipes/checks/fields/vcs/legacy-binary/eval/post-test @@ -0,0 +1,3 @@ +s/arch-dep-package-has-big-usr-share .*kB .*%/arch-dep-package-has-big-usr-share/ +/: hardening-.*/ d +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/changelog.in b/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/changelog.in new file mode 100644 index 0000000..07162ee --- /dev/null +++ b/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/changelog.in @@ -0,0 +1,8 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- Niels Thykier <niels@thykier.net> [% $date %] diff --git a/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/control.in new file mode 100644 index 0000000..fd4b548 --- /dev/null +++ b/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/debian/control.in @@ -0,0 +1,17 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Uploaders: Niels Thykier <niels@thykier.net> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/fill-values b/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/fill-values new file mode 100644 index 0000000..4b90c15 --- /dev/null +++ b/t/recipes/checks/fields/vcs/nmu-qa-upload/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: nmu-qa-upload +Version: 1.0+nmu1 +Description: Test for QA upload issues +Author: Debian QA Group <packages@qa.debian.org> diff --git a/t/recipes/checks/fields/vcs/nmu-qa-upload/eval/desc b/t/recipes/checks/fields/vcs/nmu-qa-upload/eval/desc new file mode 100644 index 0000000..e177f4e --- /dev/null +++ b/t/recipes/checks/fields/vcs/nmu-qa-upload/eval/desc @@ -0,0 +1,3 @@ +Testname: nmu-qa-upload +Test-Against: orphaned-package-not-maintained-in-debian-infrastructure +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/nmu-qa-upload/eval/hints b/t/recipes/checks/fields/vcs/nmu-qa-upload/eval/hints new file mode 100644 index 0000000..77f71a0 --- /dev/null +++ b/t/recipes/checks/fields/vcs/nmu-qa-upload/eval/hints @@ -0,0 +1,5 @@ +nmu-qa-upload (source): package-is-co-maintained (with 1 uploaders) +nmu-qa-upload (source): co-maintained-package-with-no-vcs-fields +nmu-qa-upload (changes): package-is-maintained-by-individual +nmu-qa-upload (buildinfo): package-is-maintained-by-individual +nmu-qa-upload (binary): package-is-maintained-by-individual diff --git a/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/changelog.in b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/changelog.in new file mode 100644 index 0000000..b341aab --- /dev/null +++ b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * QA Upload. + * Lintian Test Suite. + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] diff --git a/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/control.in new file mode 100644 index 0000000..b2a3ed4 --- /dev/null +++ b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: Debian QA Group <packages@qa.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/lechner-guest/pius.git +Vcs-Browser: https://salsa.debian.org/lechner-guest/pius + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/fill-values b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/fill-values new file mode 100644 index 0000000..ac20c27 --- /dev/null +++ b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-native +Testname: orphaned-package-in-private-salsa-space +Description: Orphaned package maintained in private salsa space +Package-Architecture: all diff --git a/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/desc b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/desc new file mode 100644 index 0000000..a0dbf6b --- /dev/null +++ b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/desc @@ -0,0 +1,2 @@ +Testname: orphaned-package-in-private-salsa-space +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/hints b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/hints new file mode 100644 index 0000000..ee38e50 --- /dev/null +++ b/t/recipes/checks/fields/vcs/orphaned-package-in-private-salsa-space/eval/hints @@ -0,0 +1,4 @@ +orphaned-package-in-private-salsa-space (source): vcs-uri Git https://salsa.debian.org/lechner-guest/pius.git +orphaned-package-in-private-salsa-space (source): vcs git +orphaned-package-in-private-salsa-space (source): package-is-maintained-by-individual +orphaned-package-in-private-salsa-space (source): orphaned-package-maintained-in-private-space Vcs-Git https://salsa.debian.org/lechner-guest/pius.git diff --git a/t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/debian/control.in new file mode 100644 index 0000000..60d4f4e --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: Debian Team-Team <teamteam@lists.alioth.debian.org > +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/lechner-guest/pius.git +Vcs-Browser: https://salsa.debian.org/lechner-guest/pius + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/fill-values b/t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/fill-values new file mode 100644 index 0000000..1a4a1d8 --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-alioth/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: team-maintained-alioth +Description: Package that is team maintained, with a @lists.alioth.debian.org email diff --git a/t/recipes/checks/fields/vcs/team-maintained-alioth/eval/desc b/t/recipes/checks/fields/vcs/team-maintained-alioth/eval/desc new file mode 100644 index 0000000..815928a --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-alioth/eval/desc @@ -0,0 +1,2 @@ +Testname: team-maintained-alioth +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/team-maintained-alioth/eval/hints b/t/recipes/checks/fields/vcs/team-maintained-alioth/eval/hints new file mode 100644 index 0000000..afa4a91 --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-alioth/eval/hints @@ -0,0 +1,3 @@ +team-maintained-alioth (source): vcs-uri Git https://salsa.debian.org/lechner-guest/pius.git +team-maintained-alioth (source): vcs git +team-maintained-alioth (source): package-is-team-maintained teamteam@lists.alioth.debian.org (with 0 uploaders) diff --git a/t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/debian/control.in new file mode 100644 index 0000000..a790261 --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/debian/control.in @@ -0,0 +1,18 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: Debian Team-Team <team+team@tracker.debian.org> +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/lechner-guest/pius.git +Vcs-Browser: https://salsa.debian.org/lechner-guest/pius + +Package: [% $source %] +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/fill-values b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/fill-values new file mode 100644 index 0000000..21901ad --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: team-maintained-tracker-do +Description: Package that is team maintained, with a @tracker.debian.org email diff --git a/t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/desc b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/desc new file mode 100644 index 0000000..26a3c78 --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/desc @@ -0,0 +1,2 @@ +Testname: team-maintained-tracker-do +Check: fields/vcs diff --git a/t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/hints b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/hints new file mode 100644 index 0000000..2ddb4df --- /dev/null +++ b/t/recipes/checks/fields/vcs/team-maintained-tracker-do/eval/hints @@ -0,0 +1,3 @@ +team-maintained-tracker-do (source): vcs-uri Git https://salsa.debian.org/lechner-guest/pius.git +team-maintained-tracker-do (source): vcs git +team-maintained-tracker-do (source): package-is-team-maintained team+team@tracker.debian.org (with 0 uploaders) diff --git a/t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/debian/changelog.in b/t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/debian/changelog.in new file mode 100644 index 0000000..936b6bf --- /dev/null +++ b/t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/debian/changelog.in @@ -0,0 +1,9 @@ +[% $source %] ([% $version %]) unstable; urgency=low + + * NMU. + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- Russ Allbery <rra@debian.org> [% $date %] diff --git a/t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/fill-values b/t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/fill-values new file mode 100644 index 0000000..1e83afa --- /dev/null +++ b/t/recipes/checks/fields/version/fields-binary-nmu-version/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-binary-nmu-version +Skeleton: upload-non-native +Version: 1.0-1.0.1 +Description: Check binary NMU version handling diff --git a/t/recipes/checks/fields/version/fields-binary-nmu-version/eval/desc b/t/recipes/checks/fields/version/fields-binary-nmu-version/eval/desc new file mode 100644 index 0000000..2aa972b --- /dev/null +++ b/t/recipes/checks/fields/version/fields-binary-nmu-version/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-binary-nmu-version +Check: fields/version diff --git a/t/recipes/checks/fields/version/fields-binary-nmu-version/eval/hints b/t/recipes/checks/fields/version/fields-binary-nmu-version/eval/hints new file mode 100644 index 0000000..8b1fa11 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-binary-nmu-version/eval/hints @@ -0,0 +1 @@ +fields-binary-nmu-version (source): binary-nmu-debian-revision-in-source 1.0-1.0.1 diff --git a/t/recipes/checks/fields/version/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/version/fields-general-bad/build-spec/DEBIAN/control.in new file mode 100644 index 0000000..fec0c25 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-general-bad/build-spec/DEBIAN/control.in @@ -0,0 +1,17 @@ +Package: fields-general-BAD? +Source: [% $source %] +Version: 1.0? +Architecture: weird i386 amd64 +Maintainer: [% $author %] +Section: +Priority: is + weird +Unknown-Field: Hallo World +Depends: other-package (>= 1.0?), another-package (>< 1.0) +Conflicts: somepkg | anotherpkg +Recommends: g++ (>= s4.1) +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/version/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/version/fields-general-bad/build-spec/doc/changelog.in new file mode 100644 index 0000000..dc4c24e --- /dev/null +++ b/t/recipes/checks/fields/version/fields-general-bad/build-spec/doc/changelog.in @@ -0,0 +1,17 @@ +[% $testname %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $date %] + +[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + * Suppress "should close ITP bug" messages. (Closes: #123456) + + -- [% $author %] [% $prev_date %] diff --git a/t/recipes/checks/fields/version/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/version/fields-general-bad/build-spec/fill-values new file mode 100644 index 0000000..a18e752 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-general-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: deb +Testname: fields-general-bad +Source: fields-general-BAD? +Description: Test for package with control bad values diff --git a/t/recipes/checks/fields/version/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/version/fields-general-bad/build-spec/root/usr/lib/lintian/some-file new file mode 100644 index 0000000..02c9d2d --- /dev/null +++ b/t/recipes/checks/fields/version/fields-general-bad/build-spec/root/usr/lib/lintian/some-file @@ -0,0 +1 @@ +Hi, I could totally be architecture dependent. diff --git a/t/recipes/checks/fields/version/fields-general-bad/eval/desc b/t/recipes/checks/fields/version/fields-general-bad/eval/desc new file mode 100644 index 0000000..e315057 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-general-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-general-bad +Check: fields/version diff --git a/t/recipes/checks/fields/version/fields-general-bad/eval/hints b/t/recipes/checks/fields/version/fields-general-bad/eval/hints new file mode 100644 index 0000000..a3a277e --- /dev/null +++ b/t/recipes/checks/fields/version/fields-general-bad/eval/hints @@ -0,0 +1 @@ +fields-general-BAD? (binary): bad-version-number 1.0? diff --git a/t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/changelog.in b/t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/changelog.in new file mode 100644 index 0000000..2895dec --- /dev/null +++ b/t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/changelog.in @@ -0,0 +1,7 @@ +[% $source %] ([% $version %]) [% $distribution %]; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + diff --git a/t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/rules b/t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/rules new file mode 100644 index 0000000..ce09a53 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-version-bad/build-spec/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_gencontrol: + dh_gencontrol -- -v1.0-0 diff --git a/t/recipes/checks/fields/version/fields-version-bad/build-spec/fill-values b/t/recipes/checks/fields/version/fields-version-bad/build-spec/fill-values new file mode 100644 index 0000000..fddcd45 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-version-bad/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-bad +Version: 0-.3 +Description: Test for weird versions +Skeleton: upload-non-native diff --git a/t/recipes/checks/fields/version/fields-version-bad/eval/desc b/t/recipes/checks/fields/version/fields-version-bad/eval/desc new file mode 100644 index 0000000..0693520 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-version-bad/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-version-bad +Check: fields/version diff --git a/t/recipes/checks/fields/version/fields-version-bad/eval/hints b/t/recipes/checks/fields/version/fields-version-bad/eval/hints new file mode 100644 index 0000000..dd9cdc1 --- /dev/null +++ b/t/recipes/checks/fields/version/fields-version-bad/eval/hints @@ -0,0 +1,4 @@ +fields-version-bad (source): debian-revision-not-well-formed 0-.3 +fields-version-bad (changes): debian-revision-not-well-formed 0-.3 +fields-version-bad (buildinfo): debian-revision-not-well-formed 0-.3 +fields-version-bad (binary): debian-revision-is-zero 1.0-0 diff --git a/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/changelog.in b/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/changelog.in new file mode 100644 index 0000000..38fc4e9 --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/changelog.in @@ -0,0 +1,10 @@ +fields ([% $version %]) [% $distribution %]; urgency=low + + * This package adds tests for the following tags: + - debian-revision-not-well-formed + - depends-on-python-minimal + - essential-no-not-needed + - debian-revision-should-not-be-zero + - new-essential-package + + -- Tobias Quathamer <toddy@debian.org> Sun, 10 Apr 2011 14:30:00 +0100 diff --git a/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/control b/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/control new file mode 100644 index 0000000..d980a6e --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/control @@ -0,0 +1,28 @@ +Source: fields +Section: does-not-exist +Priority: standard +Maintainer: Lintian Maintainers <lintian-maint@debian.org> +Standards-Version: 3.9.2 + +Package: fields +Essential: no +Architecture: all +Depends: python-minimal +Description: Generate some errors + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: another-version +Essential: yes +Section: admin +Architecture: all +Description: Also generate some errors + This package gets another version number and tries to sneak in a new + essential package. + . + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/rules b/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/rules new file mode 100755 index 0000000..11ad4a7 --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/build-spec/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +tmp=debian/tmp + +build-arch: + +build-indep: + +build: build-arch build-indep + +binary-arch: + +binary-indep: + install -d $(tmp)/usr/share/doc/fields + install -m 644 debian/changelog \ + $(tmp)/usr/share/doc/fields/changelog + gzip -n -9 $(tmp)/usr/share/doc/fields/changelog + dh_md5sums -pfields -P$(tmp) + dpkg-gencontrol -pfields -P$(tmp) + dpkg --build $(tmp) .. + rm -rf $(tmp) + + # Create another package with a different version + dh_md5sums -panother-version -P$(tmp) + dpkg-gencontrol -panother-version -v123.4-0 -P$(tmp) + dpkg --build $(tmp) .. + +binary: binary-arch binary-indep + +clean: + rm -rf debian/files $(tmp) debian/substvars + +.PHONY: build-arch build-indep build binary-arch binary-indep binary clean diff --git a/t/recipes/checks/fields/version/legacy-fields/build-spec/fill-values b/t/recipes/checks/fields/version/legacy-fields/build-spec/fill-values new file mode 100644 index 0000000..fe90eb0 --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-non-native +Testname: legacy-fields +Source: fields +Version: 1.5-.3 +Description: Legacy test "fields" diff --git a/t/recipes/checks/fields/version/legacy-fields/eval/desc b/t/recipes/checks/fields/version/legacy-fields/eval/desc new file mode 100644 index 0000000..357797c --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/eval/desc @@ -0,0 +1,2 @@ +Testname: legacy-fields +Check: fields/version diff --git a/t/recipes/checks/fields/version/legacy-fields/eval/hints b/t/recipes/checks/fields/version/legacy-fields/eval/hints new file mode 100644 index 0000000..74134fb --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/eval/hints @@ -0,0 +1,5 @@ +fields (source): debian-revision-not-well-formed 1.5-.3 +fields (changes): debian-revision-not-well-formed 1.5-.3 +fields (buildinfo): debian-revision-not-well-formed 1.5-.3 +fields (binary): debian-revision-not-well-formed 1.5-.3 +another-version (binary): debian-revision-is-zero 123.4-0 diff --git a/t/recipes/checks/fields/version/legacy-fields/eval/post-test b/t/recipes/checks/fields/version/legacy-fields/eval/post-test new file mode 100644 index 0000000..faeef0b --- /dev/null +++ b/t/recipes/checks/fields/version/legacy-fields/eval/post-test @@ -0,0 +1 @@ +s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/ diff --git a/t/recipes/checks/fields/version/repack/count/dfsg1/build-spec/fill-values b/t/recipes/checks/fields/version/repack/count/dfsg1/build-spec/fill-values new file mode 100644 index 0000000..88e34f3 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/count/dfsg1/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: dfsg1 +Skeleton: upload-non-native +Version: 1.0+dfsg1-1 +Description: Start with +dfsg-1 instead of +dfsg1-1 +See-Also: + https://lists.debian.org/debian-devel/2021/10/msg00026.html diff --git a/t/recipes/checks/fields/version/repack/count/dfsg1/eval/desc b/t/recipes/checks/fields/version/repack/count/dfsg1/eval/desc new file mode 100644 index 0000000..dc56923 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/count/dfsg1/eval/desc @@ -0,0 +1,2 @@ +Testname: dfsg1 +Check: fields/version/repack/count diff --git a/t/recipes/checks/fields/version/repack/count/dfsg1/eval/hints b/t/recipes/checks/fields/version/repack/count/dfsg1/eval/hints new file mode 100644 index 0000000..3ae4907 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/count/dfsg1/eval/hints @@ -0,0 +1 @@ +dfsg1 (source): anticipated-repack-count 1.0+dfsg1-1 diff --git a/t/recipes/checks/fields/version/repack/count/extra-dot/build-spec/fill-values b/t/recipes/checks/fields/version/repack/count/extra-dot/build-spec/fill-values new file mode 100644 index 0000000..215d96e --- /dev/null +++ b/t/recipes/checks/fields/version/repack/count/extra-dot/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: extra-dot +Skeleton: upload-non-native +Version: 1.0+dfsg.2-1 +Description: Remove extra dot from repack count +See-Also: + https://lists.debian.org/debian-devel/2021/10/msg00026.html diff --git a/t/recipes/checks/fields/version/repack/count/extra-dot/eval/desc b/t/recipes/checks/fields/version/repack/count/extra-dot/eval/desc new file mode 100644 index 0000000..fbe8935 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/count/extra-dot/eval/desc @@ -0,0 +1,2 @@ +Testname: extra-dot +Check: fields/version/repack/count diff --git a/t/recipes/checks/fields/version/repack/count/extra-dot/eval/hints b/t/recipes/checks/fields/version/repack/count/extra-dot/eval/hints new file mode 100644 index 0000000..17855b4 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/count/extra-dot/eval/hints @@ -0,0 +1 @@ +extra-dot (source): dot-before-repack-count 1.0+dfsg.2-1 diff --git a/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/build-spec/fill-values b/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/build-spec/fill-values new file mode 100644 index 0000000..1246466 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: fields-version-dfsg-native +Version: 1.0.dfsg1 +Description: Use of dfsg in a native package diff --git a/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/desc b/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/desc new file mode 100644 index 0000000..ba73222 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-version-dfsg-native +Check: fields/version/repack/native diff --git a/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/hints b/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/hints new file mode 100644 index 0000000..5d98b4d --- /dev/null +++ b/t/recipes/checks/fields/version/repack/native/fields-version-dfsg-native/eval/hints @@ -0,0 +1 @@ +fields-version-dfsg-native (source): dfsg-version-in-native-package 1.0.dfsg1 diff --git a/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/build-spec/fill-values b/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/build-spec/fill-values new file mode 100644 index 0000000..412adaa --- /dev/null +++ b/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-dot-dfsg +Skeleton: upload-non-native +Version: 1.0.dfsg1-1 +Description: Use of ".dfsg" diff --git a/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/desc b/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/desc new file mode 100644 index 0000000..1be5f5e --- /dev/null +++ b/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-version-dot-dfsg +Check: fields/version/repack/period diff --git a/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/hints b/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/hints new file mode 100644 index 0000000..a86fb60 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/period/fields-version-dot-dfsg/eval/hints @@ -0,0 +1 @@ +fields-version-dot-dfsg (source): dfsg-version-with-period 1.0.dfsg1-1 diff --git a/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/build-spec/fill-values b/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/build-spec/fill-values new file mode 100644 index 0000000..afcb140 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/build-spec/fill-values @@ -0,0 +1,6 @@ +Testname: tilde-dfsg +Skeleton: upload-non-native +Version: 1.0~dfsg-1 +Description: Check for dfsg with tilde (~) prefix +See-Also: + https://lists.debian.org/debian-devel/2021/10/msg00012.html diff --git a/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/desc b/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/desc new file mode 100644 index 0000000..269dc1e --- /dev/null +++ b/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/desc @@ -0,0 +1,2 @@ +Testname: tilde-dfsg +Check: fields/version/repack/tilde diff --git a/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/hints b/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/hints new file mode 100644 index 0000000..0976b4e --- /dev/null +++ b/t/recipes/checks/fields/version/repack/tilde/tilde-dfsg/eval/hints @@ -0,0 +1 @@ +tilde-dfsg (source): dfsg-version-with-tilde 1.0~dfsg-1 diff --git a/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/build-spec/fill-values b/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/build-spec/fill-values new file mode 100644 index 0000000..077bc94 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fields-version-dsfg +Skeleton: upload-non-native +Version: 1.0+dsfg1-1 +Description: Check for the dsfg typo diff --git a/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/desc b/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/desc new file mode 100644 index 0000000..ef97a2d --- /dev/null +++ b/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-version-dsfg +Check: fields/version/repack/typo diff --git a/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/hints b/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/hints new file mode 100644 index 0000000..af0b9c4 --- /dev/null +++ b/t/recipes/checks/fields/version/repack/typo/fields-version-dsfg/eval/hints @@ -0,0 +1 @@ +fields-version-dsfg (source): dfsg-version-misspelled 1.0+dsfg1-1 |