rpms/autofs/devel autofs-5.0.2-fix-dnattr-parse.patch, NONE, 1.1 autofs.spec, 1.211, 1.212

Ian Kent (iankent) fedora-extras-commits at redhat.com
Tue Jul 24 14:48:13 UTC 2007


Author: iankent

Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6991

Modified Files:
	autofs.spec 
Added Files:
	autofs-5.0.2-fix-dnattr-parse.patch 
Log Message:
* Tue Jul 24 2007 Ian Kent <ikent at redhat.com> - 5.0.2-8
- fix parse confusion between attribute and attribute value.


autofs-5.0.2-fix-dnattr-parse.patch:

--- NEW FILE autofs-5.0.2-fix-dnattr-parse.patch ---
diff --git a/lib/master_tok.l b/lib/master_tok.l
index 9bfeefa..ff69a24 100644
--- a/lib/master_tok.l
+++ b/lib/master_tok.l
@@ -272,7 +272,7 @@ OPTTOUT		(-t{OPTWS}|-t{OPTWS}={OPTWS}|--timeout{OPTWS}|--timeout{OPTWS}={OPTWS})
 		return DNSERVER;
 	}
 
-	{DNATTRSTR} {
+	{DNATTRSTR}/"=" {
 		strcpy(master_lval.strtype, master_text);
 		return DNATTR;
 	}


Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -r1.211 -r1.212
--- autofs.spec	20 Jul 2007 15:38:21 -0000	1.211
+++ autofs.spec	24 Jul 2007 14:47:41 -0000	1.212
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.2
-Release: 7
+Release: 8
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
@@ -18,6 +18,7 @@
 Patch5: autofs-5.0.2-quote-exports.patch
 Patch6: autofs-5.0.2-hi-res-time.patch
 Patch7: autofs-5.0.2-quoted-slash-alone.patch 
+Patch8: autofs-5.0.2-fix-dnattr-parse.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
 Conflicts: kernel < 2.6.17
@@ -67,6 +68,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -119,6 +121,9 @@
 %{_libdir}/autofs/
 
 %changelog
+* Tue Jul 24 2007 Ian Kent <ikent at redhat.com> - 5.0.2-8
+- fix parse confusion between attribute and attribute value.
+
 * Fri Jul 20 2007 Ian Kent <ikent at redhat.com> - 5.0.2-7
 - fix handling of quoted slash alone (bz 248943).
 




More information about the scm-commits mailing list