mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
0697dc1f36
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3678 af4574ff-66df-0310-9fd7-8a98e5e911e0
154 lines
4.9 KiB
XML
154 lines
4.9 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;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="portmap.html"?>
|
|
<title>portmap-&portmap-version;</title>
|
|
<indexterm zone="portmap">
|
|
<primary sortas="a-Portmap">Portmap</primary></indexterm>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>portmap</application></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 <acronym>RPC</acronym>
|
|
requests to <acronym>RPC</acronym> daemons such as <acronym>NFS</acronym>
|
|
and <acronym>NIS</acronym>.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<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>
|
|
</sect3>
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
<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>
|
|
</sect3>
|
|
|
|
<sect3><title><application>portmap</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="tcpwrappers"/></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>portmap</application></title>
|
|
|
|
<para>Install <application>portmap</application> with the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
|
patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
|
make</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
|
|
|
<note><para>The above installation places executable
|
|
<filename>portmap</filename> 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>
|
|
<title>Configuring <application>portmap</application></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="intro-important-bootscripts"/> package.</para>
|
|
<indexterm zone="portmap portmap-init">
|
|
<primary sortas="f-portmap">portmap</primary></indexterm>
|
|
|
|
<screen><userinput><command>make install-portmap</command></userinput></screen>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<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"?>
|
|
|
|
<varlistentry id="pmap_dump">
|
|
<term><command>pmap_dump</command></term>
|
|
<listitem><para>saves the port mapping table to an <acronym>ASCII</acronym>
|
|
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 <acronym>ASCII</acronym>
|
|
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 <acronym>RPC</acronym> port mapper.</para>
|
|
<indexterm zone="portmap portmap-prog">
|
|
<primary sortas="b-portmap">portmap</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|