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

[lintian] 01/01: data/fields/name_section_mappings: Ensure that NSS (Name Services Switch) modules are placed in the "admin" section. Thanks to Mathieu Parent (sathieu) for the patch. (Closes: #886961)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 57867b19ae24d8684be47ebee3c4f76c923e3894
Author: Chris Lamb <lamby@debian.org>
Date:   Fri Jan 12 07:53:37 2018 +0530

    data/fields/name_section_mappings: Ensure that NSS (Name Services Switch) modules are placed in the "admin" section. Thanks to Mathieu Parent (sathieu) for the patch. (Closes: #886961)
---
 data/fields/name_section_mappings                     |  2 +-
 debian/changelog                                      |  4 ++++
 t/tests/fields-wrong-section/debian/debian/control.in | 12 ++++++++++++
 t/tests/fields-wrong-section/tags                     |  1 +
 4 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/data/fields/name_section_mappings b/data/fields/name_section_mappings
index 695523f..fba241b 100644
--- a/data/fields/name_section_mappings
+++ b/data/fields/name_section_mappings
@@ -34,7 +34,7 @@ lib.*-cil(?:-dev)?$          => cli-mono
 # data files
 ^gir\d+\.\d+-.*-\d+\.\d+$    => introspection
 ^(?:x?fonts|ttf)-                       => fonts
-^libpam-                                => admin
+^lib(?:nss|pam)-                                => admin
 ^(?:aspell|hunspell|myspell|mythes)-    => localization
 ^hyphen-[a-z]{2}(?:-[a-z]{2})?$         => localization
 ^dict-freedict-                         => localization
diff --git a/debian/changelog b/debian/changelog
index c81dca1..9ac4a5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ lintian (2.5.69) UNRELEASED; urgency=medium
   * data/files/fnames:
     + [CL] Warn about packages that ship (eg.) test_foo.py files in the
       global Python module namespace.
+  * data/fields/name_section_mappings:
+    + [CL] Ensure that NSS (Name Services Switch) modules are placed in the
+      "admin" section. Thanks to Mathieu Parent (sathieu) for the patch.
+      (Closes: #886961)
 
  -- Chris Lamb <lamby@debian.org>  Tue, 09 Jan 2018 20:55:21 +0530
 
diff --git a/t/tests/fields-wrong-section/debian/debian/control.in b/t/tests/fields-wrong-section/debian/debian/control.in
index 77da84d..73bc853 100644
--- a/t/tests/fields-wrong-section/debian/debian/control.in
+++ b/t/tests/fields-wrong-section/debian/debian/control.in
@@ -206,6 +206,18 @@ Description: {$description} (gir1.2-pkg)
  things.  It should not be installed like a regular package.  It may
  be an empty package.
 
+Package: libnss-{$source}
+Architecture: all
+Section: web
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Description: {$description} (NSS module)
+ Test for NSS modules.
+ .
+ This is a test package designed to exercise some feature or tag of
+ Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.  It may
+ be an empty package.
+
 Package: libpam-{$source}1
 Architecture: all
 Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
diff --git a/t/tests/fields-wrong-section/tags b/t/tests/fields-wrong-section/tags
index 3dbb951..79c74d9 100644
--- a/t/tests/fields-wrong-section/tags
+++ b/t/tests/fields-wrong-section/tags
@@ -12,6 +12,7 @@ W: libfields-wrong-section-perl: wrong-section-according-to-package-name libfiel
 W: libfields-wrong-section-ruby1.8: wrong-section-according-to-package-name libfields-wrong-section-ruby1.8 => ruby
 W: libghc-fields-wrong-section: wrong-section-according-to-package-name libghc-fields-wrong-section => haskell
 W: libjs-fields-wrong-section: wrong-section-according-to-package-name libjs-fields-wrong-section => javascript
+W: libnss-fields-wrong-section: wrong-section-according-to-package-name libnss-fields-wrong-section => admin
 W: libpam-fields-wrong-section1: wrong-section-according-to-package-name libpam-fields-wrong-section1 => admin
 W: libphp-fields-wrong-section: wrong-section-according-to-package-name libphp-fields-wrong-section => php
 W: python-fields-wrong-section: wrong-section-according-to-package-name python-fields-wrong-section => python

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: