[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 |
|
---|
[7ec42f5] | 36 | &lfs78_checked;
|
---|
[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 |
|
---|
[a4b8fa34] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Required patch:
|
---|
| 65 | <ulink url="&patch-root;/rpcbind-&rpcbind-version;-tirpc_fix-1.patch"/>
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[d40e1a4] | 70 | <bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="libtirpc"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/rpcbind"/></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of rpcbind</title>
|
---|
| 84 |
|
---|
[e0ac6b0] | 85 | <!-- Packages should adapt to standards, not the other way around -->
|
---|
[ed6a289c] | 86 | <para>In order to get <application>rpcbind</application> to work
|
---|
[79d191ee] | 87 | properly, first fix the package to use correct service name:</para>
|
---|
[ed6a289c] | 88 |
|
---|
[9fe905c] | 89 | <screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &&</userinput></screen>
|
---|
[ed6a289c] | 90 |
|
---|
[d40e1a4] | 91 | <para>Install <application>rpcbind</application> by running the following
|
---|
| 92 | commands:</para>
|
---|
| 93 |
|
---|
[a4b8fa34] | 94 | <screen><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-tirpc_fix-1.patch &&
|
---|
| 95 |
|
---|
| 96 | ./configure --prefix=/usr \
|
---|
[522641a] | 97 | --bindir=/sbin \
|
---|
| 98 | --with-rpcuser=root \
|
---|
| 99 | --without-systemdsystemunitdir &&
|
---|
[d40e1a4] | 100 | make</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | <para>This package does not come with a test suite.</para>
|
---|
| 103 |
|
---|
| 104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
[67f5f160] | 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 | <para><command>--with-rpcuser=root</command>: This works around an error in
|
---|
| 114 | the configure script.</para>
|
---|
| 115 |
|
---|
[522641a] | 116 | <para><command>--without-systemdsystemunitdir</command>: BLFS does not
|
---|
| 117 | support systemd.</para>
|
---|
| 118 |
|
---|
[67f5f160] | 119 | </sect2>
|
---|
| 120 |
|
---|
[d40e1a4] | 121 | <sect2 role="configuration">
|
---|
| 122 | <title>Configuring rpcbind</title>
|
---|
| 123 |
|
---|
| 124 | <sect3 id="rpcbind-init">
|
---|
| 125 | <title>Boot Script</title>
|
---|
| 126 |
|
---|
| 127 | <para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script
|
---|
| 128 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
| 129 |
|
---|
| 130 | <indexterm zone="rpcbind rpcbind-init">
|
---|
[79d191ee] | 131 | <primary sortas="f-rpcbind">rpcbind</primary>
|
---|
[d40e1a4] | 132 | </indexterm>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>make install-rpcbind</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | </sect3>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed Program</segtitle>
|
---|
| 145 | <segtitle>Installed Libraries</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
| 147 |
|
---|
| 148 | <seglistitem>
|
---|
| 149 | <seg>rpcbind and rpcinfo</seg>
|
---|
| 150 | <seg>None</seg>
|
---|
| 151 | <seg>None</seg>
|
---|
| 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
| 154 |
|
---|
| 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="rpcbind-prog">
|
---|
| 161 | <term><command>rpcbind</command></term>
|
---|
| 162 | <listitem>
|
---|
| 163 | <para>is a server that converts RPC program numbers into universal
|
---|
| 164 | addresses. It must be running on the host to be able to make RPC
|
---|
| 165 | calls on a server on that machine. </para>
|
---|
| 166 | <indexterm zone="rpcbind rpcbind-prog">
|
---|
| 167 | <primary sortas="b-rpcbind">rpcbind</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="rpcinfo">
|
---|
| 173 | <term><command>rpcinfo</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>makes an RPC call to an RPC server and reports data according
|
---|
| 176 | to the requested options. </para>
|
---|
| 177 | <indexterm zone="rpcbind rpcinfo">
|
---|
| 178 | <primary sortas="b-rpcinfo">rpcinfo</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | </variablelist>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | </sect1>
|
---|