Blame SOURCES/autofs-5.1.5-allow-period-following-macro-in-selector-value.patch

304803
autofs-5.1.5 - allow period following macro in selector value
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
If a ${} macro is used in a selector (such as hostd) the parser doesn't
304803
permit a period to follow it (such as when the value is a host name).
304803
304803
Signed-off-by: Ian Kent <raven@themaw.net>
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
@@ -326,6 +326,7 @@
304803
 - make expire remaining log level debug.
304803
 - workaround getaddrinfo(3) ai_canonname bug
304803
 - improve hostname lookup error logging.
304803
+- allow period following macro in selector value.
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
@@ -95,7 +95,7 @@ V6MASK		(12[0-8]|1[0-1][0-9]|[1-9][0-9]|
304803
 
304803
 FOPT		(({QSTR}|{FSTR}|{MACRO})+)
304803
 OPTS		({OSTR}(=({VSTR}|{MACRO})+)?)
304803
-SOPT		(({SSTR}|{QSTR}|{MACRO})+)
304803
+SOPT		({SSTR}|{QSTR}|{MACRO}(\.|{SSTR}|{QSTR}|{MACRO})+)
304803
 NOPT		({SSTR}|(({IP4ADDR}(\/{V4MASK})?)|({IP6ADDR}(\/{V6MASK})?)))
304803
 
304803
 MAPOPT		(fs|type|maptype|pref|sublink|cache)