[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 1.24.2-81-ge6e6c73



The following commit has been merged in the master branch:
commit de1646f4e00e5212068a7313ace9ed4066c69391
Author: Frank Lichtenheld <djpig@debian.org>
Date:   Tue Aug 5 22:35:56 2008 -0300

    checks/debconf: Remove debconf-error-requires-versioned-depends
    
    post-lenny a tag for the sake of sarge-backports clearly makes no sense
    anymore. Pointed out by Scott Kitterman.

diff --git a/checks/debconf b/checks/debconf
index d0f5830..0dcb8ed 100644
--- a/checks/debconf
+++ b/checks/debconf
@@ -225,11 +225,6 @@ foreach my $template (@templates) {
     } elsif ($template->{type} eq 'multiselect') {
 	$isselect=1;
 	$usesmultiselect=1;
-    } elsif ($template->{type} eq 'error') {
-        unless (Dep::implies($alldependencies, Dep::parse('debconf (>= 1.4.69) | cdebconf'))) {
-            tag "debconf-error-requires-versioned-depends", "$template->{template}"
-                unless $type eq 'udeb';
-        }
     } elsif ($template->{type} eq 'boolean') {
 	tag "boolean-template-has-bogus-default",
 	    "$template->{template} $template->{default}"
diff --git a/checks/debconf.desc b/checks/debconf.desc
index 415e4b7..8265413 100644
--- a/checks/debconf.desc
+++ b/checks/debconf.desc
@@ -161,20 +161,6 @@ Info: In the Unix tradition, Debian packages should have human-readable and
  install an override. Other exceptions to this check include configuration
  scripts called from the package's post-installation script.
 
-Tag: debconf-error-requires-versioned-depends
-Type: info
-Info: Debconf only supports the error template type as of version 1.4.69.
- Packages that use this template type should declare a dependency on that
- version of debconf.
- .
- Since error types were added after debconf-2.0, one cannot use the normal
- debconf-2.0 alternative to allow for cdebconf or other implementations.
- Instead, use <tt>debconf (&gt;= 1.4.69) | cdebconf (&gt;= 0.39)</tt>.
- .
- All versions of debconf back to etch support error templates, but the
- debconf released with sarge didn't, so this dependency is still helpful
- for oldstable backports.
-
 Tag: malformed-prompt-in-templates
 Type: warning
 Info: The short description of a select, multiselect, string and password
diff --git a/debian/changelog b/debian/changelog
index d85fd6b..d8bb6fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,9 @@ lintian (1.24.3) unstable; urgency=low
     + [ADB] Replace fields/* access with Lintian::Collect::field()
     + [ADB] Don't flag the shared templates used for dictionaries-common
       co-ordination as unused.
+    + [FL] Remove debconf-error-requires-versioned-depends since post-lenny
+      a tag for the sake of sarge-backports clearly makes no sense anymore.
+      (Closes: #493920)
   * checks/description:
     + [RA] Don't warn about a synopsis that ends in "etc."  Patch from
       Chris Lamb.  (Closes: #491252)
diff --git a/testset/tags.debconf b/testset/tags.debconf
index 4e8cea4..a1b0bf8 100644
--- a/testset/tags.debconf
+++ b/testset/tags.debconf
@@ -10,7 +10,6 @@ E: debconf-udeb udeb: udeb-postinst-must-not-call-ldconfig
 I: debconf source: no-complete-debconf-translation
 I: debconf source: package-needs-python-policy-debhelper
 I: debconf-test-noscripts: unused-debconf-template debconf/test
-I: debconf-test: debconf-error-requires-versioned-depends debconf/error
 I: debconf-test: unused-debconf-template debconf/1st-person
 I: debconf-test: unused-debconf-template debconf/error
 I: debconf-test: unused-debconf-template debconf/internal

-- 
Debian package checker


Reply to: