ports/108799: ports/archivers/unzip doesn't work with files >2Gb in archives
George L. Yermulnik
yz at yz.kiev.ua
Mon Feb 5 12:40:43 UTC 2007
>Number: 108799
>Category: ports
>Synopsis: ports/archivers/unzip doesn't work with files >2Gb in archives
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 05 12:40:39 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: George L. Yermulnik
>Release: FreeBSD 4.11-STABLE
>Organization:
>Environment:
FreeBSD yz.iptelecom.net.ua 4.11-STABLE FreeBSD 4.11-STABLE #66: Thu Oct 19 19:13:39 EEST 2006 root at yz.iptelecom.net.ua:/usr/src/sys/compile/YZ i386
>Description:
ports/archivers/unzip doesn't work with files >2Gb in archives - when there's a file more than 2Gb in archive, unzip reports "File too large".
This can be fixed by adding "_FILE_OFFSET_BITS=64" to "CFLAGS" in ports/archivers/unzip/Makefile
>How-To-Repeat:
/usr/local/bin/unzip test.zip (which contains file >2Gb)
>Fix:
--- ports/archivers/unzip/Makefile.orig Mon Feb 5 14:32:30 2007
+++ ports/archivers/unzip/Makefile Mon Feb 5 14:32:32 2007
@@ -23,6 +23,8 @@
PORTDOCS= README WHERE
MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
+CFLAGS+= -D_FILE_OFFSET_BITS=64
+
.if defined(WITH_UNZIP_UNREDUCE)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} unreduce_full.zip
EXTRACT_ONLY= ${PORTNAME}552.tar.gz
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list