Kaynağa Gözat

Update to coreutils-8.25. Fixes
Simplify bash installation procedures.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10988 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 9 yıl önce
ebeveyn
işleme
e408cb0560

+ 15 - 1
chapter01/changelog.xml

@@ -36,7 +36,21 @@
     </listitem>
 -->
     <listitem>
-      <para>2016-01-01</para>
+      <para>2016-01-24</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to coreutils-8.25. Fixes
+          <ulink url="&lfs-ticket-root;3880">#3880</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Simplify bash installation procedures. Fixes
+          <ulink url="&lfs-ticket-root;3879">#3879</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2016-01-17</para>
       <itemizedlist>
         <listitem>
           <para>[bdubbs] - Update to linux-4.4. Fixes

+ 2 - 2
chapter01/whatsnew.xml

@@ -52,9 +52,9 @@
     <!--<listitem>
       <para>Check &check-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Coreutils &coreutils-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>DejaGNU &dejagnu-version;</para>
     </listitem>-->

+ 4 - 3
chapter06/bash.xml

@@ -48,7 +48,6 @@
     <para>Prepare Bash for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr                       \
-            --bindir=/bin                       \
             --docdir=/usr/share/doc/bash-&bash-version; \
             --without-bash-malloc               \
             --with-installed-readline</userinput></screen>
@@ -84,9 +83,11 @@
 
 <screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make tests"</userinput></screen>
 
-    <para>Install the package:</para>
+    <para>Install the package and move the main executable to
+    <filename class='directory'>/bin</filename>:</para>
 
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">make install
+mv -vf /usr/bin/bash /bin</userinput></screen>
 
     <para>Run the newly compiled <command>bash</command> program (replacing the one that is
     currently being executed):</para>

+ 1 - 1
chapter06/chapter06.xml

@@ -41,7 +41,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
@@ -62,6 +61,7 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="automake.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="findutils.xml"/>

+ 3 - 10
chapter06/coreutils.xml

@@ -48,16 +48,9 @@
 
     <para>POSIX requires that programs from Coreutils recognize character
     boundaries correctly even in multibyte locales. The following patch fixes
-    this non-compliance and other internationalization-related bugs.
-    <!--Afterwards make sure the timestamp for <filename>Makefile.in</filename> is
-    later than all other files to prevent a <command>make</command>
-    error:</para>-->
-    Afterwards disable a test that fails with the current version of perl.</para>
+    this non-compliance and other internationalization-related bugs.</para>
 
-<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch; 
-sed -i '/tests\/misc\/sort.pl/ d' Makefile.in</userinput></screen>
-
-<!--touch Makefile.in</userinput></screen>-->
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
 
     <note>
       <para>In the past, many bugs were found in this patch. When reporting new
@@ -95,7 +88,7 @@ sed -i '/tests\/misc\/sort.pl/ d' Makefile.in</userinput></screen>
 
     <para>Compile the package:</para>
 
-<screen><userinput remap="make">make</userinput></screen>
+<screen><userinput remap="make">FORCE_UNSAFE_CONFIGURE=1 make</userinput></screen>
 
     <para>Skip down to <quote>Install the
     package</quote> if not running the test suite.</para>

+ 2 - 2
general.ent

@@ -1,7 +1,7 @@
-<!ENTITY version         "SVN-20160117">
+<!ENTITY version         "SVN-20160124">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;. Change to x.y for release 
                                       but not -rc releases -->
-<!ENTITY releasedate     "January 17, 2016">
+<!ENTITY releasedate     "January 24, 2016">
 <!ENTITY copyrightdate   "1999-2016"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.9">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 3 - 3
packages.ent

@@ -95,10 +95,10 @@
 <!ENTITY check-ch5-du "10 MB">
 <!ENTITY check-ch5-sbu "0.1 SBU">
 
-<!ENTITY coreutils-version "8.24">
-<!ENTITY coreutils-size "5,518 KB">
+<!ENTITY coreutils-version "8.25">
+<!ENTITY coreutils-size "5,591 KB">
 <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.xz">
-<!ENTITY coreutils-md5 "40efdbce865d2458d8da0a9dcee7c16c">
+<!ENTITY coreutils-md5 "070e43ba7f618d747414ef56ab248a48">
 <!ENTITY coreutils-home "&gnu-software;coreutils/">
 <!ENTITY coreutils-ch5-du "132 MB">
 <!ENTITY coreutils-ch5-sbu "0.7 SBU">

+ 2 - 2
patches.ent

@@ -15,8 +15,8 @@
 <!ENTITY bzip2-docs-patch-size "1.6 KB">
 
 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
-<!ENTITY coreutils-i18n-patch-md5 "c6a5ccda1ca61de7c93b09d27a9a26d5">
-<!ENTITY coreutils-i18n-patch-size "141 KB">
+<!ENTITY coreutils-i18n-patch-md5 "7f871078956b20d4745fc197eb6ad3c5">
+<!ENTITY coreutils-i18n-patch-size "172 KB">
 
 <!ENTITY glibc-upstream-patch "glibc-&glibc-version;-upstream_i386_fix-1.patch">
 <!ENTITY glibc-upstream-patch-md5 "cfb3cb46074a833ac5729be79e4f2592">