| … | |
… | |
| 31 | <tbody valign="top"> |
31 | <tbody valign="top"> |
| 32 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">23</td> |
32 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">23</td> |
| 33 | </tr> |
33 | </tr> |
| 34 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">Portage handling of ACCEPT_LICENSE</td> |
34 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">Portage handling of ACCEPT_LICENSE</td> |
| 35 | </tr> |
35 | </tr> |
| 36 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td> |
36 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.2</td> |
| 37 | </tr> |
37 | </tr> |
| 38 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0023.txt?cvsroot=gentoo">2004/03/08 17:26:04</a></td> |
38 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0023.txt?cvsroot=gentoo">2004/03/11 02:35:40</a></td> |
| 39 | </tr> |
39 | </tr> |
| 40 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Jason Stubbs <jstubbs at gentoo.org>,</td> |
40 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Jason Stubbs <jstubbs at gentoo.org>,</td> |
| 41 | </tr> |
41 | </tr> |
| 42 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
42 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
| 43 | </tr> |
43 | </tr> |
| … | |
… | |
| 45 | </tr> |
45 | </tr> |
| 46 | <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td> |
46 | <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td> |
| 47 | </tr> |
47 | </tr> |
| 48 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">9-Mar-2004</td> |
48 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">9-Mar-2004</td> |
| 49 | </tr> |
49 | </tr> |
| 50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">8-Mar-2004</td> |
50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">8-Mar-2004 10-Mar-2004</td> |
| 51 | </tr> |
51 | </tr> |
| 52 | </tbody> |
52 | </tbody> |
| 53 | </table> |
53 | </table> |
| 54 | <hr /> |
54 | <hr /> |
| 55 | <div class="contents topic" id="contents"> |
55 | <div class="contents topic" id="contents"> |
| … | |
… | |
| 104 | under a different license.</p> |
104 | under a different license.</p> |
| 105 | <p>To accomodate these cases, LICENSE syntax should accomodate all |
105 | <p>To accomodate these cases, LICENSE syntax should accomodate all |
| 106 | functionality offered by a DEPEND string. To keep things simple, this |
106 | functionality offered by a DEPEND string. To keep things simple, this |
| 107 | GLEP proposes that the syntax be identical. For example:</p> |
107 | GLEP proposes that the syntax be identical. For example:</p> |
| 108 | <pre class="literal-block"> |
108 | <pre class="literal-block"> |
| 109 | LICENSE="mandatory-license \ |
109 | LICENSE="mandatory-license |
| 110 | ( || choosable-licence1 chooseable-license-2 ) \ |
110 | || ( choosable-licence1 chooseable-license-2 ) |
| 111 | useflag? ( optional-component-license )" |
111 | useflag? ( optional-component-license )" |
| 112 | </pre> |
112 | </pre> |
| 113 | </div> |
113 | </div> |
| 114 | <div class="section" id="license-groups"> |
114 | <div class="section" id="license-groups"> |
| 115 | <h2><a class="toc-backref" href="#id9" name="license-groups">License Groups</a></h2> |
115 | <h2><a class="toc-backref" href="#id9" name="license-groups">License Groups</a></h2> |
| 116 | <p>Almost all users are willing to install any software that is |
116 | <p>Almost all users are willing to install any software that is |
| 117 | OSI-approved. Other users are willing to install any software and |
117 | FSF-approved. Other users are willing to install any software and |
| 118 | implicitly accept its license. To this end, portage will also need to |
118 | implicitly accept its license. To this end, portage will also need to |
| 119 | handle grouping of licenses.</p> |
119 | handle grouping of licenses.</p> |
| 120 | <p>At a minimum, there needs to be the groups <tt class="literal"><span class="pre">OSI-APPROVED</span></tt> and |
120 | <p>At a minimum, there needs to be the groups <tt class="literal"><span class="pre">GPL-COMPATIBLE</span></tt>, |
| 121 | <tt class="literal"><span class="pre">NON-INTERACTIVE</span></tt>. <tt class="literal"><span class="pre">NON-INTERACTIVE</span></tt> licenses are those that don't |
121 | <tt class="literal"><span class="pre">FSF-APPROVED</span></tt>, <tt class="literal"><span class="pre">OSI-APPROVED</span></tt> and <tt class="literal"><span class="pre">NON-INTERACTIVE</span></tt>. |
| 122 | require interactive acceptance for it to be considered legally binding. |
122 | <tt class="literal"><span class="pre">NON-INTERACTIVE</span></tt> licenses are those that don't require interactive |
| 123 | This is the current behaviour of portage.</p> |
123 | acceptance for to be considered legally binding. This is the current |
|
|
124 | behaviour of portage.</p> |
| 124 | </div> |
125 | </div> |
| 125 | <div class="section" id="accept-license"> |
126 | <div class="section" id="accept-license"> |
| 126 | <h2><a class="toc-backref" href="#id10" name="accept-license">ACCEPT_LICENSE</a></h2> |
127 | <h2><a class="toc-backref" href="#id10" name="accept-license">ACCEPT_LICENSE</a></h2> |
| 127 | <p>This GLEP proposes that a user be able to explicitly accept or decline |
128 | <p>This GLEP proposes that a user be able to explicitly accept or decline |
| 128 | licenses by editing a new variable <tt class="literal"><span class="pre">ACCEPT_LICENSE</span></tt> in |
129 | licenses by editing a new variable <tt class="literal"><span class="pre">ACCEPT_LICENSE</span></tt> in |
| … | |
… | |
| 133 | </pre> |
134 | </pre> |
| 134 | <p>As an extension, <tt class="literal"><span class="pre">ACCEPT_LICENSE</span></tt> must also support <a class="reference" href="#license-groups">license groups</a>. |
135 | <p>As an extension, <tt class="literal"><span class="pre">ACCEPT_LICENSE</span></tt> must also support <a class="reference" href="#license-groups">license groups</a>. |
| 135 | This GLEP proposes that the license group be prepended by the special |
136 | This GLEP proposes that the license group be prepended by the special |
| 136 | character "<tt class="literal"><span class="pre">@</span></tt>". For example:</p> |
137 | character "<tt class="literal"><span class="pre">@</span></tt>". For example:</p> |
| 137 | <pre class="literal-block"> |
138 | <pre class="literal-block"> |
| 138 | ACCEPT_LICENSE="-* @OSI-APPROVED" |
139 | ACCEPT_LICENSE="-* @FSF-APPROVED" |
| 139 | </pre> |
140 | </pre> |
| 140 | </div> |
141 | </div> |
| 141 | <div class="section" id="emerge-behaviour"> |
142 | <div class="section" id="emerge-behaviour"> |
| 142 | <h2><a class="toc-backref" href="#id11" name="emerge-behaviour">Emerge Behaviour</a></h2> |
143 | <h2><a class="toc-backref" href="#id11" name="emerge-behaviour">Emerge Behaviour</a></h2> |
| 143 | <p>At a minimum, emerge must handle unaccepted licenses the same way that |
144 | <p>At a minimum, emerge must handle unaccepted licenses the same way that |
| … | |
… | |
| 196 | </div> |
197 | </div> |
| 197 | |
198 | |
| 198 | <hr class="footer"/> |
199 | <hr class="footer"/> |
| 199 | <div class="footer"> |
200 | <div class="footer"> |
| 200 | <a class="reference" href="glep-0023.txt">View document source</a>. |
201 | <a class="reference" href="glep-0023.txt">View document source</a>. |
| 201 | Generated on: 2004-03-08 17:26 UTC. |
202 | Generated on: 2004-03-11 02:35 UTC. |
| 202 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
203 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
| 203 | </div> |
204 | </div> |
| 204 | </body> |
205 | </body> |
| 205 | </html> |
206 | </html> |
| 206 | |
207 | |