pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q3]: pkgsrc/devel/chmlib Pullup ticket 858 - requested by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b029740409ce
branches:  pkgsrc-2005Q3
changeset: 499626:b029740409ce
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Oct 30 12:53:01 2005 +0000

description:
Pullup ticket 858 - requested by Thomas Klausner
security update for devel/chmlib

Revisions pulled up:
- pkgsrc/devel/chmlib/Makefile                                1.9
- pkgsrc/devel/chmlib/buildlink3.mk                           1.4
- pkgsrc/devel/chmlib/distinfo                                1.7
- pkgsrc/devel/chmlib/patches/patch-aa                        1.6
- pkgsrc/devel/chmlib/patches/patch-ab                        1.1

   Module Name: pkgsrc
   Committed By:        wiz
   Date:                Fri Oct 28 16:00:50 UTC 2005

   Modified Files:
        pkgsrc/devel/chmlib: Makefile buildlink3.mk distinfo
        pkgsrc/devel/chmlib/patches: patch-aa

   Log Message:
   Update to 0.37.3:

   Another stack overflow has been fixed, this one reported by Sven Tantau.
   The stack overflow is trivially exploitable to run arbitrary code.
   Additionally, the Makefile.in was fixed so that "make install" does the
   right thing. Previously, it was not working properly, and the examples
   would subsequently fail to build.
---
   Module Name: pkgsrc
   Committed By:        wiz
   Date:                Fri Oct 28 16:01:09 UTC 2005

   Added Files:
        pkgsrc/devel/chmlib/patches: patch-ab

   Log Message:
   Update to 0.37.3:

   Another stack overflow has been fixed, this one reported by Sven Tantau.
   The stack overflow is trivially exploitable to run arbitrary code.
   Additionally, the Makefile.in was fixed so that "make install" does the
   right thing. Previously, it was not working properly, and the examples
   would subsequently fail to build.

diffstat:

 devel/chmlib/Makefile         |   7 ++++---
 devel/chmlib/buildlink3.mk    |   4 ++--
 devel/chmlib/distinfo         |  11 ++++++-----
 devel/chmlib/patches/patch-aa |   4 ++--
 devel/chmlib/patches/patch-ab |  25 +++++++++++++++++++++++++
 5 files changed, 39 insertions(+), 12 deletions(-)

diffs (100 lines):

diff -r bdd2c9f2a22c -r b029740409ce devel/chmlib/Makefile
--- a/devel/chmlib/Makefile     Wed Oct 26 04:37:40 2005 +0000
+++ b/devel/chmlib/Makefile     Sun Oct 30 12:53:01 2005 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2005/09/12 14:49:10 minskim Exp $
+# $NetBSD: Makefile,v 1.8.2.1 2005/10/30 12:53:01 seb Exp $
 #
 
-DISTNAME=      chmlib-0.36
+DISTNAME=      chmlib-0.37.3
 CATEGORIES=    devel
 MASTER_SITES=  http://66.93.236.84/%7Ejedwin/projects/chmlib/
-EXTRACT_SUFX=  .tgz
+EXTRACT_SUFX=  .tbz
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 HOMEPAGE=      http://66.93.236.84/%7Ejedwin/projects/chmlib/
@@ -12,6 +12,7 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
+WRKSRC=                        ${WRKDIR}/chmlib-0.37
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake
 USE_LIBTOOL=           yes
diff -r bdd2c9f2a22c -r b029740409ce devel/chmlib/buildlink3.mk
--- a/devel/chmlib/buildlink3.mk        Wed Oct 26 04:37:40 2005 +0000
+++ b/devel/chmlib/buildlink3.mk        Sun Oct 30 12:53:01 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2005/09/12 14:49:10 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.3.2.1 2005/10/30 12:53:01 seb 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.36
+BUILDLINK_RECOMMENDED.chmlib+= chmlib>=0.37.3
 BUILDLINK_PKGSRCDIR.chmlib?=   ../../devel/chmlib
 .endif # CHMLIB_BUILDLINK3_MK
 
