source: general/genutils/sharutils.xml

trunk
Last change on this file was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 2 months ago

A bunch of tags

  • Property mode set to 100644
File size: 5.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 <!ENTITY sharutils-download-http "&gnu-http;/sharutils/sharutils-&sharutils-version;.tar.xz">
8 <!ENTITY sharutils-download-ftp " ">
9 <!ENTITY sharutils-md5sum "5975ce21da36491d7aa6dc2b0d9788e0">
10 <!ENTITY sharutils-size "1.1 MB">
11 <!ENTITY sharutils-buildsize "22 MB (with the test suite)">
12 <!ENTITY sharutils-time "0.4 SBU (with the test suite)">
13]>
14
15<sect1 id="sharutils" xreflabel="Sharutils-&sharutils-version;">
16 <?dbhtml filename="sharutils.html"?>
17
18
19 <title>Sharutils-&sharutils-version;</title>
20
21 <indexterm zone="sharutils">
22 <primary sortas="a-Sharutils">Sharutils</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Sharutils</title>
27
28 <para>
29 The <application>Sharutils</application> package contains
30 utilities that can create 'shell' archives.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&sharutils-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&sharutils-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &sharutils-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &sharutils-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &sharutils-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &sharutils-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 </sect2>
70
71 <sect2 role="installation">
72 <title>Installation of Sharutils</title>
73
74 <para>
75 Fix a heap buffer overflow, and an issue exposed by GCC-10:
76 </para>
77
78<screen><userinput>sed -i 's/BUFSIZ/rw_base_size/' src/unshar.c &amp;&amp;
79sed -i '/program_name/s/^/extern /' src/*opts.h</userinput></screen>
80
81 <para>
82 Install <application>Sharutils</application> by running
83 the following commands:
84 </para>
85
86<screen><userinput>sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c &amp;&amp;
87echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h &amp;&amp;
88
89./configure --prefix=/usr &amp;&amp;
90make</userinput></screen>
91
92 <para>
93 To test the results, issue <command>make check</command>.
94 </para>
95
96 <para>
97 Now, as the <systemitem class="username">root</systemitem> user:
98 </para>
99
100<screen role="root"><userinput>make install</userinput></screen>
101
102 </sect2>
103
104 <sect2 role="content">
105 <title>Contents</title>
106
107 <segmentedlist>
108 <segtitle>Installed Programs</segtitle>
109 <segtitle>Installed Libraries</segtitle>
110 <segtitle>Installed Directories</segtitle>
111
112 <seglistitem>
113 <seg>
114 shar, unshar, uudecode and uuencode
115 </seg>
116 <seg>
117 None
118 </seg>
119 <seg>
120 None
121 </seg>
122 </seglistitem>
123 </segmentedlist>
124
125 <variablelist>
126 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
127 <?dbfo list-presentation="list"?>
128 <?dbhtml list-presentation="table"?>
129
130 <varlistentry id="shar">
131 <term><command>shar</command></term>
132 <listitem>
133 <para>
134 creates "shell archives" (or shar files) which are in
135 text format and can be mailed
136 </para>
137 <indexterm zone="sharutils shar">
138 <primary sortas="b-shar">shar</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="unshar">
144 <term><command>unshar</command></term>
145 <listitem>
146 <para>
147 unpacks a shar file
148 </para>
149 <indexterm zone="sharutils unshar">
150 <primary sortas="b-unshar">unshar</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="uudecode">
156 <term><command>uudecode</command></term>
157 <listitem>
158 <para>
159 reads a file (or by default the standard input) and writes an
160 encoded version to the standard output. The encoding uses only
161 printing ASCII characters
162 </para>
163 <indexterm zone="sharutils uudecode">
164 <primary sortas="b-uudecode">uudecode</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="uuencode">
170 <term><command>uuencode</command></term>
171 <listitem>
172 <para>
173 reads a file (or by default the standard input) and decodes
174 the uuencoded version to the standard output
175 </para>
176 <indexterm zone="sharutils uuencode">
177 <primary sortas="b-uuencode">uuencode</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 </variablelist>
183
184 </sect2>
185
186</sect1>
Note: See TracBrowser for help on using the repository browser.