glfs/postlfs/shells/dash.xml
Randy McMurchy f41cad7dfe Added the Dash package using a patch provided by Agathoklis Hatzimanikas
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6667 af4574ff-66df-0310-9fd7-8a98e5e911e0
2007-03-15 18:36:40 +00:00

163 lines
4.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY dash-download-http "http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.3.orig.tar.gz">
<!ENTITY dash-download-ftp " ">
<!ENTITY dash-md5sum "1a3cd6669459be4344ec55ec9d4914f8">
<!ENTITY dash-size "200 KB">
<!ENTITY dash-buildsize "1.8 MB">
<!ENTITY dash-time "0.1 SBU">
]>
<sect1 id="dash" xreflabel="Dash-&dash-version;">
<?dbhtml filename="dash.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Dash-&dash-version;</title>
<indexterm zone="dash">
<primary sortas="a-Dash">Dash</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Dash</title>
<para><application>Dash</application> is a POSIX compliant shell. It can be
installed as /bin/sh or as the default shell for either <systemitem
class="username">root</systemitem> or a second user with a userid of 0. It
depends on fewer libraries than the <application>Bash</application> shell
and is therefore less likely to be affected by an upgrade problem or disk
failure. <application>Dash</application> is also useful for checking that
a script is completely compatible with POSIX syntax.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&dash-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&dash-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &dash-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &dash-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &dash-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &dash-time;</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/dash"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Dash</title>
<para>Install <application>Dash</application> by running the following
commands:</para>
<screen><userinput>./configure --bindir=/bin --mandir=/usr/share/man &amp;&amp;
LC_ALL=C make</userinput></screen>
<!-- <para>Need to include about the test suite.</para> -->
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--bindir=/bin</parameter>: This parameter places the
<command>dash</command> binary into the root filesystem.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring Dash</title>
<sect3 id="dash-config">
<title>Config Files</title>
<para><application>Dash</application> sources
<filename>/etc/profile</filename> and
<filename>$HOME/.profile</filename></para>
<indexterm zone="dash dash-config">
<primary sortas="e-etc-profile">/etc/profile</primary>
</indexterm>
<indexterm zone="dash dash-config">
<primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para>Update <filename>/etc/shells</filename> to include the
<application>Dash</application> shell by issuing the following command
as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
<literal>/bin/dash</literal>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>dash</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Description</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="Dash-prog">
<term><command>dash</command></term>
<listitem>
<para>is a POSIX compliant shell.</para>
<indexterm zone="dash Dash-prog">
<primary sortas="b-dash">dash</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>