From ee03eaec371ca842baf7de3a31ab52e40e68908c Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 03:23:27 +0000 Subject: auto-import changelog data from autofs-4.1.2-2.src.rpm 4.1.2-2 - Pass --libdir= to ./configure so we get this right on 64 bit platforms that support backwards compat. 4.1.2-1 - Change hard-coded paths in the spec file to the %{_xxx} variety. - Update to upstream 4.1.2. - Add a STRIPDASH option to /etc/sysconfig/autofs which allows for compatibility with the Sun automounter options specification syntax in auto.master. See /etc/sysconfig/autofs for more information. Addresses bug 113950. 4.1.1-6 - Add the /etc/sysconfig/autofs file, and supporting infrastructure in the init script. - Add support for UNDERSCORE_TO_DOT for those who want it. - We no longer own /net. Move it to the filesystem package. 4.1.1-5 - Clarify documentation on direct maps. - Send automount daemons a HUP signal during reload. This tells them to re-read maps (otherwise they use a cached version. Patch from the autofs maintainer. 4.1.1-4 - Fix init script to print out failures where appropriate. - Build the automount daemon as a PIE. --- diff --git a/.cvsignore b/.cvsignore index 28bd406..cc650ae 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -autofs-4.1.1.tar.bz2 +autofs-4.1.2.tar.bz2 diff --git a/autofs.spec b/autofs.spec index b388daf..582128e 100644 --- a/autofs.spec +++ b/autofs.spec @@ -3,30 +3,29 @@ # Summary: A tool for automatically mounting and unmounting filesystems. Name: autofs -%define version 4.1.1 -%define release 3 +%define version 4.1.2 +%define release 2 Version: %{version} Release: %{release} Epoch: 1 Copyright: GPL Group: System Environment/Daemons Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-%{version}.tar.bz2 -Patch0: autofs-4.1.0-fpic.patch +Source1: autofs.sysconfig Patch1: autofs-4.1.0-hesiod-bind.patch Patch2: autofs-4.1.0-loop.patch Patch3: autofs-4.1.0-auto-master.patch -Patch4: autofs-4.1.0-init-redhat-only.patch -Patch5: autofs-4.1.1-no-over-mount.patch -Patch6: autofs-4.1.0-ldap-init.patch +Patch4: autofs-4.1.2-init-redhat-only.patch Patch7: autofs-4.1.1-get-best-mount.patch +Patch8: autofs-4.1.2-stripdash.patch Buildroot: /var/tmp/autofs-tmp BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl Prereq: chkconfig Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps Obsoletes: autofs-ldap Summary(de): autofs daemon -Summary(fr): d�mon autofs -Summary(tr): autofs sunucu s�reci +Summary(fr): démon autofs +Summary(tr): autofs sunucu süreci Summary(sv): autofs-daemon %description @@ -35,54 +34,53 @@ them, and unmounts them later when you are not using them. This can include network filesystems, CD-ROMs, floppies, and so forth. %description -l de -autofs ist ein D�mon, der Dateisysteme automatisch montiert, wenn sie -benutzt werden, und sie sp�ter bei Nichtbenutzung wieder demontiert. -Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und �hnliches einschlie�en. +autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie +benutzt werden, und sie später bei Nichtbenutzung wieder demontiert. +Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen. %description -l fr -autofs est un d�mon qui monte automatiquement les syst�mes de fichiers -lorsqu'on les utilise et les d�monte lorsqu'on ne les utilise plus. Cela -inclus les syst�mes de fichiers r�seau, les CD-ROMs, les disquettes, etc. +autofs est un démon qui monte automatiquement les systèmes de fichiers +lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus. Cela +inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc. %description -l tr -autofs, kullan�lan dosya sistemlerini gerek olunca kendili�inden ba�lar -ve kullan�mlar� sona erince yine kendili�inden ��zer. Bu i�lem, a� dosya -sistemleri, CD-ROM'lar ve disketler �zerinde yap�labilir. +autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar +ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya +sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir. %description -l sv -autofs �r en daemon som mountar filsystem n�r de anv�nda, och senare -unmountar dem n�r de har varit oanv�nda en best�md tid. Detta kan -inkludera n�tfilsystem, CD-ROM, floppydiskar, och s� vidare. +autofs är en daemon som mountar filsystem när de använda, och senare +unmountar dem när de har varit oanvända en bestämd tid. Detta kan +inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare. %prep %setup -q -%patch0 -p1 -b .fpic %patch1 -p1 -b .hesiod-bind %patch2 -p1 -b .loop %patch3 -p1 -b .auto-master %patch4 -p1 -b .init-redhat-only -%patch5 -p1 -b .no-over-mount -%patch6 -p1 -b .ldap-init %patch7 -p1 -b .get-best-mount +%patch8 -p1 -b .stripdash +cp $RPM_SOURCE_DIR/autofs.sysconfig . %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir} make initdir=/etc/rc.d/init.d %install rm -rf $RPM_BUILD_ROOT mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d -mkdir -p -m755 $RPM_BUILD_ROOT/usr/sbin -mkdir -p -m755 $RPM_BUILD_ROOT/usr/lib/autofs -mkdir -p -m755 $RPM_BUILD_ROOT/usr/man/man5 -mkdir -p -m755 $RPM_BUILD_ROOT/usr/man/man8 +mkdir -p -m755 $RPM_BUILD_ROOT%{_sbindir} +mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/autofs +mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8} +mkdir -p -m755 $RPM_BUILD_ROOT/etc/sysconfig -make install initdir=/etc/rc.d/init.d INSTALLROOT=$RPM_BUILD_ROOT +make install mandir=%{_mandir} initdir=/etc/rc.d/init.d INSTALLROOT=$RPM_BUILD_ROOT install -m 755 -d $RPM_BUILD_ROOT/misc -install -m 755 -d $RPM_BUILD_ROOT/net +install -m 644 autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs %clean -rm -rf $RPM_BUILD_ROOT +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post chkconfig --add autofs @@ -95,13 +93,42 @@ chkconfig --add autofs %config(noreplace,missingok) /etc/auto.master %config(noreplace,missingok) /etc/auto.misc %config(noreplace,missingok) /etc/auto.net -/usr/sbin/automount +%config(noreplace) /etc/sysconfig/autofs %dir /misc -%dir /net -/usr/lib/autofs -/usr/man/*/* +%dir %{_libdir}/autofs +%{_sbindir}/automount +%{_mandir}/*/* +%{_libdir}/autofs/* %changelog +* Wed Apr 14 2004 - 1:4.1.2-2 +- Pass --libdir= to ./configure so we get this right on 64 bit platforms that + support backwards compat. + +* Wed Apr 14 2004 Jeff Moyer - 1:4.1.2-1 +- Change hard-coded paths in the spec file to the %{_xxx} variety. +- Update to upstream 4.1.2. +- Add a STRIPDASH option to /etc/sysconfig/autofs which allows for + compatibility with the Sun automounter options specification syntax in + auto.master. See /etc/sysconfig/autofs for more information. Addresses + bug 113950. + +* Tue Apr 6 2004 Jeff Moyer - 1:4.1.1-6 +- Add the /etc/sysconfig/autofs file, and supporting infrastructure in + the init script. +- Add support for UNDERSCORE_TO_DOT for those who want it. +- We no longer own /net. Move it to the filesystem package. + +* Tue Mar 30 2004 Jeff Moyer - 1:4.1.1-5 +- Clarify documentation on direct maps. +- Send automount daemons a HUP signal during reload. This tells them to + re-read maps (otherwise they use a cached version. Patch from the autofs + maintainer. + +* Mon Mar 22 2004 Jeff Moyer - 1:4.1.1-4 +- Fix init script to print out failures where appropriate. +- Build the automount daemon as a PIE. + * Thu Mar 18 2004 Jeff Moyer - 1:4.1.1-3 - Fix bug in get_best_mount, whereby if there is only one option, we choose nothing. This is primarily due to the fact that we pass 0 in to diff --git a/sources b/sources index e6a7189..fcee962 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -df738e7ddc8b75d5862bd56bb60828fd autofs-4.1.1.tar.bz2 +276d8b29d76f0cda5cf1c4a6aafd922d autofs-4.1.2.tar.bz2