diff options
author | ben <ben@pkgsrc.org> | 2006-09-23 13:02:17 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2006-09-23 13:02:17 +0000 |
commit | 1d272804aebd3587fd6ac3ca891fa8fa57cbbac7 (patch) | |
tree | 03f2f1d690e6b2d28e9c3c5da063f8f98aecf509 /archivers | |
parent | 3f2bb2b72cbda92c1992ce56c62d53e06880f8bb (diff) | |
download | pkgsrc-1d272804aebd3587fd6ac3ca891fa8fa57cbbac7.tar.gz |
Update cabextract to version 1.2. Notable changes include:
* The "-t" archive integrity checking option has been added. This was
requested by several users. cabextract can unpack cabinet files and give
you MD5 checksums of the files inside, without writing the unpacked
files to disk.
* Large files (more than 2 gigabytes) are now correctly searched for
cabinet files.
* A security vulnerability has been fixed. Files compressed with the
Quantum method, using a window size less than 32768 bytes, could cause
cabextract to write beyond the end of the window and cause a
segmentation fault. This fix also permits cabextract to unpack this type
of cabinet file (of which only one has been found in the wild) correctly.
* The unnecessary GNU source mempcpy.c, which caused compilation
failures on several systems, was removed.
* An off-by-one error introduced in 1.1's UTF-8 decoder was fixed. Files
with UTF-8 filenames can now be extracted. The UTF-8 decoder was also
upgraded to support the latest Unicode characer maps.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/cabextract/Makefile | 5 | ||||
-rw-r--r-- | archivers/cabextract/distinfo | 10 | ||||
-rw-r--r-- | archivers/cabextract/patches/patch-aa | 19 | ||||
-rw-r--r-- | archivers/cabextract/patches/patch-ab | 22 |
4 files changed, 6 insertions, 50 deletions
diff --git a/archivers/cabextract/Makefile b/archivers/cabextract/Makefile index 63470b814d9..1c883966571 100644 --- a/archivers/cabextract/Makefile +++ b/archivers/cabextract/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2006/02/05 23:08:03 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2006/09/23 13:02:17 ben Exp $ # -DISTNAME= cabextract-1.1 -PKGREVISION= 1 +DISTNAME= cabextract-1.2 CATEGORIES= archivers MASTER_SITES= http://www.kyz.uklinux.net/downloads/ diff --git a/archivers/cabextract/distinfo b/archivers/cabextract/distinfo index 77a2f7a3791..83b48cad904 100644 --- a/archivers/cabextract/distinfo +++ b/archivers/cabextract/distinfo @@ -1,7 +1,5 @@ -$NetBSD: distinfo,v 1.8 2005/02/23 14:45:22 agc Exp $ +$NetBSD: distinfo,v 1.9 2006/09/23 13:02:17 ben Exp $ -SHA1 (cabextract-1.1.tar.gz) = 359c8f4ec9c62d9dac5d572269b607b2cae4fbf7 -RMD160 (cabextract-1.1.tar.gz) = f895a466d03c59cd4e99c217f8e9f409bf1b0bfc -Size (cabextract-1.1.tar.gz) = 187495 bytes -SHA1 (patch-aa) = 4d36b50b1ca2dfd6f317dd0bcbc23523e1da70f2 -SHA1 (patch-ab) = 87d0089ebc1589c805b67d44675c78f1cc4ffc3b +SHA1 (cabextract-1.2.tar.gz) = 871b3db4bc2629eb5726659c147aecea1af6a6d0 +RMD160 (cabextract-1.2.tar.gz) = 55292e287047b14945e69b0be8ab9ff1d4902f71 +Size (cabextract-1.2.tar.gz) = 194006 bytes diff --git a/archivers/cabextract/patches/patch-aa b/archivers/cabextract/patches/patch-aa deleted file mode 100644 index ccaa44f2311..00000000000 --- a/archivers/cabextract/patches/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-aa,v 1.5 2004/10/28 10:35:56 wiz Exp $ - ---- mempcpy.c.orig 2004-07-16 16:07:01.000000000 +0200 -+++ mempcpy.c -@@ -29,7 +29,13 @@ Copies @var{length} bytes from memory re - - */ - --#include <ansidecl.h> -+#include <string.h> -+#ifndef PTR -+#define PTR void* -+#endif -+#ifndef PARAMS -+#define PARAMS(x) x -+#endif - #ifdef ANSI_PROTOTYPES - #include <stddef.h> - #else diff --git a/archivers/cabextract/patches/patch-ab b/archivers/cabextract/patches/patch-ab deleted file mode 100644 index c9ca3dbddeb..00000000000 --- a/archivers/cabextract/patches/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2004/10/29 14:31:27 tv Exp $ - ---- configure.orig Fri Oct 29 09:40:19 2004 -+++ configure -@@ -6608,7 +6608,7 @@ fi - - - -- -+if false; then - for ac_func in mempcpy - do - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -@@ -6717,7 +6717,7 @@ esac - - fi - done -- -+fi - - - ac_config_files="$ac_config_files Makefile cabextract.spec" |