Debian Bug report logs - #587279
Clarify restrictions on main to non-free dependencies

version graph

Package: debian-policy; Maintainer for debian-policy is Debian Policy List <debian-policy@lists.debian.org>; Source for debian-policy is src:debian-policy.

Reported by: Raphael Geissert <geissert@debian.org>

Date: Sat, 26 Jun 2010 23:33:05 UTC

Owned by: Russ Allbery <rra@debian.org>

Severity: normal

Merged with 616462

Found in versions 3.8.4, debian-policy/3.9.1.0

Fix blocked by 681419: Alternative dependencies on non-free packages in main

Full log


Message #56 received at 587279@bugs.debian.org (full text, mbox):

Received: (at 587279) by bugs.debian.org; 19 Jul 2010 16:26:50 +0000
From eagle@windlord.stanford.edu Mon Jul 19 16:26:49 2010
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on busoni.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 151; neutral, 93; spammy,
	0. spammytokens: hammytokens:0.000-+--H*u:Gnus, 0.000-+--H*u:linux,
	0.000-+--H*UA:linux, 0.000-+--H*UA:gnu, 0.000-+--H*u:gnu
X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,FOURLA,
	FROMDEVELOPER,HAS_BUG_NUMBER,IMPRONONCABLE_2,RCVD_IN_DNSWL_MED,URIBL_CNKR
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Return-path: <eagle@windlord.stanford.edu>
Received: from smtp1.stanford.edu ([171.67.219.81] helo=smtp.stanford.edu)
	by busoni.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <eagle@windlord.stanford.edu>)
	id 1OatB1-0002yN-JC
	for 587279@bugs.debian.org; Mon, 19 Jul 2010 16:26:49 +0000
Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1])
	by localhost (Postfix) with SMTP id 7EEC8178489;
	Mon, 19 Jul 2010 09:26:39 -0700 (PDT)
Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.67.225.134])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.stanford.edu (Postfix) with ESMTPS id 5C6A71786B6;
	Mon, 19 Jul 2010 09:26:38 -0700 (PDT)
Received: by windlord.stanford.edu (Postfix, from userid 1000)
	id 3345C2F470; Mon, 19 Jul 2010 09:26:38 -0700 (PDT)
From: Russ Allbery <rra@debian.org>
To: Steve Langasek <vorlon@debian.org>
Cc: 587279@bugs.debian.org,  Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>,  Raphael Geissert <geissert@debian.org>
Subject: Re: Bug#587279: debian-policy: section 2.2.1 needs some tweaking
In-Reply-To: <20100718005311.GD3682@dario.dodds.net> (Steve Langasek's message
	of "Sun, 18 Jul 2010 02:53:11 +0200")
Organization: The Eyrie
References: <201006261829.48353.geissert@debian.org>
	<87vd91kanm.fsf@windlord.stanford.edu>
	<20100714121519.GE9773@yellowpig>
	<87pqyq58yh.fsf@windlord.stanford.edu>
	<20100718005311.GD3682@dario.dodds.net>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Date: Mon, 19 Jul 2010 09:26:38 -0700
Message-ID: <87eieztp35.fsf@windlord.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Steve Langasek <vorlon@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 (rra@debian.org)               <http://www.eyrie.org/~eagle/>




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 04:06:18 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.