pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files Added a restriction that PKGNAME must ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/95e867782205
branches: trunk
changeset: 493795:95e867782205
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun May 15 02:57:33 2005 +0000
description:
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:
doc/guide/files/components.xml | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r 4c66a674a8bb -r 95e867782205 doc/guide/files/components.xml
--- a/doc/guide/files/components.xml Sun May 15 02:45:25 2005 +0000
+++ b/doc/guide/files/components.xml Sun May 15 02:57:33 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index