Ver Fonte

Upgrade to Gzip-1.3.10. Fixes #1924.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7898 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess há 18 anos atrás
pai
commit
b8913f423c
7 ficheiros alterados com 16 adições e 39 exclusões
  1. 4 0
      chapter01/changelog.xml
  2. 5 2
      chapter01/whatsnew.xml
  3. 0 8
      chapter03/patches.xml
  4. 2 1
      chapter05/gzip.xml
  5. 2 20
      chapter06/gzip.xml
  6. 3 3
      packages.ent
  7. 0 5
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <para>2007-01-31</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Upgrade to Gzip-1.3.10. Fixes
+          <ulink url="&lfs-ticket-root;1924">#1924</ulink></para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Gettext-0.16.1. Fixes
           <ulink url="&lfs-ticket-root;1925">#1925</ulink></para>

+ 5 - 2
chapter01/whatsnew.xml

@@ -88,9 +88,9 @@
     <!--<listitem>
       <para>GRUB &grub-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Gzip &gzip-version;</para>
-    </listitem>-->
+    </listitem>
     <listitem>
       <para>IANA-Etc &iana-etc-version;</para>
     </listitem>
@@ -236,6 +236,9 @@
     <listitem>
       <para>glibc-2.3.6-linux_types-1.patch</para>
     </listitem>
+    <listitem>
+      <para>gzip-1.3.5-security_fixes-1.patch</para>
+    </listitem>
     <listitem>
       <para>inetutils-gcc4_fixes-3.patch</para>
     </listitem>

+ 0 - 8
chapter03/patches.xml

@@ -114,14 +114,6 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
-      <term>Gzip Security Patch - <token>&gzip-security_fix-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink url="&patches-root;&gzip-security_fix-patch;"/></para>
-        <para>MD5 sum: <literal>&gzip-security_fix-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
     <varlistentry>
       <term>Inetutils No-Server-Man-Pages Patch - <token>&inetutils-man_pages-patch-size;</token>:</term>
       <listitem>

+ 2 - 1
chapter05/gzip.xml

@@ -45,7 +45,8 @@
 
 <screen><userinput>make</userinput></screen>
 
-    <para>This package does not come with a test suite.</para>
+    <para>To test the results, issue:
+    <userinput>make check</userinput>.</para>
 
     <para>Install the package:</para>
 

+ 2 - 20
chapter06/gzip.xml

@@ -35,34 +35,16 @@
   <sect2 role="installation">
     <title>Installation of Gzip</title>
 
-    <para>Gzip has 2 known security vulnerabilities.  The following patch
-    addresses both of them:</para>
-
-<screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
-
-    <para>The <command>gzexe</command> command calls <command>tail</command>
-    with options that do not conform to newer versions of the POSIX standard,
-    and therefore are not accepted by current versions of Coreutils. Fix this
-    problem by issuing the following command:</para>
-
-<screen><userinput>sed -i 's/tail +/tail -n +/' gzexe.in</userinput></screen>
-
     <para>Prepare Gzip for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>
 
-    <para>The <command>gzexe</command> script has the location of the
-    <command>gzip</command> binary hard-wired into it. Because the
-    location of the binary is changed later, the following command ensures
-    that the new location gets placed into the script:</para>
-
-<screen><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
-
     <para>Compile the package:</para>
 
 <screen><userinput>make</userinput></screen>
 
-    <para>This package does not come with a test suite.</para>
+    <para>To test the results, issue:
+    <userinput>make check</userinput>.</para>
 
     <para>Install the package:</para>
 

+ 3 - 3
packages.ent

@@ -231,10 +231,10 @@
 <!ENTITY grub-ch6-du "10.2 MB">
 <!ENTITY grub-ch6-sbu "0.2 SBU">
 
-<!ENTITY gzip-version "1.3.5">
-<!ENTITY gzip-size "324 KB">
+<!ENTITY gzip-version "1.3.10">
+<!ENTITY gzip-size "417 KB">
 <!ENTITY gzip-url "&alpha-gnu;gzip/gzip-&gzip-version;.tar.gz">
-<!ENTITY gzip-md5 "3d6c191dfd2bf307014b421c12dc8469">
+<!ENTITY gzip-md5 "8b6f74a5060f984dceb0fee877aed854">
 <!ENTITY gzip-home "http://www.gzip.org/">
 <!ENTITY gzip-ch5-du "2.2 MB">
 <!ENTITY gzip-ch5-sbu "less than 0.1 SBU">

+ 0 - 5
patches.ent

@@ -58,11 +58,6 @@
 <!ENTITY grub-geometry-patch-size "28 KB">
 
 
-<!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch">
-<!ENTITY gzip-security_fix-patch-md5 "f107844f01fc49446654ae4a8f8a0728">
-<!ENTITY gzip-security_fix-patch-size "2 KB">
-
-
 <!ENTITY inetutils-man_pages-patch "inetutils-&inetutils-version;-no_server_man_pages-2.patch">
 <!ENTITY inetutils-man_pages-patch-md5 "ec83aa00fb111f6f9d9aca04de9cb753">
 <!ENTITY inetutils-man_pages-patch-size "5.3 KB">