Просмотр исходного кода

Update to tar-1.17, fixes #2029.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8164 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat 18 лет назад
Родитель
Сommit
2e80ff192c
7 измененных файлов с 40 добавлено и 7 удалено
  1. 2 0
      chapter01/changelog.xml
  2. 3 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 8 0
      chapter05/tar.xml
  5. 7 0
      chapter06/tar.xml
  6. 7 7
      packages.ent
  7. 5 0
      patches.ent

+ 2 - 0
chapter01/changelog.xml

@@ -47,6 +47,8 @@
           <ulink url="&lfs-ticket-root;2028">#2028</ulink>.</para>
           <para>[ken] - Upgrade to findutils-4.2.31, fixes
           <ulink url="&lfs-ticket-root;2025">#2025</ulink>.</para>
+          <para>[ken] - Upgrade to tar-1.17, fixes
+          <ulink url="&lfs-ticket-root;2029">#2029</ulink>.</para>
 	</listitem>
       </itemizedlist>
     </listitem>

+ 3 - 0
chapter01/whatsnew.xml

@@ -219,6 +219,9 @@
     <listitem>
       <para>&readline-fixes-patch;</para>
     </listitem>
+    <listitem>
+      <para>&tar-sort-exclude-test-patch;</para>
+    </listitem>
     <listitem>
       <para>&util-linux-lseek-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -218,6 +218,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Tar Sort Exclude Test Patch - <token>&tar-sort-exclude-test-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&tar-sort-exclude-test-patch;"/></para>
+        <para>MD5 sum: <literal>&tar-sort-exclude-test-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Texinfo Multibyte Fixes Patch - <token>&texinfo-multibyte-patch-size;</token>:</term>
       <listitem>

+ 8 - 0
chapter05/tar.xml

@@ -37,6 +37,14 @@
   <sect2 role="installation">
     <title>Installation of Tar</title>
 
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../chapter06/tar.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../chapter06/tar.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
     <para>Prepare Tar for compilation:</para>
 
 <screen><userinput>./configure --prefix=/tools</userinput></screen>

+ 7 - 0
chapter06/tar.xml

@@ -34,6 +34,13 @@
   <sect2 role="installation">
     <title>Installation of Tar</title>
 
+    <para os="a">One of the tests in the testsuite (number 12, exclude) fails,
+    at least on recent linux systems, because the output needs to be sorted
+    before it is diffed. If you are going to run the testsuite, fix this by
+    applying the following patch before you configure: </para>
+
+<screen os="b"><userinput>patch -Np1 -i ../&tar-sort-exclude-test-patch;</userinput></screen>
+
     <para>Prepare Tar for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>

+ 7 - 7
packages.ent

@@ -454,15 +454,15 @@
 <!ENTITY sysvinit-ch6-du "1 MB">
 <!ENTITY sysvinit-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY tar-version "1.16.1">
-<!ENTITY tar-size "1,752 KB">
+<!ENTITY tar-version "1.17">
+<!ENTITY tar-size "1,839 KB">
 <!ENTITY tar-url "&gnu;tar/tar-&tar-version;.tar.bz2">
-<!ENTITY tar-md5 "d51593461c5ef1f7e37134f22338bb9e">
+<!ENTITY tar-md5 "c6c4f1c075dbf0f75c29737faa58f290">
 <!ENTITY tar-home "&gnu-software;tar/">
-<!ENTITY tar-ch5-du "13.7 MB">
-<!ENTITY tar-ch5-sbu "0.2 SBU">
-<!ENTITY tar-ch6-du "13.7 MB">
-<!ENTITY tar-ch6-sbu "0.2 SBU">
+<!ENTITY tar-ch5-du "19.9 MB">
+<!ENTITY tar-ch5-sbu "0.3 SBU">
+<!ENTITY tar-ch6-du "19.9 MB">
+<!ENTITY tar-ch6-sbu "0.3 SBU">
 
 <!ENTITY tcl-version "8.4.15">
 <!ENTITY tcl-size "3,549 KB">

+ 5 - 0
patches.ent

@@ -120,6 +120,11 @@
 <!ENTITY sysklogd-fixes-patch-size "32 KB">
 
 
+<!ENTITY tar-sort-exclude-test-patch "tar-&tar-version;-sort_exclude_test-1.patch">
+<!ENTITY tar-sort-exclude-test-patch-md5 "69326a1d462dad67db495a42854a93c7">
+<!ENTITY tar-sort-exclude-test-patch-size "3.1 KB">
+
+
 <!ENTITY texinfo-multibyte-patch "texinfo-&texinfo-version;-multibyte-1.patch">
 <!ENTITY texinfo-multibyte-patch-md5 "6cb5b760cfdd2dd53a0430eb572a8aaa">
 <!ENTITY texinfo-multibyte-patch-size "1.5 KB">