Ignore:
Timestamp:
01/30/2016 10:20:19 PM (9 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
027c7d7
Parents:
59ed6d46
Message:

Merge changes from Chapter 15.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16877 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/rpcbind.xml

    r59ed6d46 rb91aa96  
    99  <!ENTITY rpcbind-md5sum        "c8875246b2688a1adfbd6ad43480278d">
    1010  <!ENTITY rpcbind-size          "120 KB">
    11   <!ENTITY rpcbind-buildsize     "2.0 MB">
     11  <!ENTITY rpcbind-buildsize     "2 MB">
    1212  <!ENTITY rpcbind-time          "less than 0.1 SBU">
    1313]>
     
    3030    <title>Introduction to rpcbind</title>
    3131
    32     <para>
    33       The <application>rpcbind</application> program is a replacement for
    34       <application>portmap</application>.  It is required for import or
    35       export of Network File System (NFS) shared directories.
    36     </para>
    37 
    38     &lfs77_checked;
     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
     36    &lfs78_checked;
    3937
    4038    <bridgehead renderas="sect3">Package Information</bridgehead>
    4139    <itemizedlist spacing="compact">
    4240      <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">Additional Downloads</bridgehead>
     61    <itemizedlist spacing="compact">
     62      <listitem>
    4363        <para>
    44           Download (HTTP): <ulink url="&rpcbind-download-http;"/>
    45         </para>
    46       </listitem>
    47       <listitem>
    48         <para>
    49           Download (FTP): <ulink url="&rpcbind-download-ftp;"/>
    50         </para>
    51       </listitem>
    52       <listitem>
    53         <para>
    54           Download MD5 sum: &rpcbind-md5sum;
    55         </para>
    56       </listitem>
    57       <listitem>
    58         <para>
    59           Download size: &rpcbind-size;
    60         </para>
    61       </listitem>
    62       <listitem>
    63         <para>
    64           Estimated disk space required: &rpcbind-buildsize;
    65         </para>
    66       </listitem>
    67       <listitem>
    68         <para>
    69           Estimated build time: &rpcbind-time;
     64          Required patch:
     65          <ulink url="&patch-root;/rpcbind-&rpcbind-version;-tirpc_fix-1.patch"/>
    7066        </para>
    7167      </listitem>
     
    8076
    8177    <para condition="html" role="usernotes">User Notes:
    82       <ulink url="&blfs-wiki;/rpcbind"/>
    83     </para>
     78      <ulink url="&blfs-wiki;/rpcbind"/></para>
    8479  </sect2>
    8580
     
    9994
    10095    <!-- Packages should adapt to standards, not the other way around -->
    101     <para>
    102       In order to get <application>rpcbind</application> to work
    103       properly, first fix the package to use correct service name:
    104     </para>
    105 
    106 <screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &amp;&amp;
    107 sed -i "/error = getaddrinfo/s:rpcbind:sunrpc:" src/rpcinfo.c</userinput></screen>
    108 
    109     <para>
    110       Install <application>rpcbind</application> by running the following
    111       commands:
    112     </para>
    113 
    114 <screen><userinput>./configure --prefix=/usr       \
     96    <para>In order to get <application>rpcbind</application> to work
     97      properly, first fix the package to use correct service name:</para>
     98
     99<screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &amp;&amp;</userinput></screen>
     100
     101    <para>Install <application>rpcbind</application> by running the following
     102    commands:</para>
     103
     104<screen><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-tirpc_fix-1.patch &amp;&amp;
     105./configure --prefix=/usr       \
    115106            --bindir=/sbin      \
    116             --with-rpcuser=rpc  \
    117             --enable-warmstarts \
    118             --with-statedir=/var/lib/rpcbind &amp;&amp;
     107            --with-rpcuser=rpc  &amp;&amp;
    119108make</userinput></screen>
    120109
    121     <para>
    122       This package does not come with a test suite.
    123     </para>
    124 
    125     <para>
    126       Now, as the <systemitem class="username">root</systemitem> user:
    127     </para>
    128 
    129 <screen role="root"><userinput>make install &amp;&amp;
    130 install -v -dm755 -o rpc -g rpc /var/lib/rpcbind</userinput></screen>
     110    <para>This package does not come with a test suite.</para>
     111
     112    <para>Now, as the <systemitem class="username">root</systemitem>
     113    user:</para>
     114
     115<screen role="root"><userinput>make install</userinput></screen>
    131116
    132117  </sect2>
     
    140125      run as an unprivileged user instead of
    141126      <systemitem class="username">root</systemitem> user.
    142     </para>
    143 
    144     <para>
    145       <parameter>--enable-warmstarts</parameter>: This switch
    146       is used to enable <command>rpcbind</command> to write
    147       the current list of registered services to a file when
    148       it shuts down so it can resume operation with the
    149       registrations found in the file when it is started again.
    150     </para>
    151 
    152     <para>
    153       <parameter>--with-statedir=/var/lib/rpcbind</parameter>:
    154       This switch is used to instruct <command>rpcbind</command>
    155       to write current list of registered services to a
    156       permanent location of <filename
    157       class="directory">/var/lib/rpcbind</filename> instead of
    158       <filename class="directory">/tmp</filename>.
    159127    </para>
    160128
     
    196164
    197165    <segmentedlist>
    198       <segtitle>Installed Programs</segtitle>
     166      <segtitle>Installed Program</segtitle>
    199167      <segtitle>Installed Libraries</segtitle>
    200168      <segtitle>Installed Directories</segtitle>
    201169
    202170      <seglistitem>
    203         <seg>
    204           rpcbind and rpcinfo
    205         </seg>
    206         <seg>
    207           None
    208         </seg>
    209         <seg>
    210           None
    211         </seg>
     171        <seg>rpcbind and rpcinfo</seg>
     172        <seg>None</seg>
     173        <seg>None</seg>
    212174      </seglistitem>
    213175    </segmentedlist>
     
    221183        <term><command>rpcbind</command></term>
    222184        <listitem>
    223           <para>
    224             is a server that converts RPC program numbers into universal
    225             addresses. It must be running on the host to be able to make
    226             RPC calls on a server on that machine.
    227           </para>
     185          <para>is a server that converts RPC program numbers into universal
     186          addresses.  It must be running on the host to be able to make RPC
     187          calls on a server on that machine.  </para>
    228188          <indexterm zone="rpcbind rpcbind-prog">
    229189            <primary sortas="b-rpcbind">rpcbind</primary>
     
    235195        <term><command>rpcinfo</command></term>
    236196        <listitem>
    237           <para>
    238             makes an RPC call to an RPC server and reports data according
    239             to the requested options.
    240           </para>
     197          <para>makes an RPC call to an RPC server and reports data according
     198          to the requested options.  </para>
    241199          <indexterm zone="rpcbind rpcinfo">
    242200            <primary sortas="b-rpcinfo">rpcinfo</primary>
Note: See TracChangeset for help on using the changeset viewer.