auto-import changelog data from autofs-3.1.7-14.src.rpm
Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Tue Feb 27 2001 Preston Brown <pbrown@redhat.com> - noreplace the auto.misc file Mon Feb 26 2001 Nalin Dahyabhai <nalin@redhat.com> - require /etc/redhat-release, which the init script uses to figure out that we're running under Red Hat Linux Tue Feb 20 2001 Nalin Dahyabhai <nalin@redhat.com> - fix init script after i18n changes Fri Feb 16 2001 Nalin Dahyabhai <nalin@redhat.com> - more init script i18n changes (#26520) Tue Feb 06 2001 Nalin Dahyabhai <nalin@redhat.com> - use a helper binary to look up LDAP auto.master information (the script can't parse base64) Fri Feb 02 2001 Nalin Dahyabhai <nalin@redhat.com> - remove the gprintf calls in the init script Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize the init script Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com> - tweak the files list (input from katzj@linuxpower.org) Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - handle multiple return values correctly in the LDAP lookup module - start by default again Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com> - change start priority to match amd to work on NFS-mounted /usr (#23522) - don't start by default unless the admin switches us on - use -fPIC instead of -fpic for modules and honor other RPM_OPT_FLAGS - gettextize the init script Tue Jan 09 2001 Nalin Dahyabhai <nalin@redhat.com> - fix option parsing in lookup_multi (I think) - fix multi option handling in our hacked-up init script (reported by Thiago Bartolomei on the autofs mailing list) Wed Dec 06 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 3.1.7 - add the man pages back in (fell out in 3.1.6) Tue Nov 28 2000 Nalin Dahyabhai <nalin@redhat.com> - don't require /etc/auto.master to be there to start Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 3.1.6 - disable hesiod support because the new bind-devel doesn't include it - try to use nsswitch.conf for getting the contents of auto.master - only convert YP map names auto_home and auto_mnt Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com> - add -lresolv to build properly with OpenLDAP 2
This commit is contained in:
parent
f128f42151
commit
0e6d8bda79
@ -1,2 +1 @@
|
|||||||
autofs-3.1.5.tar.bz2
|
autofs-3.1.7.tar.bz2
|
||||||
autofs-3.1.6-pre2.patch.bz2
|
|
||||||
|
142
autofs.spec
142
autofs.spec
@ -1,26 +1,28 @@
|
|||||||
Summary: A tool for automatically mounting and unmounting filesystems.
|
Summary: A tool for automatically mounting and unmounting filesystems.
|
||||||
Name: autofs
|
Name: autofs
|
||||||
Version: 3.1.5
|
Version: 3.1.7
|
||||||
Release: 5
|
Release: 14
|
||||||
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/autofs-%{version}.tar.bz2
|
Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/autofs-%{version}.tar.bz2
|
||||||
|
Source1: autofs-ldap-auto-master.c
|
||||||
Patch0: autofs-3.1.6-doc.patch
|
Patch0: autofs-3.1.6-doc.patch
|
||||||
Patch1: autofs-3.1.4-loop.patch
|
Patch1: autofs-3.1.4-loop.patch
|
||||||
Patch2: autofs-3.1.4-modules.patch
|
Patch2: autofs-3.1.4-modules.patch
|
||||||
Patch3: autofs-3.1.5-hesiod-bind.patch
|
Patch3: autofs-3.1.7-init.patch
|
||||||
Patch4: autofs-3.1.5-init.patch
|
Patch4: autofs-3.1.4-linux-2.3.patch
|
||||||
Patch5: autofs-3.1.4-linux-2.3.patch
|
Patch5: autofs-4.0.0-open_max.patch
|
||||||
Patch6: autofs-4.0.0-ldap.patch
|
Patch6: autofs-3.1.5-openldap2.patch
|
||||||
Patch7: autofs-4.0.0-open_max.patch
|
Patch7: autofs-3.1.5-hesiod-bind.patch
|
||||||
Patch8: autofs-4.0.0-clean.patch
|
Patch8: autofs-3.1.7-multiargs.patch
|
||||||
Patch9: autofs-4.0.0-initialize.patch
|
Patch9: autofs-3.1.7-fpic.patch
|
||||||
Patch10: ftp://ftp.kernel.org/pub/linux/daemons/autofs/testing-v3/autofs-3.1.6-pre2.patch.bz2
|
Patch10: autofs-3.1.7-multiple.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-tmp
|
Buildroot: %{_tmppath}/%{name}-tmp
|
||||||
BuildPrereq: bind-devel, openldap-devel
|
BuildPrereq: openldap-devel, perl
|
||||||
Prereq: /sbin/chkconfig, /etc/init.d
|
Prereq: /sbin/chkconfig
|
||||||
Requires: /bin/bash, mktemp, sed, textutils, sh-utils, grep, /bin/ps
|
Requires: /bin/bash, mktemp, sed, gawk, textutils, sh-utils, grep, /bin/ps
|
||||||
|
Requires: /etc/redhat-release
|
||||||
Obsoletes: autofs-ldap
|
Obsoletes: autofs-ldap
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -35,31 +37,37 @@ network, you should install autofs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch10 -p1 -b .pre1
|
|
||||||
%patch0 -p1 -b .doc
|
%patch0 -p1 -b .doc
|
||||||
%patch1 -p1 -b .loop
|
%patch1 -p1 -b .loop
|
||||||
%patch2 -p1 -b .modules
|
%patch2 -p1 -b .modules
|
||||||
%patch3 -p1 -b .hesiod-bind
|
%patch3 -p1 -b .init
|
||||||
%patch4 -p1 -b .init
|
%patch4 -p1 -b .linux-2.3
|
||||||
%patch5 -p1 -b .linux-2.3
|
%patch5 -p1 -b .open_max
|
||||||
#%patch6 -p1 -b .ldap
|
%patch6 -p1 -b .openldap2
|
||||||
%patch7 -p1 -b .open_max
|
#Aaargh! BIND 9 doesn't include a hesiod implementation!
|
||||||
#%patch8 -p1 -b .clean
|
#%patch7 -p1 -b .hesiod-bind
|
||||||
#%patch9 -p1 -b .initialize
|
%patch8 -p1 -b .multiargs
|
||||||
|
%patch9 -p1 -b .fpic
|
||||||
|
%patch10 -p1 -b .multiple
|
||||||
chmod u+w configure
|
chmod u+w configure
|
||||||
autoconf
|
autoconf
|
||||||
|
env LANG=C perl -pi -e 's|^CFLAGS =.*|CFLAGS = \$\(RPM_OPT_FLAGS\)|g' Makefile.rules
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS=-ggdb; export CFLAGS
|
%configure --without-hesiod --with-openldap=/usr
|
||||||
%configure --with-hesiod=/usr/lib/bind --with-openldap=/usr
|
|
||||||
make
|
make
|
||||||
|
%{__cc} \
|
||||||
|
-o autofs-ldap-auto-master \
|
||||||
|
$RPM_OPT_FLAGS \
|
||||||
|
$RPM_SOURCE_DIR/autofs-ldap-auto-master.c \
|
||||||
|
-lldap -llber
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/autofs
|
mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/autofs
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
|
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
mkdir -p -m755 $RPM_BUILD_ROOT%{_sbindir}
|
||||||
|
|
||||||
%{makeinstall} autofslibdir=$RPM_BUILD_ROOT%{_libdir}/autofs
|
%{makeinstall} autofslibdir=$RPM_BUILD_ROOT%{_libdir}/autofs
|
||||||
install -m 755 samples/rc.autofs $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
|
install -m 755 samples/rc.autofs $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
|
||||||
@ -68,6 +76,7 @@ install -m 644 samples/auto.misc $RPM_BUILD_ROOT/etc
|
|||||||
#install -m 755 samples/auto.net $RPM_BUILD_ROOT/etc/auto.net
|
#install -m 755 samples/auto.net $RPM_BUILD_ROOT/etc/auto.net
|
||||||
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 755 -d $RPM_BUILD_ROOT/net
|
||||||
|
install -m 755 autofs-ldap-auto-master $RPM_BUILD_ROOT%{_libdir}/autofs/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
@ -85,26 +94,33 @@ if [ "$1" = 0 ] ; then
|
|||||||
/sbin/service autofs stop > /dev/null 2>&1
|
/sbin/service autofs stop > /dev/null 2>&1
|
||||||
chkconfig --del autofs
|
chkconfig --del autofs
|
||||||
fi
|
fi
|
||||||
exit 0
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYRIGHT NEWS README* TODO
|
%doc COPYING COPYRIGHT NEWS README* TODO
|
||||||
%config /etc/rc.d/init.d/autofs
|
%config /etc/rc.d/init.d/autofs
|
||||||
%config(noreplace) /etc/auto.master
|
%config(noreplace) /etc/auto.master
|
||||||
%config(missingok) /etc/auto.misc
|
%config(noreplace,missingok) /etc/auto.misc
|
||||||
%{_sbindir}/automount
|
%{_sbindir}/automount
|
||||||
%dir %{_libdir}/autofs
|
%dir %{_libdir}/autofs
|
||||||
|
%{_libdir}/autofs/autofs-ldap-auto-master
|
||||||
%{_libdir}/autofs/lookup_file.so
|
%{_libdir}/autofs/lookup_file.so
|
||||||
%{_libdir}/autofs/lookup_hesiod.so
|
#%{_libdir}/autofs/lookup_hesiod.so
|
||||||
|
%{_libdir}/autofs/lookup_ldap.so
|
||||||
%{_libdir}/autofs/lookup_multi.so
|
%{_libdir}/autofs/lookup_multi.so
|
||||||
%{_libdir}/autofs/lookup_nisplus.so
|
%{_libdir}/autofs/lookup_nisplus.so
|
||||||
%{_libdir}/autofs/lookup_ldap.so
|
|
||||||
%{_libdir}/autofs/lookup_program.so
|
%{_libdir}/autofs/lookup_program.so
|
||||||
%{_libdir}/autofs/lookup_userhome.so
|
%{_libdir}/autofs/lookup_userhome.so
|
||||||
%{_libdir}/autofs/lookup_yp.so
|
%{_libdir}/autofs/lookup_yp.so
|
||||||
%{_libdir}/autofs/mount*
|
%{_libdir}/autofs/mount_afs.so
|
||||||
%{_libdir}/autofs/parse*
|
%{_libdir}/autofs/mount_autofs.so
|
||||||
|
%{_libdir}/autofs/mount_bind.so
|
||||||
|
%{_libdir}/autofs/mount_changer.so
|
||||||
|
%{_libdir}/autofs/mount_ext2.so
|
||||||
|
%{_libdir}/autofs/mount_generic.so
|
||||||
|
%{_libdir}/autofs/mount_nfs.so
|
||||||
|
#%{_libdir}/autofs/parse_hesiod.so
|
||||||
|
%{_libdir}/autofs/parse_sun.so
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%dir /misc
|
%dir /misc
|
||||||
|
|
||||||
@ -112,6 +128,66 @@ exit 0
|
|||||||
#%dir /net
|
#%dir /net
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in new environment
|
||||||
|
|
||||||
|
* Tue Feb 27 2001 Preston Brown <pbrown@redhat.com>
|
||||||
|
- noreplace the auto.misc file
|
||||||
|
|
||||||
|
* Mon Feb 26 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- require /etc/redhat-release, which the init script uses to figure out
|
||||||
|
that we're running under Red Hat Linux
|
||||||
|
|
||||||
|
* Tue Feb 20 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix init script after i18n changes
|
||||||
|
|
||||||
|
* Fri Feb 16 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- more init script i18n changes (#26520)
|
||||||
|
|
||||||
|
* Tue Feb 6 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- use a helper binary to look up LDAP auto.master information (the script
|
||||||
|
can't parse base64)
|
||||||
|
|
||||||
|
* Fri Feb 2 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- remove the gprintf calls in the init script
|
||||||
|
|
||||||
|
* Mon Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- gettextize the init script
|
||||||
|
|
||||||
|
* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- tweak the files list (input from katzj@linuxpower.org)
|
||||||
|
|
||||||
|
* Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- handle multiple return values correctly in the LDAP lookup module
|
||||||
|
- start by default again
|
||||||
|
|
||||||
|
* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- change start priority to match amd to work on NFS-mounted /usr (#23522)
|
||||||
|
- don't start by default unless the admin switches us on
|
||||||
|
- use -fPIC instead of -fpic for modules and honor other RPM_OPT_FLAGS
|
||||||
|
- gettextize the init script
|
||||||
|
|
||||||
|
* Tue Jan 9 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix option parsing in lookup_multi (I think)
|
||||||
|
- fix multi option handling in our hacked-up init script (reported by Thiago
|
||||||
|
Bartolomei on the autofs mailing list)
|
||||||
|
|
||||||
|
* Wed Dec 6 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- update to 3.1.7
|
||||||
|
- add the man pages back in (fell out in 3.1.6)
|
||||||
|
|
||||||
|
* Tue Nov 28 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- don't require /etc/auto.master to be there to start
|
||||||
|
|
||||||
|
* Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- update to 3.1.6
|
||||||
|
- disable hesiod support because the new bind-devel doesn't include it
|
||||||
|
- try to use nsswitch.conf for getting the contents of auto.master
|
||||||
|
- only convert YP map names auto_home and auto_mnt
|
||||||
|
|
||||||
|
* Fri Sep 8 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- add -lresolv to build properly with OpenLDAP 2
|
||||||
|
|
||||||
* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
|
* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
- convert YP map names that start with "auto_" to "auto." (#16753)
|
- convert YP map names that start with "auto_" to "auto." (#16753)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user