diff -r bdd2c9f2a22c -r b029740409ce devel/chmlib/distinfo
--- a/devel/chmlib/distinfo     Wed Oct 26 04:37:40 2005 +0000
+++ b/devel/chmlib/distinfo     Sun Oct 30 12:53:01 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/09/12 14:49:10 minskim Exp $
+$NetBSD: distinfo,v 1.6.2.1 2005/10/30 12:53:01 seb Exp $
 
-SHA1 (chmlib-0.36.tgz) = de4973f6f8807736b6979ac3f60593d9d3f00f22
-RMD160 (chmlib-0.36.tgz) = 6ca826d322a9cc8e4a55ea73a32dbdd873bb2f04
-Size (chmlib-0.36.tgz) = 369830 bytes
-SHA1 (patch-aa) = 221c455ae2b72265ac7e33604696e91fea6eb6b4
+SHA1 (chmlib-0.37.3.tbz) = 4f660f43b0936bbafc948ec287479b1430a30062
+RMD160 (chmlib-0.37.3.tbz) = 90d57aff75d98134d8415874388ac6a11cc23fd9
+Size (chmlib-0.37.3.tbz) = 260917 bytes
+SHA1 (patch-aa) = c4a7c21e8ae0cb097e9225cdf7e099395c5ed331
+SHA1 (patch-ab) = 37b1203768c67af14af8fa180b36e02f228488b1
diff -r bdd2c9f2a22c -r b029740409ce devel/chmlib/patches/patch-aa
--- a/devel/chmlib/patches/patch-aa     Wed Oct 26 04:37:40 2005 +0000
+++ b/devel/chmlib/patches/patch-aa     Sun Oct 30 12:53:01 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2005/09/12 14:49:10 minskim Exp $
+$NetBSD: patch-aa,v 1.5.2.1 2005/10/30 12:53:01 seb Exp $
 
---- src/chm_lib.c.orig 2005-09-09 05:42:27.000000000 -0700
+--- src/chm_lib.c.orig 2005-10-26 14:17:50.000000000 +0200
 +++ src/chm_lib.c
 @@ -182,8 +182,14 @@ typedef unsigned long           UInt64;
  
diff -r bdd2c9f2a22c -r b029740409ce devel/chmlib/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/patches/patch-ab     Sun Oct 30 12:53:01 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.2.2.2 2005/10/30 12:53:01 seb Exp $
+
+--- Makefile.in.orig   2005-10-27 14:04:34.000000000 +0200
++++ Makefile.in
+@@ -11,6 +11,7 @@
+ CFLAGS=@CFLAGS@ @CHM_MT@ @CHM_USE_PREAD@ @CHM_USE_IO64@ @DMALLOC_DISABLE@ 
+ LDFLAGS=@LDFLAGS@
+ prefix=@prefix@
++exec_prefix=@exec_prefix@
+ libdir=@libdir@
+ includedir=@includedir@
+ CC=@CC@
+@@ -35,11 +36,8 @@ src/libchm.la: src/chm_lib.lo src/lzx.lo
+ install: src/libchm.la
+       chmod a+r src/libchm.la
+       mkdir -p $(DESTDIR)$(prefix) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+-      install -m0755 src/libchm.la $(DESTDIR)$(libdir)/
++      ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} src/libchm.la $(DESTDIR)$(libdir)/
+       install -m0644 $(srcdir)/src/chm_lib.h $(DESTDIR)$(includedir)/
+-      install -m0755 src/.libs/libchm.so.0.0.0 $(DESTDIR)$(libdir)/
+-      ln -s $(libdir)/libchm.so.0.0.0 $(DESTDIR)$(libdir)/libchm.so
+-      ln -s $(libdir)/libchm.so.0.0.0 $(DESTDIR)$(libdir)/libchm.so.0
+ 
+ clean:
+       rm -fr src/libchm.la src/*.o src/*.lo .libs src/.libs src/${EXAMPLES}



Home | Main Index | Thread Index | Old Index