Changes 9.20: * 7-Zip now supports LZMA2 compression method. * 7-Zip now can update solid .7z archives. * 7-Zip now supports XZ archives. * 7-Zip now supports PPMd compression in ZIP archives. * 7-Zip now can unpack NTFS, FAT, VHD, MBR, APM, SquashFS, CramFS, MSLZ archives. * 7-Zip now can unpack GZip, BZip2, LZMA, XZ and TAR archives from stdin. * 7-Zip now can unpack some TAR and ISO archives with incorrect headers. * 7-Zip now supports files that are larger than 8 GB in TAR archives. * NSIS and WIM support was improved. * Partial parsing for EXE resources, SWF and FLV. * The support for archives in installers was improved. * 7-Zip now can stores NTFS file timestamps to ZIP archives. * Speed optimizations in PPMd codec. * Speed optimizations in CRC calculation code for Intel's Atom CPUs. * New -scrc switch to calculate total CRC-32 during extracting / testing. * 7-Zip File Manager now doesn't use temp files to open nested archives stored without compression. * Disk fragmentation problem for ZIP archives created by 7-Zip was fixed. * Some bugs were fixed. * New localizations: Hindi, Gujarati, Sanskrit, Tatar, Uyghur, Kazakh. * Not in p7zip : Speed optimizations in AES code for Intel's 32nm CPUs.diff -r1.47 -r1.48 pkgsrc/archivers/p7zip/Makefile
(adam)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.47 2010/06/16 08:30:09 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.48 2011/03/14 12:36:42 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= p7zip_9.13_src_all | 3 | DISTNAME= p7zip_9.20_src_all | |
4 | PKGNAME= p7zip-9.13 | 4 | PKGNAME= p7zip-9.20 | |
5 | CATEGORIES= archivers | 5 | CATEGORIES= archivers | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=p7zip/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=p7zip/} | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= wiz@NetBSD.org | 9 | MAINTAINER= wiz@NetBSD.org | |
10 | HOMEPAGE= http://p7zip.sourceforge.net/ | 10 | HOMEPAGE= http://p7zip.sourceforge.net/ | |
11 | COMMENT= File archiver with high compression | 11 | COMMENT= File archiver with high compression | |
12 | LICENSE= gnu-lgpl-v2.1 AND unrar-license | 12 | LICENSE= gnu-lgpl-v2.1 AND unrar-license | |
13 | 13 | |||
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | 16 | |||
17 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ |
@@ -1,9 +1,8 @@ | @@ -1,9 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.38 2011/02/04 22:46:33 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.39 2011/03/14 12:36:42 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (p7zip_9.13_src_all.tar.bz2) = 81da0729561ce123c0a82656ec96a04ad5bfa522 | 3 | SHA1 (p7zip_9.20_src_all.tar.bz2) = c976df4543ea946a65bc3f5e3d4e9baa417e5f12 | |
4 | RMD160 (p7zip_9.13_src_all.tar.bz2) = beb9181330f4dfa75aa4f473c68a462c76b7ab19 | 4 | RMD160 (p7zip_9.20_src_all.tar.bz2) = ab7675c4ca87ce855acc05855328081c1b365d1c | |
5 | Size (p7zip_9.13_src_all.tar.bz2) = 3753579 bytes | 5 | Size (p7zip_9.20_src_all.tar.bz2) = 3836127 bytes | |
6 | SHA1 (patch-CPP_Common_DynamicBuffer.h) = 6f3696c39e418503975041019409850105192687 | |||
7 | SHA1 (patch-aa) = 6df31ad2f391b7f1b5220f05ff0142ee258a92e7 | 6 | SHA1 (patch-aa) = 6df31ad2f391b7f1b5220f05ff0142ee258a92e7 | |
8 | SHA1 (patch-ab) = fedaf15990d9c01bdefcd2a0bd9a740f965247b0 | 7 | SHA1 (patch-ab) = a9bd9ab50f6c2d5964de9b2c4e5d9d75e3c29b79 | |
9 | SHA1 (patch-ac) = f5f0acd488a7c524b692b5660042baa79f9937ce | 8 | SHA1 (patch-ac) = f5f0acd488a7c524b692b5660042baa79f9937ce |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: patch-ab,v 1.10 2009/06/08 05:54:51 adam Exp $ | 1 | $NetBSD: patch-ab,v 1.11 2011/03/14 12:36:43 adam Exp $ | |
2 | 2 | |||
3 | --- CPP/Windows/FileFind.cpp.orig 2009-06-03 19:40:16.000000000 +0200 | 3 | --- CPP/Windows/FileFind.cpp.orig 2009-06-03 19:40:16.000000000 +0200 | |
4 | +++ CPP/Windows/FileFind.cpp | 4 | +++ CPP/Windows/FileFind.cpp | |
5 | @@ -314,7 +314,8 @@ bool CFindFile::FindFirst(LPCSTR wildcar | 5 | @@ -311,7 +311,8 @@ bool CFindFile::FindFirst(LPCSTR wildcar | |
6 | } | 6 | } | |
7 | 7 | |||
8 | TRACEN((printf("CFindFile::FindFirst : closedir-2(dirp=%p)\n",_dirp))) | 8 | TRACEN((printf("CFindFile::FindFirst : closedir-2(dirp=%p)\n",_dirp))) | |
9 | - closedir(_dirp); | 9 | - closedir(_dirp); | |
10 | + if (_dirp) | 10 | + if (_dirp) | |
11 | + closedir(_dirp); | 11 | + closedir(_dirp); | |
12 | _dirp = 0; | 12 | _dirp = 0; | |
13 | SetLastError( ERROR_NO_MORE_FILES ); | 13 | SetLastError( ERROR_NO_MORE_FILES ); | |
14 | return false; | 14 | return false; |