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.
This commit is contained in:
parent
c2d75c2025
commit
ee03eaec37
@ -1 +1 @@
|
|||||||
autofs-4.1.1.tar.bz2
|
autofs-4.1.2.tar.bz2
|
||||||
|
97
autofs.spec
97
autofs.spec
@ -3,30 +3,29 @@
|
|||||||
#
|
#
|
||||||
Summary: A tool for automatically mounting and unmounting filesystems.
|
Summary: A tool for automatically mounting and unmounting filesystems.
|
||||||
Name: autofs
|
Name: autofs
|
||||||
%define version 4.1.1
|
%define version 4.1.2
|
||||||
%define release 3
|
%define release 2
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}
|
Release: %{release}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-%{version}.tar.bz2
|
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
|
Patch1: autofs-4.1.0-hesiod-bind.patch
|
||||||
Patch2: autofs-4.1.0-loop.patch
|
Patch2: autofs-4.1.0-loop.patch
|
||||||
Patch3: autofs-4.1.0-auto-master.patch
|
Patch3: autofs-4.1.0-auto-master.patch
|
||||||
Patch4: autofs-4.1.0-init-redhat-only.patch
|
Patch4: autofs-4.1.2-init-redhat-only.patch
|
||||||
Patch5: autofs-4.1.1-no-over-mount.patch
|
|
||||||
Patch6: autofs-4.1.0-ldap-init.patch
|
|
||||||
Patch7: autofs-4.1.1-get-best-mount.patch
|
Patch7: autofs-4.1.1-get-best-mount.patch
|
||||||
|
Patch8: autofs-4.1.2-stripdash.patch
|
||||||
Buildroot: /var/tmp/autofs-tmp
|
Buildroot: /var/tmp/autofs-tmp
|
||||||
BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
|
BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
|
||||||
Prereq: chkconfig
|
Prereq: chkconfig
|
||||||
Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
|
Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
|
||||||
Obsoletes: autofs-ldap
|
Obsoletes: autofs-ldap
|
||||||
Summary(de): autofs daemon
|
Summary(de): autofs daemon
|
||||||
Summary(fr): démon autofs
|
Summary(fr): démon autofs
|
||||||
Summary(tr): autofs sunucu süreci
|
Summary(tr): autofs sunucu süreci
|
||||||
Summary(sv): autofs-daemon
|
Summary(sv): autofs-daemon
|
||||||
|
|
||||||
%description
|
%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.
|
include network filesystems, CD-ROMs, floppies, and so forth.
|
||||||
|
|
||||||
%description -l de
|
%description -l de
|
||||||
autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
|
autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
|
||||||
benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
|
benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
|
||||||
Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen.
|
Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches einschließen.
|
||||||
|
|
||||||
%description -l fr
|
%description -l fr
|
||||||
autofs est un démon qui monte automatiquement les systèmes de fichiers
|
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
|
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.
|
inclus les systèmes de fichiers réseau, les CD-ROMs, les disquettes, etc.
|
||||||
|
|
||||||
%description -l tr
|
%description -l tr
|
||||||
autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden baðlar
|
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
|
ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem, að dosya
|
||||||
sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
|
sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
|
||||||
|
|
||||||
%description -l sv
|
%description -l sv
|
||||||
autofs är en daemon som mountar filsystem när de använda, och senare
|
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
|
unmountar dem när de har varit oanvända en bestämd tid. Detta kan
|
||||||
inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare.
|
inkludera nätfilsystem, CD-ROM, floppydiskar, och så vidare.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .fpic
|
|
||||||
%patch1 -p1 -b .hesiod-bind
|
%patch1 -p1 -b .hesiod-bind
|
||||||
%patch2 -p1 -b .loop
|
%patch2 -p1 -b .loop
|
||||||
%patch3 -p1 -b .auto-master
|
%patch3 -p1 -b .auto-master
|
||||||
%patch4 -p1 -b .init-redhat-only
|
%patch4 -p1 -b .init-redhat-only
|
||||||
%patch5 -p1 -b .no-over-mount
|
|
||||||
%patch6 -p1 -b .ldap-init
|
|
||||||
%patch7 -p1 -b .get-best-mount
|
%patch7 -p1 -b .get-best-mount
|
||||||
|
%patch8 -p1 -b .stripdash
|
||||||
|
cp $RPM_SOURCE_DIR/autofs.sysconfig .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
||||||
make initdir=/etc/rc.d/init.d
|
make initdir=/etc/rc.d/init.d
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
|
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%{_sbindir}
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT/usr/lib/autofs
|
mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/autofs
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT/usr/man/man5
|
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT/usr/man/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/misc
|
||||||
install -m 755 -d $RPM_BUILD_ROOT/net
|
install -m 644 autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
chkconfig --add autofs
|
chkconfig --add autofs
|
||||||
@ -95,13 +93,42 @@ chkconfig --add autofs
|
|||||||
%config(noreplace,missingok) /etc/auto.master
|
%config(noreplace,missingok) /etc/auto.master
|
||||||
%config(noreplace,missingok) /etc/auto.misc
|
%config(noreplace,missingok) /etc/auto.misc
|
||||||
%config(noreplace,missingok) /etc/auto.net
|
%config(noreplace,missingok) /etc/auto.net
|
||||||
/usr/sbin/automount
|
%config(noreplace) /etc/sysconfig/autofs
|
||||||
%dir /misc
|
%dir /misc
|
||||||
%dir /net
|
%dir %{_libdir}/autofs
|
||||||
/usr/lib/autofs
|
%{_sbindir}/automount
|
||||||
/usr/man/*/*
|
%{_mandir}/*/*
|
||||||
|
%{_libdir}/autofs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 14 2004 <jmoyer@redhat.com> - 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 <jmoyer@redhat.com> - 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 <jmoyer@redhat.com> - 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 <jmoyer@redhat.com> - 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 <jmoyer@redhat.com> - 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 <jmoyer@redhat.com> - 1:4.1.1-3
|
* Thu Mar 18 2004 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.1-3
|
||||||
- Fix bug in get_best_mount, whereby if there is only one option, we
|
- 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
|
choose nothing. This is primarily due to the fact that we pass 0 in to
|
||||||
|
Loading…
Reference in New Issue
Block a user