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

Bug#770016: Clarify network access for building packages in main



On Wed, Feb 04, 2015 at 10:08:50AM -0200, Henrique de Moraes Holschuh wrote:
> On Tue, Feb 3, 2015, at 20:21, Bill Allombert wrote:
> > On Tue, Feb 03, 2015 at 04:27:56PM +0100, Lucas Nussbaum wrote:
> > > 
> > > yeah, I second this version:
> > > > +          For packages in the main archive, no required targets
> > > > +          may attempt network access.
> > 
> > Henrique, did Lucas answers about the archive rebuild address your
> > objections ?
> 
> Yes.  We can treat exceptions as... exceptions :-)

Excellent, so I have created a GIT branch bug770016-bill with the patch below
that I will commit in a few days.

Cheers
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 
commit d6fe14c1c08cea5adecd5006da900e12511beff5
Author: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
Date:   Sun Nov 23 17:39:21 2014 +0100

    Policy: [4.9] debian/rules: required targets must not attempt network access.
    
    Wording:  Bill  Allombert <ballombe@debian.org>
    Seconded: Andrey Rahmatullin <wrar@debian.org>
    Seconded: Lucas Nussbaum <lucas@debian.org>
    Closes: #770016

diff --git a/debian/changelog b/debian/changelog
index 93cf4f7..5deadec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,11 @@ debian-policy (3.9.7.0) unstable; urgency=low
     Seconded: Henrique de Moraes Holschuh <hmh@debian.org>
     Seconded: Andrey Rahmatullin <wrar@debian.org>
     Closes: #666726
+  * Policy: [4.9] debian/rules: required targets must not attempt network access.
+    Wording:  Bill  Allombert <ballombe@debian.org>
+    Seconded: Andrey Rahmatullin <wrar@debian.org>
+    Seconded: Lucas Nussbaum <lucas@debian.org>
+    Closes: #770016
 
  -- Bill Allombert <ballombe@debian.org>  Sun, 08 Feb 2015 19:22:01 +0100
 
diff --git a/policy.sgml b/policy.sgml
index 4adee0b..a8afd41 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -1931,6 +1931,10 @@ zope.
 	  any target that these targets depend on must also be
 	  non-interactive.
 	</p>
+	<p>
+          For packages in the main archive, no required targets
+          may attempt network access.
+	</p>
 
 	<p>
 	  The targets are as follows:
diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml
index 7e490e6..7aa17a8 100644
--- a/upgrading-checklist.sgml
+++ b/upgrading-checklist.sgml
@@ -49,6 +49,9 @@ Released xxx, 2015.
 <tag>5.1</tag>
   <item> Empty field values in control files are only permitted in the
   <file>debian/control</file> file of a source package.
+<tag>4.9</tag> <file>debian/rules</file>: required targets must not attempt
+  network access.
+  <item > 
   </item> </taglist></p>
 
 <sect id="3.9.6.0"> Version 3.9.6.0

Reply to: