summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordrochner <drochner>2005-01-27 12:27:47 +0000
committerdrochner <drochner>2005-01-27 12:27:47 +0000
commit188b38d1279bdebbad03dedb7bc7e782e7545a48 (patch)
tree76072f7b21d271061dc1c5db033ffee1782b8607 /devel
parent104fa3f1716b50d7a7ff2c4ef8a9447ae0adda88 (diff)
downloadpkgsrc-188b38d1279bdebbad03dedb7bc7e782e7545a48.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/libextractor/Makefile3
-rw-r--r--devel/libextractor/distinfo3
-rw-r--r--devel/libextractor/patches/patch-ad14
3 files changed, 18 insertions, 2 deletions
diff --git a/devel/libextractor/Makefile b/devel/libextractor/Makefile
index d727ee3101f..d8929f17bc4 100644
--- a/devel/libextractor/Makefile
+++ b/devel/libextractor/Makefile
@@ -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 --git a/devel/libextractor/distinfo b/devel/libextractor/distinfo
index 4e10f24c7a4..f67f2c2ae02 100644
--- a/devel/libextractor/distinfo
+++ b/devel/libextractor/distinfo
@@ -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 --git a/devel/libextractor/patches/patch-ad b/devel/libextractor/patches/patch-ad
new file mode 100644
index 00000000000..280f24cf2bc
--- /dev/null
+++ b/devel/libextractor/patches/patch-ad
@@ -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) {