| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.39 2011/10/27 18:33:42 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-features.xml,v 1.40 2011/11/27 18:25:28 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <abstract> |
11 | <abstract> |
| 12 | Discover the features Portage has, such as support for distributed compiling, |
12 | Discover the features Portage has, such as support for distributed compiling, |
| 13 | ccache and more. |
13 | ccache and more. |
| 14 | </abstract> |
14 | </abstract> |
| 15 | |
15 | |
| 16 | <version>3</version> |
16 | <version>4</version> |
| 17 | <date>2011-10-27</date> |
17 | <date>2011-11-27</date> |
| 18 | |
18 | |
| 19 | <section> |
19 | <section> |
| 20 | <title>Portage Features</title> |
20 | <title>Portage Features</title> |
| 21 | <body> |
21 | <body> |
| 22 | |
22 | |
| … | |
… | |
| 345 | To configure Portage, first create a truststore in which you download and accept |
345 | To configure Portage, first create a truststore in which you download and accept |
| 346 | the keys of the Gentoo Infrastructure responsible for signing the Portage tree |
346 | the keys of the Gentoo Infrastructure responsible for signing the Portage tree |
| 347 | snapshots. Of course, if you want to, you can validate this GPG key as per the |
347 | snapshots. Of course, if you want to, you can validate this GPG key as per the |
| 348 | <uri link="/doc/en/gnupg-user.xml#doc_chap2_sect4">proper guidelines</uri> |
348 | <uri link="/doc/en/gnupg-user.xml#doc_chap2_sect4">proper guidelines</uri> |
| 349 | (like checking the key fingerprint <c>AE54 54F9 67B5 6AB0 9AE1 6064 0838 |
349 | (like checking the key fingerprint <c>AE54 54F9 67B5 6AB0 9AE1 6064 0838 |
| 350 | C26E 239C 75C4</c>). |
350 | C26E 239C 75C4</c> for key <c>0x239C75C4</c> or <c>DCD0 5B71 EAB9 4199 527F 44AC |
|
|
351 | DB6B 8C1F 96D8 BF6D</c> for key <c>0x96D8BF6D</c>). |
| 351 | </p> |
352 | </p> |
|
|
353 | |
|
|
354 | <!-- Key 0x239C75C4 is superceded by 0x96D8BF6D, but keep it in the documents |
|
|
355 | for a while to ensure continuity --> |
| 352 | |
356 | |
| 353 | <pre caption="Creating a truststore for Portage"> |
357 | <pre caption="Creating a truststore for Portage"> |
| 354 | # <i>mkdir -p /etc/portage/gpg</i> |
358 | # <i>mkdir -p /etc/portage/gpg</i> |
| 355 | # <i>chmod 0700 /etc/portage/gpg</i> |
359 | # <i>chmod 0700 /etc/portage/gpg</i> |
| 356 | # <i>gpg --homedir /etc/portage/gpg --keyserver subkeys.pgp.net --recv-keys 0x239C75C4</i> |
360 | # <i>gpg --homedir /etc/portage/gpg --keyserver subkeys.pgp.net --recv-keys 0x239C75C4 0x96D8BF6D</i> |
| 357 | # <i>gpg --homedir /etc/portage/gpg --edit-key 0x239C75C4 trust</i> |
361 | # <i>gpg --homedir /etc/portage/gpg --edit-key 0x239C75C4 trust</i> |
|
|
362 | # <i>gpg --homedir /etc/portage/gpg --edit-key 0x96D8BF6D trust</i> |
| 358 | </pre> |
363 | </pre> |
| 359 | |
364 | |
| 360 | <p> |
365 | <p> |
| 361 | Next, edit <path>/etc/make.conf</path> and enable support for validating the |
366 | Next, edit <path>/etc/make.conf</path> and enable support for validating the |
| 362 | signed Portage tree snapshots (using <c>FEATURES="webrsync-gpg"</c>) and |
367 | signed Portage tree snapshots (using <c>FEATURES="webrsync-gpg"</c>) and |