source: archive/portmap.xml@ 060c752c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.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
Last change on this file since 060c752c was 0d7900a, checked in by Randy McMurchy <randy@…>, 11 years ago

Removed extraneous spaces from blank lines and at the end of lines in the .xml

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

  • Property mode set to 100644
File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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
19 <!ENTITY portmap-download-http "http://neil.brown.name/portmap/portmap-&portmap-version;.tgz">
20 <!ENTITY portmap-download-ftp " ">
21 <!ENTITY portmap-md5sum "ac108ab68bf0f34477f8317791aaf1ff">
22 <!ENTITY portmap-size "21 KB">
23 <!ENTITY portmap-buildsize "268 KB">
24 <!ENTITY portmap-time "0.01 SBU">
25]>
26
27<sect1 id="portmap" xreflabel="portmap-&portmap-version;">
28 <?dbhtml filename="portmap.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 </sect1info>
34
35 <title>Portmap-&portmap-version;</title>
36
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
44 <para>The <application>portmap</application> package is a more secure
45 replacement for the original SUN <application>portmap</application> package.
46 <application>Portmap</application> is used to forward RPC requests to RPC
47 daemons such as NFS and NIS.</para>
48
49 &lfs70_checked;
50
51 <bridgehead renderas="sect3">Package Information</bridgehead>
52 <itemizedlist spacing="compact">
53 <listitem>
54 <para>Download (HTTP): <ulink url="&portmap-download-http;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download (FTP): <ulink url="&portmap-download-ftp;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download MD5 sum: &portmap-md5sum;</para>
61 </listitem>
62 <listitem>
63 <para>Download size: &portmap-size;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated disk space required: &portmap-buildsize;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated build time: &portmap-time;</para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="libtirpc"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="tcpwrappers"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/portmap"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of Portmap</title>
92
93 <para>Portmap runs as a daemon with a uid of 1. This uid is only
94 configurable at compile time and is used as default. To set up a
95 user to match this uid, as the <systemitem class="username">root</systemitem>
96 user, issue:</para>
97
98<screen><userinput>useradd -u 1 -g 1 -d /dev/null -s /bin/false bin</userinput></screen>
99
100 <para>Install <application>portmap</application> with the following
101 commands:</para>
102
103<screen><userinput>LDLIBS=-ltirpc make</userinput></screen>
104
105 <para>Note that the LDLIBS environment variable must be before the
106 <command>make</command> command.</para>
107
108 <para>If you want the portmap daemon to use a uid/gid other than the
109 defaults, pass DAEMON_UID=x and DAEMON_GID=y as shown below:</para>
110
111 <para><command>LDLIBS=-ltirpc make DAEMON_UID=x DAEMON_GID=y</command></para>
112
113 <para>If you want to build the portmap daemon without
114 <application>tcpwrappers</application>, add
115 <userinput>NO_TCP_WRAPPER=true</userinput> to the make line as shown below:</para>
116
117 <para><command>LDLIBS=-ltirpc make NO_TCP_WRAPPER=true</command></para>
118
119 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
120
121<screen role='root'><userinput>make install</userinput></screen>
122
123 <note>
124 <para>The above installation places executable <command>portmap</command>
125 in <filename class="directory">/sbin</filename>. You may choose to move the
126 file to <filename class="directory">/usr/sbin</filename>. If you do,
127 remember to modify the bootscript also.</para>
128 </note>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring Portmap</title>
134
135 <sect3 id="portmap-init">
136 <title>Boot Script</title>
137
138 <para>Install the <filename>/etc/rc.d/init.d/portmap</filename> init script
139 included in the <xref linkend="bootscripts"/> package.</para>
140
141 <indexterm zone="portmap portmap-init">
142 <primary sortas="f-portmap">portmap</primary>
143 </indexterm>
144
145<screen role="root"><userinput>make install-portmap</userinput></screen>
146
147 </sect3>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg>pmap_dump, pmap_set, and portmap</seg>
161 <seg>None</seg>
162 <seg>None</seg>
163 </seglistitem>
164 </segmentedlist>
165
166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
170
171 <varlistentry id="pmap_dump">
172 <!-- Don't remove the extra space, it prevent a FOP warning. -->
173 <term><command>pmap_dump</command> </term>
174 <listitem>
175 <para>saves the port mapping table to an ASCII file.</para>
176 <indexterm zone="portmap pmap_dump">
177 <primary sortas="b-pmap_dump">pmap_dump</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="pmap_set">
183 <term><command>pmap_set</command></term>
184 <listitem>
185 <para>restores the port mapping table from an ASCII file.</para>
186 <indexterm zone="portmap pmap_set">
187 <primary sortas="b-pmap_set">pmap_set</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="portmap-prog">
193 <term><command>portmap</command></term>
194 <listitem>
195 <para>is an RPC port mapper.</para>
196 <indexterm zone="portmap portmap-prog">
197 <primary sortas="b-portmap">portmap</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 </variablelist>
203
204 </sect2>
205
206</sect1>
207
Note: See TracBrowser for help on using the repository browser.