Bug#453177: lintian: False positive in debconf template check
Package: lintian
Version: 1.23.36
Severity: normal
The check making-assumptions-about-interfaces-in-templates gives a false
positive for the following debconf template of the webcalendar package:
--<snip>---------------------------------------------------------------------
Template: webcalendar/conf/single_user_mode
Type: boolean
Default: false
_Description: Should WebCalendar be installed in single-user mode?
WebCalendar can be installed in single-user mode or multi-user mode. If it
is installed in single-user mode, no login will be required.
.
Using the single-user mode is not recommended unless the software runs
on a personal server protected by a firewall.
--</snip>--------------------------------------------------------------------
Looking at the following piece of code in /usr/share/lintian/checks/debconf:
--<snip>---------------------------------------------------------------------
if ($template->{description} =~ /[ \'\"](yes|no)[ \'\",;.]/i
and $type eq 'boolean') {
tag "making-assumptions-about-interfaces-in-templates",
$template->{template};
}
--</snip>--------------------------------------------------------------------
I think the warning was triggered by the "no login" phrase in the template.
Could you please fine tune the test to avoid this false positive?
Thanks,
Rafael
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages lintian depends on:
ii binutils 2.18~cvs20070812-1 The GNU assembler, linker and bina
ii diffstat 1.43-2 produces graph of changes introduc
ii dpkg-dev 1.13.25 package building tools for Debian
ii file 4.17-5etch1 Determines file type using "magic"
ii gettext 0.16.1-1 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchange 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-6 The on-line manual pager
ii perl [libdigest-md5-p 5.8.8-7 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Reply to: