Bug#878449: lintian: [PATCH] Update debconf reference mapping
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-perl 0.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-perl 0.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-perl 2.24-1
ii libyaml-libyaml-perl 0.63-2build1
ii man-db 2.7.6.1-2
ii patchutils 0.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 <none>
ii dpkg-dev 1.18.24ubuntu1
ii libhtml-parser-perl 3.72-3build1
pn libtext-template-perl <none>
-- no debconf information
>From b6ad595bc7ec8c87f3f2d06276ca590cda41c539 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
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/<a href="(#.+?)">([\w\s[:punct:]]+?)<\/a>/,
- [['section', 'url'], ['title']]
+ qr/<a href="(#.+?)">\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
Reply to: