[SCM] Debian package checker branch, master, updated. 2.5.4-90-g399b7f8
The following commit has been merged in the master branch:
commit 399b7f8a6a5d72a45295105dc2f4751a62c46099
Author: Russ Allbery <rra@debian.org>
Date: Wed Jan 18 20:30:57 2012 -0800
Recognize more Perl debconf usages
* checks/debconf:
+ [RA] Recognize Perl uses of debconf templates via metaget or
settitle.
diff --git a/checks/debconf b/checks/debconf
index acaf787..b02bf7c 100644
--- a/checks/debconf
+++ b/checks/debconf
@@ -428,7 +428,8 @@ for my $file (qw(config prerm postrm preinst postinst)) {
$templates_used{$1} = 1;
}
# Try to handle Perl somewhat.
- if (m/^\s*(?:.*=\s*get|set)\s*\(\s*[\"\'](\S+?)[\"\']/) {
+ if (m/^\s*(?:.*=\s*get|set)\s*\(\s*[\"\'](\S+?)[\"\']/
+ || m/\b(?:metaget|settitle)\s*\(\s*[\"\'](\S+?)[\"\']/) {
$templates_used{$1} = 1;
}
if (m/^\s*db_register\s+[\"\']?(\S+?)[\"\']?\s+(\S+)\s/) {
diff --git a/debian/changelog b/debian/changelog
index bea4225..af1993a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,9 @@ lintian (2.5.5) UNRELEASED; urgency=low
Felix Geyer for the report. (Closes: #650325)
+ [NT] Accepted patch from Paul Wise to detect COFF object
files as Win32 binaries.
+ * checks/debconf:
+ + [RA] Recognize Perl uses of debconf templates via metaget or
+ settitle.
* checks/debhelper:
+ [NT] Do not check executable debhelper files for brace
expansion if compat is 9 (or greater). It may be allowed by
--
Debian package checker
Reply to: