summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ebuild-vars.tex3
-rw-r--r--names.tex5
2 files changed, 7 insertions, 1 deletions
diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index 1577e26..5f53c33 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -51,7 +51,8 @@ Ebuilds may define any of the following variables:
\t{https://}, \t{ftp://} and \t{mirror://} (see section~\ref{sec:thirdpartymirrors} for mirror
behaviour). Fetch restricted packages may include URL parts consisting of just a filename.
See section~\ref{sec:dependencies} for full syntax.
-\item[LICENSE] The package's license. Each text token must correspond to a tree ``licenses/'' entry
+\item[LICENSE] The package's license. Each text token must be a valid license name, as per
+ section~\ref{sec:license-names}, and must correspond to a tree ``licenses/'' entry
(see section~\ref{sec:licenses-dir}). See section~\ref{sec:dependencies} for full syntax.
\label{ebuild-var-LICENSE}
\item[KEYWORDS] A whitespace separated list of keywords for the ebuild. Each token must be a valid
diff --git a/names.tex b/names.tex
index f5cc9bf..d26fed6 100644
--- a/names.tex
+++ b/names.tex
@@ -37,6 +37,11 @@ described in section~\ref{sec:use-iuse-handling}.
A repository name may contain any of the characters [\t{A-Za-z0-9\_-}]. It must not begin with a
hyphen. In addition, every repository name must also be a valid package name.
+\subsection{License Names}
+\label{sec:license-names}
+A license name may contain any of the characters [\t{A-Za-z0-9+\_.-}]. It must not begin with a
+hyphen, a dot or a plus sign.
+
\subsection{Keyword Names}
\label{sec:keyword-names}
A keyword name may contain any of the characters [\t{A-Za-z0-9\_-}]. It must not begin with a