- update cabextract to 1.2 (includes security fix wrt quantum compressed files)
- fix COMMENT - reformat DESCR from Wim Lewis, ok MAINTAINER some time ago
This commit is contained in:
parent
5552509e44
commit
a43320a166
@ -1,11 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2004/11/21 12:50:32 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2007/07/19 09:49:59 jasper Exp $
|
||||
|
||||
COMMENT= "Extracts files from Microsoft CAB archives"
|
||||
COMMENT= extracts files from Microsoft CAB archives
|
||||
|
||||
#
|
||||
# What port/package will be created
|
||||
#
|
||||
DISTNAME= cabextract-1.1
|
||||
DISTNAME= cabextract-1.2
|
||||
CATEGORIES= archivers
|
||||
|
||||
HOMEPAGE= http://www.kyz.uklinux.net/cabextract.php3
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (cabextract-1.1.tar.gz) = 9LcpwL59KIZg9PwWfeGZoQ==
|
||||
RMD160 (cabextract-1.1.tar.gz) = +JWkZtA8Wc1OmcIX+On0Cb8bC/w=
|
||||
SHA1 (cabextract-1.1.tar.gz) = NZyPTsnGLZ2sXVciabYHssrk+/c=
|
||||
SHA256 (cabextract-1.1.tar.gz) = Ms2sHiCZ63vhxJwmevTy3JLDCX2P2+PdCHzb46LAzI4=
|
||||
RMD160 (cabextract-1.2.tar.gz) = 55292e287047b14945e69b0be8ab9ff1d4902f71
|
||||
SHA1 (cabextract-1.2.tar.gz) = 871b3db4bc2629eb5726659c147aecea1af6a6d0
|
||||
SHA256 (cabextract-1.2.tar.gz) = ae9c860a74fcea109887b4cf5de8fce575ac14737571520b14b84816f17125eb
|
||||
SIZE (cabextract-1.2.tar.gz) = 194006
|
||||
SIZE (cabextract-1.1.tar.gz) = 187495
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-mempcpy_c,v 1.1 2004/10/23 15:54:42 robert Exp $
|
||||
--- mempcpy.c.orig Sat Oct 23 09:46:58 2004
|
||||
+++ mempcpy.c Sat Oct 23 09:47:11 2004
|
||||
@@ -29,7 +29,12 @@ Copies @var{length} bytes from memory re
|
||||
|
||||
*/
|
||||
|
||||
+#ifndef __OpenBSD__
|
||||
#include <ansidecl.h>
|
||||
+#else
|
||||
+#define PARAMS(ARGS) ARGS
|
||||
+#define PTR void *
|
||||
+#endif
|
||||
#ifdef ANSI_PROTOTYPES
|
||||
#include <stddef.h>
|
||||
#else
|
21
archivers/cabextract/patches/patch-mspack_cabd_c
Normal file
21
archivers/cabextract/patches/patch-mspack_cabd_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-mspack_cabd_c,v 1.1 2007/07/19 09:49:59 jasper Exp $
|
||||
--- mspack/cabd.c.orig Thu Sep 21 01:13:14 2006
|
||||
+++ mspack/cabd.c Thu Jul 19 11:37:31 2007
|
||||
@@ -703,7 +703,7 @@ static int cabd_find(struct mscab_decompressor_p *this
|
||||
/* if off_t is only 32-bits signed, there will be overflow problems
|
||||
* with cabinets reaching past the 2GB barrier (or just claiming to)
|
||||
*/
|
||||
-#if _FILE_OFFSET_BITS < 64
|
||||
+ if (sizeof(off_t) <= sizeof(uint32_t)) {
|
||||
if (cablen_u32 & ~0x7FFFFFFF) {
|
||||
sys->message(fh, largefile_msg);
|
||||
cablen_u32 = 0x7FFFFFFF;
|
||||
@@ -712,7 +712,7 @@ static int cabd_find(struct mscab_decompressor_p *this
|
||||
sys->message(fh, largefile_msg);
|
||||
foffset_u32 = 0x7FFFFFFF;
|
||||
}
|
||||
-#endif
|
||||
+ }
|
||||
/* copy the unsigned 32-bit offsets to signed off_t variables */
|
||||
foffset = (off_t) foffset_u32;
|
||||
cablen = (off_t) cablen_u32;
|
@ -1,5 +1,5 @@
|
||||
cabextract is Free Software for extracting Microsoft cabinet files, also called
|
||||
.CAB files, on UNIX or UNIX-like systems. cabextract is distributed under the
|
||||
GPL license. It is based on the portable LGPL libmspack library. cabextract
|
||||
supports all special features and all compression formats of Microsoft cabinet
|
||||
files.
|
||||
cabextract is Free Software for extracting Microsoft cabinet files, also
|
||||
called .CAB files, on UNIX or UNIX-like systems. cabextract is
|
||||
distributed under the GPL license. It is based on the portable LGPL
|
||||
libmspack library. cabextract supports all special features and all
|
||||
compression formats of Microsoft cabinet files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user