From: Russ Allbery Date: Tue, 29 Jun 2010 17:43:06 +0000 (-0700) Subject: Clarify the banned dependencies between main and non-main X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=30daa4aab845a7972bff3f0e33994176bc912dc6;p=debian%2Fdebian-policy.git Clarify the banned dependencies between main and non-main * Add Pre-Depends and Build-Depends-Indep to the relationships not allowed from main to contrib or non-free and mention that such relationships are okay if the non-free package is only an alternative. Thanks, Raphael Geissert. (Closes: #587279) --- diff --git a/debian/changelog b/debian/changelog index ce27639..fedb536 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,10 @@ debian-policy (3.9.1.0) UNRELEASED; urgency=low package. * Explain the Perl module package naming policy more explicitly and provide some examples. (Closes: #175202) + * Add Pre-Depends and Build-Depends-Indep to the relationships not + allowed from main to contrib or non-free and mention that such + relationships are okay if the non-free package is only an + alternative. Thanks, Raphael Geissert. (Closes: #587279) -- Russ Allbery Mon, 28 Jun 2010 09:34:54 -0700 diff --git a/policy.sgml b/policy.sgml index 3e99099..9fe7158 100644 --- a/policy.sgml +++ b/policy.sgml @@ -476,9 +476,11 @@ must not require a package outside of main for compilation or execution (thus, the package must - not declare a "Depends", "Recommends", or - "Build-Depends" relationship on a non-main - package), + not declare a Pre-Depends, Depends, + Recommends, Build-Depends, + or Build-Depends-Indep relationship on a + non-main package unless a package + in main is listed as an alternative), must not be so buggy that we refuse to support them,