glfs/basicnet/netprogs/portmap.xml
Randy McMurchy 5254d12fef Standardized the id tag name of the Bootscripts package
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5497 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-12-29 01:38:36 +00:00

180 lines
5.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY portmap-download-http " ">
<!ENTITY portmap-download-ftp "ftp://ftp.porcupine.org/pub/security/portmap_&portmap-version;.tar.gz">
<!ENTITY portmap-md5sum "781e16ed4487c4caa082c6fef09ead4f">
<!ENTITY portmap-size "18 KB">
<!ENTITY portmap-buildsize "268 KB">
<!ENTITY portmap-time "0.01 SBU">
]>
<sect1 id="portmap" xreflabel="portmap-&portmap-version;">
<?dbhtml filename="portmap.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">portmap_&portmap-version;.tar</keyword>
<keyword role="ftpdir">portmap</keyword>
</keywordset>
</sect1info>
<title>Portmap-&portmap-version;</title>
<indexterm zone="portmap">
<primary sortas="a-Portmap">Portmap</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Portmap</title>
<para>The <application>portmap</application> package is a more secure
replacement for the original SUN <application>portmap</application> package.
<application>Portmap</application> is used to forward RPC requests to RPC
daemons such as NFS and NIS.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&portmap-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&portmap-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &portmap-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &portmap-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &portmap-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &portmap-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
</listitem>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="tcpwrappers"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Portmap</title>
<para>Install <application>portmap</application> with the following
commands:</para>
<screen><userinput>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &amp;&amp;
patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role='root'><userinput>make install</userinput></screen>
<note>
<para>The above installation places executable <command>portmap</command>
in <filename class="directory">/sbin</filename>. You may choose to move the
file to <filename class="directory">/usr/sbin</filename>. If you do, remember to
modify the bootscript also.</para>
</note>
</sect2>
<sect2 role="configuration">
<title>Configuring Portmap</title>
<sect3 id="portmap-init">
<title>Boot Script</title>
<para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
included in the <xref linkend="bootscripts"/> package.</para>
<indexterm zone="portmap portmap-init">
<primary sortas="f-portmap">portmap</primary>
</indexterm>
<screen role="root"><userinput>make install-portmap</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>pmap_dump, pmap_set, and portmap</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="pmap_dump">
<term><command>pmap_dump</command></term>
<listitem>
<para>saves the port mapping table to an ASCII file.</para>
<indexterm zone="portmap pmap_dump">
<primary sortas="b-pmap_dump">pmap_dump</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pmap_set">
<term><command>pmap_set</command></term>
<listitem>
<para>restores the port mapping table from an ASCII file.</para>
<indexterm zone="portmap pmap_set">
<primary sortas="b-pmap_set">pmap_set</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="portmap-prog">
<term><command>portmap</command></term>
<listitem>
<para>is an RPC port mapper.</para>
<indexterm zone="portmap portmap-prog">
<primary sortas="b-portmap">portmap</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>