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

lintian: r818 - in trunk: checks debian



Author: rra
Date: 2007-02-27 07:16:26 +0100 (Tue, 27 Feb 2007)
New Revision: 818

Modified:
   trunk/checks/scripts
   trunk/checks/scripts.desc
   trunk/debian/changelog
Log:
  + [RA] update-inetd is now its own package and netbase may not always
    depend on it.  Update the check to require a dependency on
    update-inetd, inet-superserver, or one of the inet-superserver
    packages that provides update-inetd.  Reported by Tatsuya Kinoshita.
    (Closes: #402319)

Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts	2007-02-27 06:01:00 UTC (rev 817)
+++ trunk/checks/scripts	2007-02-27 06:16:26 UTC (rev 818)
@@ -160,16 +160,19 @@
 				'zsh' => 'zsh'
 			       );
 
+# Any of the following packages can satisfy an update-inetd dependency.
+my $update_inetd
+    = join (' | ', qw(update-inetd inet-superserver openbsd-inetd rlinetd));
+
 # Appearance of one of these regexes in a maintainer script means that there
 # must be a dependency (or pre-dependency) on the given package.  The tag
 # reported is maintainer-script-needs-depends-on-%s, so be sure to update
 # scripts.desc when adding a new rule.
 my @depends_needed = (
-	[ adduser                               => '\badduser\b'        ],
-	[ 'gconf2 (>= 2.10.1-2)'                => '\bgconf-schemas\b'  ],
-	[ 'netbase | update-inetd'              => '\bupdate-inetd\b'   ],
-        [ 'openbsd-inetd | inet-superserver'    => '\bupdate-inetd\b'   ],
-	[ ucf                                   => '\bucf\s'            ],
+	[ adduser                => '\badduser\b'        ],
+	[ 'gconf2 (>= 2.10.1-2)' => '\bgconf-schemas\b'  ],
+	[ $update_inetd		 => '\bupdate-inetd\b'	 ],
+	[ ucf                    => '\bucf\s'            ],
 );
 
 my %executable = ();

Modified: trunk/checks/scripts.desc
===================================================================
--- trunk/checks/scripts.desc	2007-02-27 06:01:00 UTC (rev 817)
+++ trunk/checks/scripts.desc	2007-02-27 06:16:26 UTC (rev 818)
@@ -275,10 +275,15 @@
  command 'dpkg-statoverride' gives admins more flexibility.  Please see
  the documentation of suidmanager and dpkg-statoverride for details.
 
-Tag: maintainer-script-needs-depends-on-netbase
+Tag: maintainer-script-needs-depends-on-update-inetd
 Type: warning
 Info: This script calls update-inetd, but the package does not depend or
- pre-depend on either netbase or update-inetd, which provide it.
+ pre-depend on update-inetd, inet-superserver, or any of the providers of
+ inet-superserver which provide it.
+ .
+ update-inetd has been moved from netbase into a separate package, so a
+ dependency on netbase should be updated to depend either on update-inetd
+ directly or on "openbsd-inetd | inet-superserver".
 
 Tag: maintainer-script-needs-depends-on-adduser
 Type: warning

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-02-27 06:01:00 UTC (rev 817)
+++ trunk/debian/changelog	2007-02-27 06:16:26 UTC (rev 818)
@@ -14,9 +14,11 @@
   * checks/lintian.desc:
     + [RA] List emergency as a valid urgency.
   * checks/scripts{.desc,}:
-    + [JA] Added check for `openbsd-inetd | inet-superserver'
-      which compliments the older check `netbase | update-inetd'.
-      Reported by Tatsuya Kinoshita.  (Closes: #402319).
+    + [RA] update-inetd is now its own package and netbase may not always
+      depend on it.  Update the check to require a dependency on
+      update-inetd, inet-superserver, or one of the inet-superserver
+      packages that provides update-inetd.  Reported by Tatsuya Kinoshita.
+      (Closes: #402319)
     + [RA] Mention SUSv3 in the bashism and non-posix tag descriptions,
       note that use of test -a/-o and local aren't bugs but may still be
       worth avoiding, and mention short circuiting of && and ||.  (Thanks



Reply to: