From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GQ0Pr-0006Dt-Jq for garchives@archives.gentoo.org; Wed, 20 Sep 2006 11:39:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8KBc4tx002996; Wed, 20 Sep 2006 11:38:04 GMT Received: from buggy.blubb.ch (cable-static-87-245-102-53.shinternet.ch [87.245.102.53]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8KBaBCU009022 for ; Wed, 20 Sep 2006 11:36:11 GMT Received: from [192.168.10.5] (helo=[192.168.10.5]) by buggy.blubb.ch with esmtp (Exim 4.54) id 1GQ0LU-0002BJ-QY for gentoo-dev@lists.gentoo.org; Wed, 20 Sep 2006 13:34:28 +0200 Message-ID: <451127AB.4060202@gentoo.org> Date: Wed, 20 Sep 2006 13:36:11 +0200 From: Simon Stelling User-Agent: Thunderbird 1.5.0.5 (X11/20060824) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] GLEP 52 - GLEP 23 revisited Content-Type: multipart/mixed; boundary="------------070105080004000303050207" X-Archives-Salt: 105a5ece-aba8-4bc1-9f11-627b69845036 X-Archives-Hash: 20af7d0a252d7bf28966233ac2c0b8c2 This is a multi-part message in MIME format. --------------070105080004000303050207 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello all, I would like you to share your comments on the attached GLEP with me. Thanks in advance! -- Kind Regards, Simon Stelling Gentoo/AMD64 developer --------------070105080004000303050207 Content-Type: text/plain; name="glep-0052.txt" Content-Disposition: inline; filename="glep-0052.txt" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k8KBc4vk002996 GLEP: 52 Title: License Managment in Portage Version: $Revision: $ Last-Modified: $Date: $ Author: Simon Stelling Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 20-Sep-2006 Post-History: 20-Sep-2006 Abstract =3D=3D=3D=3D=3D=3D=3D=3D GLEP 23 [1]_ was brought into existance 31 May 2003 to help users that do not want to implicitly accept any license. Three and a half years late= r, it is still not implemented. This GLEP aims at exactly the same target as GL= EP 23, but with a different technical approach. Credits =3D=3D=3D=3D=3D=3D=3D The ideas found in this GLEP originate from or are heavily influenced by=20 Iv=C3=A1n P=C3=A9rez Dom=C3=ADnguez's and other people's comments on bug = 17367 [2]_. Motivation =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GLEP 23 has failed to get implemented. This GLEP proposes a quick and eas= y, yet elegant way to enhance portage's license handling. Specification =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If a certain package requires to - implicitly or explicitly - accept lice= nses, it obviously depends upon acceptance of said licenses. The set of license= s a package depends on may vary, e.g. on the selected USE flags. Dependencies= on specific licenses should be treated no different than dependencies on oth= er packages, i.e. they should be defined using ``[R,]DEPEND`` syntax. Every license which a package in the portage tree depends on gets a packa= ge in the ``txt-licenses/`` category. Its ebuild must install the license text = to=20 ``/usr/shared/licenses/``. The initial version shall be 1 if there is no = version specified. There will also be a bunch of meta-packages: At least * ``txt-licenses/osi-disapproved-licenses``,=20 * ``txt-licenses/fsf-disapproved-licenses``, and=20 * ``txt-licenses/gpl-incompatible-licenses`` should exist and be a dependency of all licenses that possess the respective attribute. Users can then assure that they do not implicitly agree with a license th= ey would not agree with explicitly by masking the license's package. If they= only want to accept packages that are e.g. approved by the FSF, they can simpl= y mask the ``txt-licenses/fsf-disapproved`` package. Licenses that need to be explicitly accepted before installation of a pac= kage (and only these) should be package.masked by default with a header like the following: :: # Simon Stelling