aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy McMurchy <randy@linuxfromscratch.org>2008-10-05 22:34:54 +0000
committerRandy McMurchy <randy@linuxfromscratch.org>2008-10-05 22:34:54 +0000
commita5933e25fe92578b61010733e7e327d9f634ccdc (patch)
tree1f553fac768ea34171a8d42ed87dab04784b2343
parent7187e06b8be3120f47484d230d159180d690aa4c (diff)
Updated Coreutils to 6.12, thanks to William Immendorf for contributing a patch to add the mktemp program information to the Coreutils page
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8581 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter01/whatsnew.xml12
-rw-r--r--chapter03/patches.xml10
-rw-r--r--chapter05/coreutils.xml5
-rw-r--r--chapter06/coreutils.xml26
-rw-r--r--packages.ent14
-rw-r--r--patches.ent9
7 files changed, 61 insertions, 20 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 12e3ce1a6..ce1b6204d 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -41,6 +41,11 @@
<para>2008-10-05</para>
<itemizedlist>
<listitem>
+ <para>[randy] - Updated Coreutils to 6.12. Thanks to William
+ Immendorf for contributing a patch to add the mktemp program
+ information to the Coreutils page.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Updated the Bash Fixes patch to the -8 version.</para>
</listitem>
<listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 04fda3ec6..31c055a03 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -50,9 +50,9 @@
<!--<listitem>
<para>Bzip2 &bzip2-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Coreutils &coreutils-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>DejaGNU &dejagnu-version;</para>
</listitem>-->
@@ -219,6 +219,10 @@
</listitem>
<listitem>
+ <para>&coreutils-old-kernel-patch;</para>
+ </listitem>
+
+ <listitem>
<para>&db-fixes-patch;</para>
</listitem>
@@ -276,6 +280,10 @@
</listitem>
<listitem>
+ <para>coreutils-6.10-i18n-1.patch</para>
+ </listitem>
+
+ <listitem>
<para>db-4.5.29-fixes-1.patch</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 0854cbba8..3d51dcd73 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -58,12 +58,20 @@
</listitem>
</varlistentry>
- <varlistentry>
+ <!-- <varlistentry>
<term>Coreutils Internationalization Fixes Patch - <token>&coreutils-i18n-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>
<para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
</listitem>
+ </varlistentry> -->
+
+ <varlistentry>
+ <term>Coreutils Old Kernel Patch - <token>&coreutils-old-kernel-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&coreutils-old-kernel-patch;"/></para>
+ <para>MD5 sum: <literal>&coreutils-old-kernel-patch-md5;</literal></para>
+ </listitem>
</varlistentry>
<varlistentry>
diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml
index e763866ba..944aa730a 100644
--- a/chapter05/coreutils.xml
+++ b/chapter05/coreutils.xml
@@ -43,6 +43,11 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
+ <para>Coreutils sometimes fails to buld when using an old kernel so apply
+ a patch:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-old-kernel-patch;</userinput></screen>
+
<para>Prepare Coreutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools --enable-install-program=hostname</userinput></screen>
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index f89e607dc..b82d23293 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -48,22 +48,22 @@
<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
- <para>POSIX requires that programs from Coreutils recognize character
+ <para>Coreutils sometimes fails to buld when using an old kernel so apply
+ a patch:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-old-kernel-patch;</userinput></screen>
+
+ <!-- <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:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
- <para>In order for the tests added by this patch to pass, the permissions for
- the test file have to be changed:</para>
-
-<screen><userinput remap="pre">chmod +x tests/sort/sort-mb-tests</userinput></screen>
-
<note>
<para>In the past, many bugs were found in this patch. When reporting new
bugs to Coreutils maintainers, please check first if they are reproducible
without this patch.</para>
- </note>
+ </note> -->
<para>Now prepare Coreutils for compilation:</para>
@@ -148,7 +148,7 @@ mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env,
expand, expr, factor, false, fmt, fold, groups, head, hostid, hostname,
id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod,
- mv, nice, nl, nohup, od, paste, pathchk, pinky, pr, printenv, printf,
+ mktemp, mv, nice, nl, nohup, od, paste, pathchk, pinky, pr, printenv, printf,
ptx, pwd, readlink, rm, rmdir, seq, sha1sum, sha224sum, sha256sum,
sha384sum, sha512sum, shred, shuf, sleep, sort, split, stat, stty, sum,
sync, tac, tail, tee, test, touch, tr, true, tsort, tty, uname,
@@ -607,6 +607,16 @@ mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="mktemp">
+ <term><command>mktemp</command></term>
+ <listitem>
+ <para>Creates temporary files in a secure manner; it is used in scripts</para>
+ <indexterm zone="ch-system-coreutils mktemp">
+ <primary sortas="b-mktemp">mktemp</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="mv">
<term><command>mv</command></term>
<listitem>
diff --git a/packages.ent b/packages.ent
index fcbe066d1..fdbc7b665 100644
--- a/packages.ent
+++ b/packages.ent
@@ -72,15 +72,15 @@
<!ENTITY bzip2-ch6-du "6.5 MB">
<!ENTITY bzip2-ch6-sbu "less than 0.1 SBU">
-<!ENTITY coreutils-version "6.10">
-<!ENTITY coreutils-size "8,978 KB">
+<!ENTITY coreutils-version "6.12">
+<!ENTITY coreutils-size "9,001 KB">
<!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.gz">
-<!ENTITY coreutils-md5 "eca0de1bf7389694305d7e52cd76a472">
+<!ENTITY coreutils-md5 "2ca9ac69823dbd567b905a9e9f53c4f6">
<!ENTITY coreutils-home "&gnu-software;coreutils/">
-<!ENTITY coreutils-ch5-du "67.6 MB">
-<!ENTITY coreutils-ch5-sbu "0.5 SBU">
-<!ENTITY coreutils-ch6-du "72.4 MB">
-<!ENTITY coreutils-ch6-sbu "1.0 SBU">
+<!ENTITY coreutils-ch5-du "83 MB">
+<!ENTITY coreutils-ch5-sbu "0.7 SBU">
+<!ENTITY coreutils-ch6-du "89 MB testsuite included">
+<!ENTITY coreutils-ch6-sbu "1.7 SBU testsuite included">
<!ENTITY db-version "4.6.21">
<!ENTITY db-size "11,603 KB">
diff --git a/patches.ent b/patches.ent
index 217d1d70b..6c0eb1b0d 100644
--- a/patches.ent
+++ b/patches.ent
@@ -21,14 +21,19 @@
<!ENTITY bzip2-docs-patch-size "1.6 KB">
-<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
+<!-- <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
<!ENTITY coreutils-i18n-patch-md5 "791df67d25a45d846c1af4dadf2612c8">
-<!ENTITY coreutils-i18n-patch-size "102 KB">
+<!ENTITY coreutils-i18n-patch-size "102 KB"> -->
+
+<!ENTITY coreutils-old-kernel-patch "coreutils-&coreutils-version;-old_build_kernel-1.patch">
+<!ENTITY coreutils-old-kernel-patch-md5 "5e8622abe6c6d81901b910383c6fb611">
+<!ENTITY coreutils-old-kernel-patch-size "3.3 KB">
<!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch">
<!ENTITY coreutils-uname-patch-md5 "c05b735710fbd62239588c07084852a0">
<!ENTITY coreutils-uname-patch-size "4.6 KB">
+
<!ENTITY db-fixes-patch "db-&db-version;-fixes-1.patch">
<!ENTITY db-fixes-patch-md5 "0e1f3a1db6c3ab10f79c4d6dff0c8f31">
<!ENTITY db-fixes-patch-size "2.3 KB">