aboutsummaryrefslogtreecommitdiff
blob: 5781790ba974c4bee0410789bd5f9470169b5201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0"?>
<guide self="general-concepts/features/">
<chapter>
<title>FEATURES</title>

<body>
<p>
The <c>FEATURES</c> variable specifies options which affect how portage operates
and how packages are compiled. It is <b>not</b> used for settings which have a
substantial effect upon the resulting generated package.
</p>

<p>
Relevant <c>FEATURES</c> for developers include:
</p>

<table>
  <tr>
    <th>Feature</th>
    <th>Explanation</th>
  </tr>
  <tr>
    <ti><c>autoaddcvs</c></ti>
    <ti>Automatically runs a <c>cvs add</c> for certain files.</ti>
  </tr>
  <tr>
    <ti><c>collision-protect</c></ti>
    <ti>
      Raise an error if an installing package attempts to overwrite a file which
      is provided by a different package.
    </ti>
  </tr>
  <tr>
    <ti><c>cvs</c></ti>
    <ti>Generate proper digests even when <c>SRC_URI</c> has conditional elements.</ti>
  </tr>
  <tr>
    <ti><c>sandbox</c></ti>
    <ti>Enable the sandbox.</ti>
  </tr>
  <tr>
    <ti><c>sign</c></ti>
    <ti>GPG sign manifest files.</ti>
  </tr>
  <tr>
    <ti><c>strict</c></ti>
    <ti>
      Do some extra checks for potentially dangerous situations (eg missing
      <c>Manifest</c> files).
    </ti>
  </tr>
  <tr>
    <ti><c>test</c></ti>
    <ti>Enable the <c>src_test</c> phase.</ti>
  </tr>
  <tr>
    <ti><c>userpriv</c></ti>
    <ti>Drop to non-root privileges for certain phases.</ti>
  </tr>
  <tr>
    <ti><c>usersandbox</c></ti>
    <ti>Enables the sandbox even when running non-privileged.</ti>
  </tr>
</table>

</body>
</chapter>
</guide>