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

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