Tue Jan 6 14:12:45 2015 UTC ()
Increase buffer size to avoid overflow found in
http://seclists.org/oss-sec/2014/q4/497

Bump PKGREVISION.


(wiz)
diff -r1.87 -r1.88 pkgsrc/archivers/unzip/Makefile
diff -r1.25 -r1.26 pkgsrc/archivers/unzip/distinfo
diff -r0 -r1.1 pkgsrc/archivers/unzip/patches/patch-list.c

cvs diff -r1.87 -r1.88 pkgsrc/archivers/unzip/Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/unzip/Makefile 2014/12/25 16:48:33 1.87
+++ pkgsrc/archivers/unzip/Makefile 2015/01/06 14:12:45 1.88
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.87 2014/12/25 16:48:33 wiz Exp $ 1# $NetBSD: Makefile,v 1.88 2015/01/06 14:12:45 wiz Exp $
2 2
3DISTNAME= unzip60 3DISTNAME= unzip60
4PKGNAME= unzip-6.0 4PKGNAME= unzip-6.0
5PKGREVISION= 2 5PKGREVISION= 3
6CATEGORIES= archivers 6CATEGORIES= archivers
7MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/ 7MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/
8EXTRACT_SUFX= .tgz 8EXTRACT_SUFX= .tgz
9 9
10MAINTAINER= wiz@NetBSD.org 10MAINTAINER= wiz@NetBSD.org
11HOMEPAGE= http://www.info-zip.org/UnZip.html 11HOMEPAGE= http://www.info-zip.org/UnZip.html
12COMMENT= List, test and extract compressed files in a ZIP archive 12COMMENT= List, test and extract compressed files in a ZIP archive
13LICENSE= info-zip 13LICENSE= info-zip
14 14
15REPLACE_SH= unix/zipgrep 15REPLACE_SH= unix/zipgrep
16 16
17USE_TOOLS+= gmake 17USE_TOOLS+= gmake
18 18

cvs diff -r1.25 -r1.26 pkgsrc/archivers/unzip/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/unzip/distinfo 2014/12/25 16:48:33 1.25
+++ pkgsrc/archivers/unzip/distinfo 2015/01/06 14:12:45 1.26
@@ -1,11 +1,12 @@ @@ -1,11 +1,12 @@
1$NetBSD: distinfo,v 1.25 2014/12/25 16:48:33 wiz Exp $ 1$NetBSD: distinfo,v 1.26 2015/01/06 14:12:45 wiz Exp $
2 2
3SHA1 (unzip60.tgz) = abf7de8a4018a983590ed6f5cbd990d4740f8a22 3SHA1 (unzip60.tgz) = abf7de8a4018a983590ed6f5cbd990d4740f8a22
4RMD160 (unzip60.tgz) = 48af66606e9472e45fbb94bc4e285da23d1b89ba 4RMD160 (unzip60.tgz) = 48af66606e9472e45fbb94bc4e285da23d1b89ba
5Size (unzip60.tgz) = 1376845 bytes 5Size (unzip60.tgz) = 1376845 bytes
6SHA1 (patch-ab) = 672635c469e0a53ac9808f8155ee38643a8acf69 6SHA1 (patch-ab) = 672635c469e0a53ac9808f8155ee38643a8acf69
7SHA1 (patch-ac) = 27b91401d4d5ecc3842c91dc49c08f42c8646154 7SHA1 (patch-ac) = 27b91401d4d5ecc3842c91dc49c08f42c8646154
8SHA1 (patch-extract.c) = 8dda32c31226129464b9ef85c62051acded4642e 8SHA1 (patch-extract.c) = 8dda32c31226129464b9ef85c62051acded4642e
9SHA1 (patch-fileio.c) = 910ddb3b847cae92326697a399234b2948555534 9SHA1 (patch-fileio.c) = 910ddb3b847cae92326697a399234b2948555534
 10SHA1 (patch-list.c) = 7aa261ecef5e5cc14ad387070560730ff419d635
10SHA1 (patch-process.c) = d6e6ed05ef7c2977353e848d9e9cba2877577812 11SHA1 (patch-process.c) = d6e6ed05ef7c2977353e848d9e9cba2877577812
11SHA1 (patch-unix_unxcfg.h) = b2831f38b2245dacedd4eb2eef12ee1e3cf20613 12SHA1 (patch-unix_unxcfg.h) = b2831f38b2245dacedd4eb2eef12ee1e3cf20613

File Added: pkgsrc/archivers/unzip/patches/patch-list.c
$NetBSD: patch-list.c,v 1.1 2015/01/06 14:12:45 wiz Exp $

Big-hammer fix for
http://seclists.org/oss-sec/2014/q4/497

--- list.c.orig	2009-02-08 17:11:34.000000000 +0000
+++ list.c
@@ -116,7 +116,7 @@ int list_files(__G)    /* return PK-type
     ulg acl_size, tot_aclsize=0L, tot_aclfiles=0L;
 #endif
     min_info info;
-    char methbuf[8];
+    char methbuf[80];
     static ZCONST char dtype[]="NXFS";  /* see zi_short() */
     static ZCONST char Far method[NUM_METHODS+1][8] =
         {"Stored", "Shrunk", "Reduce1", "Reduce2", "Reduce3", "Reduce4",