pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups apply the last xpdf security patch to the e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/491561c784e9
branches:  trunk
changeset: 487724:491561c784e9
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Jan 19 11:03:23 2005 +0000

description:
apply the last xpdf security patch to the embedded pdftops filter
which is based on xpdf, bump PKGREVISUIN

diffstat:

 print/cups/Makefile         |   3 ++-
 print/cups/distinfo         |   3 ++-
 print/cups/patches/patch-au |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r f1b71b462090 -r 491561c784e9 print/cups/Makefile
--- a/print/cups/Makefile       Wed Jan 19 10:04:43 2005 +0000
+++ b/print/cups/Makefile       Wed Jan 19 11:03:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2005/01/14 05:15:39 jlam Exp $
+# $NetBSD: Makefile,v 1.88 2005/01/19 11:03:23 drochner Exp $
 #
 # The CUPS author is very good about taking back changes into the main
 # CUPS distribution.  The correct place to send patches or bug-fixes is:
@@ -6,6 +6,7 @@
 
 DISTNAME=      cups-${DIST_VERS}-source
 PKGNAME=       cups-${VERS}
+PKGREVISION=   1
 BASE_VERS=     1.1.23
 DIST_VERS=     ${BASE_VERS}
 VERS=          ${DIST_VERS:S/-/./g}
diff -r f1b71b462090 -r 491561c784e9 print/cups/distinfo
--- a/print/cups/distinfo       Wed Jan 19 10:04:43 2005 +0000
+++ b/print/cups/distinfo       Wed Jan 19 11:03:23 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2005/01/06 18:22:29 jlam Exp $
+$NetBSD: distinfo,v 1.29 2005/01/19 11:03:23 drochner Exp $
 
 SHA1 (cups-1.1.23-source.tar.bz2) = 32d5bfb44c4edc1b54ccb014b5a44499295c6c5c
 Size (cups-1.1.23-source.tar.bz2) = 8705521 bytes
@@ -8,3 +8,4 @@
 SHA1 (patch-an) = de699800471069b1521ab2ba7194df445fb75892
 SHA1 (patch-ao) = c4c8f833cf4a09a686a338df6c209cebec36c6ef
 SHA1 (patch-at) = aa36ec591164675b889d2cf32e4d754e9b6db94f
+SHA1 (patch-au) = 48d63140a54ff4b5af4216cfe6454adef4b66781
diff -r f1b71b462090 -r 491561c784e9 print/cups/patches/patch-au
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups/patches/patch-au       Wed Jan 19 11:03:23 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-au,v 1.3 2005/01/19 11:03:23 drochner Exp $
+
+--- pdftops/XRef.cxx.orig      2004-10-13 22:55:53.000000000 +0200
++++ pdftops/XRef.cxx
+@@ -527,6 +527,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