summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz>2004-10-28 10:35:56 +0000
committerwiz <wiz>2004-10-28 10:35:56 +0000
commitd3bc225bd00d783cdb18f0fb6d097d45ec1021db (patch)
tree21872c94495d72b280a7bf963e991726efdcd9dd /archivers
parent34de0dc867e3813c335f06318777153a2d0863d2 (diff)
downloadpkgsrc-d3bc225bd00d783cdb18f0fb6d097d45ec1021db.tar.gz
Update to 1.1:
* A security vulnerability has been fixed. If the files within a cabinet file include "../" in their filenames, this will be changed to "xx/", so cabinets cannot access the parent directory of where you want to extract them. * cabextract should now compile cleanly on AIX and Cygwin.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/cabextract/Makefile4
-rw-r--r--archivers/cabextract/distinfo7
-rw-r--r--archivers/cabextract/patches/patch-aa19
3 files changed, 25 insertions, 5 deletions
diff --git a/archivers/cabextract/Makefile b/archivers/cabextract/Makefile
index 172b21b77b9..aa595286a8f 100644
--- a/archivers/cabextract/Makefile
+++ b/archivers/cabextract/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2004/04/22 23:26:05 minskim Exp $
+# $NetBSD: Makefile,v 1.12 2004/10/28 10:35:56 wiz Exp $
#
-DISTNAME= cabextract-1.0
+DISTNAME= cabextract-1.1
CATEGORIES= archivers
MASTER_SITES= http://www.kyz.uklinux.net/downloads/
diff --git a/archivers/cabextract/distinfo b/archivers/cabextract/distinfo
index 3b825bf2a80..7c3c38083c1 100644
--- a/archivers/cabextract/distinfo
+++ b/archivers/cabextract/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2004/03/10 23:05:43 ben Exp $
+$NetBSD: distinfo,v 1.6 2004/10/28 10:35:56 wiz Exp $
-SHA1 (cabextract-1.0.tar.gz) = 789f2401fc62876a55cd9c9928fbe31589982b72
-Size (cabextract-1.0.tar.gz) = 189625 bytes
+SHA1 (cabextract-1.1.tar.gz) = 359c8f4ec9c62d9dac5d572269b607b2cae4fbf7
+Size (cabextract-1.1.tar.gz) = 187495 bytes
+SHA1 (patch-aa) = 4d36b50b1ca2dfd6f317dd0bcbc23523e1da70f2
diff --git a/archivers/cabextract/patches/patch-aa b/archivers/cabextract/patches/patch-aa
new file mode 100644
index 00000000000..ccaa44f2311
--- /dev/null
+++ b/archivers/cabextract/patches/patch-aa
@@ -0,0 +1,19 @@
+$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