Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:makoenig:test
autofs
autofs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File autofs.spec of Package autofs
# # spec file for package autofs (Version 5.0.3) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: autofs Url: http://www.kernel.org/pub/linux/daemons/autofs/v5/ BuildRequires: bison e2fsprogs flex krb5-devel libxml2-devel module-init-tools nfs-client openldap2-devel License: GPL v2 or later Group: System/Daemons AutoReqProv: on Version: 5.0.3 Release: 88 Summary: A Kernel-Based Automounter BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2 Source1: sysconfig.autofs Source3: autofs.schema Source4: README.SuSE.ldap Source5: README.SuSE Source7: NetworkManager-autofs %define patchdate 20081103 Patch0: autofs-5.0.3-upstream-patches-%{patchdate}.bz2 Patch10: autofs-suse-auto_master_default.patch Patch11: autofs-suse-autofs_init.patch Patch12: autofs-5.0.1-mount_xdr_no_strict_aliasing.patch Patch13: autofs-5.0.2-use_local_cflags.patch Patch15: autofs-5.0.3-link_kerberos.patch PreReq: %fillup_prereq %insserv_prereq aaa_base %if %suse_version > 1020 Recommends: nfs-client %endif %description Autofs is a kernel-based automounter for Linux. It is still under development, although the features currently implemented seem to work well. There is nowhere near enough documentation available yet. Help in getting some written would be appreciated. This package replaces the amd package. Authors: -------- H. Peter Anvin <hpa@transmeta.com> Ian Kent <raven@themaw.net> %prep %setup cp %{SOURCE3} . cp %{SOURCE4} . cp %{SOURCE5} . # %patch0 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch15 -p1 %build autoconf -f ./configure %{_target_cpu}-suse-linux \ --libdir=%{_libdir} --mandir=%{_mandir} \ --disable-mount-locking \ --enable-forced-shutdown \ --enable-ignore-busy \ --with-hesiod=no \ --with-sasl make all DONTSTRIP=1 LOCAL_CFLAGS="$RPM_OPT_FLAGS %(getconf LFS_CFLAGS)" %install mkdir -p $RPM_BUILD_ROOT/etc mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/usr/sbin mkdir -p $RPM_BUILD_ROOT/usr/lib/autofs mkdir -p $RPM_BUILD_ROOT/%{_libdir}/autofs mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man5,man8} mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates mkdir -p $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d make install INSTALLROOT=$RPM_BUILD_ROOT ln -s ../../etc/init.d/autofs $RPM_BUILD_ROOT/usr/sbin/rcautofs install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.autofs install -m 755 %{S:7} $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/autofs rm -f $RPM_BUILD_ROOT/etc/sysconfig/autofs %clean rm -rf %{buildroot} %post if /sbin/chkconfig -c autofs 3; then %{insserv_force_if_yast autofs} fi %{fillup_only -n autofs} %preun %{stop_on_removal autofs} %postun %{insserv_cleanup} %files %defattr (-, root, root) /var/adm/fillup-templates/sysconfig.autofs %config(noreplace) /etc/auto.master %config(noreplace) /etc/auto.misc %config(noreplace) /etc/auto.net %config(noreplace) /etc/auto.smb %config(noreplace) /etc/autofs_ldap_auth.conf %config /etc/init.d/autofs %dir /etc/NetworkManager %dir /etc/NetworkManager/dispatcher.d /etc/NetworkManager/dispatcher.d/autofs /usr/sbin/rcautofs %doc COPYRIGHT README README.changer README.smbfs README.SuSE %doc autofs.schema README.SuSE.ldap README.v5.release %dir %{_libdir}/autofs/ %{_libdir}/autofs/lookup_file.so %{_libdir}/autofs/lookup_files.so %{_libdir}/autofs/lookup_hosts.so %{_libdir}/autofs/lookup_ldap.so %{_libdir}/autofs/lookup_ldaps.so %{_libdir}/autofs/lookup_multi.so %{_libdir}/autofs/lookup_nis.so %{_libdir}/autofs/lookup_nisplus.so %{_libdir}/autofs/lookup_program.so %{_libdir}/autofs/lookup_userhome.so %{_libdir}/autofs/lookup_yp.so %{_libdir}/autofs/mount_afs.so %{_libdir}/autofs/mount_autofs.so %{_libdir}/autofs/mount_bind.so %{_libdir}/autofs/mount_changer.so %{_libdir}/autofs/mount_ext2.so %{_libdir}/autofs/mount_ext3.so %{_libdir}/autofs/mount_generic.so %{_libdir}/autofs/mount_nfs.so %{_libdir}/autofs/mount_nfs4.so %{_libdir}/autofs/parse_sun.so %{_mandir}/man5/* %{_mandir}/man8/* /usr/sbin/automount %changelog * Tue Jan 27 2009 kukuk@suse.de - Add aaa_base to PreReq. * Fri Jan 23 2009 coolo@suse.de - don't rely on huge perl script to check if autofs is active * Thu Jan 22 2009 mkoenig@suse.de - apply all 5.0.3 upstream patches which include a couple critical bugfixes: - fix segfault due to empty hostlist [bnc#466167] - fixes for submount shutdown - use /dev/urandom - fix problems if /etc/mtab points to /proc/mounts - dynamically allocate interface config buffer - fix percent hack - handle zero length nis key update - fix file handle being left open following a multi-mount non-fatal mount fail - fix case where an incorrect mount point path was being used when mounting a multi-mount component - Fix incorrect match of map type as a host name - fix map out of order map re-read on hup signal. - fix nisplus error return check and use after free error. - fix rootless direct multi-mount expire. - wait submount expire thread completion - add missing uris list locking - fix master map lexer eval order - fix bad alloca usage * Thu Jan 08 2009 mkoenig@suse.de - fix segfault on HUP [bnc#458336] * Fri Oct 24 2008 mkoenig@suse.de - fix syntax error in init script [bnc#435505] * Fri Aug 15 2008 mkoenig@suse.de - build with --enable-ignore-busy - add init script action force-expire to force the expire of mounted filesystems - add init script action force-stop for forced shutdown with lazy umount of busy filesystems - use force-stop on shutdown - Don't kill all processes on busy filesystems anymore, as we do a lazy umount, this might not be needed and reduces shutdown overhead * Mon Aug 11 2008 mkoenig@suse.de - update upstream patches 20080806 - remove patch autofs-5.0.3-allow_rootfs_nonlocal.patch * Thu Jun 26 2008 mkoenig@suse.de - update upstream patches 20080528 - allow rootfs to be non-local [bnc#399944] - remove patch autofs-5.0.3-aclocal_pthread.patch * Fri May 16 2008 mkoenig@suse.de - more shutdown improvements to minimize the risk of mounted leftovers in the shutdown process differentiate between direct/indirect mounts enforce lazy umount since USR2 seems not to work currently * Mon Apr 21 2008 mkoenig@suse.de - improve shutdown in init script * Wed Jan 30 2008 mkoenig@suse.de - link LDAP lookup module with krb5 if build with SASL [bnc#356599] * Thu Jan 17 2008 mkoenig@suse.de - update to version 5.0.3 * quell annoying "cannot open mount module" message. * fix for improve handling of server not available. * use mount option "nodev" for "-hosts" map unless "dev" is explicily specified. * add LDAP paged query handling to deal with query size restrictions * add additional case for "mark map instances stale so they aren't "cleaned" during updates". * fix race during sub-mount shutdown. * fix add SEARCH_BASE configuration option. * update kernel patches. - update upstream patches (20080117) * correct configure test for ldapr page control functions. * catch "-xfn" map type and issue "no supported" message. - fix configure check - add krb5-devel and libxml2-devel to BuildRequires * Mon Dec 17 2007 mkoenig@suse.de - update upstream patches * fix off-by-one error for lookup of map keys exactly 255 characters long * improve handling of server not available * fix LDAP_URI server selection * add authentication option for using an external credential cache * expand support for the "%%" hack * fix to quoting for exports gathered by hosts map * use mount option "nosuid" for "-hosts" map unless "suid" is explicily specified * second attempt fixing quoting for exports gathered by hosts map - merged autofs-5.0.2-size_fix.patch * Tue Nov 20 2007 mkoenig@suse.de - fix buffer overflow [#341626] * Thu Nov 15 2007 dmueller@suse.de - add recommends on nfs-client * Wed Nov 14 2007 mkoenig@suse.de - fix version * Fri Nov 09 2007 mkoenig@suse.de - update upstream patches which include several bugfixes. - fix build of debuginfo package, in which the info for the daemon has been missing * Thu Oct 18 2007 mkoenig@suse.de - add $portmap to ShouldStart [#331615] - fix problem with nested mounts [#128083] * Wed Sep 19 2007 mkoenig@suse.de - fix last change [#309123] * Mon Sep 17 2007 mkoenig@suse.de - kill processes which keep filesystem busy on shutdown [#309123] * Wed Jul 25 2007 mkoenig@suse.de - add BuildRequires e2fsprogs and mention modules to be build explicitly in %%files * Thu Jul 19 2007 mkoenig@suse.de - new sysconfig parameters LOCAL_OPTIONS and APPEND_OPTIONS support for default mount options to optionally are appended to master map options or replace them. - enable LFS support to avoid problems with mount expires * Thu Jul 05 2007 mkoenig@suse.de - update to version 5.0.2: * bugfix release - new upstream patches autofs-5.0.2-add-krb5-include.patch autofs-5.0.2-bad-proto-init.patch autofs-5.0.2-add-missing-multi-support.patch autofs-5.0.2-add-multi-nsswitch-lookup.patch - removed patch (merged upstream) autofs-5.0.1-fix_contained_check.patch * Thu Apr 26 2007 mkoenig@suse.de - update to version 5.0.1: * autofs5 is a major rewrite * many new features to be more compliant with industry standard: + improved direct mount map support + '+' map inclusion + added nsswitch map source support + rewrote multi-mount map code + added LDAP encryption and authentication support + improved shutdown and restart + a "hosts" map module has been added - add gssd dependencies in init script [#249779] * Tue Mar 06 2007 mkoenig@suse.de - Fix last upstream patch which introduced a problem for filesystems defined in fstab by LABEL or UUID [#244945] - Fix killing of processes on stop [#249770] * Wed Jan 31 2007 mkoenig@suse.de - add upstream patch autofs-4.1.4-dont_create_remote_dirs.patch Checks first for the directory to create in order to avoid problems with different mkdir behaviour, resolves [#229607] * Mon Jan 29 2007 mkoenig@suse.de - remove the introduced -multi option, because this issue has been fixed upstream in a different way. add autofs-4.1.4-multi_parse_fix.patch, resolves [#232855] * Thu Nov 30 2006 mkoenig@suse.de - add NetworkManager dispatcher script [#173990] - fix possible buffer overflow * Wed Oct 04 2006 jeffm@suse.com - Fixed nfs mount connect retry fallback (195924) - Fixed e2fsck error handling (196057) * Tue Sep 12 2006 schwab@suse.de - Clean up init script. * Tue Sep 12 2006 ro@suse.de - fix typo in comment for previous change * Tue Sep 12 2006 ro@suse.de - add previous defaults to newly added variable names in rcscript * Thu Sep 07 2006 jeffm@suse.com - Added -multi option to enable consistent mount behavior when using auto.net (118902) * Tue Aug 29 2006 jeffm@suse.com - Fixed --timeout=<num> handling (117672) - Fixed forced expiry handling (SIGHUP vs SIGUSR1) (177068) * Wed Aug 23 2006 jeffm@suse.com - Added configurable locking patch (178308) * Fri May 26 2006 schwab@suse.de - Fix broken makefile. * Sat May 20 2006 schwab@suse.de - Don't strip binaries. * Wed May 17 2006 seife@suse.de - Add README.NetworkManager [#175935] * Tue Feb 28 2006 cthiel@suse.de - fix post script * Wed Feb 01 2006 rhafer@suse.de - Support for ':' in ldap mapentries [#117297] * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Nov 23 2005 varkoly@suse.de - Add -fno-strict-aliasing to the CFLAGS * Mon Nov 14 2005 varkoly@suse.de - Bugfix: bad example ldif. * Mon Sep 26 2005 ro@suse.de - added LDAP_DEPRECATED to compile flags * Thu Sep 01 2005 choeger@suse.de - Bugfix ID#112779 - autofs uses /etc/openldap/ldap.conf instead of /etc/ldap.conf * Thu Aug 25 2005 kukuk@suse.de - Add ldap to Should-Start [#112984] * Thu Aug 11 2005 mmj@suse.de - make sure autofs is enabled after an update [#102944] - don't support upgrading from <= SuSE Linux 7.3 anymore * Sat Jul 23 2005 trenn@suse.de - move /usr/lib64/autofs/autofs-ldap-auto-master to /usr/lib/autofs on x86_64 systems * Fri Jun 17 2005 kukuk@suse.de - Rename from autofs4 to autofs * Tue Jun 14 2005 kukuk@suse.de - Remove broken "singnal-race" patch [#90521] * Sun May 22 2005 ro@suse.de - update to 4.1.4, remove upstream patches * Sun May 15 2005 aj@suse.de - Initialize variables. * Wed Apr 27 2005 meissner@suse.de - use RPM_OPT_FLAGS * Thu Apr 07 2005 kukuk@suse.de - Remove autofs-4.1.0-loop.patch, it is wrong. * Fri Mar 04 2005 arvin@suse.de - use our good old init script (bug #67311) * Fri Mar 04 2005 arvin@suse.de - fixed syntax of sysconfig.autofs (bug #70883) * Fri Feb 25 2005 mmj@suse.de - LSB says return value for not running service is 7 [#65817] * Thu Dec 09 2004 ihno@suse.de - Update to version 4.1.3 plus patches * Tue Jun 22 2004 ro@suse.de - remove nfslock dependency from startscript * Mon Apr 19 2004 arvin@suse.de - make AutoBuild happy * Fri Oct 31 2003 arvin@suse.de - build rpm as non-root user * Fri Oct 24 2003 arvin@suse.de - updated to version 4.0.0 * Wed Oct 22 2003 arvin@suse.de - fixed truncation of LDAP search DN after whitespace (bug #31847) * Mon Aug 18 2003 arvin@suse.de - added activation metadata (bug #28838) * Mon Jul 28 2003 arvin@suse.de - added documentation about syntax of auto.master file * Wed Apr 23 2003 arvin@suse.de - adapted option for sort in auto.net to new coreutils * Mon Apr 14 2003 arvin@suse.de - faster shutdown of service autofs (bug #25790) * Fri Apr 11 2003 arvin@suse.de - fixed handling of certain yp maps (bug #26274) * Wed Feb 05 2003 arvin@suse.de - set syslogmask back to not include debug messages * Tue Jan 21 2003 mc@suse.de - add a patch to support ldap v3 * Mon Jan 20 2003 arvin@suse.de - strip autofs-ldap-auto-master tool * Mon Jan 20 2003 mc@suse.de - add better ldap support - add ldap schema patch to support the nis schema with ldap - add the Linux autofs.schema - add a README about autofs and ldap * Thu Dec 19 2002 arvin@suse.de - added sysconfig metadata (bug #22615) - better description in start script for runlevel editor (bug #21894) - nicer output of init script - start: check if daemon runs and export skipped if not configured * Mon Sep 02 2002 arvin@suse.de - remove lock file during stop even if no daemon is running (bug #18699) * Tue Aug 27 2002 arvin@suse.de - commented auto.misc entry in auto.master (bug #18434) * Mon Aug 26 2002 arvin@suse.de - include special dirs in package * Fri Aug 23 2002 arvin@suse.de - honor RPM_OPT_FLAGS - moved plugins to %%{_libdir}/autofs * Wed Aug 07 2002 ro@suse.de - added Should-Start nfslock in rcscript (#17425) * Thu Aug 01 2002 arvin@suse.de - added requires and prerequires * Mon Jul 22 2002 sf@suse.de - updated auto_fs.h to actual version of kernel * Thu Jul 18 2002 arvin@suse.de - moved ypbind and keyserv to Should-Start in init script (bug #17064) * Mon Feb 25 2002 arvin@suse.de - added option expire to init script (unmount all currently not used mounts) * Sat Feb 16 2002 arvin@suse.de - fixed start/stop message * Fri Feb 15 2002 arvin@suse.de - simplify remove_and_set call * Fri Feb 15 2002 arvin@suse.de - better examples in /etc/auto.misc * Fri Feb 01 2002 arvin@suse.de - fixed restart and force-reload to stop and start the service (bug #13019) * Wed Jan 23 2002 arvin@suse.de - don't use default value of yes for removal of USE_NIS_FOR_AUTOFS * Sat Jan 19 2002 arvin@suse.de - read mount types to query from /etc/nsswitch.conf * Wed Jan 16 2002 arvin@suse.de - compile ldap lookup * Wed Dec 12 2001 ro@suse.de - moved rc.config.d -> sysconfig * Mon Dec 03 2001 arvin@suse.de - source /etc/rc.status in init script * Fri Nov 23 2001 ro@suse.de - correct (and simplify) insserv macro call * Wed Nov 21 2001 arvin@suse.de - removed rc-variable START_AUTOFS * Sat Nov 17 2001 arvin@suse.de - Added keyserv to Required-Start (bug #12233) * Thu Sep 06 2001 kukuk@suse.de - Use $network, $syslog and add $remote_fs [Bug #9908] * Wed Sep 05 2001 bjacke@suse.de - correct name of autosf.rc.config * Fri Aug 31 2001 arvin@suse.de - ignore direct maps (bug #9978) * Mon Jul 30 2001 arvin@suse.de - read /etc/rc.config.d/autofs.rc.config in init script * Mon Jul 30 2001 arvin@suse.de - create /etc/rc.config.d/autofs.rc.config (bug #9471) * Mon Jul 23 2001 arvin@suse.de - LSB compliant init script (bug #8973) - files and executable maps for nis and nisplus (bug #8984) * Wed May 16 2001 arvin@suse.de - fixed compile warnings on ia64 * Mon Apr 30 2001 arvin@suse.de - unset PS_PERSONALITY and CMD_ENV in init script (fix for bug #7436) * Sun Apr 22 2001 arvin@suse.de - update to autofs 4.0.0pre10 * Wed Apr 18 2001 arvin@suse.de - increased blocksize to 8k in auto.net * Tue Apr 17 2001 arvin@suse.de - remove old provides * Tue Apr 17 2001 arvin@suse.de - renamed package to autofs4 (no provides or obsoletes, since autofs version 3 will be used by default) * Mon Apr 09 2001 arvin@suse.de - fixed restart function in init script * Fri Mar 09 2001 arvin@suse.de - added note in /etc/auto.master (bug #6660) - use test -x instead of test -e in init script * Thu Mar 01 2001 ro@suse.de - fixed neededforbuild * Tue Feb 13 2001 arvin@suse.de - fixed killing of processes using autofs during shutdown * Fri Jan 12 2001 arvin@suse.de - changed start point in init script (fix for bug #5622) * Tue Jan 02 2001 arvin@suse.de - clear mountoptions in loop for reading auto.master in init script * Tue Nov 28 2000 arvin@suse.de - kill processes using automounted filesystems when going into runlevel 0 or 6 * Mon Nov 27 2000 arvin@suse.de - moved init script from /sbin/init.d to /etc/init.d * Wed Nov 22 2000 arvin@suse.de - use insserv in post-install for creating init.d scripts - fixed parsing of "--timeout" option in /etc/auto.master, partly fix for bug #4356 * Wed Nov 08 2000 arvin@suse.de - turned off debug messages to syslogd * Thu Nov 02 2000 arvin@suse.de - added option nonstrict in auto.net * Thu Nov 02 2000 arvin@suse.de - new version 4.0.0pre9 * Tue Oct 24 2000 arvin@suse.de - new version 4.0.0pre8 * Mon Oct 23 2000 bk@suse.de - remove the annoying dequote debug message(filled the logs without errors) * Mon Oct 16 2000 ro@suse.de - showmount does no longer have the k-prefix * Fri Oct 06 2000 schwab@suse.de - Avoid OPEN_MAX. * Wed Sep 27 2000 arvin@suse.de - even more improved auto.net * Tue Sep 26 2000 arvin@suse.de - improved auto.net - changed to bz2 source archive * Thu Sep 21 2000 arvin@suse.de - fixed rcautofs (some lines in status were truncated) * Tue Sep 19 2000 arvin@suse.de - fixed bug #3842 (wrong option to mount; was actually random data) * Tue Aug 22 2000 ro@suse.de - changed neededforbuild: knfsd -> nfsutils * Thu Jul 06 2000 kukuk@suse.de - Fix path to showmount in /etc/auto.net * Mon May 08 2000 rolf@suse.de - new version 4.0.0pre7 - fix bug in rcautofs [BUG#2737] * Sat Feb 26 2000 kukuk@suse.de - Add patch from beta list for multiple entries * Tue Feb 15 2000 kukuk@suse.de - Include own showmount - Update to autofs 4.0.0pre6 * Sun Jan 30 2000 kukuk@suse.de - Update to autofs 4.0.0pre2 - Add rc.config variable for autofs options (like --timeout) - Add NIS+ support to /sbin/init.d/autofs - Mark /etc/auto.* files as %%config(noreplace) - Add /etc/auto.net (needs new autofs kernel module) * Fri Nov 05 1999 rolf@suse.de - added flag to switch NIS usage for maps [BUG#1074] * Mon Oct 25 1999 ro@suse.de - specfile-fix: no need for %%dir /usr/lib/autofs, if that whole tree is packed * Mon Oct 25 1999 rolf@suse.de - status now tells whether process is running [BUG#732] * Sat Oct 23 1999 kukuk@suse.de - Fix problems with new samba 2.0.x versions [BUG#361] - Fix typos and loop problem * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Jun 22 1999 kukuk@suse.de - added lookup_nisplus.so, mount_autofs.so, mount_ext2.so * Wed Dec 09 1998 rolf@suse.de - added /usr/sbin/rcautofs * Fri Nov 27 1998 rolf@suse.de - mount timeout added in init script * Tue Nov 24 1998 rolf@suse.de - new version 3.1.3 - modified init script - unset localoptions * Sat Sep 19 1998 ro@suse.de - define _GNU_SOURCE where getopt_long is used * Fri Apr 17 1998 rolf@suse.de - set localoptions to rsize=8192,wsize=8192 cleaned up /etc/auto.misc * Mon Apr 06 1998 ro@suse.de - update to 3.1.0 * Mon Mar 02 1998 ro@suse.de - marked startscript and files in etc as config * Mon Feb 09 1998 rolf@suse.de - fixed startup script in /sbin/init.d/ for restart * Wed Nov 12 1997 rolf@suse.de - minor big fix * Thu Oct 16 1997 rolf@suse.de - new version autofs-0.3.14 * Thu Sep 11 1997 rolf@suse.de - made package from autofs-0.3.9
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor