summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-15 02:57:33 +0000
committerrillig <rillig@pkgsrc.org>2005-05-15 02:57:33 +0000
commitf9084b57c0d2e7c7737f1a27191f098588a1d33d (patch)
treeb10295401ba3e6a1384b4e2571691dcb886f985f /doc/guide
parent969c7d061d4503e7339105a8d9160693b35452a6 (diff)
downloadpkgsrc-f9084b57c0d2e7c7737f1a27191f098588a1d33d.tar.gz
Added a restriction that PKGNAME must match ^[A-Za-z0-9][A-Za-z0-9-_.+]*$.
The only current package that does not match this restriction is x11/kde3-i18n-sr_Latn.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/components.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/guide/files/components.xml b/doc/guide/files/components.xml
index d4bcb1dda73..627b77b5484 100644
--- a/doc/guide/files/components.xml
+++ b/doc/guide/files/components.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: components.xml,v 1.5 2005/05/14 22:34:59 rillig Exp $ -->
+<!-- $NetBSD: components.xml,v 1.6 2005/05/15 02:57:33 rillig Exp $ -->
<chapter id="components"> <?dbhtml filename="components.html"?>
<title>Package components - files, directories and contents</title>
@@ -28,10 +28,13 @@
distribution file to be downloaded from the package's
website.</para></listitem>
- <listitem><para><varname>PKGNAME</varname> is the name of the package,
- as used by pkgsrc. You only need to provide it if it differs from
- DISTNAME. Usually it is the directory name together with the
- version number.</para></listitem>
+ <listitem><para><varname>PKGNAME</varname> is the name of the
+ package, as used by pkgsrc. You only need to provide it if it
+ differs from DISTNAME. Usually it is the directory name together
+ with the version number. It must match the regular expression
+ <varname>^[A-Za-z0-9][A-Za-z0-9-_.+]*$</varname>, that is, it
+ starts with a letter or digit, and contains only letters, digits,
+ dashes, underscores, dots and plus signs.</para></listitem>
<listitem><para><varname>CATEGORIES</varname> is a list of categories
which the package fits in. You can choose any of the top-level