summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/autofs/files/autofs-5.0.3-map-patch-fix.patch')
-rw-r--r--net-fs/autofs/files/autofs-5.0.3-map-patch-fix.patch71
1 files changed, 71 insertions, 0 deletions
diff --git a/net-fs/autofs/files/autofs-5.0.3-map-patch-fix.patch b/net-fs/autofs/files/autofs-5.0.3-map-patch-fix.patch
new file mode 100644
index 000000000000..4336c8dafd64
--- /dev/null
+++ b/net-fs/autofs/files/autofs-5.0.3-map-patch-fix.patch
@@ -0,0 +1,71 @@
+--- autofs-5.0.3-map-type-in-map-name.patch.old 2008-04-28 17:47:07.000000000 +0200
++++ autofs-5.0.3-map-type-in-map-name.patch 2008-04-01 05:57:45.000000000 +0200
+@@ -1,19 +1,6 @@
+-diff --git a/CHANGELOG b/CHANGELOG
+-index af5a1b0..76f2477 100644
+---- a/CHANGELOG
+-+++ b/CHANGELOG
+-@@ -12,6 +12,7 @@
+- - update fix expire working harder than needed.
+- - add missing check for zero length NIS key (Wengang Wang).
+- - init SASL callbacks on every ldap lookup library load.
+-+- fix incorrect match of map type name when included in map name.
+-
+- 14/01/2008 autofs-5.0.3
+- -----------------------
+-diff --git a/lib/master_tok.l b/lib/master_tok.l
+-index b379940..4bbe033 100644
+---- a/lib/master_tok.l
+-+++ b/lib/master_tok.l
++diff -up autofs-5.0.3/lib/master_tok.l.map-type-in-map-name autofs-5.0.3/lib/master_tok.l
++--- autofs-5.0.3/lib/master_tok.l.map-type-in-map-name 2008-04-01 11:14:00.000000000 +0800
+++++ autofs-5.0.3/lib/master_tok.l 2008-04-01 11:14:00.000000000 +0800
+ @@ -77,6 +77,7 @@ int my_yyinput(char *, int);
+ char buff[1024];
+ char *bptr;
+@@ -22,7 +9,7 @@
+
+ %}
+
+-@@ -190,13 +191,27 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|--negative-timeout{OPTWS}|--negative-timeo
++@@ -190,13 +191,27 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|--
+ {OPTWS}\\\n{OPTWS} {}
+
+ {MULTI} {
+@@ -39,9 +26,10 @@
+ + }
+ }
+
+- {MTYPE} {
++- {MTYPE} {
+ - strcpy(master_lval.strtype, master_text);
+ - return(MAPTYPE);
+++ {MTYPE}/({DNSERVERSTR}|{DNATTRSTR}=)? {
+ + tlen = master_leng - 1;
+ + if (bptr != buff && isblank(master_text[tlen])) {
+ + strncat(buff, master_text, tlen);
+@@ -54,7 +42,7 @@
+ }
+
+ {MULTISEP} { return(DDASH); }
+-@@ -226,7 +241,7 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|--negative-timeout{OPTWS}|--negative-timeo
++@@ -226,7 +241,7 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|--
+ yyless(0);
+ }
+
+@@ -63,3 +51,15 @@
+ BEGIN(DNSTR);
+ yyless(0);
+ }
++diff -up autofs-5.0.3/lib/master_parse.y.map-type-in-map-name autofs-5.0.3/lib/master_parse.y
++diff -up autofs-5.0.3/CHANGELOG.map-type-in-map-name autofs-5.0.3/CHANGELOG
++--- autofs-5.0.3/CHANGELOG.map-type-in-map-name 2008-04-01 11:14:00.000000000 +0800
+++++ autofs-5.0.3/CHANGELOG 2008-04-01 11:14:00.000000000 +0800
++@@ -10,6 +10,7 @@
++ - fix unlink of mount tree incorrectly causing autofs mount fail.
++ - add missing check for zero length NIS key (Wengang Wang).
++ - init SASL callbacks on every ldap lookup library load.
+++- fix incorrect match of map type name when included in map name.
++
++ 14/01/2008 autofs-5.0.3
++ -----------------------