mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
c4d5919cb8
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15551 af4574ff-66df-0310-9fd7-8a98e5e911e0
178 lines
5.5 KiB
XML
178 lines
5.5 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 "8acf839bfef2364a05fbd6be5f8edf9a">
|
|
<!ENTITY rpcbind-size "112 KB">
|
|
<!ENTITY rpcbind-buildsize "1.5 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>
|
|
|
|
&lfs77_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>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/rpcbind"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of rpcbind</title>
|
|
|
|
<!-- Packages should adapt to standards, not the other way around -->
|
|
<para>In order to get <application>rpcbind</application> to work
|
|
properly, first fix the package to use correct service name:</para>
|
|
|
|
<screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &&
|
|
sed -i "/error = getaddrinfo/s:rpcbind:sunrpc:" src/rpcinfo.c</userinput></screen>
|
|
|
|
<para>Install <application>rpcbind</application> by running the following
|
|
commands:</para>
|
|
|
|
<!-- specifying rpcuser only needed in 0.2.1, already fixed upstream -->
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--bindir=/sbin \
|
|
--with-rpcuser=root \
|
|
--without-systemdsystemunitdir &&
|
|
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="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>--with-rpcuser=root</command>: This works around an error in
|
|
the configure script.</para>
|
|
|
|
<para><command>--without-systemdsystemunitdir</command>: BLFS does not
|
|
support systemd.</para>
|
|
|
|
</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-rpcbind">rpcbind</primary>
|
|
</indexterm>
|
|
|
|
<screen role="root"><userinput>make install-rpcbind</userinput></screen>
|
|
|
|
</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>
|