Ignore:
Timestamp:
03/22/2020 03:52:07 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
254bc90d
Parents:
dcee7a56
Message:

Format netprogs

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22874 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/rpcbind.xml

    rdcee7a56 rb51fe6e  
    3030    <title>Introduction to rpcbind</title>
    3131
    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>
     32    <para>
     33      The <application>rpcbind</application> program is a replacement for
     34      <application>portmap</application>.  It is required for import or export
     35      of Network File System (NFS) shared directories.
     36    </para>
    3537
    3638    &lfs91_checked;
     
    3941    <itemizedlist spacing="compact">
    4042      <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>
     43        <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;
     70        </para>
    5771      </listitem>
    5872    </itemizedlist>
     
    95109
    96110    <!-- Packages should adapt to standards, not the other way around -->
    97     <para>In order to get <application>rpcbind</application> to work
    98     properly, first fix the package to use correct service name:</para>
     111    <para>
     112      In order to get <application>rpcbind</application> to work
     113      properly, first fix the package to use correct service name:
     114    </para>
    99115
    100116<screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c</userinput></screen>
    101117
    102     <para>Install <application>rpcbind</application> by running the following
    103     commands:</para>
     118    <para>
     119      Install <application>rpcbind</application> by running the following
     120      commands:
     121    </para>
    104122
    105123<screen revision="sysv"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch &amp;&amp;
     
    122140make</userinput></screen>
    123141
    124     <para>This package does not come with a test suite.</para>
    125 
    126     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     142    <para>
     143      This package does not come with a test suite.
     144    </para>
     145
     146    <para>
     147      Now, as the <systemitem class="username">root</systemitem> user:
     148    </para>
    127149
    128150<screen role="root"><userinput>make install</userinput></screen>
     
    133155    <title>Command Explanations</title>
    134156
    135     <para revision="sysv"><command>--with-rpcuser=root</command>: This works
    136     around an error in the configure script.</para>
    137 
    138     <para revision="sysv"><command>--without-systemdsystemunitdir</command>:
    139     This version of BLFS does not support systemd.</para>
    140 
    141     <para revision="systemd"><parameter>--with-rpcuser=rpc</parameter>:
    142     This switch is used so the <command>rpcbind</command> daemon will
    143     run as an unprivileged user instead of the
    144     <systemitem class="username">root</systemitem> user.</para>
     157    <para revision="sysv">
     158      <command>--with-rpcuser=root</command>: This works
     159      around an error in the configure script.
     160    </para>
     161
     162    <para revision="sysv">
     163      <command>--without-systemdsystemunitdir</command>:
     164      This version of BLFS does not support systemd.
     165    </para>
     166
     167    <para revision="systemd">
     168      <parameter>--with-rpcuser=rpc</parameter>:
     169      This switch is used so the <command>rpcbind</command> daemon will
     170      run as an unprivileged user instead of the
     171      <systemitem class="username">root</systemitem> user.
     172    </para>
    145173
    146174  </sect2>
     
    153181             <phrase revision="systemd">Systemd Unit</phrase></title>
    154182
    155       <para>Install the
    156       <phrase revision="sysv"><filename>/etc/rc.d/init.d/rpcbind</filename>
    157       init script</phrase>
    158       <phrase revision="systemd"><filename>rpcbind.service</filename>
    159       unit</phrase> included in the
    160       <xref linkend="bootscripts" revision="sysv"/>
    161       <xref linkend="systemd-units" revision="systemd"/> package.</para>
     183      <para>
     184        Install the
     185        <phrase revision="sysv"><filename>/etc/rc.d/init.d/rpcbind</filename>
     186        init script</phrase>
     187        <phrase revision="systemd"><filename>rpcbind.service</filename>
     188        unit</phrase> included in the
     189        <xref linkend="bootscripts" revision="sysv"/>
     190        <xref linkend="systemd-units" revision="systemd"/> package.
     191      </para>
    162192
    163193      <indexterm zone="rpcbind rpcbind-init" revision="sysv">
    164          <primary sortas="f-rpcbind">rpcbind</primary>
     194        <primary sortas="f-rpcbind">rpcbind</primary>
    165195      </indexterm>
    166196
    167197      <indexterm zone="rpcbind rpcbind-init" revision="systemd">
    168          <primary sortas="f-rpcbind">rpcbind.service</primary>
     198        <primary sortas="f-rpcbind">rpcbind.service</primary>
    169199      </indexterm>
    170200
     
    198228        <term><command>rpcbind</command></term>
    199229        <listitem>
    200           <para>is a server that converts RPC program numbers into universal
    201           addresses.  It must be running on the host to be able to make RPC
    202           calls on a server on that machine.  </para>
     230          <para>
     231            is a server that converts RPC program numbers into universal
     232            addresses.  It must be running on the host to be able to make RPC
     233            calls on a server on that machine.
     234          </para>
    203235          <indexterm zone="rpcbind rpcbind-prog">
    204236            <primary sortas="b-rpcbind">rpcbind</primary>
     
    210242        <term><command>rpcinfo</command></term>
    211243        <listitem>
    212           <para>makes an RPC call to an RPC server and reports data according
    213           to the requested options.  </para>
     244          <para>
     245            makes an RPC call to an RPC server and reports data according
     246            to the requested options.
     247          </para>
    214248          <indexterm zone="rpcbind rpcinfo">
    215249            <primary sortas="b-rpcinfo">rpcinfo</primary>
Note: See TracChangeset for help on using the changeset viewer.