Steve Langasek <vor...@debian.org> writes:

> This particular wording allows for the non-free package to be first in
> the list of alternatives, which I think is clearly incorrect.  The
> intent AIUI is to avoid installation of a package in main ever causing a
> non-free package to be pulled in automatically, regardless of whether
> non-free is enabled in sources.list.

> So I would instead suggest writing this as:

>   unless this package is listed as a non-default alternative to a package in
>   <em>main</em>

Good point.  Here's updated wording, which starts from yours and tweaks it
a little bit to try to make it even more explicit.

diff --git a/policy.sgml b/policy.sgml
index 0b3c1a1..06c1fdc 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -476,9 +476,12 @@
              <item>
                  must not require a package outside of <em>main</em>
                  for compilation or execution (thus, the package must
-                 not declare a "Depends", "Recommends", or
-                 "Build-Depends" relationship on a non-<em>main</em>
-                 package),
+                 not declare a <tt>Pre-Depends</tt>, <tt>Depends</tt>,
+                 <tt>Recommends</tt>, <tt>Build-Depends</tt>,
+                 or <tt>Build-Depends-Indep</tt> relationship on a
+                 non-<em>main</em> package unless that package is only
+                 listed as a non-default alternative for a package
+                 in <em>main</em),
              </item>
              <item>
                  must not be so buggy that we refuse to support them,

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to