Blame SOURCES/autofs-5.1.0-beta1-add-plus-to-path-match-pattern.patch

304803
autofs-5.1.0-beta1 - add plus to path match pattern
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
The pattern matching in the tokenizer is very strict and quite
304803
limited. That's been done (initially) to ensure that the parsing
304803
of other parts of map entries is accurate and to ensure that
304803
error cases are handled cleanly since the strict matching will
304803
cause errors.
304803
304803
I don't want to open up patterns that probably need it to accept
304803
a wide range of characters just yet but adding "+" to the match
304803
is obviously needed.
304803
---
304803
 CHANGELOG         |    1 +
304803
 modules/amd_tok.l |    2 +-
304803
 2 files changed, 2 insertions(+), 1 deletion(-)
304803
304803
--- autofs-5.0.7.orig/CHANGELOG
304803
+++ autofs-5.0.7/CHANGELOG
304803
@@ -121,6 +121,7 @@
304803
 - fix ldap_uri config update.
304803
 - fix typo in conf_load_autofs_defaults().
304803
 - fix hash on confg option add and delete.
304803
+- add plus to path match pattern.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/modules/amd_tok.l
304803
+++ autofs-5.0.7/modules/amd_tok.l
304803
@@ -81,7 +81,7 @@ V4NUM		([01]?[0-9][0-9]?|2[0-4][0-9]|25[
304803
 MACRO		(\$\{([[:alpha:]_/]([[:alnum:]_\-])([[:alnum:]_\-/])*)\})
304803
 QSTR		(\"([^"\\]|\\.)*\")
304803
 OSTR		([[:alpha:]]([[:alnum:]_\-])+)
304803
-FSTR		([[:alnum:]_/\.]([[:alnum:]_\-/\.]|(\\.))*)
304803
+FSTR		([[:alnum:]_/\.]([[:alnum:]_\-/\+\.]|(\\.))*)
304803
 VSTR		(([[:alnum:]_\-\:/\.])+)
304803
 SSTR		([[:alpha:]]([[:alnum:]\-\.])+)
304803
 IP4ADDR		({V4NUM}\.((({V4NUM}\.){0,2}){V4NUM}?))