Ticket #2900: blfs-unzip_zip-wi.patch

File blfs-unzip_zip-wi.patch, 4.1 KB (added by willimm, 15 years ago)

Unzip update patch. Also adds that Zip 3.0 works on LFS 6.5.

  • general.ent

     
    215215<!ENTITY fcron-version                "3.0.4">
    216216<!ENTITY hdparm-version               "9.6">
    217217<!ENTITY which-version                "2.20">
    218 <!ENTITY unzip-version                "5.52">
     218<!ENTITY unzip-version                "6.0">
    219219<!ENTITY zip-version                  "3.0">
    220220<!ENTITY pciutils-version             "3.1.4">
    221221<!ENTITY usbutils-version             "0.84">
  • general/sysutils/zip.xml

     
    3333    <para>The <application>Zip</application> package contains
    3434    <application>Zip</application> utilities. These
    3535    are useful for compressing files into <filename>ZIP</filename> archives.</para>
     36   
     37    &lfs65_checked;
    3638
    3739    <bridgehead renderas="sect3">Package Information</bridgehead>
    3840    <itemizedlist spacing="compact">
  • general/sysutils/unzip.xml

     
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
    66
    7   <!ENTITY unzip-download-http "&sourceforge-repo;/infozip/unzip552.tar.gz">
     7  <!ENTITY unzip-download-http "&sourceforge-repo;/infozip/unzip60.tar.gz">
    88  <!-- <!ENTITY unzip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz"> -->
    99  <!-- <!ENTITY unzip-download-ftp  "ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz"> -->
    10   <!ENTITY unzip-download-ftp  "ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/src/unzip552.tar.gz">
    11   <!ENTITY unzip-md5sum        "9d23919999d6eac9217d1f41472034a9">
     10  <!ENTITY unzip-download-ftp  "ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/src/unzip60.tar.gz">
     11  <!ENTITY unzip-md5sum        "62b490407489521db863b523a7f86375">
    1212  <!ENTITY unzip-size          "1.1 MB">
    1313  <!ENTITY unzip-buildsize     "6.7 MB">
    1414  <!ENTITY unzip-time          "Less than 0.1 SBU">
     
    3737    <filename>ZIP</filename> archives are created with
    3838    <application>PKZIP</application> or <application>Info-ZIP</application>
    3939    utilities, primarily in a DOS environment.</para>
     40   
     41    &lfs65_checked;
    4042
    4143    <caution>
    4244      <para>The <application>UnZip</application> package has some locale
     
    7375    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    7476    <itemizedlist spacing='compact'>
    7577      <listitem>
    76         <para>Required patch: <ulink
    77         url="&patch-root;/unzip-&unzip-version;-security_fix-1.patch"/></para>
    78       </listitem>
    79       <listitem>
    80         <para>Required patch: <ulink
    81         url="&patch-root;/unzip-&unzip-version;-security_fix-2.patch"/></para>
    82       </listitem>
    83       <listitem>
    8478        <para>Optional patch: <ulink
    8579        url="&patch-root;/unzip-5.50-alt-iconv-v1.1.patch"/></para>
    8680      </listitem>
     
    9185
    9286  </sect2>
    9387
     88  <!-- TODO: I have not checked if this issue still exists with Unzip 6.0. -->
    9489  <sect2 id="unzip-locale-issues">
    9590    <title>UnZip Locale Issues</title>
    9691
     
    170165  <sect2 role="installation">
    171166    <title>Installation of UnZip</title>
    172167
    173     <para>Note that if you applied the patch described above for locale issues,
    174     the first required security patch will have some offsets.  Now install
    175     <application>UnZip</application> by running the following commands:</para>
     168    <para>Install <application>UnZip</application> by running the following commands:</para>
    176169
    177 <screen><userinput>patch -Np1 -i ../unzip-&unzip-version;-security_fix-1.patch &amp;&amp;
    178 patch -Np1 -i ../unzip-&unzip-version;-security_fix-2.patch &amp;&amp;
    179 make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux</userinput></screen>
     170<screen><userinput>make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux</userinput></screen>
    180171
    181172    <para>To test the results, issue: <command>make check</command>.</para>
    182173