mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
update to autofs-5.0.8
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12072 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
afa551ac15
commit
d17b13d9c7
@ -323,7 +323,7 @@ export -f as_root</userinput></screen>
|
||||
<!-- Chapter 12 -->
|
||||
<!ENTITY acpid-version "2.0.20">
|
||||
<!ENTITY at-version "3.1.14">
|
||||
<!ENTITY autofs-version "5.0.7">
|
||||
<!ENTITY autofs-version "5.0.8">
|
||||
<!ENTITY bluez-version "4.101">
|
||||
<!ENTITY colord-version "1.0.3"> <!-- Even minors only -->
|
||||
<!ENTITY cpio-version "2.11">
|
||||
|
@ -3,12 +3,12 @@
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
<!ENTITY autofs-patch-dir "http://ftp.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.7">
|
||||
|
||||
<!ENTITY autofs-download-http "http://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-&autofs-version;.tar.xz">
|
||||
<!ENTITY autofs-download-ftp "ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-&autofs-version;.tar.xz">
|
||||
<!ENTITY autofs-md5sum "7aa414dd1d07e263795eced1992e8645">
|
||||
<!ENTITY autofs-size "248 KB">
|
||||
<!ENTITY autofs-buildsize "8.4 MB">
|
||||
<!ENTITY autofs-md5sum "4ed5271598fb1a76475364a4879c7578">
|
||||
<!ENTITY autofs-size "249 KB">
|
||||
<!ENTITY autofs-buildsize "7.6 MB">
|
||||
<!ENTITY autofs-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
@ -29,15 +29,12 @@
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Autofs</title>
|
||||
|
||||
<para>The <application>Autofs</application> package contains userspace
|
||||
tools that work with the kernel to mount and un-mount removable file
|
||||
systems. The primary use is to mount external network file systems like
|
||||
NFS (see <xref linkend="nfs-utils"/>) or Samba (see <xref linkend="samba"/>)
|
||||
on demand.</para>
|
||||
|
||||
<para>It may also be useful for allowing users to mount floppies, cdroms and
|
||||
other removable storage devices without requiring the system
|
||||
administrator to mount the devices.</para>
|
||||
<para>
|
||||
<application>Autofs</application> controls the operation of the automount
|
||||
daemons. The automount daemons automatically mount filesystems when they
|
||||
are accessed and unmount them after a period of inactivity. This is done
|
||||
based on a set of pre-configured maps.
|
||||
</para>
|
||||
|
||||
&lfs74_checked;
|
||||
|
||||
@ -62,29 +59,18 @@
|
||||
<para>Estimated build time: &autofs-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<!--
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
|
||||
<para>Recommended Patches: There are frequent patches issued for
|
||||
<application>autofs</application>. One method you can use to get the
|
||||
current patches requires first installing the <xref linkend="wget"/>
|
||||
package. After ensuring the <command>wget</command> command is installed
|
||||
in a directory identified in the <envar>PATH</envar> variable, start in
|
||||
the same directory as the main tar file and issue the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>wget &autofs-patch-dir;/patch_order-&autofs-version; &&
|
||||
sed 's;autofs;&autofs-patch-dir;/autofs;' \
|
||||
patch_order-&autofs-version; | grep -v ^# > wget-list &&
|
||||
wget -i wget-list</userinput></screen>
|
||||
-->
|
||||
<bridgehead renderas="sect3">Autofs Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="openldap"/>,
|
||||
<xref linkend="cyrus-sasl"/>, and
|
||||
<xref linkend="mitkrb"/></para>
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="libtirpc"/>,
|
||||
<xref linkend="nfs-utils"/>,
|
||||
<xref linkend="libxml2"/>,
|
||||
<xref linkend="mitkrb"/>,
|
||||
<xref linkend="openldap"/> (client only), and
|
||||
<xref linkend="cyrus-sasl"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/autofs"/></para>
|
||||
@ -98,14 +84,21 @@ wget -i wget-list</userinput></screen>
|
||||
<primary sortas="d-Automounter">Automounter</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>Verify that kernel support has been compiled in or built as
|
||||
modules in the following areas:</para>
|
||||
<para>
|
||||
Verify that automounter kernel support has been enabled:
|
||||
</para>
|
||||
|
||||
<screen><literal>File systems ⇒
|
||||
Kernel automounter version 4 support Y or M
|
||||
Network File Systems ⇒
|
||||
NFS client support Y or M (optional)
|
||||
CIFS support Y or M (optional)</literal></screen>
|
||||
<screen><literal>File systems --->
|
||||
Kernel automounter version 4 support (also supports v3): Y or M</literal></screen>
|
||||
|
||||
<para>
|
||||
Optionally, enable the following options in the kernel configuration:
|
||||
</para>
|
||||
|
||||
<screen><literal>File systems --->
|
||||
Network File Systems --->
|
||||
NFS client support: Y or M
|
||||
CIFS support (advanced network filesystem, SMBFS successor): Y or M</literal></screen>
|
||||
|
||||
<para>Recompile and install the new kernel, if necessary.</para>
|
||||
|
||||
@ -117,11 +110,7 @@ wget -i wget-list</userinput></screen>
|
||||
|
||||
<para>Install <application>Autofs</application> by running the following
|
||||
commands:</para>
|
||||
<!--
|
||||
<screen><userinput>for f in `cat ../patch_order-&autofs-version;`; do
|
||||
patch -Np1 -i ../$f
|
||||
done &&
|
||||
-->
|
||||
|
||||
<screen><userinput>./configure --prefix=/ --mandir=/usr/share/man &&
|
||||
make</userinput></screen>
|
||||
|
||||
@ -132,20 +121,17 @@ make</userinput></screen>
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
<!--
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>for f in `cat ../patch_order-&autofs-version;`; do
|
||||
patch -Np1 -i ../$f; done</command>: This command applies all the
|
||||
patches downloaded earlier in the correct order.</para>
|
||||
|
||||
<para><command>ln -sf ../init.d/autofs
|
||||
/etc/rc.d/rcsysinit.d/S52autofs</command>: This command sets the
|
||||
link to properly start autofs upon boot.</para>
|
||||
<para>
|
||||
<option>--with-libtirpc</option>: This switch enables libtirpc support if
|
||||
available.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
-->
|
||||
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring Autofs</title>
|
||||
|
||||
|
@ -46,6 +46,10 @@
|
||||
<listitem>
|
||||
<para>October 26th, 2013</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[igor] - Update to autofs-5.0.8. Fixes
|
||||
<ulink url="&blfs-ticket-root;4215">#4215</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[fernando] - Update to gnutls-3.2.5. Fixes
|
||||
<ulink url="&blfs-ticket-root;4227">#4227</ulink>.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user