pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/chmlib Update chmlib to 0.36. This version incl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d41cfaef0f81
branches: trunk
changeset: 499170:d41cfaef0f81
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Sep 12 14:49:10 2005 +0000
description:
Update chmlib to 0.36. This version includes two security fixes.
Changes:
- Major security fix (iDEFENSE Security Advisory IDEF1099 - Stack Overflow
Vulnerability)
- Major security fix from Palasik Sandor (LZX decompression buffer overrun)
- Bugfix/enhancement from David Huseby to make the "what" flags to
chm_enumerate work correctly, and to pass the flags along to the callback
function (via the chmUnitInfo structure) so that the callback doesn't
need to re-parse the filename.
- Compilation fixes for x86-64 from Vitaly V. Bursov.
- Miscellaneous fixes to the configure script, including some significant
cleanup by Vadim Zeitlin. The changes from Vadim should also allow the
configure script to correctly configure the build on OS X, where it was
previously failing to note that pread64 doesn't work.
- Minor update to the Makefile.in to do a mkdir before the install, in case
the specified INSTALLPREFIX directory is non-existent
diffstat:
devel/chmlib/Makefile | 6 +++---
devel/chmlib/buildlink3.mk | 4 ++--
devel/chmlib/distinfo | 10 +++++-----
devel/chmlib/patches/patch-aa | 12 ++++++------
4 files changed, 16 insertions(+), 16 deletions(-)
diffs (79 lines):
diff -r a06fcbda6d02 -r d41cfaef0f81 devel/chmlib/Makefile
--- a/devel/chmlib/Makefile Mon Sep 12 13:42:21 2005 +0000
+++ b/devel/chmlib/Makefile Mon Sep 12 14:49:10 2005 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2005/05/22 20:07:49 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2005/09/12 14:49:10 minskim Exp $
#
-DISTNAME= chmlib-0.35
+DISTNAME= chmlib-0.36
CATEGORIES= devel
MASTER_SITES= http://66.93.236.84/%7Ejedwin/projects/chmlib/
-EXTRACT_SUFX= .tbz
+EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg%NetBSD.org@localhost
HOMEPAGE= http://66.93.236.84/%7Ejedwin/projects/chmlib/
diff -r a06fcbda6d02 -r d41cfaef0f81 devel/chmlib/buildlink3.mk
--- a/devel/chmlib/buildlink3.mk Mon Sep 12 13:42:21 2005 +0000
+++ b/devel/chmlib/buildlink3.mk Mon Sep 12 14:49:10 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/10/03 00:13:25 tv Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2005/09/12 14:49:10 minskim Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CHMLIB_BUILDLINK3_MK:= ${CHMLIB_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@
.if !empty(CHMLIB_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.chmlib+= chmlib>=0.31
-BUILDLINK_RECOMMENDED.chmlib+= chmlib>=0.31nb1
+BUILDLINK_RECOMMENDED.chmlib+= chmlib>=0.36
BUILDLINK_PKGSRCDIR.chmlib?= ../../devel/chmlib
.endif # CHMLIB_BUILDLINK3_MK
diff -r a06fcbda6d02 -r d41cfaef0f81 devel/chmlib/distinfo
--- a/devel/chmlib/distinfo Mon Sep 12 13:42:21 2005 +0000
+++ b/devel/chmlib/distinfo Mon Sep 12 14:49:10 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 22:24:11 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/09/12 14:49:10 minskim Exp $
-SHA1 (chmlib-0.35.tbz) = 645bd23e1e8b2e930b971524b1f3561c02ae1609
-RMD160 (chmlib-0.35.tbz) = 63f86fbb439557199acc883142dc12e409c41388
-Size (chmlib-0.35.tbz) = 264006 bytes
-SHA1 (patch-aa) = aeabc1b95b7925cd8e39ba6dd484428b7832e85a
+SHA1 (chmlib-0.36.tgz) = de4973f6f8807736b6979ac3f60593d9d3f00f22
+RMD160 (chmlib-0.36.tgz) = 6ca826d322a9cc8e4a55ea73a32dbdd873bb2f04
+Size (chmlib-0.36.tgz) = 369830 bytes
+SHA1 (patch-aa) = 221c455ae2b72265ac7e33604696e91fea6eb6b4
diff -r a06fcbda6d02 -r d41cfaef0f81 devel/chmlib/patches/patch-aa
--- a/devel/chmlib/patches/patch-aa Mon Sep 12 13:42:21 2005 +0000
+++ b/devel/chmlib/patches/patch-aa Mon Sep 12 14:49:10 2005 +0000
@@ -1,12 +1,11 @@
-$NetBSD: patch-aa,v 1.4 2004/12/19 04:53:08 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2005/09/12 14:49:10 minskim Exp $
---- src/chm_lib.c.orig 2004-06-28 20:42:38.000000000 -0400
+--- src/chm_lib.c.orig 2005-09-09 05:42:27.000000000 -0700
+++ src/chm_lib.c
-@@ -169,9 +169,13 @@ typedef unsigned long UInt32;
- typedef long long Int64;
- typedef unsigned long long UInt64;
+@@ -182,8 +182,14 @@ typedef unsigned long UInt64;
+
#else
--
+
-/* yielding an error is preferable to yielding incorrect behavior */
-#error "Please define the sized types for your platform in chm_lib.c"
+typedef unsigned char UChar;
@@ -16,6 +15,7 @@
+typedef u_int32_t UInt32;
+typedef int64_t Int64;
+typedef u_int64_t UInt64;
++
#endif
/* GCC */
Home |
Main Index |
Thread Index |
Old Index