Updating link to change in openSUSE:Factory/cups revision 66.0

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=96a074ab7bdc0683f3602fc13ea9996f
This commit is contained in:
OBS User buildservice-autocommit 2009-12-04 09:21:59 +00:00 committed by Git OBS Bridge
parent b34c494dcb
commit bb07e8a313
7 changed files with 76 additions and 53 deletions

View File

@ -1,14 +1,16 @@
--- cups-1.1.21/systemv/cupstestppd.c.orig 2004-08-23 20:36:50.000000000 +0200 Index: cups-1.3.11/systemv/cupstestppd.c
+++ cups-1.1.21/systemv/cupstestppd.c 2004-09-20 16:19:12.427769515 +0200 ===================================================================
@@ -854,6 +854,7 @@ --- cups-1.3.11.orig/systemv/cupstestppd.c
strcmp(choice->choice, "DuplexTumble") && +++ cups-1.3.11/systemv/cupstestppd.c
strcmp(choice->choice, "SimplexTumble")) @@ -931,6 +931,7 @@ main(int argc, /* I - Number of comm
if (size->left == 0.0 && size->bottom == 0.0 &&
size->right == 0.0 && size->top == 0.0)
{ {
+#if 0 +#if 0
if (verbose >= 0) if (verbose >= 0)
{ {
if (!errors && !verbose) if (!errors && !verbose)
@@ -865,6 +866,10 @@ @@ -945,6 +946,10 @@ main(int argc, /* I - Number of comm
} }
errors ++; errors ++;
@ -17,5 +19,5 @@
+ option->keyword, choice->choice); + option->keyword, choice->choice);
+#endif +#endif
} }
}
/*

View File

@ -1,15 +1,17 @@
--- cups-1.2.0/scheduler/main.c.orig 2006-03-18 04:05:12.000000000 +0100 Index: cups-1.3.11/scheduler/main.c
+++ cups-1.2.0/scheduler/main.c 2006-03-29 19:02:22.000000000 +0200 ===================================================================
@@ -148,6 +148,7 @@ --- cups-1.3.11.orig/scheduler/main.c
+++ cups-1.3.11/scheduler/main.c
@@ -172,6 +172,7 @@ main(int argc, /* I - Number of comm
*/ */
fg = 0; fg = 0;
+ ppds_generation = 0; + ppds_generation = 0;
for (i = 1; i < argc; i ++) #ifdef HAVE_LAUNCHD
if (argv[i][0] == '-') if (getenv("CUPSD_LAUNCHD"))
@@ -219,6 +220,10 @@ @@ -272,6 +273,10 @@ main(int argc, /* I - Number of comm
#endif /* HAVE_LAUNCHD */ fg = 1;
break; break;
+ case 'P' : /* generate ppds only */ + case 'P' : /* generate ppds only */
@ -19,7 +21,7 @@
default : /* Unknown option */ default : /* Unknown option */
_cupsLangPrintf(stderr, _("cupsd: Unknown option \"%c\" - " _cupsLangPrintf(stderr, _("cupsd: Unknown option \"%c\" - "
"aborting!\n"), *opt); "aborting!\n"), *opt);
@@ -287,17 +292,18 @@ @@ -340,17 +345,18 @@ main(int argc, /* I - Number of comm
perror("cupsd"); perror("cupsd");
return (1); return (1);
} }
@ -39,9 +41,9 @@
+ } else + } else
+ return (0); + return (0);
} }
}
@@ -482,6 +488,9 @@ #ifdef __OpenBSD__
@@ -625,6 +631,9 @@ main(int argc, /* I - Number of comm
} }
#endif /* __sgi */ #endif /* __sgi */
@ -51,7 +53,7 @@
/* /*
* Initialize authentication certificates... * Initialize authentication certificates...
*/ */
@@ -2260,13 +2269,14 @@ @@ -2031,13 +2040,14 @@ static void
usage(int status) /* O - Exit status */ usage(int status) /* O - Exit status */
{ {
_cupsLangPuts(status ? stderr : stdout, _cupsLangPuts(status ? stderr : stdout,
@ -68,21 +70,25 @@
exit(status); exit(status);
} }
--- cups-1.2.0/scheduler/cupsd.h.orig 2006-03-18 04:05:12.000000000 +0100 Index: cups-1.3.11/scheduler/cupsd.h
+++ cups-1.2.0/scheduler/cupsd.h 2006-03-29 17:30:47.000000000 +0200 ===================================================================
@@ -202,6 +202,8 @@ --- cups-1.3.11.orig/scheduler/cupsd.h
char *envp[], int infd, int outfd, +++ cups-1.3.11/scheduler/cupsd.h
int errfd, int backfd, int root, int *pid); @@ -180,6 +180,8 @@ VAR PSQUpdateQuotaProcPtr PSQUpdateQuota
+VAR int ppds_generation;/* Generate ppds.dat and exit() */ +VAR int ppds_generation;/* Generate ppds.dat and exit() */
+ +
/* /*
* End of "$Id: cupsd.h 5305 2006-03-18 03:05:12Z mike $". * Prototypes...
--- cups-1.2.0/scheduler/conf.c.orig 2006-03-14 12:54:45.000000000 +0100 Index: cups-1.3.11/scheduler/conf.c
+++ cups-1.2.0/scheduler/conf.c 2006-03-29 17:30:47.000000000 +0200 ===================================================================
@@ -716,6 +716,9 @@ --- cups-1.3.11.orig/scheduler/conf.c
TempDir, strerror(errno)); +++ cups-1.3.11/scheduler/conf.c
@@ -941,6 +941,9 @@ cupsdReadConfiguration(void)
return (0);
} }
+ if (ppds_generation > 0) + if (ppds_generation > 0)

View File

@ -1,6 +1,8 @@
--- cups-1.2.11/systemv/cupstestppd.c.orig 2007-05-10 13:47:54.000000000 +0200 Index: cups-1.3.11/systemv/cupstestppd.c
+++ cups-1.2.11/systemv/cupstestppd.c 2007-05-10 13:53:56.000000000 +0200 ===================================================================
@@ -92,6 +92,7 @@ --- cups-1.3.11.orig/systemv/cupstestppd.c
+++ cups-1.3.11/systemv/cupstestppd.c
@@ -129,6 +129,7 @@ main(int argc, /* I - Number of comm
int i, j, k, m, n; /* Looping vars */ int i, j, k, m, n; /* Looping vars */
int len; /* Length of option name */ int len; /* Length of option name */
char *opt; /* Option character */ char *opt; /* Option character */
@ -8,7 +10,7 @@
const char *ptr; /* Pointer into string */ const char *ptr; /* Pointer into string */
int files; /* Number of files */ int files; /* Number of files */
int verbose; /* Want verbose output? */ int verbose; /* Want verbose output? */
@@ -315,6 +316,7 @@ @@ -375,6 +376,7 @@ main(int argc, /* I - Number of comm
errors = 0; errors = 0;
ppdversion = 43; ppdversion = 43;
@ -16,12 +18,12 @@
if (verbose > 0) if (verbose > 0)
_cupsLangPuts(stdout, _cupsLangPuts(stdout,
@@ -1545,7 +1547,7 @@ @@ -1171,7 +1173,7 @@ main(int argc, /* I - Number of comm
if (verbose >= 0) if (verbose >= 0)
{ {
- check_basics(argv[i]); - check_basics(argv[i]);
+ check_basics(ppdfilename); + check_basics(ppdfilename);
/* if (warn & WARN_CONSTRAINTS)
* Look for default keywords with no corresponding option... errors = check_constraints(ppd, errors, verbose, 1);

View File

@ -1,6 +1,8 @@
--- cups-1.3.3/conf/mime.types.orig 2007-07-11 23:46:42.000000000 +0200 Index: cups-1.3.11/conf/mime.types
+++ cups-1.3.3/conf/mime.types 2007-10-15 18:39:02.000000000 +0200 ===================================================================
@@ -75,6 +75,8 @@ --- cups-1.3.11.orig/conf/mime.types
+++ cups-1.3.11/conf/mime.types
@@ -75,6 +75,8 @@ application/postscript ai eps ps string
contains(0,4096,"LANGUAGE = POSTSCRIPT") \ contains(0,4096,"LANGUAGE = POSTSCRIPT") \
(contains(0,4096,<0a>%!) + \ (contains(0,4096,<0a>%!) + \
!contains(0,4096,"ENTER LANGUAGE"))) !contains(0,4096,"ENTER LANGUAGE")))
@ -9,11 +11,13 @@
application/vnd.hp-HPGL hpgl \ application/vnd.hp-HPGL hpgl \
string(0,<1B>E<1B>%0B) \ string(0,<1B>E<1B>%0B) \
string(0,<1B>%-1B) string(0,<201B>)\ string(0,<1B>%-1B) string(0,<201B>)\
--- cups-1.3.3/conf/mime.convs.in.orig 2007-08-02 19:58:59.000000000 +0200 Index: cups-1.3.11/conf/mime.convs.in
+++ cups-1.3.3/conf/mime.convs.in 2007-10-15 18:40:15.000000000 +0200 ===================================================================
--- cups-1.3.11.orig/conf/mime.convs.in
+++ cups-1.3.11/conf/mime.convs.in
@@ -40,6 +40,8 @@ @@ -40,6 +40,8 @@
application/pdf application/postscript 33 pdftops application/pdf application/vnd.cups-postscript 66 pdftops
application/postscript application/vnd.cups-postscript 66 pstops application/postscript application/vnd.cups-postscript 66 pstops
+#application/x-dvi application/postscript 50 dvitops +#application/x-dvi application/postscript 50 dvitops
+application/netscape-ps application/vnd.cups-postscript 33 ogonki +application/netscape-ps application/vnd.cups-postscript 33 ogonki

View File

@ -1,6 +1,8 @@
--- cups-1.3.3/conf/mime.types.orig 2007-10-15 18:42:58.000000000 +0200 Index: cups-1.3.11/conf/mime.types
+++ cups-1.3.3/conf/mime.types 2007-10-15 18:44:56.000000000 +0200 ===================================================================
@@ -76,7 +76,10 @@ --- cups-1.3.11.orig/conf/mime.types
+++ cups-1.3.11/conf/mime.types
@@ -76,7 +76,10 @@ application/postscript ai eps ps string
(contains(0,4096,<0a>%!) + \ (contains(0,4096,<0a>%!) + \
!contains(0,4096,"ENTER LANGUAGE"))) !contains(0,4096,"ENTER LANGUAGE")))
#application/x-dvi dvi string(0,<F702>) #application/x-dvi dvi string(0,<F702>)
@ -12,10 +14,12 @@
application/vnd.hp-HPGL hpgl \ application/vnd.hp-HPGL hpgl \
string(0,<1B>E<1B>%0B) \ string(0,<1B>E<1B>%0B) \
string(0,<1B>%-1B) string(0,<201B>)\ string(0,<1B>%-1B) string(0,<201B>)\
--- cups-1.3.3/conf/mime.convs.in.orig 2007-10-15 18:42:58.000000000 +0200 Index: cups-1.3.11/conf/mime.convs.in
+++ cups-1.3.3/conf/mime.convs.in 2007-10-15 18:46:39.000000000 +0200 ===================================================================
--- cups-1.3.11.orig/conf/mime.convs.in
+++ cups-1.3.11/conf/mime.convs.in
@@ -41,7 +41,9 @@ @@ -41,7 +41,9 @@
application/pdf application/postscript 33 pdftops application/pdf application/vnd.cups-postscript 66 pdftops
application/postscript application/vnd.cups-postscript 66 pstops application/postscript application/vnd.cups-postscript 66 pstops
#application/x-dvi application/postscript 50 dvitops #application/x-dvi application/postscript 50 dvitops
-application/netscape-ps application/vnd.cups-postscript 33 ogonki -application/netscape-ps application/vnd.cups-postscript 33 ogonki

View File

@ -13,6 +13,11 @@ Wed Nov 11 11:56:12 CET 2009 - jsmeix@suse.de
(CVE-2009-2820 and CUPS STR #3367 and (CVE-2009-2820 and CUPS STR #3367 and
Novell/Suse Bugzilla bnc#548317). Novell/Suse Bugzilla bnc#548317).
-------------------------------------------------------------------
Tue Nov 3 19:09:12 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 26 21:43:03 CEST 2009 - meissner@suse.de Wed Aug 26 21:43:03 CEST 2009 - meissner@suse.de

View File

@ -26,11 +26,11 @@ BuildRequires: fdupes update-desktop-files
PreReq: textutils, fileutils, sh-utils, %insserv_prereq, PreReq: textutils, fileutils, sh-utils, %insserv_prereq,
PreReq: %fillup_prereq /usr/sbin/groupadd PreReq: %fillup_prereq /usr/sbin/groupadd
Url: http://www.cups.org/ Url: http://www.cups.org/
License: GPL v2 or later License: GPLv2+
Group: Hardware/Printing Group: Hardware/Printing
Summary: The Common UNIX Printing System Summary: The Common UNIX Printing System
Version: 1.3.11 Version: 1.3.11
Release: 4 Release: 5
Requires: cups-libs = %{version}, cups-client = %{version} Requires: cups-libs = %{version}, cups-client = %{version}
Requires: ghostscript_any, ghostscript-fonts-std, foomatic-filters Requires: ghostscript_any, ghostscript-fonts-std, foomatic-filters
Requires: util-linux /usr/bin/pdftops Requires: util-linux /usr/bin/pdftops
@ -144,7 +144,7 @@ Authors:
%define CPUs %(grep -c ^processor\ /proc/cpuinfo || echo 1) %define CPUs %(grep -c ^processor\ /proc/cpuinfo || echo 1)
%package libs %package libs
License: GPL v2 or later ; LGPL v2.1 or later License: GPLv2+ ; LGPLv2.1+
Summary: Libraries for CUPS Summary: Libraries for CUPS
Group: Hardware/Printing Group: Hardware/Printing
# bug437293 # bug437293
@ -166,7 +166,7 @@ Authors:
Easy Software Products <cups@cups.org> Easy Software Products <cups@cups.org>
%package client %package client
License: GPL v2 or later License: GPLv2+
Summary: CUPS Client Programs Summary: CUPS Client Programs
Group: Hardware/Printing Group: Hardware/Printing
Conflicts: plp lprold lprng Conflicts: plp lprold lprng
@ -185,7 +185,7 @@ Authors:
Easy Software Products <cups@cups.org> Easy Software Products <cups@cups.org>
%package devel %package devel
License: GPL v2 or later License: GPLv2+
Summary: Development Environment for CUPS Summary: Development Environment for CUPS
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}-libs = %{version} openssl-devel glibc-devel krb5-devel Requires: %{name}-libs = %{version} openssl-devel glibc-devel krb5-devel