source: final-system/common/perl.xml@ ff7ad91

Last change on this file since ff7ad91 was 50b478a2, checked in by Jim Gifford <clfs@…>, 19 years ago

r1088@server (orig r1086): chris | 2006-01-19 11:20:08 -0800
Added perl security patch, and removed one more reference to the shadow patch

  • Property mode set to 100644
File size: 13.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-perl" role="wrap">
9 <?dbhtml filename="perl.html"?>
10
11 <title>Perl-&perl-version;</title>
12
13 <indexterm zone="ch-system-perl">
14 <primary sortas="a-Perl">Perl</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Perl package contains the Practical Extraction and Report
21 Language.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Binutils, Coreutils, Diffutils,
28 Gawk, GCC, Glibc, Grep, Iana-Etc, Make, Patch, and Sed</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Perl</title>
36
37<para os="p1">This patch corrects a vulnerability in sprintf:</para>
38
39<screen os="p2"><userinput>patch -Np1 -i ../&perl-sprintf-patch;</userinput></screen>
40
41 <para os="a00">Before starting to configure, create a basic
42 <filename>/etc/hosts</filename> file which will be referenced in one
43 of Perl's configuration files as well as being used used by the testsuite
44 if you run that.</para>
45
46<screen os="a01"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
47
48 <para os="a">To have full control over the way Perl is set up, run the
49 interactive <command>Configure</command> script and hand-pick the way
50 this package is built. If the defaults it auto-detects are suitable,
51 prepare Perl for compilation with:</para>
52
53<screen os="b"><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
54
55 <variablelist os="c">
56 <title>The meaning of the configure option:</title>
57
58 <varlistentry os="c1">
59 <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
60 <listitem>
61 <para>This corrects an error in the way that <command>perldoc</command>
62 invokes the <command>less</command> program.</para>
63 </listitem>
64 </varlistentry>
65 </variablelist>
66
67 <para os="d">Compile the package:</para>
68
69<screen os="e"><userinput>make</userinput></screen>
70
71 <para os="h">Now run the tests, if desired:</para>
72
73<screen os="i"><userinput>make test</userinput></screen>
74
75 <para os="j">Install the package:</para>
76
77<screen os="k"><userinput>make install</userinput></screen>
78
79 </sect2>
80
81 <sect2 id="contents-perl" role="content">
82 <title>Contents of Perl</title>
83
84 <segmentedlist>
85 <segtitle>Installed programs</segtitle>
86 <segtitle>Installed libraries</segtitle>
87
88 <seglistitem>
89 <seg>a2p, c2ph, dprofpp, enc2xs, find2perl, h2ph, h2xs, libnetcfg,
90 perl, perl&perl-version; (link to perl), perlbug, perlcc, perldoc,
91 perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text,
92 pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link
93 to c2ph), s2p, splain, and xsubpp</seg>
94 <seg>Several hundred which cannot all be listed here</seg>
95 </seglistitem>
96 </segmentedlist>
97
98 <variablelist>
99 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
100 <?dbfo list-presentation="list"?>
101 <?dbhtml list-presentation="table"?>
102
103 <varlistentry id="a2p">
104 <term><command>a2p</command></term>
105 <listitem>
106 <para>Translates awk to Perl</para>
107 <indexterm zone="ch-system-perl a2p">
108 <primary sortas="b-a2p">a2p</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="c2ph">
114 <term><command>c2ph</command></term>
115 <listitem>
116 <para>Dumps C structures as generated from
117 <command>cc -g -S</command></para>
118 <indexterm zone="ch-system-perl c2ph">
119 <primary sortas="b-c2ph">c2ph</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="dprofpp">
125 <term><command>dprofpp</command></term>
126 <listitem>
127 <para>Displays Perl profile data</para>
128 <indexterm zone="ch-system-perl dprofpp">
129 <primary sortas="b-dprofpp">dprofpp</primary>
130 </indexterm>
131 </listitem>
132 </varlistentry>
133
134 <varlistentry id="en2cxs">
135 <term><command>en2cxs</command></term>
136 <listitem>
137 <para>Builds a Perl extension for the Encode module from either
138 Unicode Character Mappings or Tcl Encoding Files</para>
139 <indexterm zone="ch-system-perl en2cxs">
140 <primary sortas="b-en2cxs">en2cxs</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="find2perl">
146 <term><command>find2perl</command></term>
147 <listitem>
148 <para>Translates <command>find</command> commands to Perl</para>
149 <indexterm zone="ch-system-perl find2perl">
150 <primary sortas="b-find2perl">find2perl</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="h2ph">
156 <term><command>h2ph</command></term>
157 <listitem>
158 <para>Converts <filename class="extension">.h</filename> C header
159 files to <filename class="extension">.ph</filename> Perl header
160 files</para>
161 <indexterm zone="ch-system-perl h2ph">
162 <primary sortas="b-h2ph">h2ph</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="h2xs">
168 <term><command>h2xs</command></term>
169 <listitem>
170 <para>Converts <filename class="extension">.h</filename> C header
171 files to Perl extensions</para>
172 <indexterm zone="ch-system-perl h2xs">
173 <primary sortas="b-h2xs">h2xs</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="libnetcfg">
179 <term><command>libnetcfg</command></term>
180 <listitem>
181 <para>Can be used to configure the
182 <filename class="libraryfile">libnet</filename></para>
183 <indexterm zone="ch-system-perl libnetcfg">
184 <primary sortas="b-libnetcfg">libnetcfg</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="perl">
190 <term><command>perl</command></term>
191 <listitem>
192 <para>Combines some of the best features of C, <command>sed</command>,
193 <command>awk</command> and <command>sh</command> into a single
194 swiss-army language</para>
195 <indexterm zone="ch-system-perl perl">
196 <primary sortas="b-perl">perl</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="perl-version">
202 <term><command>perl&perl-version;</command></term>
203 <listitem>
204 <para>A hard link to <command>perl</command></para>
205 <indexterm zone="ch-system-perl perl-version">
206 <primary sortas="b-perl&perl-version;">perl&perl-version;</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="perlbug">
212 <term><command>perlbug</command></term>
213 <listitem>
214 <para>Used to generate bug reports about Perl, or the modules that come
215 with it, and mail them</para>
216 <indexterm zone="ch-system-perl perlbug">
217 <primary sortas="b-perlbug">perlbug</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="perlcc">
223 <term><command>perlcc</command></term>
224 <listitem>
225 <para>Generates executables from Perl programs</para>
226 <indexterm zone="ch-system-perl perlcc">
227 <primary sortas="b-perlcc">perlcc</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="perldoc">
233 <term><command>perldoc</command></term>
234 <listitem>
235 <para>Displays a piece of documentation in pod format that is embedded
236 in the Perl installation tree or in a Perl script</para>
237 <indexterm zone="ch-system-perl perldoc">
238 <primary sortas="b-perldoc">perldoc</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="perlivp">
244 <term><command>perlivp</command></term>
245 <listitem>
246 <para>The Perl Installation Verification Procedure; it can be used to
247 verify that Perl and its libraries have been installed
248 correctly</para>
249 <indexterm zone="ch-system-perl perlivp">
250 <primary sortas="b-perlivp">perlivp</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="piconv">
256 <term><command>piconv</command></term>
257 <listitem>
258 <para>A Perl version of the character encoding converter
259 <command>iconv</command></para>
260 <indexterm zone="ch-system-perl piconv">
261 <primary sortas="b-piconv">piconv</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="pl2pm">
267 <term><command>pl2pm</command></term>
268 <listitem>
269 <para>A rough tool for converting Perl4
270 <filename class="extension">.pl</filename> files to Perl5
271 <filename class="extension">.pm</filename> modules</para>
272 <indexterm zone="ch-system-perl pl2pm">
273 <primary sortas="b-pl2pm">pl2pm</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="pod2html">
279 <term><command>pod2html</command></term>
280 <listitem>
281 <para>Converts files from pod format to HTML format</para>
282 <indexterm zone="ch-system-perl pod2html">
283 <primary sortas="b-pod2html">pod2html</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="pod2latex">
289 <term><command>pod2latex</command></term>
290 <listitem>
291 <para>Converts files from pod format to LaTeX format</para>
292 <indexterm zone="ch-system-perl pod2latex">
293 <primary sortas="b-pod2latex">pod2latex</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="pod2man">
299 <term><command>pod2man</command></term>
300 <listitem>
301 <para>Converts pod data to formatted *roff input</para>
302 <indexterm zone="ch-system-perl pod2man">
303 <primary sortas="b-pod2man">pod2man</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="pod2text">
309 <term><command>pod2text</command></term>
310 <listitem>
311 <para>Converts pod data to formatted ASCII text</para>
312 <indexterm zone="ch-system-perl pod2text">
313 <primary sortas="b-pod2text">pod2text</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="pod2usage">
319 <term><command>pod2usage</command></term>
320 <listitem>
321 <para>Prints usage messages from embedded pod docs in files</para>
322 <indexterm zone="ch-system-perl pod2usage">
323 <primary sortas="b-pod2usage">pod2usage</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="podchecker">
329 <term><command>podchecker</command></term>
330 <listitem>
331 <para>Checks the syntax of pod format documentation files</para>
332 <indexterm zone="ch-system-perl podchecker">
333 <primary sortas="b-podchecker">podchecker</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="podselect">
339 <term><command>podselect</command></term>
340 <listitem>
341 <para>Displays selected sections of pod documentation</para>
342 <indexterm zone="ch-system-perl podselect">
343 <primary sortas="b-podselect">podselect</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="psed">
349 <term><command>psed</command></term>
350 <listitem>
351 <para>A Perl version of the stream editor <command>sed</command></para>
352 <indexterm zone="ch-system-perl psed">
353 <primary sortas="b-psed">psed</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="pstruct">
359 <term><command>pstruct</command></term>
360 <listitem>
361 <para>Dumps C structures as generated from <command>cc -g -S</command>
362 stabs</para>
363 <indexterm zone="ch-system-perl pstruct">
364 <primary sortas="b-pstruct">pstruct</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
369 <varlistentry id="s2p">
370 <term><command>s2p</command></term>
371 <listitem>
372 <para>Translates <command>sed</command> to Perl</para>
373 <indexterm zone="ch-system-perl s2p">
374 <primary sortas="b-s2p">s2p</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="splain">
380 <term><command>splain</command></term>
381 <listitem>
382 <para>Is used to force verbose warning diagnostics in Perl</para>
383 <indexterm zone="ch-system-perl splain">
384 <primary sortas="b-splain">splain</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="xsubpp">
390 <term><command>xsubpp</command></term>
391 <listitem>
392 <para>Converts Perl XS code into C code</para>
393 <indexterm zone="ch-system-perl xsubpp">
394 <primary sortas="b-xsubpp">xsubpp</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 </variablelist>
400
401 </sect2>
402
403</sect1>
Note: See TracBrowser for help on using the repository browser.