Author: tushar
Date: 2006-01-17 20:24:46 -0700 (Tue, 17 Jan 2006)
New Revision: 5574
Modified:
trunk/BOOK/general/sysutils/unzip.xml
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Update unzip to allow files upto 4 GB
Modified: trunk/BOOK/general/sysutils/unzip.xml
===================================================================
--- trunk/BOOK/general/sysutils/unzip.xml 2006-01-18 01:44:31 UTC (rev
5573)
+++ trunk/BOOK/general/sysutils/unzip.xml 2006-01-18 03:24:46 UTC (rev
5574)
@@ -97,15 +97,15 @@
patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &&
patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &&
cp -v unix/Makefile . &&
-make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux &&
-make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz</userinput></screen>
+make prefix=/usr LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux &&
+make prefix=/usr LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64
linux_shlibz</userinput></screen>
<para>To test the results, issue: <command>LD_LIBRARY_PATH=$PWD
make check</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-<screen role="root"><userinput>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK
install &&
+<screen role="root"><userinput>make prefix=/usr install &&
cp -v -d libunzip.so* /usr/lib</userinput></screen>
</sect2>
@@ -113,16 +113,15 @@
<sect2 role="commands">
<title>Command Explanations</title>
- <para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>:
- This command overrides the <varname>prefix</varname> variable that is
- set to <filename class="directory">/usr/local</filename> in the
- <filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar>
- environment variable to instruct <application>UnZip</application> to use
- the shrinking algorithm based on the LZW compression
- algorithm, and builds the executables for a Linux system.
- The alternatives to 'linux' can be seen with a
- <command>make list</command> command.</para>
+ <para><parameter>linux</parameter>:
+ This target in the <filename>Makefile</filename> makes assumptions
+ that are useful for a Linux system when compiling the executables.
+ To obtain alternatives to this target, use <command>make
list</command></para>
+ <para><parameter>LOCAL_UNZIP=...</parameter>:
+ This sets the compilation flags to allow <application>UnZip</application>
+ to handle files upto 4 GB.</para>
+
<para><command>make ... linux_shlibz</command>: Build shared
<filename>libunzip</filename> and link <application>UnZip</application>
against it and <application>zlib</application>.</para>
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2006-01-18 01:44:31 UTC
(rev 5573)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2006-01-18 03:24:46 UTC
(rev 5574)
@@ -44,7 +44,11 @@
<para>January 17th, 2006</para>
<itemizedlist>
<listitem>
- <para>[bdubbs] - Added patch to clear selected environment variables.
+ <para>[tushar] - Modify unzip compilation to enable unzip to
+ unzip files upto 4 GB.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Added patch for sudo to clear selected environment
variables.
Submitted by archaic.</para>
</listitem>
<listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page