glfs/networking/netprogs/rpcbind.xml
Bruce Dubbs 9f35d021b2 Rewrote TeX Live installation procedures.
Added LIBS environmetn variable to nfs-utils configure.
Added tcpwrappers as an optional rpcbind dependency.
Added pkgconfig as a required libtirpc dependency.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9062 af4574ff-66df-0310-9fd7-8a98e5e911e0
2011-12-05 05:42:37 +00:00

174 lines
5.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY rpcbind-download-http "&sourceforge-repo;/rpcbind/rpcbind-&rpcbind-version;.tar.bz2">
<!ENTITY rpcbind-download-ftp " ">
<!ENTITY rpcbind-md5sum "1a77ddb1aaea8099ab19c351eeb26316">
<!ENTITY rpcbind-size "272 KB">
<!ENTITY rpcbind-buildsize "3.8 MB">
<!ENTITY rpcbind-time "less than 0.1 SBU">
]>
<sect1 id="rpcbind" xreflabel="rpcbind-&rpcbind-version;">
<?dbhtml filename="rpcbind.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>rpcbind-&rpcbind-version;</title>
<indexterm zone="rpcbind">
<primary sortas="a-rpcbind">rpcbind</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to rpcbind</title>
<para>The <application>rpcbind</application> program is a replacement for
<application>portmap</application>. It is required for import or export
of Network File System (NFS) shared directories. </para>
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&rpcbind-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&rpcbind-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &rpcbind-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &rpcbind-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &rpcbind-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &rpcbind-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libtirpc"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="required">
<xref linkend="tcpwrappers"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/rpcbind"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of rpcbind</title>
<para>In order to get <application>rpcbind</application> to work
properly, first fix <filename>/etc/services</filename>. As the
<systemitem class="username">root</systemitem> user:</para>
<screen><userinput>sed -i 's/^sunrpc/rpcbind/' /etc/services</userinput></screen>
<para>Install <application>rpcbind</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/sbin &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring rpcbind</title>
<sect3 id="rpcbind-init">
<title>Boot Script</title>
<para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script
included in the <xref linkend="bootscripts"/> package.</para>
<indexterm zone="rpcbind rpcbind-init">
<primary sortas="f-portmap">portmap</primary>
</indexterm>
<screen role="root"><userinput>make install-rpcbind</userinput></screen>
<note><para>If you build <application>rpcbind</application> with
<xref linkend="tcpwrappers"/>, be sure to allow it in
<filename>/etc/hosts.allow</filename>. For example:</para>
<screen><userinput>rpcbind: 127.0.0.1</userinput></screen></note>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>rpcbind and rpcinfo</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="rpcbind-prog">
<term><command>rpcbind</command></term>
<listitem>
<para>is a server that converts RPC program numbers into universal
addresses. It must be running on the host to be able to make RPC
calls on a server on that machine. </para>
<indexterm zone="rpcbind rpcbind-prog">
<primary sortas="b-rpcbind">rpcbind</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rpcinfo">
<term><command>rpcinfo</command></term>
<listitem>
<para>makes an RPC call to an RPC server and reports data according
to the requested options. </para>
<indexterm zone="rpcbind rpcinfo">
<primary sortas="b-rpcinfo">rpcinfo</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>