Index: head/archivers/zip/Makefile =================================================================== --- head/archivers/zip/Makefile (revision 122918) +++ head/archivers/zip/Makefile (revision 122919) @@ -1,39 +1,39 @@ # New ports collection makefile for: zip # ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html # Date created: 22 Dec 1994 # Whom: ache # # $FreeBSD$ # PORTNAME= zip PORTVERSION= 2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= ftp://ftp.uu.net/pub/archiving/zip/src/ \ ${MASTER_SITE_TEX_CTAN:S,%SUBDIR%,tools/zip/info-zip/src/,} DISTFILES= zip23${EXTRACT_SUFX} ${ZCRYPT_SRC} EXTRACT_ONLY= zip23${EXTRACT_SUFX} MAINTAINER= ache@FreeBSD.org COMMENT= Create/update ZIP files compatible with pkzip EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip ZCRYPT_SRC= zcrypt29-exportable.zip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKEFILE= unix/Makefile MAKE_FLAGS= LOCAL_ZIP="-DUSE_CRYPT" -f ALL_TARGET= generic MAN1= zip.1 post-extract: unzip -q -aa -o ${_DISTDIR}${ZCRYPT_SRC} -d ${WRKSRC} -x WHERE do-install: .for file in zip zipcloak zipnote zipsplit ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/man/zip.1 ${PREFIX}/man/man1 .include Property changes on: head/archivers/zip/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.29 \ No newline at end of property +1.30 \ No newline at end of property Index: head/archivers/zip/files/patch-over =================================================================== --- head/archivers/zip/files/patch-over (nonexistent) +++ head/archivers/zip/files/patch-over (revision 122919) @@ -0,0 +1,25 @@ +--- zip-2.3/unix/unix.c.orig 2004-11-05 15:44:41.000000000 -0500 ++++ unix/unix.c 2004-11-05 15:50:28.000000000 -0500 +@@ -319,8 +319,8 @@ iztimes *t; /* return value: + a file size of -1 */ + { + struct stat s; /* results of stat() */ +- char name[FNMAX]; +- int len = strlen(f); ++ char *name; ++ size_t len = strlen(f); + + if (f == label) { + if (a != NULL) +@@ -331,6 +331,11 @@ iztimes *t; /* return value: + t->atime = t->mtime = t->ctime = label_utim; + return label_time; + } ++ ++ name = malloc(len+1); ++ if (!name) ++ return 0; ++ + strcpy(name, f); + if (name[len - 1] == '/') + name[len - 1] = '\0'; Property changes on: head/archivers/zip/files/patch-over ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property