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

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