cvsdist c2d75c
#
cvsdist c2d75c
# $Id: autofs.spec,v 1.11 2003/12/04 15:41:32 raven Exp $
cvsdist c2d75c
#
cvsdist f128f4
Summary: A tool for automatically mounting and unmounting filesystems.
cvsdist f128f4
Name: autofs
cvsdist 2ab164
%define version 4.1.3
Jeffrey E. Moyer 5a8c05
%define release 119
cvsdist c2d75c
Version: %{version}
cvsdist c2d75c
Release: %{release}
cvsdist f128f4
Epoch: 1
Jeffrey E. Moyer 0dd38d
License: GPL
cvsdist f128f4
Group: System Environment/Daemons
cvsdist c2d75c
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-%{version}.tar.bz2
cvsdist ee03ea
Source1: autofs.sysconfig
cvsdist c2d75c
Patch1: autofs-4.1.0-hesiod-bind.patch
cvsdist c2d75c
Patch2: autofs-4.1.0-loop.patch
cvsdist c2d75c
Patch3: autofs-4.1.0-auto-master.patch
cvsdist ee03ea
Patch4: autofs-4.1.2-init-redhat-only.patch
cvsdist 2ab164
Patch5: autofs-4.1.3-non-strict-loop-fix.patch
cvsdist 2ab164
Patch12: autofs-4.1.2-option-parsing.patch
cvsdist 733a36
Patch14: autofs-4.1.3-underlinei18n.patch
cvsdist f136c3
Patch15: autofs-4.1.3-rpc-ping.patch
cvsdist d9acc2
Patch16: autofs-4.1.3-bad_chdir.patch
cvsdist d9acc2
Patch17: autofs-4.1.3-mtab_lock.patch
Jeffrey E. Moyer d2248d
Patch18: autofs-4.1.3-ian-map-expiry-1.patch
cvsdist ead9ef
Patch19: autofs-4.1.3-disable-direct.patch
cvsdist ead9ef
Patch21: autofs-4.1.3-signal-race-fix.patch
cvsdist ead9ef
Patch22: autofs-4.1.3-sock-leak-fix.patch
Jeffrey E. Moyer 581c89
Patch24: autofs-4.1.3-umount-loopback.patch
Jeffrey E. Moyer 581c89
Patch25: autofs-4.1.3-close-fix.patch
Jeffrey E. Moyer 2f5c56
Patch26: autofs-4.1.3-intl-status.patch
Jeffrey E. Moyer 8d613b
Patch27: autofs-4.1.3-localopts-multi.patch
Chris Feist 59f6ad
Patch28: autofs-4.1.2-init-duplicate-map.patch
Chris Feist 7882f1
Patch29: autofs-4.1.3-filemap-etc-append.patch
Chris Feist 5570c4
Patch30: autofs-4.1.3-init-duplicate-map2.patch
Chris Feist 5b8672
Patch31: autofs-4.1.3-plus-map-ordering.patch
Chris Feist 3bdbde
Patch32: autofs-4.1.3-ldap-search-limit.patch
Jeffrey E. Moyer e651f6
Patch33: autofs-4.1.3-browse.patch
Jeffrey E. Moyer a1c855
Patch35: autofs-4.1.3-large-program-map.patch
Jeffrey E. Moyer a1c855
Patch36: autofs-4.1.3-user-message-typo.patch
Jeffrey E. Moyer 686ab1
Patch37: autofs-4.1.3-no-reserved-ports.patch
Jeffrey E. Moyer d2248d
Patch38: autofs-4.1.3-init-cwd-map.patch
Jeffrey E. Moyer d2248d
Patch39: autofs-4.1.3-init-lc-all.patch
Jeffrey E. Moyer d2248d
Patch40: autofs-4.1.3-ldap-multiple-map.patch
Jeffrey E. Moyer d2248d
Patch41: autofs-4.1.3-replicated-server-select.patch
Jeffrey E. Moyer d2248d
Patch42: autofs-4.1.3-ian-map-expiry-multimount-fix.patch
Jeffrey E. Moyer d2248d
Patch43: autofs-4.1.3-yp-direct-lookup.patch
Jeffrey E. Moyer d2248d
Patch44: autofs-4.1.3-filestream-leak.patch
Chris Feist 7110bd
Patch45: autofs-4.1.3-no-rmdir.patch
Chris Feist 08d4cd
Patch46: autofs-4.1.3-replicated-server-doc.patch
Jeffrey E. Moyer 8dfdcb
Patch47: autofs-4.1.3-cache-release.patch
Chris Feist 729c34
Patch48: autofs-4.1.3-non-replicated-ping.patch
Jeffrey E. Moyer 4753e9
Patch49: autofs-4.1.3-program-map-extra-char-fix.patch
Jeffrey E. Moyer 4753e9
Patch50: autofs-4.1.3-duplicate-map-entry-order.patch
Jeffrey E. Moyer 4753e9
Patch51: autofs-4.1.3-submount-variable-propagation.patch
Jeffrey E. Moyer 4753e9
Patch52: autofs-4.1.3-one-auto-master.patch
Jeffrey E. Moyer 4753e9
Patch53: autofs-4.1.3-nsswitch-comment.patch
Chris Feist 683cc3
Patch54: autofs-4.1.3-alt-master-ldap.patch
Chris Feist 683cc3
Patch55: autofs-4.1.3-auto-smb-mount-fix.patch
Chris Feist 683cc3
Patch56: autofs-4.1.3-check-nsswitch-submount.patch
Chris Feist 1dd1df
Patch57: autofs-4.1.3-init-script-browse.patch
Chris Feist 29f154
Patch58: autofs-4.1.3-local-mount.patch
Chris Feist 29f154
Patch59: autofs-4.1.3-indirect-wildcard.patch
Jeffrey E. Moyer 5a8c05
Patch60: autofs-4.1.3-multi-over-redhat.patch
Jeffrey E. Moyer 4753e9
cvsdist c2d75c
Buildroot: /var/tmp/autofs-tmp
cvsdist 66a737
BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
cvsdist c2d75c
Prereq: chkconfig
cvsdist c2d75c
Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
cvsdist f128f4
Obsoletes: autofs-ldap
cvsdist c2d75c
Summary(de): autofs daemon 
cvsdist ee03ea
Summary(fr): démon autofs
cvsdist ee03ea
Summary(tr): autofs sunucu süreci
cvsdist c2d75c
Summary(sv): autofs-daemon
cvsdist f128f4
cvsdist f128f4
%description
cvsdist c2d75c
autofs is a daemon which automatically mounts filesystems when you use
cvsdist c2d75c
them, and unmounts them later when you are not using them.  This can
cvsdist c2d75c
include network filesystems, CD-ROMs, floppies, and so forth.
cvsdist c2d75c
cvsdist c2d75c
%description -l de
cvsdist ee03ea
autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie 
cvsdist ee03ea
benutzt werden, und sie später bei Nichtbenutzung wieder demontiert. 
cvsdist ee03ea
Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen. 
cvsdist c2d75c
cvsdist c2d75c
%description -l fr
cvsdist ee03ea
autofs est un démon qui monte automatiquement les systèmes de fichiers
cvsdist ee03ea
lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus. Cela
cvsdist ee03ea
inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc.
cvsdist c2d75c
cvsdist c2d75c
%description -l tr
cvsdist ee03ea
autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar
cvsdist ee03ea
ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya
cvsdist ee03ea
sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
cvsdist c2d75c
cvsdist c2d75c
%description -l sv
cvsdist ee03ea
autofs är en daemon som mountar filsystem när de använda, och senare
cvsdist ee03ea
unmountar dem när de har varit oanvända en bestämd tid.  Detta kan
cvsdist ee03ea
inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare.
cvsdist f128f4
cvsdist f128f4
%prep
cvsdist f128f4
%setup -q
cvsdist 2ab164
echo %{version}-%{release} > .version
cvsdist c2d75c
%patch1 -p1 -b .hesiod-bind
cvsdist c2d75c
%patch2 -p1 -b .loop
cvsdist c2d75c
%patch3 -p1 -b .auto-master
cvsdist c2d75c
%patch4 -p1 -b .init-redhat-only
cvsdist 2ab164
%patch5 -p1 -b .non-strict-loop-fix
cvsdist 2ab164
%patch12 -p1 -b .option-parsing
cvsdist 733a36
%patch14 -p1 -b .i18n
cvsdist f136c3
%patch15 -p1 -b .rpc-ping
cvsdist d9acc2
%patch16 -p1 -b .bad-chdir
cvsdist d9acc2
%patch17 -p1 -b .mtab-lock
Jeffrey E. Moyer d2248d
%patch18 -p1 -b .map-expiry
cvsdist ead9ef
%patch19 -p1 -b .disable-direct
cvsdist ead9ef
%patch21 -p1 -b .signal-race-fix
Jeffrey E. Moyer 2f5c56
%patch22 -p1 -b .sock-leak-fix-2
Jeffrey E. Moyer 581c89
%patch24 -p1 -b .umount-loopback
Jeffrey E. Moyer d2248d
%patch25 -p1 -b .close-fix
Jeffrey E. Moyer 2f5c56
%patch26 -p1 -b .intl-status
Jeffrey E. Moyer 8d613b
%patch27 -p1 -b .localopts-multi
Chris Feist 59f6ad
%patch28 -p1 -b .init-duplicate-map
Chris Feist 7882f1
%patch29 -p1 -b .filemap-etc-append
Chris Feist 5570c4
%patch30 -p1 -b .init-duplicate-map2
Chris Feist 5b8672
%patch31 -p1 -b .plus-map-ordering.patch
Chris Feist 3bdbde
%patch32 -p1 -b .ldap-search-limit.patch
Jeffrey E. Moyer e651f6
%patch33 -p1 -b .browse
Jeffrey E. Moyer a1c855
%patch35 -p1 -b .large-program-map
Jeffrey E. Moyer a1c855
%patch36 -p1 -b .user-message-typo
Jeffrey E. Moyer 686ab1
%patch37 -p1 -b .no-reserved-ports
Jeffrey E. Moyer d2248d
%patch38 -p1 -b .init-cwd
Jeffrey E. Moyer d2248d
%patch39 -p1 -b .init-lc-all
Jeffrey E. Moyer d2248d
%patch40 -p1 -b .ldap-multiple-map
Jeffrey E. Moyer d2248d
%patch41 -p1 -b .replicated-server-select
Jeffrey E. Moyer d2248d
%patch42 -p1 -b .expire-multi
Jeffrey E. Moyer d2248d
%patch43 -p1 -b .yp-direct-lookup
Jeffrey E. Moyer d2248d
%patch44 -p1 -b .filestream-leak
Chris Feist 7110bd
%patch45 -p1 -b .no-rmdir
Chris Feist a135de
%patch46 -p1
Jeffrey E. Moyer 8dfdcb
%patch47 -p1 -b .cache-release
Chris Feist 729c34
%patch48 -p1 -b .non-replicated-ping
Jeffrey E. Moyer 4753e9
%patch49 -p1 -b .program-map-extra-char
Jeffrey E. Moyer 4753e9
%patch50 -p1 -b .duplicate-entry-order
Jeffrey E. Moyer 4753e9
%patch51 -p1 -b .submount-variable-prop
Jeffrey E. Moyer 4753e9
%patch52 -p1 -b .one-auto-master
Jeffrey E. Moyer 4753e9
%patch53 -p1 -b .nsswitch-comment
Chris Feist 683cc3
%patch54 -p1 -b .alt-master-ldap
Chris Feist 683cc3
%patch55 -p1 -b .auto-smb-mount
Chris Feist 683cc3
%patch56 -p1 -b .check-nsswitch-submount
Chris Feist 1dd1df
%patch57 -p1 -b .init-script-browse
Chris Feist 29f154
%patch58 -p1 -b .local-mount
Chris Feist 29f154
%patch59 -p1 -b .indirect-wildcard
Jeffrey E. Moyer 5a8c05
%patch60 -p1 -b .multi-over
Chris Feist 683cc3
cvsdist ee03ea
cp $RPM_SOURCE_DIR/autofs.sysconfig .
cvsdist f128f4
cvsdist f128f4
%build
cvsdist 2ab164
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
cvsdist 2ab164
%configure
cvsdist c2d75c
make initdir=/etc/rc.d/init.d
cvsdist f128f4
cvsdist f128f4
%install
cvsdist c2d75c
rm -rf $RPM_BUILD_ROOT
cvsdist 0e6d8b
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT%{_sbindir}
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/autofs
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
cvsdist ee03ea
mkdir -p -m755 $RPM_BUILD_ROOT/etc/sysconfig
cvsdist c2d75c
cvsdist ee03ea
make install mandir=%{_mandir} initdir=/etc/rc.d/init.d INSTALLROOT=$RPM_BUILD_ROOT
cvsdist f128f4
install -m 755 -d $RPM_BUILD_ROOT/misc
cvsdist ee03ea
install -m 644 autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs
cvsdist f128f4
cvsdist f128f4
%clean
cvsdist ee03ea
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist f128f4
cvsdist f128f4
%post
cvsdist c2d75c
chkconfig --add autofs
cvsdist f128f4
cvsdist 2ab164
%postun
cvsdist 2ab164
if [ $1 -ge 1 ] ; then
cvsdist 2ab164
	/sbin/service autofs condrestart > /dev/null 2>&1 || :
