summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordrochner <drochner>2005-01-19 11:03:23 +0000
committerdrochner <drochner>2005-01-19 11:03:23 +0000
commit1ff9c3bd2da55b1bae4fca2c30daca98e32c0dfc (patch)
treec23a593cb4026ad3f912169e0c1627f649c9dd72 /print
parent025bbe27e8ba58f8088995a42fd6a420635c4854 (diff)
downloadpkgsrc-1ff9c3bd2da55b1bae4fca2c30daca98e32c0dfc.tar.gz
apply the last xpdf security patch to the embedded pdftops filter
which is based on xpdf, bump PKGREVISUIN
Diffstat (limited to 'print')
-rw-r--r--print/cups/Makefile3
-rw-r--r--print/cups/distinfo3
-rw-r--r--print/cups/patches/patch-au14
3 files changed, 18 insertions, 2 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index 48c3a116626..3e2c73cc1f2 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -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 --git a/print/cups/distinfo b/print/cups/distinfo
index d3ed8e6cbee..5e6a231c4b7 100644
--- a/print/cups/distinfo
+++ b/print/cups/distinfo
@@ -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-ad) = 166749eb9fc7b4b20e123d81cd3b2cf96db27677
SHA1 (patch-an) = de699800471069b1521ab2ba7194df445fb75892
SHA1 (patch-ao) = c4c8f833cf4a09a686a338df6c209cebec36c6ef
SHA1 (patch-at) = aa36ec591164675b889d2cf32e4d754e9b6db94f
+SHA1 (patch-au) = 48d63140a54ff4b5af4216cfe6454adef4b66781
diff --git a/print/cups/patches/patch-au b/print/cups/patches/patch-au
new file mode 100644
index 00000000000..de9ed1624a4
--- /dev/null
+++ b/print/cups/patches/patch-au
@@ -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) {