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

lintian: r516 - in trunk: checks debian



Author: djpig
Date: 2005-12-17 19:34:37 +0100 (Sat, 17 Dec 2005)
New Revision: 516

Modified:
   trunk/checks/debconf
   trunk/checks/debconf.desc
   trunk/debian/changelog
Log:
drop seen-flag-requires-versioned-depends and
multiselect-without-dependency and drop version requirement from
missing-debconf-dependency-for-preinst. All due to the fact that woody
shipped with 1.0.x and therefor versioned depends on versions lesser
than that don't make much sense anymore (Closes: #333736)


Modified: trunk/checks/debconf
===================================================================
--- trunk/checks/debconf	2005-12-17 18:17:43 UTC (rev 515)
+++ trunk/checks/debconf	2005-12-17 18:34:37 UTC (rev 516)
@@ -272,14 +272,6 @@
 	        tag "isdefault-flag-is-deprecated", "$file";
 	        $isdefault=1;
 	    }
-	    if (not $usesseen and m/db_f[sg]et\s+\S+\s+seen\s+/) {
-	       unless (Dep::implies($alldependencies,
-				    Dep::parse('debconf (>= 0.5)'))) {
-	           tag "seen-flag-requires-versioned-depends", "$file" 
-		       unless $type eq 'udeb';
-	       }
-	        $usesseen = 1;
-	    }
 	    if (not $usessettitle and m/db_settitle\s+/) {
 		unless (Dep::implies($alldependencies,
 				     Dep::parse('debconf (>= 1.3.22)'))) {
@@ -322,15 +314,9 @@
 
 # Check that the right dependencies are in the control file.
 
-if ($usesmultiselect) {
-    unless (Dep::implies($alldependencies,
-	                 Dep::parse('debconf (>= 0.2.26)'))) {
-	tag "multiselect-without-dependency", ""
-	    unless $type eq 'udeb';
-    }
-} elsif ($usespreinst) {
+if ($usespreinst) {
     unless (Dep::implies($dependencies{'pre-depends'},
-	                 Dep::parse('debconf (>= 0.2.17)'))
+	                 Dep::parse('debconf'))
 	    or Dep::implies($dependencies{'depends'}, Dep::parse('debconf'))) {
 	tag "missing-debconf-dependency-for-preinst", ""
 	    unless $type eq 'udeb';

Modified: trunk/checks/debconf.desc
===================================================================
--- trunk/checks/debconf.desc	2005-12-17 18:17:43 UTC (rev 515)
+++ trunk/checks/debconf.desc	2005-12-17 18:34:37 UTC (rev 516)
@@ -15,7 +15,7 @@
 Tag: missing-debconf-dependency-for-preinst
 Type: warning
 Info: Packages using debconf in their preinst script must either pre-depend
- on debconf (>= 0.2.17), with appropriate discussion on &debdev;, or else
+ on debconf, with appropriate discussion on &debdev;, or else
  depend on debconf and fall back to a different configuration system.
  
 Tag: duplicate-fields-in-templates
@@ -72,11 +72,6 @@
 Info: Templates using the `select' or `multiselect' data types must provide
  a `Choices:' field listing the possible values of the template.
 
-Tag: multiselect-without-dependency
-Type: warning
-Info: If your package uses the `multiselect' type in a debconf template, it
- must depend on debconf (>= 0.2.26).
-
 Tag: boolean-template-has-bogus-default
 Type: error
 Info: The `boolean' type in a debconf template, can have only two values: true
@@ -182,12 +177,6 @@
  install an override. Other exceptions to this check include configuration
  scripts called from the package's post-installation script.
 
-Tag: seen-flag-requires-versioned-depends
-Type: error
-Info: Debconf only supports the 'seen' flag as of version 0.5.00.  To ensure
- upgrades work correctly, packages that use this new flag should declare a
- dependency on that version of debconf.
-
 Tag: settitle-requires-versioned-depends
 Type: error
 Info: Debconf only supports the SETTITLE command as of version 1.3.22. To

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-12-17 18:17:43 UTC (rev 515)
+++ trunk/debian/changelog	2005-12-17 18:34:37 UTC (rev 516)
@@ -13,6 +13,11 @@
   
   * checks/binaries:
     + [FL] support c2a suffix in soname check, too (Closes: #340856)
+  * checks/debconf{.desc,}:
+    + [FL] drop seen-flag-requires-versioned-depends and multiselect-without-dependency and
+      drop version requirement from missing-debconf-dependency-for-preinst. All due to the
+      fact that woody shipped with 1.0.x and therefor versioned depends on versions lesser than
+      that don't make much sense anymore (Closes: #333736)
   * checks/debhelper:
     + [FL] debhelper compat level 3 is deprecated as well now (Closes: #340222)
   * checks/files:



Reply to: