[d3edf27] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/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-->
|
---|
| 29 | <!-- Use Title Case in All Titles
|
---|
| 30 | The "The Chicago Manual of Style":
|
---|
| 31 | "-Always capitalize the first and the last word.
|
---|
| 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 |
|
---|
[4705fa4] | 48 | <para>The <application>TEMPLATE</application> package contains...
|
---|
| 49 | This is useful for...</para>
|
---|
[46daaa1] | 50 |
|
---|
[4705fa4] | 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download (HTTP): <ulink url="&TEMPLATE-download-http;"/></para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Download (FTP): <ulink url="&TEMPLATE-download-ftp;"/></para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Download MD5 sum: &TEMPLATE-md5sum;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Download size: &TEMPLATE-size;</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>Estimated disk space required: &TEMPLATE-buildsize;</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[f2c510ee] | 69 | <para>Estimated build time: &TEMPLATE-time;</para>
|
---|
| 70 | </listitem>
|
---|
[4705fa4] | 71 | </itemizedlist>
|
---|
[46daaa1] | 72 |
|
---|
[4705fa4] | 73 | <!-- As required -->
|
---|
| 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>Required patch: <ulink
|
---|
[9d798aee] | 78 | url="&patch-root;/TEMPLATE-&TEMPLATE-version;-patch_name-patch_version.patch"/></para>
|
---|
[4705fa4] | 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
[46daaa1] | 81 |
|
---|
[4705fa4] | 82 | <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
|
---|
[46daaa1] | 83 |
|
---|
[4705fa4] | 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 85 | <para><xref linkend="BLFS DEPENDENCY"/></para>
|
---|
[46daaa1] | 86 |
|
---|
[4705fa4] | 87 | <!-- As required -->
|
---|
| 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para><ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink>,
|
---|
[9d798aee] | 90 | <xref linkend="BLFS DEPENDENCY"/></para>
|
---|
[46daaa1] | 91 |
|
---|
[4705fa4] | 92 | <!-- As required -->
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para><ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink></para>
|
---|
[46daaa1] | 95 |
|
---|
[4705fa4] | 96 | </sect2>
|
---|
[46daaa1] | 97 |
|
---|
[4705fa4] | 98 | <!-- Optional section for packages that need a specific kernel configuration-->
|
---|
| 99 | <sect2 role="kernel" id='TEMPLATE-kernel'>
|
---|
| 100 | <title>Kernel Configuration</title>
|
---|
[46daaa1] | 101 |
|
---|
[4705fa4] | 102 | <para>Enable the following options in the kernel configuration
|
---|
| 103 | and recompile the kernel if neccessary:</para>
|
---|
[46daaa1] | 104 |
|
---|
| 105 | <!-- Spaces are significant in <screen> sections -->
|
---|
[4705fa4] | 106 | <screen><literal>Master section:
|
---|
| 107 | Subsection:
|
---|
| 108 | Required Option: M or Y
|
---|
| 109 | Incompatible option: N</literal></screen>
|
---|
[46daaa1] | 110 |
|
---|
[4705fa4] | 111 | <para>Select the appropriate sub-options that appear when the above options
|
---|
| 112 | are selected.</para>
|
---|
[46daaa1] | 113 |
|
---|
[4705fa4] | 114 | <indexterm zone="TEMPLATE TEMPLATE-kernel">
|
---|
| 115 | <primary sortas="d-TEMPLATE">TEMPLATE</primary>
|
---|
| 116 | </indexterm>
|
---|
[46daaa1] | 117 |
|
---|
[4705fa4] | 118 | </sect2>
|
---|
[46daaa1] | 119 |
|
---|
[4705fa4] | 120 | <!--Required section-->
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of TEMPLATE</title>
|
---|
[46daaa1] | 123 |
|
---|
[4705fa4] | 124 | <para>Install <application>TEMPLATE</application> by running the following
|
---|
| 125 | commands:</para>
|
---|
[46daaa1] | 126 |
|
---|
| 127 | <!-- Spaces are significant in <screen> sections -->
|
---|
[eaf6a1cd] | 128 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 129 | make</userinput></screen>
|
---|
[46daaa1] | 130 |
|
---|
[4705fa4] | 131 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[46daaa1] | 132 |
|
---|
[4705fa4] | 133 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[46daaa1] | 134 |
|
---|
[eaf6a1cd] | 135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[46daaa1] | 136 |
|
---|
[4705fa4] | 137 | </sect2>
|
---|
[46daaa1] | 138 |
|
---|
[4705fa4] | 139 | <!--Optional section-->
|
---|
| 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
[46daaa1] | 142 |
|
---|
[4705fa4] | 143 | <para><command>COMMAND</command>: This command does something.</para>
|
---|
[46daaa1] | 144 |
|
---|
[4705fa4] | 145 | <para><parameter>--SWITCH=PARAMETER</parameter>: This parameter does
|
---|
| 146 | something mandatory for BLFS purposes.</para>
|
---|
[46daaa1] | 147 |
|
---|
[4705fa4] | 148 | <para><option>--OPTION</option>: This option does something optionally
|
---|
| 149 | per the user's desires.</para>
|
---|
[46daaa1] | 150 |
|
---|
[4705fa4] | 151 | </sect2>
|
---|
[46daaa1] | 152 |
|
---|
[4705fa4] | 153 | <!--Optional section-->
|
---|
| 154 | <sect2 role="configuration">
|
---|
| 155 | <title>Configuring TEMPLATE</title>
|
---|
[46daaa1] | 156 |
|
---|
[4705fa4] | 157 | <sect3 id="TEMPLATE-config">
|
---|
| 158 | <title>Config Files</title>
|
---|
| 159 | <para><filename>~/.Configfilename1</filename> and
|
---|
| 160 | <filename>/etc/path/Configfilename2</filename></para>
|
---|
[46daaa1] | 161 |
|
---|
[4705fa4] | 162 | <indexterm zone="TEMPLATE TEMPLATE-config">
|
---|
| 163 | <primary sortas="e-AA.Configfilename1">~/.Configfilename1</primary>
|
---|
| 164 | </indexterm>
|
---|
[46daaa1] | 165 |
|
---|
[4705fa4] | 166 | <indexterm zone="TEMPLATE TEMPLATE-config">
|
---|
| 167 | <primary sortas="e-etc-path-Configfilename2">/etc/path/Configfilename2</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </sect3>
|
---|
[46daaa1] | 170 |
|
---|
[4705fa4] | 171 | <sect3><title>Configuration Information</title>
|
---|
[46daaa1] | 172 |
|
---|
[4705fa4] | 173 | <para>Blah blah blah about config.</para>
|
---|
[46daaa1] | 174 |
|
---|
[eaf6a1cd] | 175 | <screen><userinput>USER CONFIG COMMANDS</userinput></screen>
|
---|
[46daaa1] | 176 |
|
---|
[eaf6a1cd] | 177 | <screen role="root"><userinput>ROOT CONFIG COMMANDS</userinput></screen>
|
---|
[46daaa1] | 178 |
|
---|
[4705fa4] | 179 | <!-- File creation. Add the appropiate <indexterm> block if needed.-->
|
---|
| 180 | <para>Create the file .... for ...</para>
|
---|
[46daaa1] | 181 |
|
---|
[eaf6a1cd] | 182 | <screen role="root"><userinput>cat >> /PATH/FILENAME << "EOF"
|
---|
| 183 | <literal># Begin FILENAME
|
---|
[46daaa1] | 184 |
|
---|
[eaf6a1cd] | 185 | TEXT
|
---|
[46daaa1] | 186 |
|
---|
[eaf6a1cd] | 187 | # End FILENAME</literal>
|
---|
| 188 | EOF</userinput></screen>
|
---|
[46daaa1] | 189 |
|
---|
[4705fa4] | 190 | </sect3>
|
---|
[46daaa1] | 191 |
|
---|
[4705fa4] | 192 | <sect3 id="TEMPLATE-init">
|
---|
| 193 | <title>Boot Script</title>
|
---|
[46daaa1] | 194 |
|
---|
[4705fa4] | 195 | <para>To automatically start the <command>TEMPLATE</command> daemon
|
---|
[46daaa1] | 196 | when the system is rebooted, install the
|
---|
| 197 | <filename>/etc/rc.d/init.d/TEMPLATE</filename>
|
---|
| 198 | bootscript from the
|
---|
| 199 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 200 |
|
---|
| 201 | <indexterm zone="TEMPLATE TEMPLATE-init">
|
---|
[4705fa4] | 202 | <primary sortas="f-TEMPLATE">TEMPLATE</primary>
|
---|
[46daaa1] | 203 | </indexterm>
|
---|
| 204 |
|
---|
[eaf6a1cd] | 205 | <screen role="root"><userinput>make install-TEMPLATE</userinput></screen>
|
---|
[46daaa1] | 206 |
|
---|
[4705fa4] | 207 | </sect3>
|
---|
[46daaa1] | 208 |
|
---|
[4705fa4] | 209 | </sect2>
|
---|
[46daaa1] | 210 |
|
---|
| 211 | <!--Required section-->
|
---|
[4705fa4] | 212 | <sect2 role="content">
|
---|
| 213 | <title>Contents</title>
|
---|
[46daaa1] | 214 |
|
---|
[4705fa4] | 215 | <segmentedlist>
|
---|
| 216 | <segtitle>Installed Program(s)</segtitle>
|
---|
| 217 | <segtitle>Installed Librar(y,ies)</segtitle>
|
---|
| 218 | <segtitle>Installed Director(y,ies)</segtitle>
|
---|
[46daaa1] | 219 |
|
---|
[4705fa4] | 220 | <seglistitem>
|
---|
| 221 | <seg>PROGRAM1, PROGRAM2, and PROGRAM3</seg>
|
---|
| 222 | <seg>libLIBRARY1, libLIBRARY2, and libLIBRARY3</seg>
|
---|
| 223 | <seg>/etc/TEMPLATE, /usr/include/TEMPLATE, /usr/lib/TEMPLATE,
|
---|
[9d798aee] | 224 | /usr/share/TEMPLATE-&TEMPLATE-version;,
|
---|
| 225 | /usr/share/doc/TEMPLATE-&TEMPLATE-version;, and
|
---|
[4705fa4] | 226 | /var/lib/TEMPLATE</seg>
|
---|
| 227 | </seglistitem>
|
---|
| 228 | </segmentedlist>
|
---|
[46daaa1] | 229 |
|
---|
[4705fa4] | 230 | <variablelist>
|
---|
| 231 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 232 | <?dbfo list-presentation="list"?>
|
---|
| 233 | <?dbhtml list-presentation="table"?>
|
---|
[46daaa1] | 234 |
|
---|
[4705fa4] | 235 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 236 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 237 | and the 2nd entry of the indexterm zone entity -->
|
---|
[46daaa1] | 238 |
|
---|
[4705fa4] | 239 | <varlistentry id="PROGRAM1">
|
---|
| 240 | <term><command>PROGRAM1</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>does this .....</para>
|
---|
| 243 | <indexterm zone="TEMPLATE PROGRAM1">
|
---|
| 244 | <primary sortas="b-PROGRAM1">PROGRAM1</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
[46daaa1] | 248 |
|
---|
[4705fa4] | 249 | <varlistentry id="PROGRAM2">
|
---|
| 250 | <term><command>PROGRAM2</command></term>
|
---|
| 251 | <listitem>
|
---|
| 252 | <para>does this .....</para>
|
---|
| 253 | <indexterm zone="TEMPLATE PROGRAM2">
|
---|
| 254 | <primary sortas="b-PROGRAM2">PROGRAM2</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
[46daaa1] | 258 |
|
---|
[4705fa4] | 259 | <varlistentry id="libLIBRARY1">
|
---|
| 260 | <term><filename class='libraryfile'>libLIBRARY1.[so,a]</filename></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>contains functions that .....</para>
|
---|
| 263 | <indexterm zone="TEMPLATE libLIBRARY1">
|
---|
| 264 | <primary sortas="c-libLIBRARY1">libLIBRARY1.[so,a]</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
[46daaa1] | 268 |
|
---|
[4705fa4] | 269 | </variablelist>
|
---|
[46daaa1] | 270 |
|
---|
[4705fa4] | 271 | </sect2>
|
---|
[f45b1953] | 272 |
|
---|
[46daaa1] | 273 | </sect1>
|
---|