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

135b98
autofs-5.1.5 - allow period following macro in selector value
135b98
135b98
From: Ian Kent <raven@themaw.net>
135b98
135b98
If a ${} macro is used in a selector (such as hostd) the parser doesn't
135b98
permit a period to follow it (such as when the value is a host name).
135b98
135b98
Signed-off-by: Ian Kent <raven@themaw.net>
135b98
---
135b98
 CHANGELOG         |    1 +
135b98
 modules/amd_tok.l |    2 +-
135b98
 2 files changed, 2 insertions(+), 1 deletion(-)
135b98
135b98
--- autofs-5.1.4.orig/CHANGELOG
135b98
+++ autofs-5.1.4/CHANGELOG
135b98
@@ -51,6 +51,7 @@ xx/xx/2018 autofs-5.1.5
135b98
 - optionally log mount requestor process info.
135b98
 - log mount call arguments if mount_verbose is set.
135b98
 - make expire remaining log level debug.
135b98
+- allow period following macro in selector value.
135b98
 
135b98
 19/12/2017 autofs-5.1.4
135b98
 - fix spec file url.
135b98
--- autofs-5.1.4.orig/modules/amd_tok.l
135b98
+++ autofs-5.1.4/modules/amd_tok.l
135b98
@@ -95,7 +95,7 @@ V6MASK		(12[0-8]|1[0-1][0-9]|[1-9][0-9]|
135b98
 
135b98
 FOPT		(({QSTR}|{FSTR}|{MACRO})+)
135b98
 OPTS		({OSTR}(=({VSTR}|{MACRO})+)?)
135b98
-SOPT		(({SSTR}|{QSTR}|{MACRO})+)
135b98
+SOPT		({SSTR}|{QSTR}|{MACRO}(\.|{SSTR}|{QSTR}|{MACRO})+)
135b98
 NOPT		({SSTR}|(({IP4ADDR}(\/{V4MASK})?)|({IP6ADDR}(\/{V6MASK})?)))
135b98
 
135b98
 MAPOPT		(fs|type|maptype|pref|sublink|cache)