--- xml/htdocs/proj/en/glep/glep-0047.html 2006/02/11 21:43:14 1.2 +++ xml/htdocs/proj/en/glep/glep-0047.html 2006/02/12 19:57:57 1.3 @@ -33,9 +33,9 @@
Keywords will consist out of two parts separated by a hyphen ('-'). The -left hand part of the keyword 2-tuple is the architecture, such as -ppc64, sparc and x86. The right hand part indicates the operating -system or distribution, such as linux, macos, darwin, obsd, etc. If the +part up to the first hyphen from the left of the keyword 2-tuple is the +architecture, such as ppc64, sparc and x86. Allowed characters for the +architecture name are in a-z0-9. The remaining part on the right of +the first hyphen from the left indicates the operating system or +distribution, such as linux, macos, darwin, obsd, et-cetera. If the right hand part is omitted, it implies the operating system/distribution -type is Gentoo GNU/Linux. In such case the hyphen is also omitted. -Examples of such keywords are ppc-darwin and x86. This is fully -compatible with the current use of keywords in the tree.+type is Gentoo GNU/Linux. In such case the hyphen is also omitted, and +the keyword consists of solely the architecture. The operating system +or distribution name can consist out of characters in a-zA-Z0-9_+:-. +Please note that the hyphen is an allowed character, and therefore the +separation of the two fields in the keyword is only determinable by +scanning for the first hyphen character from the start of the keyword +string. Examples of keywords following this specification are +ppc-darwin and x86. This is fully compatible with the current use of +keywords in the tree.
The variables ELIBC, KERNEL and ARCH are currently set in the profiles when other than their defaults for a GNU/Linux system. They can as such easily be overridden and defined by the user. To @@ -290,7 +298,7 @@