[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>
|
---|
| 33 | </sect1info>
|
---|
[bab92281] | 34 |
|
---|
[e48ac714] | 35 | <title>Portmap-&portmap-version;</title>
|
---|
[bab92281] | 36 |
|
---|
[e48ac714] | 37 | <indexterm zone="portmap">
|
---|
| 38 | <primary sortas="a-Portmap">Portmap</primary>
|
---|
| 39 | </indexterm>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="package">
|
---|
| 42 | <title>Introduction to Portmap</title>
|
---|
| 43 |
|
---|
[17e6d48] | 44 | <para>The <application>portmap</application> package is a more secure
|
---|
[bbdb0ff4] | 45 | replacement for the original SUN <application>portmap</application> package.
|
---|
[17e6d48] | 46 | <application>Portmap</application> is used to forward RPC requests to RPC
|
---|
[e48ac714] | 47 | daemons such as NFS and NIS.</para>
|
---|
[bab92281] | 48 |
|
---|
[e48ac714] | 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download (HTTP): <ulink url="&portmap-download-http;"/></para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (FTP): <ulink url="&portmap-download-ftp;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download MD5 sum: &portmap-md5sum;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download size: &portmap-size;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Estimated disk space required: &portmap-buildsize;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[2174baa] | 67 | <para>Estimated build time: &portmap-time;</para>
|
---|
| 68 | </listitem>
|
---|
[e48ac714] | 69 | </itemizedlist>
|
---|
[bab92281] | 70 |
|
---|
[e48ac714] | 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing='compact'>
|
---|
| 73 | <listitem>
|
---|
[17e6d48] | 74 | <para>Required Patch: <ulink
|
---|
[e48ac714] | 75 | url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
[17e6d48] | 78 | <para>Required Patch: <ulink
|
---|
[e48ac714] | 79 | url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
[bab92281] | 82 |
|
---|
[db0eb6a] | 83 | <bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
|
---|
[bab92281] | 84 |
|
---|
[e48ac714] | 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4dbbf634] | 86 | <para role="required"><xref linkend="tcpwrappers"/></para>
|
---|
[bab92281] | 87 |
|
---|
[061ec9d] | 88 | <para condition="html" role="usernotes">User Notes:
|
---|
| 89 | <ulink url="&blfs-wiki;/portmap"/></para>
|
---|
| 90 |
|
---|
[e48ac714] | 91 | </sect2>
|
---|
[bab92281] | 92 |
|
---|
[e48ac714] | 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Portmap</title>
|
---|
| 95 |
|
---|
[ec54b623] | 96 | <para>Portmap runs as a daemon with a uid of 1. This uid is not
|
---|
| 97 | configurable. To set up a user to match this uid, as the
|
---|
| 98 | <systemitem class="username">root</systemitem> user, run:</para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>useradd -u 1 -g 1 -d /dev/null -s /bin/false bin</userinput></screen>
|
---|
| 101 |
|
---|
[17e6d48] | 102 | <para>Install <application>portmap</application> with the following
|
---|
[e48ac714] | 103 | commands:</para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &&
|
---|
[4f6275fd] | 106 | patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &&
|
---|
[e48ac714] | 107 | make</userinput></screen>
|
---|
[bab92281] | 108 |
|
---|
[e48ac714] | 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 110 |
|
---|
| 111 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | <note>
|
---|
| 114 | <para>The above installation places executable <command>portmap</command>
|
---|
[17e6d48] | 115 | in <filename class="directory">/sbin</filename>. You may choose to move the
|
---|
[ec54b623] | 116 | file to <filename class="directory">/usr/sbin</filename>. If you do,
|
---|
| 117 | remember to modify the bootscript also.</para>
|
---|
[e48ac714] | 118 | </note>
|
---|
[bab92281] | 119 |
|
---|
[e48ac714] | 120 | </sect2>
|
---|
[bab92281] | 121 |
|
---|
[e48ac714] | 122 | <sect2 role="configuration">
|
---|
| 123 | <title>Configuring Portmap</title>
|
---|
[bab92281] | 124 |
|
---|
[e48ac714] | 125 | <sect3 id="portmap-init">
|
---|
| 126 | <title>Boot Script</title>
|
---|
| 127 |
|
---|
[17e6d48] | 128 | <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
|
---|
[5254d12] | 129 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
[bab92281] | 130 |
|
---|
[e48ac714] | 131 | <indexterm zone="portmap portmap-init">
|
---|
| 132 | <primary sortas="f-portmap">portmap</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>make install-portmap</userinput></screen>
|
---|
[bab92281] | 136 |
|
---|
[e48ac714] | 137 | </sect3>
|
---|
[bab92281] | 138 |
|
---|
[e48ac714] | 139 | </sect2>
|
---|
[bab92281] | 140 |
|
---|
[e48ac714] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 148 |
|
---|
[e48ac714] | 149 | <seglistitem>
|
---|
| 150 | <seg>pmap_dump, pmap_set, and portmap</seg>
|
---|
| 151 | <seg>None</seg>
|
---|
| 152 | <seg>None</seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
[bab92281] | 155 |
|
---|
[e48ac714] | 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 160 |
|
---|
[e48ac714] | 161 | <varlistentry id="pmap_dump">
|
---|
| 162 | <term><command>pmap_dump</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>saves the port mapping table to an ASCII file.</para>
|
---|
| 165 | <indexterm zone="portmap pmap_dump">
|
---|
| 166 | <primary sortas="b-pmap_dump">pmap_dump</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
[bab92281] | 170 |
|
---|
[e48ac714] | 171 | <varlistentry id="pmap_set">
|
---|
| 172 | <term><command>pmap_set</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>restores the port mapping table from an ASCII file.</para>
|
---|
| 175 | <indexterm zone="portmap pmap_set">
|
---|
| 176 | <primary sortas="b-pmap_set">pmap_set</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
[bab92281] | 180 |
|
---|
[e48ac714] | 181 | <varlistentry id="portmap-prog">
|
---|
| 182 | <term><command>portmap</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>is an RPC port mapper.</para>
|
---|
| 185 | <indexterm zone="portmap portmap-prog">
|
---|
| 186 | <primary sortas="b-portmap">portmap</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
[bab92281] | 190 |
|
---|
[e48ac714] | 191 | </variablelist>
|
---|
[bab92281] | 192 |
|
---|
[e48ac714] | 193 | </sect2>
|
---|
[9c6580c] | 194 |
|
---|
| 195 | </sect1>
|
---|
| 196 |
|
---|