pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libextractor another one afeected by the recent ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bc1c699f9bc
branches:  trunk
changeset: 488289:6bc1c699f9bc
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu Jan 27 12:27:47 2005 +0000

description:
another one afeected by the recent xpdf security problem;
apply a similar patch
bump PKGREVISION
(there is a 0.4.1 according to freshmeat, but I can't find it)

diffstat:

 devel/libextractor/Makefile         |   3 ++-
 devel/libextractor/distinfo         |   3 ++-
 devel/libextractor/patches/patch-ad |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 65646cfa442f -r 6bc1c699f9bc devel/libextractor/Makefile
--- a/devel/libextractor/Makefile       Thu Jan 27 12:01:08 2005 +0000
+++ b/devel/libextractor/Makefile       Thu Jan 27 12:27:47 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2004/11/29 02:25:26 tv Exp $
+# $NetBSD: Makefile,v 1.4 2005/01/27 12:27:47 drochner Exp $
 #
 
 DISTNAME=              libextractor-0.3.11
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          http://ovmj.org/libextractor/download/
 
diff -r 65646cfa442f -r 6bc1c699f9bc devel/libextractor/distinfo
--- a/devel/libextractor/distinfo       Thu Jan 27 12:01:08 2005 +0000
+++ b/devel/libextractor/distinfo       Thu Jan 27 12:27:47 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2004/11/29 02:25:26 tv Exp $
+$NetBSD: distinfo,v 1.3 2005/01/27 12:27:47 drochner Exp $
 
 SHA1 (libextractor-0.3.11.tar.gz) = 8b4e04121764f2221d162a7bf9c751fd15c7a5da
 Size (libextractor-0.3.11.tar.gz) = 5766585 bytes
 SHA1 (patch-aa) = e3c770fd3a0cc918cf1f05f79cb1a148dd928533
 SHA1 (patch-ab) = 3d8cf383a9edf340b6289cb2b4fa98e3029efdef
 SHA1 (patch-ac) = ddc548f3252f4ddb13df5777518092721f03f594
+SHA1 (patch-ad) = 1b8f99cd823c20dd134aedf6914f00019e3bda76
diff -r 65646cfa442f -r 6bc1c699f9bc devel/libextractor/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libextractor/patches/patch-ad       Thu Jan 27 12:27:47 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2005/01/27 12:27:47 drochner Exp $
+
+--- src/plugins/pdf/XRef.cc.orig       2004-10-05 22:19:23.000000000 +0200
++++ src/plugins/pdf/XRef.cc
+@@ -757,6 +757,9 @@ GBool XRef::checkEncrypted(GString *owne
+       } else {
+         keyLength = 5;
+       }
++      if (keyLength > 16) {
++        keyLength = 16;
++      }
+       permFlags = permissions.getInt();
+       if (encVersion >= 1 && encVersion <= 2 &&
+           encRevision >= 2 && encRevision <= 3) {



Home | Main Index | Thread Index | Old Index