source: general/genutils/sharutils.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.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 427b46a was 66d551c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag a lot of utilities and libraries

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

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