Bug#748967: pbuilder: please apply patch to disable network during the build by default

Thorsten Glaser tg at mirbsd.de
Thu May 22 17:14:22 UTC 2014


Source: pbuilder
Version: 0.215
Severity: important
Tags: patch

Hi,

network is not available on a Debian buildd during package build time.
This was untrue in pbuilder until I patched it to do that – see the
attached debdiff. Please apply and upload. I intend to NMU otherwise.
I made this because I was appalled that a coworker was proud of their
Debian package of some software that just ran “mvn install” in the
d/rules file… I need to show them that that does n̲o̲t̲ work ;-)

This introduces a new pbuilderrc option USENETWORK=no (“no” being the
default, “yes” the way to disable it), patches the manpage to document
it (important ☺) and doesn’t anger either kFreeBSD or Hurd porters as
it checks for the “unshare” tool (from util-linux so Essential: yes)
before using it, and warns if unavailable, but only informs on nōn-Linux.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbuilder_0.215+nmu1.debdiff
Type: text/x-diff
Size: 2538 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20140522/b0f1a27b/attachment.diff>


More information about the Pbuilder-maint mailing list