From 1d2ef99973514356bcdb974371d4c54d2767e6e3 Mon Sep 17 00:00:00 2001 From: Jeffrey E. Moyer Date: Jan 21 2009 21:51:36 +0000 Subject: - fix a bug in the program map parsing routine - Resolves: bz#481008 --- diff --git a/autofs-5.0.4-fix-program-map-quoted-output.patch b/autofs-5.0.4-fix-program-map-quoted-output.patch new file mode 100644 index 0000000..5612a60 --- /dev/null +++ b/autofs-5.0.4-fix-program-map-quoted-output.patch @@ -0,0 +1,11 @@ +diff -up autofs-5.0.4/modules/lookup_program.c.orig autofs-5.0.4/modules/lookup_program.c +--- autofs-5.0.4/modules/lookup_program.c.orig 2009-01-21 14:33:50.000000000 -0500 ++++ autofs-5.0.4/modules/lookup_program.c 2009-01-21 14:39:35.113105023 -0500 +@@ -341,6 +341,7 @@ cont: + /* Eat characters till there's no more output */ + break; + } ++ quoted = 0; + goto cont; + } + quoted = 0; diff --git a/autofs.spec b/autofs.spec index b357cad..6d5a51a 100644 --- a/autofs.spec +++ b/autofs.spec @@ -4,7 +4,7 @@ Summary: A tool for automatically mounting and unmounting filesystems Name: autofs Version: 5.0.4 -Release: 5 +Release: 6 Epoch: 1 License: GPLv2+ Group: System Environment/Daemons @@ -17,6 +17,7 @@ Patch4: autofs-5.0.4-fix-ldap-detection.patch Patch5: autofs-5.0.4-use-CLOEXEC-flag.patch Patch6: autofs-5.0.4-fix-select-fd-limit.patch Patch7: autofs-5.0.4-make-hash-table-scale-to-thousands-of-entries.patch +Patch8: autofs-5.0.4-fix-program-map-quoted-output.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 module-init-tools util-linux nfs-utils e2fsprogs Requires: kernel >= 2.6.17 @@ -65,6 +66,7 @@ echo %{version}-%{release} > .version %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir} @@ -117,6 +119,9 @@ fi %{_libdir}/autofs/ %changelog +* Wed Jan 21 2009 Jeff Moyer - 5.0.4-6 +- fix a bug in the program map parsing routine + * Thu Jan 15 2009 Ian Kent - 5.0.4-5 - fix negative caching of non-existent keys. - fix ldap library detection in configure.