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

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