diff options
author | minskim <minskim> | 2005-09-12 14:49:10 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-09-12 14:49:10 +0000 |
commit | 8610860b48fe31aa9dfeadf80c261988b00f1f22 (patch) | |
tree | 462519de4a332312e41ebdee97069eda4286838a /devel/chmlib | |
parent | 08091ddf5f3fa58b00ce4ed3712994cc6d9a8a55 (diff) | |
download | pkgsrc-8610860b48fe31aa9dfeadf80c261988b00f1f22.tar.gz |
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 (limited to 'devel/chmlib')
-rw-r--r-- | devel/chmlib/Makefile | 6 | ||||
-rw-r--r-- | devel/chmlib/buildlink3.mk | 4 | ||||
-rw-r--r-- | devel/chmlib/distinfo | 10 | ||||
-rw-r--r-- | devel/chmlib/patches/patch-aa | 12 |
4 files changed, 16 insertions, 16 deletions
diff --git a/devel/chmlib/Makefile b/devel/chmlib/Makefile index 786c82fb3b7..b30994d228d 100644 --- a/devel/chmlib/Makefile +++ b/devel/chmlib/Makefile @@ -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 HOMEPAGE= http://66.93.236.84/%7Ejedwin/projects/chmlib/ diff --git a/devel/chmlib/buildlink3.mk b/devel/chmlib/buildlink3.mk index 618c11cbaec..cbfba39d218 100644 --- a/devel/chmlib/buildlink3.mk +++ b/devel/chmlib/buildlink3.mk @@ -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 @@ BUILDLINK_PACKAGES+= chmlib .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 --git a/devel/chmlib/distinfo b/devel/chmlib/distinfo index 1958ecec295..f71388c77b9 100644 --- a/devel/chmlib/distinfo +++ b/devel/chmlib/distinfo @@ -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 --git a/devel/chmlib/patches/patch-aa b/devel/chmlib/patches/patch-aa index b3116e35b23..303b88040f2 100644 --- a/devel/chmlib/patches/patch-aa +++ b/devel/chmlib/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.4 2004/12/19 04:53:08 jlam Exp $ +typedef u_int32_t UInt32; +typedef int64_t Int64; +typedef u_int64_t UInt64; ++ #endif /* GCC */ |