pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/cabextract Update to 1.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df6a92caf212
branches:  trunk
changeset: 482444:df6a92caf212
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 28 10:35:56 2004 +0000

description:
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:

 archivers/cabextract/Makefile         |   4 ++--
 archivers/cabextract/distinfo         |   7 ++++---
 archivers/cabextract/patches/patch-aa |  19 +++++++++++++++++++
 3 files changed, 25 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 944db2b3388a -r df6a92caf212 archivers/cabextract/Makefile
--- a/archivers/cabextract/Makefile     Thu Oct 28 10:32:23 2004 +0000
+++ b/archivers/cabextract/Makefile     Thu Oct 28 10:35:56 2004 +0000
@@ -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 -r 944db2b3388a -r df6a92caf212 archivers/cabextract/distinfo
--- a/archivers/cabextract/distinfo     Thu Oct 28 10:32:23 2004 +0000
+++ b/archivers/cabextract/distinfo     Thu Oct 28 10:35:56 2004 +0000
@@ -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 -r 944db2b3388a -r df6a92caf212 archivers/cabextract/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/cabextract/patches/patch-aa     Thu Oct 28 10:35:56 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index