/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-portage.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-portage.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.79 Revision 1.80
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-portage.xml,v 1.79 2012/05/22 18:40:06 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.80 2012/07/24 12:12:52 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12This chapter explains the "simple" steps a user definitely needs to know to 12This chapter explains the "simple" steps a user definitely needs to know to
13maintain the software on his system. 13maintain the software on his system.
14</abstract> 14</abstract>
15 15
16<version>5</version> 16<version>6</version>
17<date>2012-05-22</date> 17<date>2012-07-24</date>
18 18
19<section> 19<section>
20<title>Welcome to Portage</title> 20<title>Welcome to Portage</title>
21<body> 21<body>
22 22
408(EULAs) that require reading and signing an acceptance agreement. 408(EULAs) that require reading and signing an acceptance agreement.
409</p> 409</p>
410 410
411<p> 411<p>
412The variable that controls permitted licenses is <c>ACCEPT_LICENSE</c>, which 412The variable that controls permitted licenses is <c>ACCEPT_LICENSE</c>, which
413can be set in <path>/etc/make.conf</path>: 413can be set in <path>/etc/portage/make.conf</path>:
414</p> 414</p>
415 415
416<pre caption="Default ACCEPT_LICENSE in /etc/make.conf"> 416<pre caption="Default ACCEPT_LICENSE in /etc/portage/make.conf">
417ACCEPT_LICENSE="* -@EULA" 417ACCEPT_LICENSE="* -@EULA"
418</pre> 418</pre>
419 419
420<p> 420<p>
421With this configuration, packages that require interaction during installation 421With this configuration, packages that require interaction during installation
422to approve their EULA <e>will not</e> be installed. Packages without an EULA 422to approve their EULA <e>will not</e> be installed. Packages without an EULA
423<e>will</e> be installed. 423<e>will</e> be installed.
424</p> 424</p>
425 425
426<p> 426<p>
427You can set <c>ACCEPT_LICENSE</c> globally in <path>/etc/make.conf</path>, or 427You can set <c>ACCEPT_LICENSE</c> globally in <path>/etc/portage/make.conf</path>
428you can specify it on a per-package basis in 428, or you can specify it on a per-package basis in
429<path>/etc/portage/package.license</path>. 429<path>/etc/portage/package.license</path>.
430</p> 430</p>
431 431
432<p> 432<p>
433For example, if you want to allow the <c>truecrypt-2.7</c> license for 433For example, if you want to allow the <c>truecrypt-2.7</c> license for
456License groups defined in <c>ACCEPT_LICENSE</c> are prefixed with an <b>@</b> 456License groups defined in <c>ACCEPT_LICENSE</c> are prefixed with an <b>@</b>
457sign. Here's an example of a system that globally permits the GPL-compatible 457sign. Here's an example of a system that globally permits the GPL-compatible
458license group, as well as a few other groups and individual licenses: 458license group, as well as a few other groups and individual licenses:
459</p> 459</p>
460 460
461<pre caption="ACCEPT_LICENSE in /etc/make.conf"> 461<pre caption="ACCEPT_LICENSE in /etc/portage/make.conf">
462ACCEPT_LICENSE="@GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal BitstreamVera" 462ACCEPT_LICENSE="@GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal BitstreamVera"
463</pre> 463</pre>
464 464
465<p> 465<p>
466If you want only free software and documentation on your system, you might use 466If you want only free software and documentation on your system, you might use
639 just not compatible with the profile you use. 639 just not compatible with the profile you use.
640 </li> 640 </li>
641 <li> 641 <li>
642 <b>license</b> means that the package's license is not compatible with your 642 <b>license</b> means that the package's license is not compatible with your
643 <c>ACCEPT_LICENSE</c> setting. You must explicitly permit its license or 643 <c>ACCEPT_LICENSE</c> setting. You must explicitly permit its license or
644 license group by setting it in <path>/etc/make.conf</path> or in 644 license group by setting it in <path>/etc/portage/make.conf</path> or in
645 <path>/etc/portage/package.license</path>. Refer to <uri 645 <path>/etc/portage/package.license</path>. Refer to <uri
646 link="#license">Licenses</uri> to learn how licenses work. 646 link="#license">Licenses</uri> to learn how licenses work.
647 </li> 647 </li>
648</ul> 648</ul>
649 649
680flag is not set on the system. 680flag is not set on the system.
681</p> 681</p>
682 682
683<p> 683<p>
684To resolve this, either add the requested USE flag to your global USE flags in 684To resolve this, either add the requested USE flag to your global USE flags in
685<path>/etc/make.conf</path>, or set it for the specific package in 685<path>/etc/portage/make.conf</path>, or set it for the specific package in
686<path>/etc/portage/package.use</path>. 686<path>/etc/portage/package.use</path>.
687</p> 687</p>
688 688
689</body> 689</body>
690</subsection> 690</subsection>

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

  ViewVC Help
Powered by ViewVC 1.1.20