From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nmca3-0001RB-Jk for garchives@archives.gentoo.org; Wed, 03 Mar 2010 00:36:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 544A4E0D88; Wed, 3 Mar 2010 00:36:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 183C4E0D88 for ; Wed, 3 Mar 2010 00:36:44 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id A2CB21B45D1 for ; Wed, 3 Mar 2010 00:36:43 +0000 (UTC) Received: from nightmorph by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NmcZu-0008V0-Rq for gentoo-doc-cvs@lists.gentoo.org; Wed, 03 Mar 2010 00:36:42 +0000 From: "Joshua Saddler (nightmorph)" To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-working-portage.xml X-VCS-Repository: gentoo X-VCS-Files: hb-working-portage.xml X-VCS-Directories: xml/htdocs/doc/en/handbook X-VCS-Committer: nightmorph X-VCS-Committer-Name: Joshua Saddler Content-Type: text/plain; charset=utf8 Message-Id: Sender: Joshua Saddler Date: Wed, 03 Mar 2010 00:36:42 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@lists.gentoo.org Reply-to: docs-team@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 22f492cd-cc70-47e8-bfec-0fc151cc03d5 X-Archives-Hash: df9a83214600801ab35a1c7cb446f1cb nightmorph 10/03/03 00:36:42 Modified: hb-working-portage.xml Log: Wrote some stuff on ACCEPT_LICENSE, prompted by bug 292445 Revision Changes Path 1.74 xml/htdocs/doc/en/handbook/hb-working-portage.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/hand= book/hb-working-portage.xml?rev=3D1.74&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/hand= book/hb-working-portage.xml?rev=3D1.74&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/hand= book/hb-working-portage.xml?r1=3D1.73&r2=3D1.74 Index: hb-working-portage.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-porta= ge.xml,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- hb-working-portage.xml 13 Feb 2010 20:54:07 -0000 1.73 +++ hb-working-portage.xml 3 Mar 2010 00:36:42 -0000 1.74 @@ -4,7 +4,7 @@ =20 - + =20 =20 @@ -13,8 +13,8 @@ maintain the software on his system. =20 -1.66 -2010-02-13 +1.67 +2010-03-02 =20
Welcome to Portage @@ -370,6 +370,96 @@
+
+Licenses + + + +

+Beginning with Portage version 2.1.7, you can accept or reject software +installation based on its license. All packages in the tree contain a +LICENSE entry in their ebuilds. Running emerge --search +packagename will tell you the package's license. +

+ +

+By default, Portage permits all licenses, except End User License Agreem= ents +(EULAs) that require reading and signing an acceptance agreement. +

+ +

+The variable that controls permitted licenses is ACCEPT_LICENSE, = which +can be set in /etc/make.conf: +

+ +
+ACCEPT_LICENSE=3D"* -@EULA"
+
+ +

+With this configuration, packages that require interaction during instal= lation +to approve their EULA will not be installed. Packages without an = EULA +will be installed. +

+ +

+You can set ACCEPT_LICENSE globally in /etc/make.conf, or +you can specify it on a per-package basis in +/etc/portage/package.license. +

+ +

+For example, if you want to allow the truecrypt-2.7 license for +app-crypt/truecrypt, add the following to +/etc/portage/package.license: +

+ +
+app-crypt/truecrypt truecrypt-2.7
+
+ +

+This permits installation of truecrypt versions that have the +truecrypt-2.7 license, but not versions with the truecrypt-2.8= +license. +

+ + +Licenses are stored in /usr/portage/licenses, and license g= roups +are kept in /usr/portage/license_groups. The first entry of= each +line in CAPITAL letters is the name of the license group, and every entr= y after +that is an individual license. + + +

+License groups defined in ACCEPT_LICENSE are prefixed with an = @ +sign. Here's an example of a system that globally permits the GPL-compat= ible +license group, as well as a few other groups and individual licenses: +

+ +
+ACCEPT_LICENSE=3D"@GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal Bitstr=
eamVera"
+
+ +

+If you want only free software and documentation on your system, you mig= ht use +the following setup: +

+ +
+ACCEPT_LICENSE=3D"-* @FREE"
+
+ +

+In this case, "free" is mostly defined by the FSF and OSI. Any package whose= license +does not meet these requirements will not be installed on your system. +

+ + +
+
When Portage is Complaining... @@ -491,6 +581,7 @@ - dev-util/cvsd-1.0.2 (masked by: missing keyword) - games-fps/unreal-tournament-451 (masked by: package.mask) - sys-libs/glibc-2.3.2-r11 (masked by: profile) +- net-im/skype-2.1.0.81 (masked by: skype-eula license(s)) =20

@@ -525,6 +616,13 @@ profile. The application might break your system if you installed it= or is just not compatible with the profile you use. +

  • + license means that the package's license is not compatible wi= th your + ACCEPT_LICENSE setting. You must explicitly permit its licens= e or + license group by setting it in /etc/make.conf or in + /etc/portage/package.license. Refer to Licenses to learn how licenses work. +
  • =20