[d40e1a4] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY rpcbind-download-http "&sourceforge-repo;/rpcbind/rpcbind-&rpcbind-version;.tar.bz2">
|
---|
| 8 | <!ENTITY rpcbind-download-ftp " ">
|
---|
[9fe905c] | 9 | <!ENTITY rpcbind-md5sum "c8875246b2688a1adfbd6ad43480278d">
|
---|
| 10 | <!ENTITY rpcbind-size "120 KB">
|
---|
| 11 | <!ENTITY rpcbind-buildsize "2 MB">
|
---|
[d40e1a4] | 12 | <!ENTITY rpcbind-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="rpcbind" xreflabel="rpcbind-&rpcbind-version;">
|
---|
| 16 | <?dbhtml filename="rpcbind.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>rpcbind-&rpcbind-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="rpcbind">
|
---|
| 26 | <primary sortas="a-rpcbind">rpcbind</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to rpcbind</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>rpcbind</application> program is a replacement for
|
---|
| 33 | <application>portmap</application>. It is required for import or export
|
---|
| 34 | of Network File System (NFS) shared directories. </para>
|
---|
| 35 |
|
---|
[9fe905c] | 36 | &lfs77_built; &gcc5_built;
|
---|
[d40e1a4] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&rpcbind-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&rpcbind-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &rpcbind-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &rpcbind-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &rpcbind-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &rpcbind-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
| 64 | <xref linkend="libtirpc"/>
|
---|
| 65 | </para>
|
---|
| 66 |
|
---|
| 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/rpcbind"/></para>
|
---|
| 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of rpcbind</title>
|
---|
| 74 |
|
---|
[e0ac6b0] | 75 | <!-- Packages should adapt to standards, not the other way around -->
|
---|
[ed6a289c] | 76 | <para>In order to get <application>rpcbind</application> to work
|
---|
[79d191ee] | 77 | properly, first fix the package to use correct service name:</para>
|
---|
[ed6a289c] | 78 |
|
---|
[9fe905c] | 79 | <screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &&</userinput></screen>
|
---|
[ed6a289c] | 80 |
|
---|
[d40e1a4] | 81 | <para>Install <application>rpcbind</application> by running the following
|
---|
| 82 | commands:</para>
|
---|
| 83 |
|
---|
[67f5f160] | 84 | <!-- specifying rpcuser only needed in 0.2.1, already fixed upstream -->
|
---|
[522641a] | 85 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 86 | --bindir=/sbin \
|
---|
| 87 | --with-rpcuser=root \
|
---|
| 88 | --without-systemdsystemunitdir &&
|
---|
[d40e1a4] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>This package does not come with a test suite.</para>
|
---|
| 92 |
|
---|
| 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 94 |
|
---|
| 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
[67f5f160] | 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
| 102 | <para><command>--with-rpcuser=root</command>: This works around an error in
|
---|
| 103 | the configure script.</para>
|
---|
| 104 |
|
---|
[522641a] | 105 | <para><command>--without-systemdsystemunitdir</command>: BLFS does not
|
---|
| 106 | support systemd.</para>
|
---|
| 107 |
|
---|
[67f5f160] | 108 | </sect2>
|
---|
| 109 |
|
---|
[d40e1a4] | 110 | <sect2 role="configuration">
|
---|
| 111 | <title>Configuring rpcbind</title>
|
---|
| 112 |
|
---|
| 113 | <sect3 id="rpcbind-init">
|
---|
| 114 | <title>Boot Script</title>
|
---|
| 115 |
|
---|
| 116 | <para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script
|
---|
| 117 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
| 118 |
|
---|
| 119 | <indexterm zone="rpcbind rpcbind-init">
|
---|
[79d191ee] | 120 | <primary sortas="f-rpcbind">rpcbind</primary>
|
---|
[d40e1a4] | 121 | </indexterm>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>make install-rpcbind</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Program</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
| 138 | <seg>rpcbind and rpcinfo</seg>
|
---|
| 139 | <seg>None</seg>
|
---|
| 140 | <seg>None</seg>
|
---|
| 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="rpcbind-prog">
|
---|
| 150 | <term><command>rpcbind</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>is a server that converts RPC program numbers into universal
|
---|
| 153 | addresses. It must be running on the host to be able to make RPC
|
---|
| 154 | calls on a server on that machine. </para>
|
---|
| 155 | <indexterm zone="rpcbind rpcbind-prog">
|
---|
| 156 | <primary sortas="b-rpcbind">rpcbind</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="rpcinfo">
|
---|
| 162 | <term><command>rpcinfo</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>makes an RPC call to an RPC server and reports data according
|
---|
| 165 | to the requested options. </para>
|
---|
| 166 | <indexterm zone="rpcbind rpcinfo">
|
---|
| 167 | <primary sortas="b-rpcinfo">rpcinfo</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | </variablelist>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | </sect1>
|
---|