- Fix some bugs in the parser

- allow -net instead of /etc/auto.net
- Fix a buffer overflow with large key lengths
- Don't allow autofs to unlink files, only to remove directories
- change to the upstream reentrant syslog patch from the band-aid deferred
    syslog patch.
- Get rid of the init script patch that hard-coded the release to redhat.
    This should be handled properly by all red hat distros.
This commit is contained in:
Jeffrey E. Moyer 2005-10-26 19:50:31 +00:00
parent b4ef9a0b44
commit 5dc2273ed9

View File

@ -4,14 +4,14 @@
Summary: A tool for automatically mounting and unmounting filesystems.
Name: autofs
%define version 4.1.4
%define release 9
%define release 10
Version: %{version}
Release: %{release}
Epoch: 1
License: GPL
Group: System Environment/Daemons
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-%{version}.tar.bz2
Patch1: autofs-4.1.4-init-redhat-only.patch
Patch1: autofs-4.1.4-reentrant-syslog.patch
Patch2: autofs-4.1.4-init-nsswitch-comment.patch
Patch3: autofs-4.1.4-init-one-auto-master.patch
Patch4: autofs-4.1.4-init-browse-as-non-first-option.patch
@ -21,7 +21,9 @@ Patch7: autofs-4.1.4-check-nsswitch-submount.patch
Patch8: autofs-4.1.3-alt-master-ldap.patch
Patch9: autofs-4.1.4-check-is-multi.patch
Patch10: autofs-4.1.4-cache-update-race-fix.patch
Patch11: autofs-4.1.4-deferred-syslog.patch
Patch11: autofs-4.1.4-solaris-hosts-in-auto-master.patch
Patch12: autofs-4.1.4-keylen-length-check.patch
Patch13: autofs-4.1.4-sun-parse-fixes.patch
Buildroot: /var/tmp/autofs-tmp
BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
@ -72,6 +74,8 @@ echo %{version}-%{release} > .version
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@ -125,6 +129,16 @@ exit 0
%{_libdir}/autofs/*
%changelog
* Wed Oct 26 2005 <jmoyer@redhat.com> - 1:4.1.4-10
- Fix some bugs in the parser
- allow -net instead of /etc/auto.net
- Fix a buffer overflow with large key lengths
- Don't allow autofs to unlink files, only to remove directories
- change to the upstream reentrant syslog patch from the band-aid deferred
syslog patch.
- Get rid of the init script patch that hard-coded the release to redhat.
This should be handled properly by all red hat distros.
* Wed May 4 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.4-8
- Add in the deferred syslog patch. This fixes a hung automounter issue
related to unsafe calls to syslog in signal handler context.