Skip to content
Snippets Groups Projects
Commit dd1693ff authored by Timo Teräs's avatar Timo Teräs
Browse files

package: allow additional characters in provided names

fixes #10988
parent 85ac6cb5
No related branches found
No related tags found
No related merge requests found
......@@ -184,8 +184,9 @@ Unfortunately it is not possible to deduce if a given string is of format
*provides* (*provides*, *p*)
List of package names (and optionally its version) this package
provides in addition to its primary name and version. The provided
name can contain additionally colons (:) and slashes (/) in the name.
This allows using namespaces for automatically generated names.
name can contain additionally characters: comma (,), brackets ([]),
colons (:) and slashes (/) in the name. This allows using namespaces
for automatically generated names.
If the provided name contains a version number:
- the solver will treat it as-if a real package with the provided
......
......@@ -23,6 +23,7 @@ static uint8_t apk_ctype[128] = {
['\n'] = DEPSEP,
[' '] = REPOSEP|DEPSEP,
['+'] = PKGNAME,
[','] = DEPNAME,
['-'] = PKGNAME,
['.'] = PKGNAME,
[':'] = REPOSEP|DEPNAME,
......@@ -66,6 +67,8 @@ static uint8_t apk_ctype[128] = {
['X'] = PKGNAME,
['Y'] = PKGNAME,
['Z'] = PKGNAME,
['['] = DEPNAME,
[']'] = DEPNAME,
['_'] = PKGNAME,
['a'] = HEXDGT|VERSUF|PKGNAME,
['b'] = HEXDGT|VERSUF|PKGNAME,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment