summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-06-22 14:53:47 +0200
committerUlrich Mueller <ulm@gentoo.org>2011-06-26 15:59:13 +0200
commit6e6d67873e91eb5faeac7a9e8054fc47b0e89b01 (patch)
tree89052a5603e0a6e1286bddf90773cc1fce888db3
parentRephrase *DEPEND to state when and whether they are installed. (diff)
downloadpms-6e6d67873e91eb5faeac7a9e8054fc47b0e89b01.tar.gz
pms-6e6d67873e91eb5faeac7a9e8054fc47b0e89b01.tar.bz2
pms-6e6d67873e91eb5faeac7a9e8054fc47b0e89b01.zip
Disallow starting category, package and slot names with +.
Currently, PMS disallows starting those with a hyphen or a dot. The plus sign should be added to those restrictions for consistency.
-rw-r--r--names.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/names.tex b/names.tex
index 53fed20..67054c1 100644
--- a/names.tex
+++ b/names.tex
@@ -7,14 +7,14 @@ name. A package manager should indicate or reject any name that is invalid accor
\subsection{Category Names}
A category name may contain any of the characters [\t{A-Za-z0-9+\_.-}]. It must not begin with
-a hyphen or a dot.
+a hyphen, a dot or a plus sign.
\note A hyphen is \e{not} required because of the \t{virtual} category. Usually, however, category
names will contain a hyphen.
\subsection{Package Names}
A package name may contain any of the characters [\t{A-Za-z0-9+\_-}]. It must not begin with a
-hyphen, and must not end in a hyphen followed by one or more digits.
+hyphen or a plus sign, and must not end in a hyphen followed by one or more digits.
\note A package name does not include the category. The term \i{qualified package name} is used
where a \t{category/package} pair is meant.
@@ -22,7 +22,7 @@ where a \t{category/package} pair is meant.
\subsection{Slot Names}
\label{sec:slot-names}
A slot name may contain any of the characters [\t{A-Za-z0-9+\_.-}]. It must not begin with a
-hyphen or a dot.
+hyphen, a dot or a plus sign.
\subsection{USE Flag Names}
A USE flag name may contain any of the characters [\t{A-Za-z0-9+\_@-}]. It must begin with an