r6686 - in trunk/BOOK: introduction/welcome postlfs/shells

dnicholson at linuxfromscratch.org dnicholson at linuxfromscratch.org
Fri Mar 23 16:46:10 PDT 2007


Author: dnicholson
Date: 2007-03-23 17:46:10 -0600 (Fri, 23 Mar 2007)
New Revision: 6686

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/shells/dash.xml
Log:
Bug fix patch + optional /bin/sh symlink for Dash


Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2007-03-23 15:28:50 UTC (rev 6685)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2007-03-23 23:46:10 UTC (rev 6686)
@@ -45,6 +45,10 @@
       <para>March 23rd, 2007</para>
       <itemizedlist>
         <listitem>
+          <para>[dnicholson] - Added a patch with upstream fixes for Dash and
+          an optional command for replacing /bin/sh.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to Apache Ant-1.7.0.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/postlfs/shells/dash.xml
===================================================================
--- trunk/BOOK/postlfs/shells/dash.xml	2007-03-23 15:28:50 UTC (rev 6685)
+++ trunk/BOOK/postlfs/shells/dash.xml	2007-03-23 23:46:10 UTC (rev 6686)
@@ -4,8 +4,8 @@
   <!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-download-http "http://gondor.apana.org.au/~herbert/dash/files/dash-&dash-version;.tar.gz">
+  <!ENTITY dash-download-ftp  "ftp://ftp.debian.org/debian/pool/main/d/dash/dash_&dash-version;.orig.tar.gz">
   <!ENTITY dash-md5sum        "1a3cd6669459be4344ec55ec9d4914f8">
   <!ENTITY dash-size          "200 KB">
   <!ENTITY dash-buildsize     "1.8 MB">
@@ -61,6 +61,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing='compact'>
+      <listitem>
+        <para>Required Patch containing bug fixes from upstream: <ulink
+        url="&patch-root;/dash-&dash-version;-fixes-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <para condition="html" role="usernotes">User Notes:
     <ulink url="&blfs-wiki;/dash"/></para>
 
@@ -72,15 +80,22 @@
     <para>Install <application>Dash</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --bindir=/bin --mandir=/usr/share/man &&
+<screen><userinput>patch -Np1 -i ../dash-&dash-version;-fixes-1.patch &&
+./configure --bindir=/bin --mandir=/usr/share/man &&
 LC_ALL=C make</userinput></screen>
 
-    <!-- <para>Need to include about the test suite.</para> -->
+    <para>This package does not come with a test suite.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install</userinput></screen>
 
+    <para>If you would like to make <command>dash</command> the default
+    <command>sh</command>, recreate the <filename>/bin/sh</filename>
+    symlink as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>ln -svf dash /bin/sh</userinput></screen>
+
   </sect2>
 
   <sect2 role="commands">
@@ -88,6 +103,11 @@
 
     <para><parameter>--bindir=/bin</parameter>: This parameter places the
     <command>dash</command> binary into the root filesystem.</para>
+
+    <para><command>LC_ALL=C make</command>: This ensures that the
+    <command>sort</command> command executed during the build process returns
+    the expected results.</para>
+
   </sect2>
 
   <sect2 role="configuration">
@@ -129,7 +149,7 @@
     <title>Contents</title>
 
     <segmentedlist>
-      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Program</segtitle>
       <segtitle>Installed Libraries</segtitle>
       <segtitle>Installed Directories</segtitle>
 




More information about the blfs-book mailing list