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

[SCM] Debian package checker branch, master, updated. 2.4.1-23-g7f3871e



The following commit has been merged in the master branch:
commit 7f3871ef618f8216bcaebe4a8b3b1ddeb1234b04
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Jun 27 13:46:36 2010 -0500

    Exclude dash from the depends-on-essential-package checks
    
    The discussion where this decission was taken can be found at:
    http://lists.debian.org/20100626175910.GL9805@claws.fglan
    
    The plan is to make sure packages using /bin/dash *do* depend on it,
    while packages using /bin/sh (the interface) do not depend on dash (the
    package).
    
    checks/fields{,.desc}:
     + [RG] Exclude dash from the depends-on-essential-package checks, as
       per discusion in debian-devel.  (Closes: #587209)

diff --git a/checks/fields b/checks/fields
index c195c3d..f8fe975 100644
--- a/checks/fields
+++ b/checks/fields
@@ -582,7 +582,7 @@ if (($type eq "binary") || ($type eq 'udeb')) {
 				# diffutils effectively is a versioned one.
 				tag "depends-on-essential-package-without-using-version", "$field: $part_d_orig"
 				    if ($KNOWN_ESSENTIAL->known($d_pkg) && ! $d_version->[0]
-					&& &$is_dep_field($field) && $d_pkg ne 'diffutils');
+					&& &$is_dep_field($field) && $d_pkg ne 'diffutils' && $d_pkg ne 'dash');
 
 				tag "package-depends-on-an-x-font-package", "$field: $part_d_orig"
 				    if ($field =~ /^(pre-)?depends$/ && $d_pkg =~ /^xfont.*/ && $d_pkg ne 'xfonts-utils' && $d_pkg ne 'xfonts-encodings');
@@ -716,7 +716,7 @@ if ($type eq "source") {
 					    if ($known_build_essential{$d_pkg} && ! $d_version->[1]);
 
 					tag "build-depends-on-essential-package-without-using-version", "$field: $part_d_orig"
-					    if ($KNOWN_ESSENTIAL->known($d_pkg) && ! $d_version->[0]);
+					    if ($KNOWN_ESSENTIAL->known($d_pkg) && ! $d_version->[0] && $d_pkg ne 'dash');
 					push @seen_obsolete_packages, $part_d_orig
 					    if ($OBSOLETE_PACKAGES->known($d_pkg) && &$is_dep_field($field));
 
diff --git a/debian/changelog b/debian/changelog
index 81fdaec..7b88260 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ lintian (2.4.2) UNRELEASED; urgency=low
       virtual package.
     + [RG] Check for invalid package names in provided (virtual)
       packages.
+    + [RG] Exclude dash from the depends-on-essential-package checks, as
+      per discusion in debian-devel.  (Closes: #587209)
   * checks/huge-usr-share{,.desc}:
     + [RA] Count file size from the tar listing rather than using du.  The
       results of du vary based on file system and other factors and make

-- 
Debian package checker


Reply to: