Bug#894834: lintian: [PATCH] Spelling fixes

2018-04-04 Thread Ville Skyttä
Package: lintian
Severity: minor

Patch with spelling fixes against current git master is attached.
>From 9d696a6a60db01b3c069a46a5c33a31e179a8100 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= 
Date: Wed, 4 Apr 2018 20:21:59 +0300
Subject: [PATCH] Spelling fixes

---
 checks/fields.desc   | 4 ++--
 checks/patch-systems.pm  | 2 +-
 checks/python.desc   | 2 +-
 checks/source-copyright.desc | 2 +-
 commands/lintian.pm  | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/checks/fields.desc b/checks/fields.desc
index a832039c3..18f528f30 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -1458,7 +1458,7 @@ Info: This package has a relationship with the 
default-mta virtual
  default-mta and mail-transport-agent should only ever be in a set of
  alternatives together, with default-mta listed first.
  .
- Please add a "or" depedency on mail-transport-agent after
+ Please add a "or" dependency on mail-transport-agent after
  default-mta.
 
 Tag: mail-transport-agent-dependency-does-not-specify-default-mta
@@ -1471,7 +1471,7 @@ Info: This package has a relationship with the 
mail-transport-agent
  default-mta and mail-transport-agent should only ever be in a set of
  alternatives together, with default-mta listed first.
  .
- Please add a "or" depedency on default-mta before
+ Please add a "or" dependency on default-mta before
  mail-transport-agent.
 
 Tag: default-mta-dependency-not-listed-first
diff --git a/checks/patch-systems.pm b/checks/patch-systems.pm
index 06e1eaead..c98a33510 100644
--- a/checks/patch-systems.pm
+++ b/checks/patch-systems.pm
@@ -285,7 +285,7 @@ sub check_patch {
 my $tag_emitter
   = spelling_tag_emitter('spelling-error-in-patch-description',
 $patch_file);
-# Check the first line seperately to avoid duplicates
+# Check the first line separately to avoid duplicates
 foreach my $x (split(/\n/, $description, 2)) {
 check_spelling($x, $group->info->spelling_exceptions,$tag_emitter);
 }
diff --git a/checks/python.desc b/checks/python.desc
index c68b94bd3..9b5b9ad16 100644
--- a/checks/python.desc
+++ b/checks/python.desc
@@ -43,7 +43,7 @@ Info: This source package appears to generate the specified 
Python 2 package
  package and, if not, consider removing it.
  .
  Alternatively, ensure that the corresponding package specifies the
- ${python3:Depends} substvar in its binary depedencies.
+ ${python3:Depends} substvar in its binary dependencies.
 
 Tag: build-depends-on-python-sphinx-only
 Severity: normal
diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc
index fbe3034dc..e848c893c 100644
--- a/checks/source-copyright.desc
+++ b/checks/source-copyright.desc
@@ -53,7 +53,7 @@ Severity: pedantic
 Certainty: certain
 Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Info: Format URI of the machine-readable copyright file uses the plain HTTP
- unencrypted transport protocol.  Using HTTPS is prefered since policy 4.0.0.
+ unencrypted transport protocol.  Using HTTPS is preferred since policy 4.0.0.
  .
  Please use
  
https://www.debian.org/doc/packaging-manuals/copyright-format/version/
diff --git a/commands/lintian.pm b/commands/lintian.pm
index abcfed803..45ee25a18 100755
--- a/commands/lintian.pm
+++ b/commands/lintian.pm
@@ -194,7 +194,7 @@ EOT-EOT-EOT
 print <<"EOT-EOT-EOT";
 --tag-display-limit X Specify "tag per package" display limit
 --no-tag-display-limitDisable "tag per package" display limit
-  (equivalant to --tag-display-limit=0)
+  (equivalent to --tag-display-limit=0)
 EOT-EOT-EOT
 }
 
-- 
2.14.1



Bug#884559: lintian: Run png's through zopflipng

2017-12-16 Thread Ville Skyttä
Package: lintian
Version: 2.5.55
Severity: minor

Dear Maintainer,

Running *.png through zopflipng would save a bit in file sizes, see
attached patch.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful-updates
  APT policy: (500, 'artful-updates'), (500, 'artful-security'), (500, 
'artful'), (100, 'artful-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-19-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-4ubuntu1
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1build1
ii  dpkg  1.18.24ubuntu1
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4ubuntu1
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2build2
ii  libdpkg-perl  1.18.24ubuntu1
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1build3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-8ubuntu1
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2build1
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-8ubuntu1
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1build3

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24ubuntu1
ii  libhtml-parser-perl3.72-3build1
ii  libtext-template-perl  1.46-1

-- no debconf information
>From 5f53621e44b774fdba02b9edf585859f5fef21c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= 
Date: Sat, 16 Dec 2017 22:55:25 +0200
Subject: [PATCH] Run reporting/images/*.png through zopflipng -m

---
 reporting/images/ico.png| Bin 355 -> 230 bytes
 reporting/images/l.png  | Bin 1588 -> 669 bytes
 reporting/images/logo-small.png | Bin 3828 -> 2830 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/reporting/images/ico.png b/reporting/images/ico.png
index 
cd7355d7526b1ff1222b69fade9fd3d202230271..e78bd5bf286a83614134b6decf5681d49428eb77
 100644
GIT binary patch
delta 202
zcmV;*05$*P0_FjbB!8_*L_t(|0b`

Bug#878522: lintian: [PATCH] Skip all POD synopsis tests if Test::Pod is not available

2017-10-14 Thread Ville Skyttä
Package: lintian
Version: 2.5.55
Severity: minor

Dear Maintainer,

Patch for skipping all POD synopsis tests when Test::Pod is not
available is attached.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful
  APT policy: (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-4ubuntu1
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1build1
ii  dpkg  1.18.24ubuntu1
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4ubuntu1
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2build2
ii  libdpkg-perl  1.18.24ubuntu1
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1build3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-8ubuntu1
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2build1
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-8ubuntu1
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1build3

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24ubuntu1
ii  libhtml-parser-perl3.72-3build1
ii  libtext-template-perl  1.46-1

-- no debconf information


0001-t-scripts-pod-synopsis.t-Skip-all-if-Test-Pod-is-not.patch.gz
Description: application/gzip


Bug#878521: lintian: [PATCH] Various link fixes and updates

2017-10-14 Thread Ville Skyttä
Package: lintian
Version: 2.5.55
Severity: minor

Dear Maintainer,

Patch containing various link fixes and updates is attached.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful
  APT policy: (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-4ubuntu1
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1build1
ii  dpkg  1.18.24ubuntu1
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4ubuntu1
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2build2
ii  libdpkg-perl  1.18.24ubuntu1
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1build3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-8ubuntu1
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2build1
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-8ubuntu1
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1build3

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24ubuntu1
ii  libhtml-parser-perl3.72-3build1
ii  libtext-template-perl  1.46-1

-- no debconf information


0001-Various-link-fixes-and-updates.patch.gz
Description: application/gzip


Bug#878517: lintian: [PATCH] Manual reference fixups

2017-10-14 Thread Ville Skyttä
Package: lintian
Version: 2.5.55
Severity: minor

Dear Maintainer,

Attached is a series of 'git am'able fixes related to manual
references. After this, they should be correct and up to date again.

(Aside, the previous patches I sent got applied, thanks for that, but
somehow also with charset issues related to my surname in git
logs. Not a biggie, but perhaps it'll work this time; I'm gzipping the
attachments.)

-- System Information:
Debian Release: stretch/sid
  APT prefers artful
  APT policy: (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-4ubuntu1
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1build1
ii  dpkg  1.18.24ubuntu1
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4ubuntu1
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2build2
ii  libdpkg-perl  1.18.24ubuntu1
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1build3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-8ubuntu1
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2build1
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-8ubuntu1
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1build3

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24ubuntu1
ii  libhtml-parser-perl3.72-3build1
ii  libtext-template-perl  1.46-1

-- no debconf information


0002-private-refresh-manual-refs-Open-std-streams-in-utf-.patch.gz
Description: application/gzip


0004-private-refresh-manual-refs-Fix-parsing-of-current-P.patch.gz
Description: application/gzip


0006-Refresh-manual-references-and-pointers-to-them.patch.gz
Description: application/gzip


0003-private-refresh-manual-refs-Exclude-trailing-vX.Y.-f.patch.gz
Description: application/gzip


0001-private-refresh-manual-refs-Parse-menu-perl-and-pyth.patch.gz
Description: application/gzip


0005-private-refresh-manual-refs-Don-t-trump-earlier-refs.patch.gz
Description: application/gzip


Bug#878449: lintian: [PATCH] Update debconf reference mapping

2017-10-13 Thread Ville Skyttä
Thanks. However I see the data/output/manual-references part of the
latter patch was not applied, was it omitted on purpose?



Bug#878449: Info received (Bug#878449: Acknowledgement (lintian: [PATCH] Update debconf reference mapping))

2017-10-13 Thread Ville Skyttä
...and here's the corresponding spec ref update.
From e1caf5c816a212f3e9df3e4a5e9243837009e54c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= 
Date: Fri, 13 Oct 2017 22:25:29 +0300
Subject: [PATCH 2/2] Update debconf-spec refs

---
 checks/debconf.desc   |  8 
 data/output/manual-references | 16 +---
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/checks/debconf.desc b/checks/debconf.desc
index d5d3ac19a..336e18efa 100644
--- a/checks/debconf.desc
+++ b/checks/debconf.desc
@@ -24,7 +24,7 @@ Severity: important
 Certainty: certain
 Info: Valid fields are currently "Template:", "Type:", "Choices:", "Default:",
  and "Description:".
-Ref: debconf-spec aen45, debconf-devel(7)
+Ref: debconf-spec 3.1, debconf-devel(7)
 
 Tag: no-template-name
 Severity: important
@@ -75,20 +75,20 @@ Severity: important
 Certainty: certain
 Info: Templates using the "select" or "multiselect" data types must provide
  a "Choices:" field listing the possible values of the template.
-Ref: debconf-spec aen45, debconf-devel(7)
+Ref: debconf-spec 3.1, debconf-devel(7)
 
 Tag: boolean-template-has-bogus-default
 Severity: important
 Certainty: certain
 Info: The "boolean" type in a debconf template, can have only two values: true
  and false.  The default has been set to something different.
-Ref: debconf-spec aen45, debconf-devel(7)
+Ref: debconf-spec 3.1, debconf-devel(7)
 
 Tag: no-template-description
 Severity: important
 Certainty: certain
 Info: The templates file contains a template without a "Description:" field.
-Ref: debconf-spec aen45, debconf-devel(7)
+Ref: debconf-spec 3, debconf-devel(7)
 
 Tag: duplicate-long-description-in-template
 Severity: minor
diff --git a/data/output/manual-references b/data/output/manual-references
index c40a22194..886636fa2 100644
--- a/data/output/manual-references
+++ b/data/output/manual-references
@@ -7,15 +7,17 @@
 # If  is empty, that line specifies the title and URL for the whole
 # manual.  If  is empty, that manual is not available on the web.
 #
-# Last updated: 2016-08-22
+# Last updated: 2017-10-13
 
 debconf-specConfiguration management::https://www.debian.org/doc/packaging-manuals/debconf_specification.html
-debconf-spec::aen27::Introduction::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN27
-debconf-spec::aen30::Configuration Data::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN30
-debconf-spec::aen45::Templates::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN45
-debconf-spec::aen101::Configuration frontends::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN101
-debconf-spec::aen106::Communication with the frontend::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN106
-debconf-spec::aen283::Debian install-time configuration::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#AEN283
+debconf-spec::1::Introduction::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.2
+debconf-spec::2::Configuration Data::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.3
+debconf-spec::2.1::The configuration space::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.3.2
+debconf-spec::3::Templates::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.4
+debconf-spec::3.1::Template information::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.4.4
+debconf-spec::4::Configuration frontends::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.5
+debconf-spec::5::Communication with the frontend::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.6
+debconf-spec::6::Debian install-time configuration::https://www.debian.org/doc/packaging-manuals/debconf_specification.html#id-1.7
 devrefDebian Developer's Reference::https://www.debian.org/doc/developers-reference/
 devref::1::Scope of This Document::https://www.debian.org/doc/developers-reference/ch01.html
 devref::2::Applying to Become a Maintainer::https://www.debian.org/doc/developers-reference/ch02.html
-- 
2.14.1



Bug#878449: Acknowledgement (lintian: [PATCH] Update debconf reference mapping)

2017-10-13 Thread Ville Skyttä
On a second thought, here's a simpler fix that may help with parsing
some others as well.
From c758e4d02993deb2205da744cdf0e9f4e6ad4a46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= 
Date: Fri, 13 Oct 2017 22:08:02 +0300
Subject: [PATCH] private/refresh-manual-refs: Update debconf reference
 mapping, strip whitespace with $index_re

The usual $index_re now applies, tweaked to strip surrounding whitespace.
---
 private/refresh-manual-refs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/private/refresh-manual-refs b/private/refresh-manual-refs
index 906d31084..3960e3e66 100755
--- a/private/refresh-manual-refs
+++ b/private/refresh-manual-refs
@@ -62,7 +62,7 @@ my $title_re = qr/(.+?)<\/title\s?>/i;
 my $link_re
   = qr//;
 my $index_re
-  = qr/([A-Z]|[A-Z]?[\d\.]+?)\.?\s+([\w\s[:punct:]]+?)<\/a>/;
+  = qr/\s*([A-Z]|[A-Z]?[\d\.]+?)\.?\s+([\w\s[:punct:]]+?)\s*<\/a>/;
 my $fields = [['url'], ['section'], ['title']];
 my $dbk_index_re
   = qr/([\d.]+?)\.\s+([\w\s[:punct:]]+?)<\/a\s*>/i;
@@ -132,8 +132,7 @@ my %manuals = (
 join(q{/},
 'https://www.debian.org',
 'doc/packaging-manuals/debconf_specification.html'),
-qr/([\w\s[:punct:]]+?)<\/a>/,
-[['section', 'url'], ['title']]
+$index_re, $fields
 ],
 'fhs' => [
 '/usr/share/doc/debian-policy/fhs/fhs-2.3.html',
-- 
2.14.1



Bug#878449: lintian: [PATCH] Update debconf reference mapping

2017-10-13 Thread Ville Skyttä
Package: lintian
Version: 2.5.53ubuntu2
Severity: normal

Dear Maintainer,

'git am'able fix updating debconf reference mapping is attached.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful
  APT policy: (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-4ubuntu1
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1build1
ii  dpkg  1.18.24ubuntu1
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4ubuntu1
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2build2
ii  libdpkg-perl  1.18.24ubuntu1
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1build3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-8ubuntu1
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2build1
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-8ubuntu1
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1build3

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24ubuntu1
ii  libhtml-parser-perl3.72-3build1
pn  libtext-template-perl  

-- no debconf information
>From b6ad595bc7ec8c87f3f2d06276ca590cda41c539 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= 
Date: Fri, 13 Oct 2017 22:08:02 +0300
Subject: [PATCH] private/refresh-manual-refs: Update debconf reference mapping

References have section numbers and possible surrounding whitespace now.
---
 private/refresh-manual-refs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/private/refresh-manual-refs b/private/refresh-manual-refs
index 906d31084..13ed70772 100755
--- a/private/refresh-manual-refs
+++ b/private/refresh-manual-refs
@@ -132,8 +132,8 @@ my %manuals = (
 join(q{/},
 'https://www.debian.org',
 'doc/packaging-manuals/debconf_specification.html'),
-qr/([\w\s[:punct:]]+?)<\/a>/,
-[['section', 'url'], ['title']]
+qr/\s*([\d\.]+?)\.\s+([\w\s[:punct:]]+?)\s*<\/a>/,
+[['url'], ['section'], ['title']]
 ],
 'fhs' => [
 '/usr/share/doc/debian-policy/fhs/fhs-2.3.html',
-- 
2.14.1



Bug#878446: lintian: [PATCH] Spelling fixes

2017-10-13 Thread Ville Skyttä
Package: lintian
Version: 2.5.53ubuntu2
Severity: minor

Dear Maintainer,

'git am'able patch containing spelling fixes is attached.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful
  APT policy: (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-4ubuntu1
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1build1
ii  dpkg  1.18.24ubuntu1
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4ubuntu1
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2build2
ii  libdpkg-perl  1.18.24ubuntu1
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1build3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-8ubuntu1
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2build1
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-8ubuntu1
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1build3

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24ubuntu1
ii  libhtml-parser-perl3.72-3build1
pn  libtext-template-perl  

-- no debconf information
>From 86dc452a32ea7e4df8d95f08b01a67efd7c13c55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= 
Date: Fri, 13 Oct 2017 21:34:39 +0300
Subject: [PATCH] Spelling fixes

---
 checks/conffiles.pm | 2 +-
 checks/debconf.desc | 2 +-
 checks/files.desc   | 6 +++---
 checks/scripts.desc | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/checks/conffiles.pm b/checks/conffiles.pm
index 90db31547..180a11cd3 100644
--- a/checks/conffiles.pm
+++ b/checks/conffiles.pm
@@ -83,7 +83,7 @@ sub run {
 }
 next unless $file =~ m{\A etc/ }xsm and $file->is_file;
 
-   # If there is a /etc/foo, it must be a conffile (with a few exceptions).
+   # If there is an /etc/foo, it must be a conffile (with a few 
exceptions).
 if (not exists($conffiles{$file})
 and $file !~ m{ /README $}xsm
 and $file ne 'etc/init.d/skeleton'
diff --git a/checks/debconf.desc b/checks/debconf.desc
index d5d3ac19a..6bf813869 100644
--- a/checks/debconf.desc
+++ b/checks/debconf.desc
@@ -309,7 +309,7 @@ Tag: template-uses-unsplit-choices
 Severity: normal
 Certainty: possible
 Info: The use of _Choices in templates is deprecated.
- An _Choices field must be translated as a single string.
+ A _Choices field must be translated as a single string.
  .
  Using __Choices allows each choice to be translated separately, easing
  translation and is therefore recommended.
diff --git a/checks/files.desc b/checks/files.desc
index 4f575b86d..4ba0d7da3 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -82,7 +82,7 @@ Tag: package-installs-apt-preferences
 Severity: serious
 Certainty: possible
 Ref: apt_preferences(5)
-Info: Debian packages should not install files under 
/etc/apt/preferences.d/ or install a /etc/apt/preferences file.
+Info: Debian packages should not install files under 
/etc/apt/preferences.d/ or install an /etc/apt/preferences file.
  This directory is under the control of the local administrator.
  .
  Package should not override local administrator choices.
@@ -92,7 +92,7 @@ Severity: serious
 Certainty: possible
 Ref: sources.list(5)
 Info: Debian packages should not install files under 
/etc/apt/sources.list.d/
- or install a /etc/apt/sources.list file.
+ or install an /etc/apt/sources.list file.
  This directory is under the control of the local administrator.
  .
  Package should not override local administrator choices.
@@ -1741,7 +1741,7 @@ Info: The package is architecture-dependent, ships a 
shared library in
  a public library search path and is marked Multi-Arch:
  foreign. Typically, shared libraries are marked Multi-Arch:
  same when possible. Sometimes, private shared libraries are put
- into the public library search path to accomodate