[SCM] website branch, master, updated. f05d5341cf2bb277bdea6558e834ca83bee3f1bf

Bas Couwenberg sebastic at xs4all.nl
Sun Jan 5 23:18:26 UTC 2014


The following commit has been merged in the master branch:
commit f05d5341cf2bb277bdea6558e834ca83bee3f1bf
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jan 6 00:17:35 2014 +0100

    Add sudo configuration to the Setup the build environment section.
    
    Add sudo configuration to the Setup the build environment section,
    add git-buildpackage's pristine-tar and pbuilder options to the Building the package section.

diff --git a/policy.xml b/policy.xml
index a745d08..f0a6614 100644
--- a/policy.xml
+++ b/policy.xml
@@ -687,6 +687,18 @@ pkg-grass/
 <command>pbuilder</command> can be selected instead by setting the environment variable <literal>BUILDER</literal> to "<literal>pbuilder</literal>", and 
 <command>qemubuilder</command> can be selected by setting <literal>BUILDER</literal> to "<literal>qemubuilder</literal>".
 </literallayout>
+          <literallayout>Root privileges are required to run <command>cowbuilder</command> and <command>pbuilder</command>.
+Use <command>visudo</command> to configure <command>sudo</command> to use the following settings to allow <replaceable><username></replaceable> passwordless use of <command>cowbuilder</command> and <command>pbuilder</command>.
+</literallayout>
+<programlisting>
+Defaults! PBUILDERS setenv
+
+# Cmnd alias specification
+Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
+
+# User privilege specification
+<replaceable><username></replaceable>     ALL=(root)     NOPASSWD:PBUILDERS
+</programlisting>
           <literallayout>The default path for <command>cowbuilder</command> chroots is <filename>/var/cache/pbuilder/base-<replaceable><distribution></replaceable>.cow</filename>.
 And for <command>pbuilder</command> chroots <filename>/var/cache/pbuilder/base-<replaceable><distribution></replaceable>.tgz</filename>.
 </literallayout>
@@ -800,6 +812,20 @@ For <command>pbuilder</command> replace <option>--basepath</option> with <option
           </para>
           <para>
             Use <command>git-buildpackage</command>'s
+            <option>--git-pristine-tar</option> option to generate missing
+            upstream tarballs with the <command>pristine-tar</command>
+            command from the <literal>upstream</literal> and
+            <literal>pristine-tar</literal> branches in the Git repository.
+          </para>
+          <para>
+            Use <command>git-buildpackage</command>'s
+            <option>--git-pbuilder</option> option to use
+            <command>cowbuilder</command> for building the package in a clean
+            <literal>chroot</literal> instead of on the development system
+            itself using plain <command>debuild</command>.
+          </para>
+          <para>
+            Use <command>git-buildpackage</command>'s
             <option>--git-dist=<replaceable><distribution></replaceable></option>
             option for building packages in distribution specific chroots,
             such as <literal>stable-updates</literal> using the branch 

-- 
pkg-grass website



More information about the Pkg-grass-devel mailing list