cvsdist 2ab164
fi
cvsdist 2ab164
cvsdist 2ab164
%preun
cvsdist 2ab164
if [ "$1" = 0 ] ; then
cvsdist 2ab164
	/sbin/service autofs stop > /dev/null 2>&1 || :
cvsdist 2ab164
	/sbin/chkconfig --del autofs
cvsdist 2ab164
fi
cvsdist 2ab164
exit 0
cvsdist 2ab164
cvsdist f128f4
%files
cvsdist f128f4
%defattr(-,root,root)
cvsdist c2d75c
%doc CREDITS COPY* README* TODO multiserver_mount.patch patches/* samples/ldap* samples/autofs.schema
cvsdist c2d75c
%doc 
cvsdist f128f4
%config /etc/rc.d/init.d/autofs
cvsdist c2d75c
%config(noreplace,missingok) /etc/auto.master
cvsdist 0e6d8b
%config(noreplace,missingok) /etc/auto.misc
cvsdist c2d75c
%config(noreplace,missingok) /etc/auto.net
cvsdist ee03ea
%config(noreplace) /etc/sysconfig/autofs
cvsdist f128f4
%dir /misc
cvsdist ee03ea
%dir %{_libdir}/autofs
cvsdist ee03ea
%{_sbindir}/automount
cvsdist ee03ea
%{_mandir}/*/*
cvsdist ee03ea
%{_libdir}/autofs/*
cvsdist f128f4
cvsdist f128f4
%changelog
Jeffrey E. Moyer 5a8c05
* Thu Mar 31 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-119
Jeffrey E. Moyer 5a8c05
- Merge in the multi-over patch.  This resolves an issue whereby multimounts
Jeffrey E. Moyer 5a8c05
  (such as those used for /net) could be processed in the wrong order,
Jeffrey E. Moyer 5a8c05
  resulting in directories not showing up in a multimount tree.  The fix
Jeffrey E. Moyer 5a8c05
  is to process these directories in order, shortest to longer path.
Jeffrey E. Moyer 5a8c05
Chris Feist 29f154
* Wed Mar 23 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-115
Chris Feist 29f154
- Fixed regression causing any entries after a wildcard in an
Chris Feist 29f154
  indirect map to be ignored. (bz #151668).
Chris Feist 29f154
- Fixed regression which caused local hosts to be mount instead
Chris Feist 29f154
  of --bind local directories. (bz #146887)
Chris Feist 29f154
Chris Feist 1dd1df
* Thu Mar 17 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-111
Chris Feist 1dd1df
- Fixed one off bug in the submount-variable-propagation patch.
Chris Feist 1dd1df
  (bz #143074)
Chris Feist 1dd1df
- Fixed a bug in the init script which wouldn't find the -browse
Chris Feist 1dd1df
  option if it was preceded by another option. (fz #113494)
Chris Feist 1dd1df
Chris Feist 1dd1df
* Mon Feb 28 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-100
Chris Feist 683cc3
- When using ldap if auto.master doesn't exist we now check for auto_master.
Chris Feist 683cc3
  Addresses bz #130079
Chris Feist 683cc3
- When using an auto.smb map we now remove the leading ':' from the path which
Chris Feist 683cc3
  caused mount to fail in the past.  Addresses bz #147492
Chris Feist 683cc3
- Autofs now checks /etc/nsswitch.conf to determine in what order files & nis
Chris Feist 683cc3
  are checked when looking up autofs submount maps which don't specify a
Chris Feist 683cc3
  maptype.  Addresses IT #57612.
Chris Feist 683cc3
Jeffrey E. Moyer 0dd38d
* Mon Feb 14 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-99
Jeffrey E. Moyer 0dd38d
- Change Copyright to License in the spec file so it will build.
Jeffrey E. Moyer 0dd38d
Jeffrey E. Moyer 4753e9
* Fri Feb 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-98
Jeffrey E. Moyer 4753e9
- Program maps can repeat the last character of output.  Fix this.  
Jeffrey E. Moyer 4753e9
  Addresses bz #138606
Jeffrey E. Moyer 4753e9
- Return first entry when there are duplicate keys in a map.  Addresses
Jeffrey E. Moyer 4753e9
  bz #140108.
Jeffrey E. Moyer 4753e9
- Propagate custom map variables to submounts.  Fixes bz #143074.
Jeffrey E. Moyer 4753e9
- Create a sysconfig variable to control whether we source only one master
Jeffrey E. Moyer 4753e9
  map (the way sun does), or source all maps found (which is the default for
Jeffrey E. Moyer 4753e9
  backwards compatibility).  Addresses bz #143126.
Jeffrey E. Moyer 4753e9
- Revised version of the get_best_mount patch. (#146887) cfeist@redhat.com
Jeffrey E. Moyer 4753e9
  The previous patch introduced a regression.  Non-replicated mounts would
Jeffrey E. Moyer 4753e9
  not have the white space stripped from the entry and the mount would fail.
Jeffrey E. Moyer 4753e9
- Handle comment characters in the middle of the automount line in
Jeffrey E. Moyer 4753e9
  /etc/nsswitch.conf.  Addresses bz #127457.
Jeffrey E. Moyer 4753e9
Chris Feist 729c34
* Wed Feb  2 2005 Chris Feist <cfeist@redhat.com> - 1:4.1.3-94
Chris Feist 729c34
- Stop automount from pinging hosts if there is only one host (#146887)
Chris Feist 729c34
Jeffrey E. Moyer 8dfdcb
* Wed Feb  2 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-90
Jeffrey E. Moyer 8dfdcb
- Fix potential double free in cache_release.  This bug showed up in a
Jeffrey E. Moyer 8dfdcb
  multi-map setup.  Two calls to cache_release would result in a SIGSEGV,
Jeffrey E. Moyer 8dfdcb
  and the automount process would never exit.
Jeffrey E. Moyer 8dfdcb
Chris Feist 08d4cd
* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 1:4.3-82
Chris Feist 08d4cd
- Fixed documentation so users know that any local mounts override
Chris Feist 08d4cd
  any other weighted mount.
Chris Feist 08d4cd
Chris Feist 7110bd
* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 1:4.3-80
Chris Feist 7110bd
- Added a variable to determine if we created the directory or not
Chris Feist 7110bd
  so we don't accidently remove a directory that we didn't create when
Chris Feist 7110bd
  we stop autofs.  (bz #134399)
Chris Feist 7110bd
Jeffrey E. Moyer 5b1017
* Tue Jan 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-76
Jeffrey E. Moyer 5b1017
- Fix the large program map patch.
Jeffrey E. Moyer 5b1017
Jeffrey E. Moyer a36abf
* Tue Jan 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-75
Jeffrey E. Moyer a36abf
- Fix some merging breakages that caused the package not to build.
Jeffrey E. Moyer a36abf
Jeffrey E. Moyer d2248d
* Thu Jan  6 2005  <jmoyer@redhat.com> - 1:4.1.3-74
Jeffrey E. Moyer d2248d
- Add in the map expiry patch
Jeffrey E. Moyer d2248d
- Bring in other patches that have been committed to other branches. This 
Jeffrey E. Moyer d2248d
  version should now contain all fixes we have to date
Jeffrey E. Moyer d2248d
- Merge conflicts due to map expiry changes
Jeffrey E. Moyer d2248d
Jeffrey E. Moyer 686ab1
* Fri Nov 19 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-57
Jeffrey E. Moyer 686ab1
- Pass a socket into clntudp_bufcreate so that we don't use up additional 
Jeffrey E. Moyer 686ab1
  reserved ports.  This patch, along with the socket leak fix, addresses
Jeffrey E. Moyer 686ab1
  bz #128966.
Jeffrey E. Moyer 686ab1
Jeffrey E. Moyer de7fb1
* Wed Nov 17 2004  <jmoyer@redhat.com> - 1:4.1.3-56
Jeffrey E. Moyer de7fb1
- Somehow the -browse patch either didn't get committed or got reverted.
Jeffrey E. Moyer de7fb1
  Fixed.
Jeffrey E. Moyer de7fb1
Jeffrey E. Moyer 3f51af
* Tue Nov 16 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-55
Jeffrey E. Moyer a1c855
- Fix program maps so that they can have gt 4k characters. (Neil Horman)
Jeffrey E. Moyer a1c855
  Addresses bz #138994.
Jeffrey E. Moyer a1c855
- Add a space after the colon here "Starting automounter:" in init script.
Jeffrey E. Moyer a1c855
  Fixes bz #138513.
Jeffrey E. Moyer de7fb1
Jeffrey E. Moyer e651f6
* Mon Nov 15 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-53
Jeffrey E. Moyer e651f6
- Make autofs understand -[no]browse.  Addresses fz #113494.
Jeffrey E. Moyer e651f6
Jeffrey E. Moyer f3b186
* Thu Nov 11 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-48
Jeffrey E. Moyer f3b186
- Fix the umount loop device function in the init script.
Jeffrey E. Moyer f3b186
Chris Feist 3bdbde
* Wed Oct 27 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-34
Chris Feist 3bdbde
- Added a patch to fix the automounter failing on ldap maps
Chris Feist 3bdbde
  when it couldn't get the whole map.  (ie. when the search
Chris Feist 3bdbde
  limit was lower than the number of results)
Chris Feist 3bdbde
Chris Feist 5b8672
* Thu Oct 21 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-32
Chris Feist 5b8672
- Fixed the use of +ypmapname so the maps included with +ypmapname
Chris Feist 5b8672
  are used in the correct order.  (In the past the '+' entries
Chris Feist 5b8672
  were always processed after local entries.)
Chris Feist 5b8672
Chris Feist 5570c4
* Thu Oct 21 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-31
Chris Feist 5570c4
- Fixed the duplicate map detection code to detect if maps try
Chris Feist 5570c4
  to mount on top of existing maps. 
Chris Feist 5570c4
Chris Feist 7882f1
* Wed Oct 20 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-29
Chris Feist 7882f1
- Fixed a problem with backwards compatability. Specifying local
Chris Feist 7882f1
  maps without '/etc/' prepended to them now works. (bz #136038)
Chris Feist 7882f1
Chris Feist 1ddc9b
* Fri Oct 15 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-28
Chris Feist 7882f1
- Fixed a bug which caused directories to never be unmounted. (bz #134403)
Chris Feist 1ddc9b
Chris Feist 59f6ad
* Thu Oct 14 2004 Chris Feist <cfeist@redhat.com> - 1:4.1.3-27
Chris Feist 59f6ad
- Fixed an error in the init script which caused duplicate entries to be
Chris Feist 59f6ad
  displayed when asking for autofs status.
Chris Feist 59f6ad
Jeffrey E. Moyer caa5a6
* Fri Oct  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-22
Jeffrey E. Moyer caa5a6
- Comment out map expiry (and related) patch for an FC3 build.
Jeffrey E. Moyer caa5a6
Jeffrey E. Moyer 8d613b
* Thu Sep 23 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-21
Jeffrey E. Moyer 8d613b
- Make local options apply to all maps in a multi-map entry.
Jeffrey E. Moyer 8d613b
Jeffrey E. Moyer 2f5c56
* Tue Sep 21 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-20
Jeffrey E. Moyer 1f5583
- Merged my and Ian's socket leak fixes into one, smaller patch. Only
Jeffrey E. Moyer 1f5583
  partially addresses bz #128966.
Jeffrey E. Moyer 1f5583
- Fix some more echo lines for internationalization. bz #77820
Jeffrey E. Moyer 1f5583
- Revert the only one auto.master patch until we implement the +auto_master
Jeffrey E. Moyer 1f5583
  syntax.  Temporarily addresses bz #133055.
Jeffrey E. Moyer 2f5c56
Jeffrey E. Moyer 581c89
* Thu Sep  2 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-18
Jeffrey E. Moyer 581c89
- Umount loopback filesystems under automount points when stopping the 
Jeffrey E. Moyer 581c89
  automounter.
Jeffrey E. Moyer 581c89
- Uncomment the map expiry patch.
Jeffrey E. Moyer 581c89
- change a close to an fclose in lookup_file.c
Jeffrey E. Moyer 581c89
cvsdist ead9ef
* Tue Aug 31 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-17
cvsdist ead9ef
- Add patch to support parsing nsswitch.conf to determine map sources.
cvsdist ead9ef
- Disable this patch, and Ian's map expiry patch for a FC build.
cvsdist ead9ef
cvsdist ead9ef
* Tue Aug 24 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-16
cvsdist ead9ef
- Version 3 of Ian's map expiry changes.
cvsdist ead9ef
cvsdist ead9ef
* Wed Aug 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-15
cvsdist ead9ef
- Fix a socket leak in the rpc_subs, causing mounts to fail since we are 
cvsdist ead9ef
  running out of port space fairly quickly.
cvsdist ead9ef
cvsdist ead9ef
* Wed Aug 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-14
cvsdist ead9ef
- New map expiry patch from Ian.
cvsdist ead9ef
- Fix a couple signal races.  No known problem reports of these, but they
cvsdist ead9ef
  are holes, none-the-less.
cvsdist ead9ef
cvsdist ead9ef
* Tue Aug 10 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-13
cvsdist ead9ef
- Only read one auto.master map (instead of concatenating all found sources).
cvsdist ead9ef
- Uncomment Ian's experimental mount expiry patch.
cvsdist ead9ef
cvsdist ead9ef
* Fri Aug  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-12
cvsdist ead9ef
- Add a sysconfig entry to disable direct map support, and set this to 
cvsdist ead9ef
  1 by default.
cvsdist ead9ef
- Disable the beta map expiry logic so I can build into a stable distro.
cvsdist ead9ef
- Add defaults for all of the sysconfig variables to the init script so 
cvsdist ead9ef
  we don't trip over user errors (i.e. deleting /etc/sysconfig/autofs).
cvsdist ead9ef
cvsdist 827133
* Wed Aug  4 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-11
cvsdist 827133
- Add beta map expiry code for wider testing. (Ian Kent)
cvsdist 827133
- Fix check for ghosting option.  I forgot to check for it in DAEMONOPTIONS.
cvsdist 827133
- Remove STRIPDASH from /etc/sysconfig/autofs
cvsdist 827133
cvsdist d9acc2
* Mon Jul 12 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-10
cvsdist d9acc2
- Add bad chdir patch from Ian Kent.
cvsdist d9acc2
- Add a typo fix for the mtab lock file.
cvsdist d9acc2
- Nuke the stripdash patch.  It didn't solve a problem.
cvsdist d9acc2
cvsdist d9acc2
* Tue Jun 22 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-9
cvsdist d9acc2
- Bump revison for inclusion in RHEL 3.
cvsdist d9acc2
cvsdist f136c3
* Mon Jun 21 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-8
cvsdist f136c3
- Change icmp ping to an rpc ping.  (Ian Kent)
cvsdist f136c3
- Fix i18n patch
cvsdist f136c3
  o Remove the extra \" from one echo line.
cvsdist f136c3
  o Use echo -e if we are going to do a \n in the echo string.
cvsdist f136c3
cvsdist 733a36
* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
cvsdist b01a5c
- Fixed i18n bug #107463
cvsdist b01a5c
cvsdist b01a5c
* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
cvsdist 733a36
- Fixed i18n bug #107461
cvsdist 733a36
cvsdist 2ab164
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2ab164
- rebuilt
cvsdist 2ab164
cvsdist 2ab164
* Sat Jun  5 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-4
cvsdist 2ab164
- Perform an icmp ping request before rpc_pings, since the rpc clnt_create
cvsdist 2ab164
  function has a builtin default timeout of 60 seconds.  This could result
cvsdist 2ab164
  in a long delay when a server in a replicated mount setup is down.
cvsdist 2ab164
- For non-replicated server entries, ping a host before attempting to mount.
cvsdist 2ab164
  (Ian Kent)
cvsdist f136c3
- Change to %%configure.
cvsdist 2ab164
- Put version-release into .version to allow for automount --version to
cvsdist 2ab164
  print exact info.
cvsdist 2ab164
- Nuke my get-best-mount patch which always uses the long timeout.  This
cvsdist 2ab164
  should no longer be needed.
cvsdist 2ab164
- Put name into changelog entries to make them consistent.  Add e:n-v-r
cvsdist 2ab164
  into Florian's entry.
cvsdist 2ab164
- Stop autofs before uninstalling
cvsdist 2ab164
cvsdist 2ab164
* Sat Jun 05 2004 Florian La Roche <Florian.LaRoche@redhat.de> - 1:4.1.3-3
cvsdist 2ab164
- add a preun script to remove autofs
cvsdist 2ab164
cvsdist 2ab164
* Tue Jun  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-2
cvsdist 2ab164
- Incorporate patch from Ian which fixes an infinite loop seen by those
cvsdist 2ab164
  running older versions of the kernel patches (triggered by non-strict mounts
cvsdist 2ab164
  being the default).
cvsdist 2ab164
cvsdist 2ab164
* Tue Jun  1 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-1
cvsdist 2ab164
- Update to upstream 4.1.3.
cvsdist 2ab164
cvsdist 2ab164
* Thu May  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-6
cvsdist 2ab164
- The lookup_yp module only dealt with YPERR_KEY, all other errors were 
cvsdist 2ab164
  treated as success.  As a result, if the ypdomain was not bound, the 
cvsdist 2ab164
  subprocess that starts mounts would SIGSEGV.  This is now fixed.
cvsdist 2ab164
- Option parsing in the init script was not precise enough, sometimes matching
cvsdist 2ab164
  filesystem options to one of --ghost, --timeout, --verbose, or --debug.  
cvsdist 2ab164
  The option-parsing patch addresses this issue by making the regexp's much
cvsdist 2ab164
  more precise.
cvsdist 2ab164
- Ian has rolled a third version of the replicated mount fixes.
cvsdist 2ab164
cvsdist 2ab164
* Tue May  4 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-5
cvsdist 2ab164
- Ian has a new fix for replicated server and multi-mounts.  Updated the 
cvsdist 2ab164
  patch for testing.  Still beta.  (Ian Kent)
cvsdist 2ab164
cvsdist 2ab164
* Mon May  3 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-4
cvsdist 2ab164
- Fix broken multi-mounts.  test patch.  (Ian Kent)
cvsdist 2ab164
cvsdist 2ab164
* Tue Apr 20 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-3
cvsdist 2ab164
- Fix a call to spawnl which forgot to specify a lock file. (nphilipp)
cvsdist 2ab164
cvsdist ee03ea
* Wed Apr 14 2004  <jmoyer@redhat.com> - 1:4.1.2-2
cvsdist ee03ea
- Pass --libdir= to ./configure so we get this right on 64 bit platforms that 
cvsdist ee03ea
  support backwards compat.
cvsdist ee03ea
cvsdist ee03ea
* Wed Apr 14 2004  Jeff Moyer <jmoyer@redhat.com> - 1:4.1.2-1
cvsdist ee03ea
- Change hard-coded paths in the spec file to the %{_xxx} variety.
cvsdist ee03ea
- Update to upstream 4.1.2.
cvsdist ee03ea
- Add a STRIPDASH option to /etc/sysconfig/autofs which allows for
cvsdist ee03ea
  compatibility with the Sun automounter options specification syntax in
cvsdist ee03ea
  auto.master.  See /etc/sysconfig/autofs for more information.  Addresses
cvsdist ee03ea
  bug 113950.
cvsdist ee03ea
cvsdist ee03ea
* Tue Apr  6 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-6
cvsdist ee03ea
- Add the /etc/sysconfig/autofs file, and supporting infrastructure in 
cvsdist ee03ea
  the init script.
cvsdist ee03ea
- Add support for UNDERSCORE_TO_DOT for those who want it.
cvsdist ee03ea
- We no longer own /net.  Move it to the filesystem package.
cvsdist ee03ea
cvsdist ee03ea
* Tue Mar 30 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-5
cvsdist ee03ea
- Clarify documentation on direct maps.
cvsdist ee03ea
- Send automount daemons a HUP signal during reload.  This tells them to 
cvsdist ee03ea
  re-read maps (otherwise they use a cached version.  Patch from the autofs
cvsdist ee03ea
  maintainer.
cvsdist ee03ea
cvsdist ee03ea
* Mon Mar 22 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-4
cvsdist ee03ea
- Fix init script to print out failures where appropriate.
cvsdist ee03ea
- Build the automount daemon as a PIE.
cvsdist ee03ea
cvsdist c2d75c
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-3
cvsdist c2d75c
- Fix bug in get_best_mount, whereby if there is only one option, we 
cvsdist c2d75c
  choose nothing.  This is primarily due to the fact that we pass 0 in to
cvsdist c2d75c
  the get_best_mount function for the long timeout parameter.  So, we
cvsdist c2d75c
  timeout trying to contact our first and only server, and never retry.
cvsdist c2d75c
cvsdist c2d75c
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-2
cvsdist c2d75c
- Prevent startup if a mountpoint is already mounted.
cvsdist c2d75c
cvsdist c2d75c
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-1
cvsdist c2d75c
- Update to 4.1.1, as it fixes problems with wildcards that people are 
cvsdist c2d75c
  seeing quite a bit.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 17 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-8
cvsdist c2d75c
- Fix ldap init code to parse server name and options correctly.
cvsdist c2d75c
cvsdist c2d75c
* Tue Mar 16 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-7
cvsdist c2d75c
- Moved the freeing of ap.path to cleanup_exit, as we would otherwise 
cvsdist c2d75c
  reference an already-freed variable.
cvsdist c2d75c
cvsdist c2d75c
* Mon Mar 15 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.0-6
cvsdist c2d75c
- add %config(noreplace) for auto.* config files.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-5
cvsdist c2d75c
- make the init script only recognize redhat systems.  Nalin seems to remember
cvsdist c2d75c
  some arcane build system error that can be caused if we don't do this.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-4
cvsdist c2d75c
- comment out /net and /misc from the default auto.master.  /net is important
cvsdist c2d75c
  since in a default shipping install, we can neatly co-exist with amd.
cvsdist c2d75c
cvsdist c2d75c
* Wed Mar 10 2004 Jeff Moyer <jmoyer@redhat.com> 1:4.1.0-3
cvsdist c2d75c
- Ported forward Red Hat's patches from 3.1.7 that were not already present
cvsdist c2d75c
  in 4.1.0.
cvsdist c2d75c
- Moving autofs from version 3.1.7 to 4.1.0
cvsdist c2d75c
cvsdist c2d75c
* Mon Sep 29 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Added work around for O(1) patch oddity.
cvsdist c2d75c
cvsdist c2d75c
* Sat Aug 17 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Fixed tree mounts.
cvsdist c2d75c
- Corrected transciption error in autofs4-2.4.18 kernel module
cvsdist c2d75c
cvsdist c2d75c
* Sun Aug 10 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Checked and merged most of the RedHat v3 patches
cvsdist c2d75c
- Fixed kernel module handling wu-ftpd login problem (again)
cvsdist c2d75c
cvsdist c2d75c
* Thu Aug 7 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Removed ineffective lock stuff
cvsdist c2d75c
- Added -n to bind mount to prevent mtab update error
cvsdist c2d75c
- Added retry to autofs umount to clean matb after fail
cvsdist c2d75c
- Redirected messages from above to debug log and added info message
cvsdist c2d75c
- Fixed autofs4 module reentrancy, pwd and chroot handling
cvsdist c2d75c
cvsdist c2d75c
* Wed Jul 30 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Fixed autofs4 ghosting patch for 2.4.19 and above (again)
cvsdist c2d75c
- Fixed autofs directory removal on failure of autofs mount
cvsdist c2d75c
- Fixed lock file wait function overlapping calls to (u)mount
cvsdist c2d75c
cvsdist c2d75c
* Sun Jul 27 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Implemented LDAP direct map handling for nisMap and automountMap schema
cvsdist c2d75c
- Fixed autofs4 ghosting patch for 2.4.19 and above (again)
cvsdist c2d75c
- Added locking to fix overlapping internal calls to (u)mount 
cvsdist c2d75c
- Added wait for mtab~ to improve tolerance of overlapping external calls to (u)mount
cvsdist c2d75c
- Fixed ghosted directory removal after failed mount attempt
cvsdist c2d75c
cvsdist c2d75c
* Wed May 28 2003 Ian Kent <raven@themaw.net>
cvsdist c2d75c
- Cleaned up an restructured my added code
cvsdist c2d75c
- Corrected ghosting problem with 2.4.19 and above
cvsdist c2d75c
- Added autofs4 ghosting patch for 2.4.19 and above
cvsdist c2d75c
- Implemented HUP signal to force update of ghosted maps
cvsdist c2d75c
cvsdist c2d75c
* Mon Mar 23 2002 Ian Kent <ian.kent@pobox.com>
cvsdist c2d75c
- Add patch to implement directory ghosting and direct mounts
cvsdist c2d75c
- Add patch to for autofs4 module to support ghosting
cvsdist 0e6d8b
cvsdist 0e6d8b
* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0e6d8b
- use -fPIC instead of -fpic for modules and honor other RPM_OPT_FLAGS
cvsdist f128f4
cvsdist f128f4
* Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist f128f4
- enable hesiod support over libbind
cvsdist f128f4
cvsdist f128f4
* Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com>
cvsdist f128f4
- add patch from rth to avoid an infinite loop