[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0aeb696] | 7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
| 8 | is usually right before the root user installation commands. Please
|
---|
| 9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
| 10 |
|
---|
| 11 | <!-- Use one of the two mentions below about a test suite,
|
---|
| 12 | delete the line that is not applicable. Of course, if the
|
---|
| 13 | test suite uses syntax other than "make check", revise the
|
---|
| 14 | line to reflect the actual syntax to run the test suite -->
|
---|
| 15 |
|
---|
| 16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
| 17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
| 18 |
|
---|
[d47e7ea9] | 19 | <!ENTITY portmap-download-http " ">
|
---|
[4f6275fd] | 20 | <!ENTITY portmap-download-ftp "ftp://ftp.porcupine.org/pub/security/portmap_&portmap-version;.tar.gz">
|
---|
[f5f7f9d] | 21 | <!ENTITY portmap-md5sum "781e16ed4487c4caa082c6fef09ead4f">
|
---|
[b0c67c8b] | 22 | <!ENTITY portmap-size "18 KB">
|
---|
[0697dc1] | 23 | <!ENTITY portmap-buildsize "268 KB">
|
---|
| 24 | <!ENTITY portmap-time "0.01 SBU">
|
---|
[d47e7ea9] | 25 | ]>
|
---|
| 26 |
|
---|
[9c6580c] | 27 | <sect1 id="portmap" xreflabel="portmap-&portmap-version;">
|
---|
[e48ac714] | 28 | <?dbhtml filename="portmap.html"?>
|
---|
[bab92281] | 29 |
|
---|
[e48ac714] | 30 | <sect1info>
|
---|
| 31 | <othername>$LastChangedBy$</othername>
|
---|
| 32 | <date>$Date$</date>
|
---|
[4dbbf634] | 33 | <keywordset>
|
---|
| 34 | <keyword role="package">portmap_&portmap-version;.tar</keyword>
|
---|
[25475f5] | 35 | <keyword role="ftpdir">portmap</keyword>
|
---|
[4dbbf634] | 36 | </keywordset>
|
---|
[e48ac714] | 37 | </sect1info>
|
---|
[bab92281] | 38 |
|
---|
[e48ac714] | 39 | <title>Portmap-&portmap-version;</title>
|
---|
[bab92281] | 40 |
|
---|
[e48ac714] | 41 | <indexterm zone="portmap">
|
---|
| 42 | <primary sortas="a-Portmap">Portmap</primary>
|
---|
| 43 | </indexterm>
|
---|
| 44 |
|
---|
| 45 | <sect2 role="package">
|
---|
| 46 | <title>Introduction to Portmap</title>
|
---|
| 47 |
|
---|
[17e6d48] | 48 | <para>The <application>portmap</application> package is a more secure
|
---|
[bbdb0ff4] | 49 | replacement for the original SUN <application>portmap</application> package.
|
---|
[17e6d48] | 50 | <application>Portmap</application> is used to forward RPC requests to RPC
|
---|
[e48ac714] | 51 | daemons such as NFS and NIS.</para>
|
---|
[bab92281] | 52 |
|
---|
[e48ac714] | 53 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 54 | <itemizedlist spacing="compact">
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download (HTTP): <ulink url="&portmap-download-http;"/></para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Download (FTP): <ulink url="&portmap-download-ftp;"/></para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Download MD5 sum: &portmap-md5sum;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Download size: &portmap-size;</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Estimated disk space required: &portmap-buildsize;</para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[2174baa] | 71 | <para>Estimated build time: &portmap-time;</para>
|
---|
| 72 | </listitem>
|
---|
[e48ac714] | 73 | </itemizedlist>
|
---|
[bab92281] | 74 |
|
---|
[e48ac714] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing='compact'>
|
---|
| 77 | <listitem>
|
---|
[17e6d48] | 78 | <para>Required Patch: <ulink
|
---|
[e48ac714] | 79 | url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
|
---|
| 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
[17e6d48] | 82 | <para>Required Patch: <ulink
|
---|
[e48ac714] | 83 | url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
[bab92281] | 86 |
|
---|
[db0eb6a] | 87 | <bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
|
---|
[bab92281] | 88 |
|
---|
[e48ac714] | 89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4dbbf634] | 90 | <para role="required"><xref linkend="tcpwrappers"/></para>
|
---|
[bab92281] | 91 |
|
---|
[061ec9d] | 92 | <para condition="html" role="usernotes">User Notes:
|
---|
| 93 | <ulink url="&blfs-wiki;/portmap"/></para>
|
---|
| 94 |
|
---|
[e48ac714] | 95 | </sect2>
|
---|
[bab92281] | 96 |
|
---|
[e48ac714] | 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of Portmap</title>
|
---|
| 99 |
|
---|
[17e6d48] | 100 | <para>Install <application>portmap</application> with the following
|
---|
[e48ac714] | 101 | commands:</para>
|
---|
| 102 |
|
---|
| 103 | <screen><userinput>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
[4f6275fd] | 104 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
[e48ac714] | 105 | make</userinput></screen>
|
---|
[bab92281] | 106 |
|
---|
[e48ac714] | 107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 108 |
|
---|
| 109 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <note>
|
---|
| 112 | <para>The above installation places executable <command>portmap</command>
|
---|
[17e6d48] | 113 | in <filename class="directory">/sbin</filename>. You may choose to move the
|
---|
[e48ac714] | 114 | file to <filename class="directory">/usr/sbin</filename>. If you do, remember to
|
---|
| 115 | modify the bootscript also.</para>
|
---|
| 116 | </note>
|
---|
[bab92281] | 117 |
|
---|
[e48ac714] | 118 | </sect2>
|
---|
[bab92281] | 119 |
|
---|
[e48ac714] | 120 | <sect2 role="configuration">
|
---|
| 121 | <title>Configuring Portmap</title>
|
---|
[bab92281] | 122 |
|
---|
[e48ac714] | 123 | <sect3 id="portmap-init">
|
---|
| 124 | <title>Boot Script</title>
|
---|
| 125 |
|
---|
[17e6d48] | 126 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
|
---|
[5254d12] | 127 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
[bab92281] | 128 |
|
---|
[e48ac714] | 129 | <indexterm zone="portmap portmap-init">
|
---|
| 130 | <primary sortas="f-portmap">portmap</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 |
|
---|
| 133 | <screen role="root"><userinput>make install-portmap</userinput></screen>
|
---|
[bab92281] | 134 |
|
---|
[e48ac714] | 135 | </sect3>
|
---|
[bab92281] | 136 |
|
---|
[e48ac714] | 137 | </sect2>
|
---|
[bab92281] | 138 |
|
---|
[e48ac714] | 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 146 |
|
---|
[e48ac714] | 147 | <seglistitem>
|
---|
| 148 | <seg>pmap_dump, pmap_set, and portmap</seg>
|
---|
| 149 | <seg>None</seg>
|
---|
| 150 | <seg>None</seg>
|
---|
| 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
[bab92281] | 153 |
|
---|
[e48ac714] | 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 158 |
|
---|
[e48ac714] | 159 | <varlistentry id="pmap_dump">
|
---|
| 160 | <term><command>pmap_dump</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>saves the port mapping table to an ASCII file.</para>
|
---|
| 163 | <indexterm zone="portmap pmap_dump">
|
---|
| 164 | <primary sortas="b-pmap_dump">pmap_dump</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
[bab92281] | 168 |
|
---|
[e48ac714] | 169 | <varlistentry id="pmap_set">
|
---|
| 170 | <term><command>pmap_set</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>restores the port mapping table from an ASCII file.</para>
|
---|
| 173 | <indexterm zone="portmap pmap_set">
|
---|
| 174 | <primary sortas="b-pmap_set">pmap_set</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
[bab92281] | 178 |
|
---|
[e48ac714] | 179 | <varlistentry id="portmap-prog">
|
---|
| 180 | <term><command>portmap</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>is an RPC port mapper.</para>
|
---|
| 183 | <indexterm zone="portmap portmap-prog">
|
---|
| 184 | <primary sortas="b-portmap">portmap</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
[bab92281] | 188 |
|
---|
[e48ac714] | 189 | </variablelist>
|
---|
[bab92281] | 190 |
|
---|
[e48ac714] | 191 | </sect2>
|
---|
[9c6580c] | 192 |
|
---|
| 193 | </sect1>
|
---|
| 194 |
|
---|