summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-09-14 11:40:35 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-09-14 11:40:35 +0000
commit08e059c8a99bf02c131abc21b414d68a972bcbb4 (patch)
tree0397fe282898fb2d9eac08e53c3d6a5f56cb8b8b /net-print/cups/files
parentremove old, thanks jakub (diff)
downloadgentoo-2-08e059c8a99bf02c131abc21b414d68a972bcbb4.tar.gz
gentoo-2-08e059c8a99bf02c131abc21b414d68a972bcbb4.tar.bz2
gentoo-2-08e059c8a99bf02c131abc21b414d68a972bcbb4.zip
remove old, thanks jakub
(Portage version: 2.1.1) (Unsigned Manifest commit)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r--net-print/cups/files/cups-1.1.22-xpdf2-underflow.patch81
-rw-r--r--net-print/cups/files/cups-lppasswd-setXid.patch12
-rw-r--r--net-print/cups/files/cups.pam3
-rw-r--r--net-print/cups/files/digest-cups-1.1.23-r13
-rw-r--r--net-print/cups/files/xpdf-goo-sizet.patch57
-rw-r--r--net-print/cups/files/xpdf-pl3.patch14
6 files changed, 0 insertions, 170 deletions
diff --git a/net-print/cups/files/cups-1.1.22-xpdf2-underflow.patch b/net-print/cups/files/cups-1.1.22-xpdf2-underflow.patch
deleted file mode 100644
index 6fffd57809f4..000000000000
--- a/net-print/cups/files/cups-1.1.22-xpdf2-underflow.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -ru XRef.cxx XRef.cxx
---- XRef.cxx 2004-10-29 15:16:45.790089001 +0200
-+++ XRef.cxx 2004-10-29 15:11:54.132168025 +0200
-@@ -66,6 +66,8 @@
- start = str->getStart();
- pos = readTrailer();
-
-+ entries = NULL;
-+
- // if there was a problem with the trailer,
- // try to reconstruct the xref table
- if (pos == 0) {
-@@ -76,7 +78,7 @@
-
- // trailer is ok - read the xref table
- } else {
-- if (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size) {
-+ if ((size < 0) || (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size)) {
- error(-1, "Invalid 'size' inside xref table.");
- ok = gFalse;
- errCode = errDamaged;
-@@ -181,7 +183,7 @@
- n = atoi(p);
- while ('0' <= *p && *p <= '9') ++p;
- while (isspace(*p)) ++p;
-- if (p == buf) {
-+ if ((p == buf) || (n < 0)) /* must make progress */ {
- goto err1;
- }
- pos1 += (p - buf) + n * 20;
-@@ -255,6 +257,10 @@
- }
- s[i] = '\0';
- first = atoi(s);
-+ if (first < 0) {
-+ error(-1, "Invalid 'first'");
-+ goto err2;
-+ }
- while ((c = str->lookChar()) != EOF && isspace(c)) {
- str->getChar();
- }
-@@ -266,6 +272,10 @@
- }
- s[i] = '\0';
- n = atoi(s);
-+ if (n<=0) {
-+ error(-1, "Invalid 'n'");
-+ goto err2;
-+ }
- while ((c = str->lookChar()) != EOF && isspace(c)) {
- str->getChar();
- }
-@@ -273,7 +283,7 @@
- // table size
- if (first + n > size) {
- newSize = first + n;
-- if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ if ((newSize < 0) || (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize)) {
- error(-1, "Invalid 'newSize'");
- goto err2;
- }
-@@ -406,6 +416,10 @@
- // look for object
- } else if (isdigit(*p)) {
- num = atoi(p);
-+ if (num < 0) {
-+ error(-1, "Invalid 'num' parameters.");
-+ return gFalse;
-+ }
- do {
- ++p;
- } while (*p && isdigit(*p));
-@@ -425,7 +439,7 @@
- if (!strncmp(p, "obj", 3)) {
- if (num >= size) {
- newSize = (num + 1 + 255) & ~255;
-- if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ if ((newSize < 0) || (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize)) {
- error(-1, "Invalid 'obj' parameters.");
- return gFalse;
- }
diff --git a/net-print/cups/files/cups-lppasswd-setXid.patch b/net-print/cups/files/cups-lppasswd-setXid.patch
deleted file mode 100644
index 78d2f0786201..000000000000
--- a/net-print/cups/files/cups-lppasswd-setXid.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur cups-1.1.23/systemv/Makefile cups-1.1.23-setXid/systemv/Makefile
---- cups-1.1.23/systemv/Makefile 2005-01-03 19:29:59 +0000
-+++ cups-1.1.23-setXid/systemv/Makefile 2005-05-28 10:45:46 +0000
-@@ -174,7 +174,7 @@
-
- lppasswd: lppasswd.o ../cups/$(LIBCUPS)
- echo Linking $@...
-- $(CC) $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS)
-+ $(CC) $(LDFLAGS) -Wl,-z,now -o lppasswd lppasswd.o $(LIBZ) $(LIBS)
-
-
- #
diff --git a/net-print/cups/files/cups.pam b/net-print/cups/files/cups.pam
deleted file mode 100644
index 0519fe68b4d5..000000000000
--- a/net-print/cups/files/cups.pam
+++ /dev/null
@@ -1,3 +0,0 @@
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/files/cups.pam,v 1.3 2004/07/18 04:18:17 dragonheart Exp $
-auth required /lib/security/pam_stack.so service=system-auth
-account required /lib/security/pam_stack.so service=system-auth
diff --git a/net-print/cups/files/digest-cups-1.1.23-r1 b/net-print/cups/files/digest-cups-1.1.23-r1
deleted file mode 100644
index 368d38b252b6..000000000000
--- a/net-print/cups/files/digest-cups-1.1.23-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4ce09b1dce09b6b9398af0daae9adf63 cups-1.1.23-source.tar.bz2 8705521
-RMD160 255ec4c22422b14f2367d69f3ec7e590dc46bea5 cups-1.1.23-source.tar.bz2 8705521
-SHA256 87da0f7b1e03236e183045f1e787957132658ead56c4b0f80ac7f86c1574a85e cups-1.1.23-source.tar.bz2 8705521
diff --git a/net-print/cups/files/xpdf-goo-sizet.patch b/net-print/cups/files/xpdf-goo-sizet.patch
deleted file mode 100644
index 5d90c5120bd4..000000000000
--- a/net-print/cups/files/xpdf-goo-sizet.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ru xpdf-2.02pl1/goo/gmem.c xpdf-2.02pl1/goo/gmem.c
---- xpdf-2.02pl1/goo/gmem.c 2003-06-16 22:01:26.000000000 +0200
-+++ xpdf-2.02pl1/goo/gmem.c 2004-10-29 15:13:34.866919791 +0200
-@@ -53,9 +53,9 @@
-
- #endif /* DEBUG_MEM */
-
--void *gmalloc(int size) {
-+void *gmalloc(size_t size) {
- #ifdef DEBUG_MEM
-- int size1;
-+ size_t size1;
- char *mem;
- GMemHdr *hdr;
- void *data;
-@@ -94,11 +94,11 @@
- #endif
- }
-
--void *grealloc(void *p, int size) {
-+void *grealloc(void *p, size_t size) {
- #ifdef DEBUG_MEM
- GMemHdr *hdr;
- void *q;
-- int oldSize;
-+ size_t oldSize;
-
- if (size == 0) {
- if (p)
-@@ -137,7 +137,7 @@
-
- void gfree(void *p) {
- #ifdef DEBUG_MEM
-- int size;
-+ size_t size;
- GMemHdr *hdr;
- GMemHdr *prevHdr, *q;
- int lst;
-diff -ru xpdf-2.02pl1/goo/gmem.h xpdf-2.02pl1/goo/gmem.h
---- xpdf-2.02pl1/goo/gmem.h 2003-06-16 22:01:26.000000000 +0200
-+++ xpdf-2.02pl1/goo/gmem.h 2004-10-29 15:13:50.864027201 +0200
-@@ -19,13 +19,13 @@
- * Same as malloc, but prints error message and exits if malloc()
- * returns NULL.
- */
--extern void *gmalloc(int size);
-+extern void *gmalloc(size_t size);
-
- /*
- * Same as realloc, but prints error message and exits if realloc()
- * returns NULL. If <p> is NULL, calls malloc instead of realloc().
- */
--extern void *grealloc(void *p, int size);
-+extern void *grealloc(void *p, size_t size);
-
- /*
- * Same as free, but checks for and ignores NULL pointers.
diff --git a/net-print/cups/files/xpdf-pl3.patch b/net-print/cups/files/xpdf-pl3.patch
deleted file mode 100644
index e7b33e514da1..000000000000
--- a/net-print/cups/files/xpdf-pl3.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-*** XRef.cxx.orig Wed Jan 12 17:10:53 2005
---- XRef.cxx Wed Jan 12 17:11:22 2005
-***************
-*** 793,798 ****
---- 793,801 ----
- } else {
- keyLength = 5;
- }
-+ if (keyLength > 16) {
-+ keyLength = 16;
-+ }
- permFlags = permissions.getInt();
- if (encVersion >= 1 && encVersion <= 2 &&
- encRevision >= 2 && encRevision <= 3) {