- fix parse confusion between attribute and attribute value.
This commit is contained in:
parent
f7ea4d066a
commit
a76cb5c9b1
13
autofs-5.0.2-fix-dnattr-parse.patch
Normal file
13
autofs-5.0.2-fix-dnattr-parse.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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;
|
||||||
|
}
|
@ -4,7 +4,7 @@
|
|||||||
Summary: A tool for automatically mounting and unmounting filesystems
|
Summary: A tool for automatically mounting and unmounting filesystems
|
||||||
Name: autofs
|
Name: autofs
|
||||||
Version: 5.0.2
|
Version: 5.0.2
|
||||||
Release: 7
|
Release: 8
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -18,6 +18,7 @@ Patch4: autofs-5.0.2-fix-offset-dir-create.patch
|
|||||||
Patch5: autofs-5.0.2-quote-exports.patch
|
Patch5: autofs-5.0.2-quote-exports.patch
|
||||||
Patch6: autofs-5.0.2-hi-res-time.patch
|
Patch6: autofs-5.0.2-hi-res-time.patch
|
||||||
Patch7: autofs-5.0.2-quoted-slash-alone.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)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
|
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
|
||||||
Conflicts: kernel < 2.6.17
|
Conflicts: kernel < 2.6.17
|
||||||
@ -67,6 +68,7 @@ echo %{version}-%{release} > .version
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
||||||
@ -119,6 +121,9 @@ fi
|
|||||||
%{_libdir}/autofs/
|
%{_libdir}/autofs/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 24 2007 Ian Kent <ikent@redhat.com> - 5.0.2-8
|
||||||
|
- fix parse confusion between attribute and attribute value.
|
||||||
|
|
||||||
* Fri Jul 20 2007 Ian Kent <ikent@redhat.com> - 5.0.2-7
|
* Fri Jul 20 2007 Ian Kent <ikent@redhat.com> - 5.0.2-7
|
||||||
- fix handling of quoted slash alone (bz 248943).
|
- fix handling of quoted slash alone (bz 248943).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user