Author: alexander
Date: 2007-10-12 09:29:45 -0600 (Fri, 12 Oct 2007)
New Revision: 2107

Modified:
   trunk/packages/unzip/Makefile
Log:
Unzip security fix.
The locale issue will remain unfixed, because there is no good patch.


Modified: trunk/packages/unzip/Makefile
===================================================================
--- trunk/packages/unzip/Makefile       2007-10-11 05:41:39 UTC (rev 2106)
+++ trunk/packages/unzip/Makefile       2007-10-12 15:29:45 UTC (rev 2107)
@@ -8,6 +8,10 @@
 URL-$(FILE)= $(HTTPBLFS)/$(NM)/$(FILE)
 SHA-$(FILE)= d3d0b410f51b98dae3b056b5e9768fccb1402beb
 
+PATCH1= $(DIR)-security_fix-1.patch
+URL-$(PATCH1)= $(HTTPBLFS)/$(NM)/$(PATCH1)
+SHA-$(PATCH1)= 7f6a287c0b480bc4748abdf69429dfc76383e1d6
+
 # Targets
 
 include $(ROOT)/scripts/functions
@@ -16,10 +20,11 @@
        chroot "$(MP)" $(chenv-blfs) \
        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2: Makefile $(FILE)
+stage2: Makefile $(FILE) $(PATCH1)
        $(std_build)
 
 compile-stage2:
+       patch -Np1 -i ../$(PATCH1)
 ifeq ($(CD_ARCH),x86)
        make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux
 else

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to