Package: libconfig-model-dpkg-perl
Severity: wishlist
Tags: patch

The attached patch provides an update with new archive sections for programming
language packages.  See https://bugs.debian.org/753480 and
https://bugs.debian.org/845576 for more on the new sections.  ftpmaster has
approved adding the two new sections, conditional on support for them in the
various packages with lists of archive section names.

We'd like to include support for these sections in the next stable release of
Debian, so that packages from stable can process packages from testing,
unstable, experimental, backports, and third-party archives without
encountering unknown section names.

Please consider applying this patch and uploading a version with this patch
included in either December or early January, to allow plenty of time for the
upload to propagate to testing before the freeze in early February.

Thank you,
Josh Triplett

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-rc8-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From c11d264aa5161a8e746c6fab6fedeea80a8a7531 Mon Sep 17 00:00:00 2001
From: Josh Triplett <j...@joshtriplett.org>
Date: Thu, 8 Dec 2016 20:04:00 -0800
Subject: [PATCH] Add sections for Rust and JavaScript

---
 lib/Config/Model/models/Dpkg/Control/Binary.pl | 2 +-
 lib/Config/Model/models/Dpkg/Control/Source.pl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Config/Model/models/Dpkg/Control/Binary.pl b/lib/Config/Model/models/Dpkg/Control/Binary.pl
index 433ca682..7a7003d7 100644
--- a/lib/Config/Model/models/Dpkg/Control/Binary.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Binary.pl
@@ -61,7 +61,7 @@ A package may specify an architecture wildcard. Architecture wildcards are in th
             'msg' => 'Bad area. Should be \'non-free\' or \'contrib\''
           },
           'section' => {
-            'code' => '(not defined) or m!^([-\\w]+/)?(admin|cli-mono|comm|database|devel|debug|doc|editors|education|electronics|embedded|fonts|games|gnome|graphics|gnu-r|gnustep|hamradio|haskell|httpd|interpreters|introspection|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|tex|text|utils|vcs|video|web|x11|xfce|zope)$!;',
+            'code' => '(not defined) or m!^([-\\w]+/)?(admin|cli-mono|comm|database|devel|debug|doc|editors|education|electronics|embedded|fonts|games|gnome|graphics|gnu-r|gnustep|hamradio|haskell|httpd|interpreters|introspection|java|javascript|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|rust|science|shells|sound|tex|text|utils|vcs|video|web|x11|xfce|zope)$!;',
             'msg' => 'Bad section.'
           }
         }
diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 169e4401..4fa9e6c7 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -94,7 +94,7 @@ area/section if the package is in the contrib or non-free archive areas.
             'msg' => 'Section is empty'
           },
           'section' => {
-            'code' => '(not defined) or m!^([-\\w]+/)?(admin|cli-mono|comm|database|devel|debug|doc|editors|education|electronics|embedded|fonts|games|gnome|graphics|gnu-r|gnustep|hamradio|haskell|httpd|interpreters|introspection|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|tex|text|utils|vcs|video|web|x11|xfce|zope)$!;',
+            'code' => '(not defined) or m!^([-\\w]+/)?(admin|cli-mono|comm|database|devel|debug|doc|editors|education|electronics|embedded|fonts|games|gnome|graphics|gnu-r|gnustep|hamradio|haskell|httpd|interpreters|introspection|java|javascript|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|rust|science|shells|sound|tex|text|utils|vcs|video|web|x11|xfce|zope)$!;',
             'msg' => 'Bad section.'
           }
         }
-- 
2.11.0

Reply via email to