| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: pkg_comp.8,v 1.38 2013/07/20 21:50:53 wiz Exp $ | | 1 | .\" $NetBSD: pkg_comp.8,v 1.39 2013/12/31 17:22:40 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" pkg_comp - Build packages inside a clean chroot environment | | 3 | .\" pkg_comp - Build packages inside a clean chroot environment |
4 | .\" Copyright (c) 2002, 2003, 2004, 2005 Julio M. Merino Vidal <jmmv@NetBSD.org> | | 4 | .\" Copyright (c) 2002, 2003, 2004, 2005 Julio M. Merino Vidal <jmmv@NetBSD.org> |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Neither the name of The NetBSD Foundation nor the names of its | | 11 | .\" 2. Neither the name of The NetBSD Foundation nor the names of its |
12 | .\" contributors may be used to endorse or promote products derived | | 12 | .\" contributors may be used to endorse or promote products derived |
13 | .\" from this software without specific prior written permission. | | 13 | .\" from this software without specific prior written permission. |
14 | .\" 3. Neither the name of author nor the names of its contributors may | | 14 | .\" 3. Neither the name of author nor the names of its contributors may |
| @@ -17,27 +17,27 @@ | | | @@ -17,27 +17,27 @@ |
17 | .\" | | 17 | .\" |
18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 18 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 19 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 20 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 21 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 22 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 23 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 24 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | .\" POSSIBILITY OF SUCH DAMAGE. | | 28 | .\" POSSIBILITY OF SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .Dd May 11, 2012 | | 30 | .Dd December 31, 2013 |
31 | .Dt PKG_COMP 8 | | 31 | .Dt PKG_COMP 8 |
32 | .Os | | 32 | .Os |
33 | .Sh NAME | | 33 | .Sh NAME |
34 | .Nm pkg_comp | | 34 | .Nm pkg_comp |
35 | .Nd build packages inside a sandbox | | 35 | .Nd build packages inside a sandbox |
36 | .Sh SYNOPSIS | | 36 | .Sh SYNOPSIS |
37 | .Nm | | 37 | .Nm |
38 | .Oo Fl Po | | 38 | .Oo Fl Po |
39 | .Cm c Ns \&| Ns Cm C | | 39 | .Cm c Ns \&| Ns Cm C |
40 | .Pc | | 40 | .Pc |
41 | .Ar conf_file | | 41 | .Ar conf_file |
42 | .Oc | | 42 | .Oc |
43 | .Op Fl Nn | | 43 | .Op Fl Nn |
| @@ -436,27 +436,27 @@ Mount options. | | | @@ -436,27 +436,27 @@ Mount options. |
436 | Defaults to | | 436 | Defaults to |
437 | .Sy -t null -o rw . | | 437 | .Sy -t null -o rw . |
438 | .It REAL_PKGSRC | | 438 | .It REAL_PKGSRC |
439 | The pkgsrc tree. | | 439 | The pkgsrc tree. |
440 | This can be useful if you want to use several pkgsrc trees independently. | | 440 | This can be useful if you want to use several pkgsrc trees independently. |
441 | Defaults to | | 441 | Defaults to |
442 | .Pa /usr/pkgsrc . | | 442 | .Pa /usr/pkgsrc . |
443 | .It REAL_PKGSRC_OPTS | | 443 | .It REAL_PKGSRC_OPTS |
444 | Mount options. | | 444 | Mount options. |
445 | Defaults to | | 445 | Defaults to |
446 | .Sy -t null -o ro . | | 446 | .Sy -t null -o ro . |
447 | .It REAL_SRC | | 447 | .It REAL_SRC |
448 | The src system tree. | | 448 | The src system tree. |
449 | Usually useless, but may be needed by some packages, like sysutils/aperture. | | 449 | Usually useless, but may be needed by some packages. |
450 | Defaults to | | 450 | Defaults to |
451 | .Pa /usr/src . | | 451 | .Pa /usr/src . |
452 | .It REAL_SRC_OPTS | | 452 | .It REAL_SRC_OPTS |
453 | Mount options. | | 453 | Mount options. |
454 | Defaults to | | 454 | Defaults to |
455 | .Sy -t null -o ro . | | 455 | .Sy -t null -o ro . |
456 | .It MAKEROOT_HOOKS | | 456 | .It MAKEROOT_HOOKS |
457 | A whitespace separated list of functions or external scripts to be executed | | 457 | A whitespace separated list of functions or external scripts to be executed |
458 | after the sandbox is created. | | 458 | after the sandbox is created. |
459 | Two arguments are given to each of them: | | 459 | Two arguments are given to each of them: |
460 | .Ar $DESTDIR , | | 460 | .Ar $DESTDIR , |
461 | and the word | | 461 | and the word |
462 | .Ar makeroot . | | 462 | .Ar makeroot . |