rpms/autofs/F-7 autofs-5.0.2-fix-dnattr-parse.patch, NONE, 1.1 autofs.spec, 1.210, 1.211

Ian Kent (iankent) fedora-extras-commits at redhat.com
Tue Jul 24 15:00:40 UTC 2007


Author: iankent

Update of /cvs/pkgs/rpms/autofs/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9042

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.1-21
- 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/F-7/autofs.spec,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -r1.210 -r1.211
--- autofs.spec	20 Jul 2007 15:32:22 -0000	1.210
+++ autofs.spec	24 Jul 2007 15:00:07 -0000	1.211
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.1
-Release: 20
+Release: 21
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
@@ -34,6 +34,7 @@
 Patch22: autofs-5.0.2-quote-exports.patch
 Patch23: autofs-5.0.1-hi-res-time.patch
 Patch24: autofs-5.0.2-quoted-slash-alone.patch
+Patch25: 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
@@ -99,6 +100,7 @@
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
+%patch25 -p1
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -151,6 +153,9 @@
 %{_libdir}/autofs/
 
 %changelog
+* Tue Jul 24 2007 Ian Kent <ikent at redhat.com> - 5.0.1-21
+- fix parse confusion between attribute and attribute value.
+
 * Fri Jul 20 2007 Ian Kent <ikent at redhat.com> - 5.0.1-20
 - fix handling of quoted slash alone (bz 248943).
 




More information about the fedora-extras-commits mailing list