Blame SOURCES/autofs-5.1.3-allow-dot-in-OPTIONSTR-value-lexer-pattern.patch

304803
autofs-5.1.3 - allow dot in OPTIONSTR value lexer pattern
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
The options string in master map entries doesn't allow dot in the
304803
string value side of an option assignment. This prevents using an
304803
option like vers=4.1 to apply to all entries of the map.
304803
304803
Add . to the options value portion of the regular expression used
304803
for this field.
304803
304803
Signed-off-by: Ian Kent <raven@themaw.net>
304803
---
304803
 CHANGELOG        |    1 +
304803
 lib/master_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
@@ -255,6 +255,7 @@
304803
 - fix mount.nfs blocks on first mount.
304803
 - fix typos in autofs man pages.
304803
 - fix some man page problems.
304803
+- allow dot in OPTIONSTR value lexer pattern.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
--- autofs-5.0.7.orig/lib/master_tok.l
304803
+++ autofs-5.0.7/lib/master_tok.l
304803
@@ -91,7 +91,7 @@ OPTWS		[[:blank:]]*
304803
 NL		\r?\n
304803
 CONT		\\\n{OPTWS}
304803
 
304803
-OPTIONSTR	([\-]?([[:alpha:]_]([[:alnum:]_\-])*(=(\"?([[:alnum:]_\-\:])+\"?))?)+)
304803
+OPTIONSTR	([\-]?([[:alpha:]_]([[:alnum:]_\-])*(=(\"?([[:alnum:]_\-\:\.])+\"?))?)+)
304803
 MACROSTR	(-D{OPTWS}([[:alpha:]_]([[:alnum:]_\-\.])*)=([[:alnum:]_\-\.])+)
304803
 SLASHIFYSTR	(--(no-)?slashify-colons)
304803
 NUMBER		[0-9]+