[d3edf27] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[d3edf27] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!-- Place this in the general.ent file
|
---|
[43fd8be] | 8 | <!ENTITY TEMPLATE-version "">
|
---|
[d3edf27] | 9 | -->
|
---|
| 10 |
|
---|
[43fd8be] | 11 | <!ENTITY TEMPLATE-download-http "http://">
|
---|
| 12 | <!ENTITY TEMPLATE-download-ftp "ftp://">
|
---|
| 13 | <!ENTITY TEMPLATE-md5sum "MD5 sum">
|
---|
| 14 | <!ENTITY TEMPLATE-size "?? MB">
|
---|
| 15 | <!ENTITY TEMPLATE-buildsize "?? MB">
|
---|
| 16 | <!ENTITY TEMPLATE-time "?? SBU">
|
---|
[d3edf27] | 17 | ]>
|
---|
| 18 |
|
---|
[4705fa4] | 19 | <!-- Try to keep the indentation used in this file-->
|
---|
[1ae02579] | 20 | <sect1 id="TEMPLATE" xreflabel="TEMPLATE-&TEMPLATE-version;">
|
---|
[4705fa4] | 21 | <?dbhtml filename="TEMPLATE.html"?>
|
---|
[46daaa1] | 22 |
|
---|
[4705fa4] | 23 | <sect1info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 26 | </sect1info>
|
---|
[46daaa1] | 27 |
|
---|
[4705fa4] | 28 | <!-- No other tags inside any title-->
|
---|
[fb3dd289] | 29 | <!-- Use Title Case in All Titles
|
---|
[4705fa4] | 30 | The "The Chicago Manual of Style":
|
---|
[fb3dd289] | 31 | "-Always capitalize the first and the last word.
|
---|
[4705fa4] | 32 | -Capitalize all nouns, pronouns, adjectives, verbs, adverbs, and
|
---|
| 33 | subordinate conjunctions ("as", "because", "although").
|
---|
| 34 | -Lowercase all articles, coordinate conjunctions ("and", "or", "nor"),
|
---|
| 35 | and prepositions regardless of length, when they are other than the
|
---|
| 36 | first or last word.
|
---|
| 37 | -Lowercase the "to" in an infinitive."-->
|
---|
| 38 | <title>TEMPLATE-&TEMPLATE-version;</title>
|
---|
[46daaa1] | 39 |
|
---|
[4705fa4] | 40 | <indexterm zone="TEMPLATE">
|
---|
| 41 | <primary sortas="a-TEMPLATE">TEMPLATE</primary>
|
---|
| 42 | </indexterm>
|
---|
[46daaa1] | 43 |
|
---|
[4705fa4] | 44 | <!--Required section-->
|
---|
| 45 | <sect2 role="package">
|
---|
| 46 | <title>Introduction to TEMPLATE</title>
|
---|
[46daaa1] | 47 |
|
---|
[14aeac4] | 48 | <para>
|
---|
| 49 | The <application>TEMPLATE</application> package contains...
|
---|
| 50 | This is useful for...
|
---|
| 51 | </para>
|
---|
[46daaa1] | 52 |
|
---|
[a4a52f4] | 53 | <!-- if it builds but hasn't been tested: -->
|
---|
[4c77a949] | 54 | &lfs71_built;
|
---|
[a4a52f4] | 55 | <!-- if it works: -->
|
---|
[4c77a949] | 56 | &lfs71_checked;
|
---|
[a4a52f4] | 57 |
|
---|
[4705fa4] | 58 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 59 | <itemizedlist spacing="compact">
|
---|
| 60 | <listitem>
|
---|
[14aeac4] | 61 | <para>
|
---|
| 62 | Download (HTTP): <ulink url="&TEMPLATE-download-http;"/>
|
---|
| 63 | </para>
|
---|
[4705fa4] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[14aeac4] | 66 | <para>
|
---|
| 67 | Download (FTP): <ulink url="&TEMPLATE-download-ftp;"/>
|
---|
| 68 | </para>
|
---|
[4705fa4] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[14aeac4] | 71 | <para>
|
---|
| 72 | Download MD5 sum: &TEMPLATE-md5sum;
|
---|
| 73 | </para>
|
---|
[4705fa4] | 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
[14aeac4] | 76 | <para>
|
---|
| 77 | Download size: &TEMPLATE-size;
|
---|
| 78 | </para>
|
---|
[4705fa4] | 79 | </listitem>
|
---|
| 80 | <listitem>
|
---|
[14aeac4] | 81 | <para>
|
---|
| 82 | Estimated disk space required: &TEMPLATE-buildsize;
|
---|
| 83 | </para>
|
---|
[4705fa4] | 84 | </listitem>
|
---|
| 85 | <listitem>
|
---|
[14aeac4] | 86 | <para>
|
---|
| 87 | Estimated build time: &TEMPLATE-time;
|
---|
| 88 | </para>
|
---|
[f2c510ee] | 89 | </listitem>
|
---|
[4705fa4] | 90 | </itemizedlist>
|
---|
[46daaa1] | 91 |
|
---|
[4705fa4] | 92 | <!-- As required -->
|
---|
| 93 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 94 | <itemizedlist spacing="compact">
|
---|
| 95 | <listitem>
|
---|
[14aeac4] | 96 | <para>
|
---|
| 97 | Required patch:
|
---|
| 98 | <ulink url="&patch-root;/TEMPLATE-&TEMPLATE-version;-patch_name-patch_version.patch"/>
|
---|
| 99 | </para>
|
---|
[4705fa4] | 100 | </listitem>
|
---|
| 101 | </itemizedlist>
|
---|
[46daaa1] | 102 |
|
---|
[4705fa4] | 103 | <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
|
---|
[46daaa1] | 104 |
|
---|
[4705fa4] | 105 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[14aeac4] | 106 | <para role="required">
|
---|
| 107 | <xref linkend="BLFS DEPENDENCY"/>
|
---|
| 108 | </para>
|
---|
[46daaa1] | 109 |
|
---|
[4705fa4] | 110 | <!-- As required -->
|
---|
| 111 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[14aeac4] | 112 | <para role="recommended">
|
---|
| 113 | <ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink> and
|
---|
| 114 | <xref linkend="BLFS DEPENDENCY"/>.
|
---|
| 115 | </para>
|
---|
[46daaa1] | 116 |
|
---|
[4705fa4] | 117 | <!-- As required -->
|
---|
| 118 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[14aeac4] | 119 | <para role="optional">
|
---|
| 120 | <ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink>.
|
---|
| 121 | </para>
|
---|
[46daaa1] | 122 |
|
---|
[14aeac4] | 123 | <para condition="html" role="usernotes">
|
---|
| 124 | User Notes: <ulink url="&blfs-wiki;/TEMPLATE"/>
|
---|
| 125 | </para>
|
---|
[4705fa4] | 126 | </sect2>
|
---|
[46daaa1] | 127 |
|
---|
[d615263] | 128 | <!-- Optional section for packages that need a specific kernel
|
---|
| 129 | configuration-->
|
---|
[64fecc4] | 130 | <sect2 role="kernel" id="TEMPLATE-kernel">
|
---|
[4705fa4] | 131 | <title>Kernel Configuration</title>
|
---|
[46daaa1] | 132 |
|
---|
[14aeac4] | 133 | <para>
|
---|
| 134 | Enable the following options in the kernel configuration and recompile the
|
---|
| 135 | kernel if necessary:
|
---|
| 136 | </para>
|
---|
[46daaa1] | 137 |
|
---|
| 138 | <!-- Spaces are significant in <screen> sections -->
|
---|
[4705fa4] | 139 | <screen><literal>Master section:
|
---|
| 140 | Subsection:
|
---|
| 141 | Required Option: M or Y
|
---|
| 142 | Incompatible option: N</literal></screen>
|
---|
[46daaa1] | 143 |
|
---|
[14aeac4] | 144 | <para>
|
---|
| 145 | Select the appropriate sub-options that appear when the above options are
|
---|
| 146 | selected.
|
---|
| 147 | </para>
|
---|
[46daaa1] | 148 |
|
---|
[4705fa4] | 149 | <indexterm zone="TEMPLATE TEMPLATE-kernel">
|
---|
| 150 | <primary sortas="d-TEMPLATE">TEMPLATE</primary>
|
---|
| 151 | </indexterm>
|
---|
| 152 | </sect2>
|
---|
[46daaa1] | 153 |
|
---|
[4705fa4] | 154 | <!--Required section-->
|
---|
| 155 | <sect2 role="installation">
|
---|
| 156 | <title>Installation of TEMPLATE</title>
|
---|
[46daaa1] | 157 |
|
---|
[14aeac4] | 158 | <para>
|
---|
| 159 | Install <application>TEMPLATE</application> by running the following
|
---|
| 160 | commands:
|
---|
| 161 | </para>
|
---|
[46daaa1] | 162 |
|
---|
| 163 | <!-- Spaces are significant in <screen> sections -->
|
---|
[14aeac4] | 164 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[eaf6a1cd] | 165 | make</userinput></screen>
|
---|
[46daaa1] | 166 |
|
---|
[d615263] | 167 | <!-- Optional section. Use one of the two mentions below about a test
|
---|
| 168 | suite, delete the line that is not applicable. Of course, if the
|
---|
[8e46700] | 169 | test suite uses syntax other than 'make check', revise the
|
---|
| 170 | line to reflect the actual syntax to run the test suite -->
|
---|
| 171 |
|
---|
[14aeac4] | 172 | <para>
|
---|
| 173 | This package does not come with a test suite.
|
---|
| 174 | </para>
|
---|
[46daaa1] | 175 |
|
---|
[14aeac4] | 176 | <para>
|
---|
| 177 | To test the results, issue: <command>make check</command>.
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <para>
|
---|
| 181 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 182 | </para>
|
---|
[46daaa1] | 183 |
|
---|
[eaf6a1cd] | 184 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[4705fa4] | 185 | </sect2>
|
---|
[46daaa1] | 186 |
|
---|
[4705fa4] | 187 | <!--Optional section-->
|
---|
| 188 | <sect2 role="commands">
|
---|
| 189 | <title>Command Explanations</title>
|
---|
[46daaa1] | 190 |
|
---|
[a26f3f8f] | 191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[692b244c] | 192 | href="../../xincludes/static-libraries.xml"/>
|
---|
[14aeac4] | 193 |
|
---|
| 194 | <para>
|
---|
| 195 | <command>COMMAND</command>: This command does something.
|
---|
| 196 | </para>
|
---|
[46daaa1] | 197 |
|
---|
[14aeac4] | 198 | <para>
|
---|
| 199 | <parameter>--SWITCH=PARAMETER</parameter>: This parameter does something
|
---|
| 200 | mandatory for BLFS purposes.
|
---|
| 201 | </para>
|
---|
[46daaa1] | 202 |
|
---|
[14aeac4] | 203 | <para>
|
---|
| 204 | <option>--OPTION</option>: This option does something optionally per the
|
---|
| 205 | user's desires.
|
---|
| 206 | </para>
|
---|
[4705fa4] | 207 | </sect2>
|
---|
[46daaa1] | 208 |
|
---|
[4705fa4] | 209 | <!--Optional section-->
|
---|
| 210 | <sect2 role="configuration">
|
---|
| 211 | <title>Configuring TEMPLATE</title>
|
---|
[46daaa1] | 212 |
|
---|
[4705fa4] | 213 | <sect3 id="TEMPLATE-config">
|
---|
| 214 | <title>Config Files</title>
|
---|
[14aeac4] | 215 | <para>
|
---|
| 216 | <filename>~/.Configfilename1</filename> and
|
---|
| 217 | <filename>/etc/path/Configfilename2</filename>.
|
---|
| 218 | </para>
|
---|
[46daaa1] | 219 |
|
---|
[4705fa4] | 220 | <indexterm zone="TEMPLATE TEMPLATE-config">
|
---|
| 221 | <primary sortas="e-AA.Configfilename1">~/.Configfilename1</primary>
|
---|
| 222 | </indexterm>
|
---|
[46daaa1] | 223 |
|
---|
[4705fa4] | 224 | <indexterm zone="TEMPLATE TEMPLATE-config">
|
---|
[d615263] | 225 | <primary
|
---|
| 226 | sortas="e-etc-path-Configfilename2">/etc/path/Configfilename2</primary>
|
---|
[4705fa4] | 227 | </indexterm>
|
---|
| 228 | </sect3>
|
---|
[46daaa1] | 229 |
|
---|
[4705fa4] | 230 | <sect3><title>Configuration Information</title>
|
---|
[46daaa1] | 231 |
|
---|
[14aeac4] | 232 | <para>
|
---|
| 233 | Blah blah blah about config.
|
---|
| 234 | </para>
|
---|
[46daaa1] | 235 |
|
---|
[eaf6a1cd] | 236 | <screen><userinput>USER CONFIG COMMANDS</userinput></screen>
|
---|
[46daaa1] | 237 |
|
---|
[eaf6a1cd] | 238 | <screen role="root"><userinput>ROOT CONFIG COMMANDS</userinput></screen>
|
---|
[46daaa1] | 239 |
|
---|
[b8dba81] | 240 | <!-- File creation. Add the appropriate <indexterm> block if needed.-->
|
---|
[14aeac4] | 241 | <para>
|
---|
| 242 | Create the file .... for ...
|
---|
| 243 | </para>
|
---|
[46daaa1] | 244 |
|
---|
[eaf6a1cd] | 245 | <screen role="root"><userinput>cat >> /PATH/FILENAME << "EOF"
|
---|
| 246 | <literal># Begin FILENAME
|
---|
[46daaa1] | 247 |
|
---|
[eaf6a1cd] | 248 | TEXT
|
---|
[46daaa1] | 249 |
|
---|
[eaf6a1cd] | 250 | # End FILENAME</literal>
|
---|
| 251 | EOF</userinput></screen>
|
---|
[4705fa4] | 252 | </sect3>
|
---|
[46daaa1] | 253 |
|
---|
[4705fa4] | 254 | <sect3 id="TEMPLATE-init">
|
---|
| 255 | <title>Boot Script</title>
|
---|
[46daaa1] | 256 |
|
---|
[14aeac4] | 257 | <para>
|
---|
| 258 | To automatically start the <command>TEMPLATE</command> daemon when the
|
---|
| 259 | system is rebooted, install the
|
---|
| 260 | <filename>/etc/rc.d/init.d/TEMPLATE</filename> bootscript from the
|
---|
| 261 | <xref linkend="bootscripts"/> package.
|
---|
| 262 | </para>
|
---|
[46daaa1] | 263 |
|
---|
| 264 | <indexterm zone="TEMPLATE TEMPLATE-init">
|
---|
[4705fa4] | 265 | <primary sortas="f-TEMPLATE">TEMPLATE</primary>
|
---|
[46daaa1] | 266 | </indexterm>
|
---|
| 267 |
|
---|
[eaf6a1cd] | 268 | <screen role="root"><userinput>make install-TEMPLATE</userinput></screen>
|
---|
[4705fa4] | 269 | </sect3>
|
---|
| 270 | </sect2>
|
---|
[46daaa1] | 271 |
|
---|
| 272 | <!--Required section-->
|
---|
[4705fa4] | 273 | <sect2 role="content">
|
---|
| 274 | <title>Contents</title>
|
---|
[46daaa1] | 275 |
|
---|
[4705fa4] | 276 | <segmentedlist>
|
---|
| 277 | <segtitle>Installed Program(s)</segtitle>
|
---|
| 278 | <segtitle>Installed Librar(y,ies)</segtitle>
|
---|
| 279 | <segtitle>Installed Director(y,ies)</segtitle>
|
---|
[46daaa1] | 280 |
|
---|
[4705fa4] | 281 | <seglistitem>
|
---|
[14aeac4] | 282 | <seg>
|
---|
| 283 | PROGRAM1, PROGRAM2 and PROGRAM3.
|
---|
| 284 | </seg>
|
---|
| 285 | <seg>
|
---|
| 286 | libLIBRARY1.so, libLIBRARY2.so and libLIBRARY3.so.
|
---|
| 287 | </seg>
|
---|
| 288 | <seg>
|
---|
| 289 | /etc/TEMPLATE, /usr/include/TEMPLATE, /usr/lib/TEMPLATE,
|
---|
| 290 | /usr/share/TEMPLATE-&TEMPLATE-version;,
|
---|
| 291 | /usr/share/doc/TEMPLATE-&TEMPLATE-version; and
|
---|
| 292 | /var/lib/TEMPLATE.
|
---|
| 293 | </seg>
|
---|
[4705fa4] | 294 | </seglistitem>
|
---|
| 295 | </segmentedlist>
|
---|
[46daaa1] | 296 |
|
---|
[4705fa4] | 297 | <variablelist>
|
---|
| 298 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 299 | <?dbfo list-presentation="list"?>
|
---|
| 300 | <?dbhtml list-presentation="table"?>
|
---|
[46daaa1] | 301 |
|
---|
[fb3dd289] | 302 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 303 | package name, add -prog or -lib to the varlistentry entity id
|
---|
[4705fa4] | 304 | and the 2nd entry of the indexterm zone entity -->
|
---|
[46daaa1] | 305 |
|
---|
[4705fa4] | 306 | <varlistentry id="PROGRAM1">
|
---|
| 307 | <term><command>PROGRAM1</command></term>
|
---|
| 308 | <listitem>
|
---|
[14aeac4] | 309 | <para>
|
---|
| 310 | does this .....
|
---|
| 311 | </para>
|
---|
[4705fa4] | 312 | <indexterm zone="TEMPLATE PROGRAM1">
|
---|
| 313 | <primary sortas="b-PROGRAM1">PROGRAM1</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
[46daaa1] | 317 |
|
---|
[4705fa4] | 318 | <varlistentry id="PROGRAM2">
|
---|
| 319 | <term><command>PROGRAM2</command></term>
|
---|
| 320 | <listitem>
|
---|
[14aeac4] | 321 | <para>
|
---|
| 322 | does this .....
|
---|
| 323 | </para>
|
---|
[4705fa4] | 324 | <indexterm zone="TEMPLATE PROGRAM2">
|
---|
| 325 | <primary sortas="b-PROGRAM2">PROGRAM2</primary>
|
---|
| 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
[46daaa1] | 329 |
|
---|
[4705fa4] | 330 | <varlistentry id="libLIBRARY1">
|
---|
[14aeac4] | 331 | <term><filename class="libraryfile">libLIBRARY1.so</filename></term>
|
---|
[4705fa4] | 332 | <listitem>
|
---|
[14aeac4] | 333 | <para>
|
---|
| 334 | contains functions that .....
|
---|
| 335 | </para>
|
---|
[4705fa4] | 336 | <indexterm zone="TEMPLATE libLIBRARY1">
|
---|
[14aeac4] | 337 | <primary sortas="c-libLIBRARY1">libLIBRARY1.so</primary>
|
---|
[4705fa4] | 338 | </indexterm>
|
---|
| 339 | </listitem>
|
---|
| 340 | </varlistentry>
|
---|
| 341 | </variablelist>
|
---|
| 342 | </sect2>
|
---|
[46daaa1] | 343 | </sect1>
|
---|