rpms/cups/devel cups-no-gzip-man.patch, NONE, 1.1 cups-policy.patch, NONE, 1.1 cups-users.patch, NONE, 1.1 cups-1.1.15-initscript.patch, 1.3, 1.4 cups-1.1.16-system-auth.patch, 1.3, 1.4 cups-1.1.17-ppdsdat.patch, 1.3, 1.4 cups-1.1.17-rcp.patch, 1.2, 1.3 cups-CAN-2005-0064.patch, 1.1, 1.2 cups-dest-cache-v2.patch, 1.1, 1.2 cups-locale.patch, 1.1, 1.2 cups-lpd, 1.2, 1.3 cups-pie.patch, 1.4, 1.5 cups-relro.patch, 1.2, 1.3 cups.spec, 1.134, 1.135 sources, 1.15, 1.16 cups-1.1.14-doclink.patch, 1.1, NONE cups-1.1.17-pdftops.patch, 1.4, NONE cups-1.1.17-sanity.patch, 1.2, NONE cups-1.1.19-lpstat.patch, 1.1, NONE cups-CAN-2004-0888.patch, 1.1, NONE cups-CAN-2005-2097.patch, 1.1, NONE cups-CVE-2005-3625, 6, 7.patch, 1.1, NONE cups-autodetected-tag.patch, 1.1, NONE cups-dbus.patch, 1.12, NONE cups-enabledisable.patch, 1.3, NONE cups-finddest.patch, 1.1, NONE cups-gcc34.patch, 1.1, NONE cups-gcc4.patch, 1.1, NONE cups-sigchld.patch, 1.1, NONE cups-slow.patch, 1.1, NONE cups-str1023.patch, 1.4, NONE cups-str1068.patch, 1.1, NONE cups-str1249.! patch, 1.1, NONE cups-str1284.patch, 1.2, NONE cups-str1290.patch, 1.1, NONE cups-str1301.patch, 1.1, NONE
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Mar 17 12:11:02 UTC 2006
- Previous message (by thread): rpms/logwatch/devel logwatch-7.2.1-audit.patch, NONE, 1.1 logwatch-7.2.1-http.patch, NONE, 1.1 logwatch-7.2.1-mountd.patch, NONE, 1.1 logwatch-7.2.1-named.patch, NONE, 1.1 logwatch-7.2.1-nosegfault.patch, NONE, 1.1 logwatch-7.2.1-pam_unix.patch, NONE, 1.1 logwatch-7.2.1-secure.patch, NONE, 1.1 logwatch-7.2.1-smart.patch, NONE, 1.1 logwatch-7.2.1-sshd.patch, NONE, 1.1 .cvsignore, 1.12, 1.13 logwatch.spec, 1.35, 1.36 sources, 1.12, 1.13 logwatch-7.0-nosegfault.patch, 1.1, NONE logwatch-7.1-audit.patch, 1.1, NONE logwatch-7.1-http.patch, 1.1, NONE logwatch-7.1-http2.patch, 1.1, NONE logwatch-7.1-iptables.patch, 1.1, NONE logwatch-7.1-named.patch, 1.2, NONE logwatch-7.1-pam_unix.patch, 1.2, NONE logwatch-7.1-samba.patch, 1.1, NONE logwatch-7.1-secure.patch, 1.1, NONE logwatch-7.1-sshd.patch, 1.1, NONE
- Next message (by thread): rpms/scim-anthy/devel scim-anthy-symbol-style.patch, NONE, 1.1 scim-anthy.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/dist/rpms/cups/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30883
Modified Files:
cups-1.1.15-initscript.patch cups-1.1.16-system-auth.patch
cups-1.1.17-ppdsdat.patch cups-1.1.17-rcp.patch
cups-CAN-2005-0064.patch cups-dest-cache-v2.patch
cups-locale.patch cups-lpd cups-pie.patch cups-relro.patch
cups.spec sources
Added Files:
cups-no-gzip-man.patch cups-policy.patch cups-users.patch
Removed Files:
cups-1.1.14-doclink.patch cups-1.1.17-pdftops.patch
cups-1.1.17-sanity.patch cups-1.1.19-lpstat.patch
cups-CAN-2004-0888.patch cups-CAN-2005-2097.patch
cups-CVE-2005-3625,6,7.patch cups-autodetected-tag.patch
cups-dbus.patch cups-enabledisable.patch cups-finddest.patch
cups-gcc34.patch cups-gcc4.patch cups-sigchld.patch
cups-slow.patch cups-str1023.patch cups-str1068.patch
cups-str1249.patch cups-str1284.patch cups-str1290.patch
cups-str1301.patch
Log Message:
* Fri Mar 17 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.1.b2.2
- Rebuilt.
cups-no-gzip-man.patch:
cups-manpages.m4 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE cups-no-gzip-man.patch ---
--- cups-1.2svn-r5102/config-scripts/cups-manpages.m4.no-gzip-man 2006-02-13 02:46:10.000000000 +0000
+++ cups-1.2svn-r5102/config-scripts/cups-manpages.m4 2006-02-17 09:55:45.000000000 +0000
@@ -80,10 +80,10 @@
;;
Linux* | GNU*)
# Linux and GNU Hurd
- MAN1EXT=1.gz
- MAN5EXT=5.gz
- MAN7EXT=7.gz
- MAN8EXT=8.gz
+ MAN1EXT=1
+ MAN5EXT=5
+ MAN7EXT=7
+ MAN8EXT=8
MAN8DIR=8
;;
*)
cups-policy.patch:
conf.c | 1 +
1 files changed, 1 insertion(+)
--- NEW FILE cups-policy.patch ---
--- cups-1.2b2/scheduler/conf.c.policy 2006-03-14 10:38:30.000000000 +0000
+++ cups-1.2b2/scheduler/conf.c 2006-03-14 10:39:53.000000000 +0000
@@ -785,6 +785,7 @@
cupsdLogMessage(CUPSD_LOG_ERROR, "Default policy \"%s\" not found!",
DefaultPolicy);
+ cupsdSetString(&DefaultPolicy, "default");
if ((DefaultPolicyPtr = cupsdFindPolicy("default")) != NULL)
cupsdLogMessage(CUPSD_LOG_INFO,
"Using policy \"default\" as the default!");
cups-users.patch:
admin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE cups-users.patch ---
--- cups-1.2b2/cgi-bin/admin.c.users 2006-03-14 12:17:55.000000000 +0000
+++ cups-1.2b2/cgi-bin/admin.c 2006-03-14 12:32:01.000000000 +0000
@@ -2624,11 +2624,11 @@
NULL, uri);
if (num_users == 0)
- ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME,
+ ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME,
"requesting-user-name-allowed", NULL, "all");
else
{
- attr = ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_NAME,
+ attr = ippAddStrings(request, IPP_TAG_PRINTER, IPP_TAG_NAME,
type, num_users, NULL, NULL);
for (i = 0, ptr = (char *)users; *ptr; i ++)
cups-1.1.15-initscript.patch:
Makefile | 28 +---------------------------
1 files changed, 1 insertion(+), 27 deletions(-)
Index: cups-1.1.15-initscript.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-1.1.15-initscript.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cups-1.1.15-initscript.patch 9 Sep 2004 04:12:00 -0000 1.3
+++ cups-1.1.15-initscript.patch 17 Mar 2006 12:10:57 -0000 1.4
@@ -1,55 +1,41 @@
---- cups-1.1.21rc2/systemv/Makefile.noinit 2004-08-11 15:10:22.000000000 +0100
-+++ cups-1.1.21rc2/systemv/Makefile 2004-08-24 12:30:31.868411346 +0100
-@@ -77,7 +77,7 @@
- $(INSTALL_BIN) lp $(BINDIR)
- $(INSTALL_BIN) lpoptions $(BINDIR)
- $(INSTALL_BIN) lpstat $(BINDIR)
-- -$(INSTALL_BIN) -m 4755 -o $(CUPS_USER) -g $(CUPS_GROUP) lppasswd $(BINDIR)
-+ -$(INSTALL_BIN) -m 4755 lppasswd $(BINDIR)
- if test ! -x $(BINDIR)/lppasswd; then \
- chmod 755 $(BINDIR)/lppasswd; \
- fi
---- cups-1.1.21rc2/Makefile.noinit 2004-02-25 20:14:50.000000000 +0000
-+++ cups-1.1.21rc2/Makefile 2004-08-24 12:28:17.704029413 +0100
-@@ -89,30 +89,6 @@
+--- cups-1.2svn-r5238/Makefile.noinit 2006-03-07 09:37:02.000000000 +0000
++++ cups-1.2svn-r5238/Makefile 2006-03-07 09:42:51.000000000 +0000
+@@ -1,4 +1,4 @@
+-#
++
+ # "$Id$"
+ #
+ # Top-level Makefile for the Common UNIX Printing System (CUPS).
+@@ -80,32 +80,6 @@
echo Installing cups-config script...
- $(INSTALL_DIR) $(BINDIR)
+ $(INSTALL_DIR) -m 755 $(BINDIR)
$(INSTALL_SCRIPT) cups-config $(BINDIR)/cups-config
- echo Installing startup script...
- if test "x$(INITDIR)" != "x"; then \
-- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/init.d; \
-- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \
-- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc0.d; \
-- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc0.d/K00cups; \
-- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc2.d; \
-- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc2.d/S99cups; \
-- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc3.d; \
-- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc3.d/S99cups; \
-- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc5.d; \
-- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc5.d/S99cups; \
+- $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
+- $(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \
+- $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc0.d; \
+- $(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc0.d/K00cups; \
+- $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc2.d; \
+- $(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc2.d/S99cups; \
+- $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc3.d; \
+- $(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc3.d/S99cups; \
+- $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc5.d; \
+- $(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/rc5.d/S99cups; \
- fi
- if test "x$(INITDIR)" = "x" -a "x$(INITDDIR)" != "x"; then \
- $(INSTALL_DIR) $(BUILDROOT)$(INITDDIR); \
- if test "$(INITDDIR)" = "/System/Library/StartupItems/PrintingServices"; then \
-- $(INSTALL_SCRIPT) cups.osx $(BUILDROOT)$(INITDDIR)/PrintingServices; \
-- $(INSTALL_DATA) cups.plist $(BUILDROOT)$(INITDDIR)/StartupParameters.plist; \
-- $(INSTALL_DIR) $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \
-- $(INSTALL_DATA) cups.strings $(BUILDROOT)$(INITDDIR)/Resources/English.lproj/Localizable.strings; \
+- $(INSTALL_SCRIPT) init/PrintingServices $(BUILDROOT)$(INITDDIR)/PrintingServices; \
+- $(INSTALL_DATA) init/StartupParameters.plist $(BUILDROOT)$(INITDDIR)/StartupParameters.plist; \
+- $(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \
+- $(INSTALL_DATA) init/Localizable.strings $(BUILDROOT)$(INITDDIR)/Resources/English.lproj/Localizable.strings; \
+- elif test "$(INITDDIR)" = "/System/Library/LaunchDaemons"; then \
+- $(INSTALL_DATA) init/org.cups.cupsd.plist $(BUILDROOT)$(DEFAULT_LAUNCHD_CONF); \
- else \
-- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDDIR)/cups; \
+- $(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDDIR)/cups; \
- fi \
- fi
-
- #
- # Install source and header files...
---- cups-1.1.21rc2/Makedefs.in.noinit 2004-06-29 04:14:19.000000000 +0100
-+++ cups-1.1.21rc2/Makedefs.in 2004-08-24 12:28:17.713027695 +0100
-@@ -47,7 +47,7 @@
- # Installation programs...
- #
-
--INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755 -s
-+INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
- INSTALL_DATA = $(INSTALL) -m 644
- INSTALL_DIR = $(INSTALL) -d
- INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
+ if test "x$(DBUSDIR)" != "x"; then \
+ echo Installing cups.conf in $(DBUSDIR)...;\
+ $(INSTALL_DIR) -m 755 $(BUILDROOT)$(DBUSDIR); \
cups-1.1.16-system-auth.patch:
Makefile | 10 +++++++---
cups.system-auth | 3 +++
2 files changed, 10 insertions(+), 3 deletions(-)
Index: cups-1.1.16-system-auth.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-1.1.16-system-auth.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cups-1.1.16-system-auth.patch 30 Sep 2005 12:20:31 -0000 1.3
+++ cups-1.1.16-system-auth.patch 17 Mar 2006 12:10:57 -0000 1.4
@@ -1,21 +1,26 @@
---- /dev/null 2004-02-23 21:02:56.000000000 +0000
-+++ cups-1.1.21rc1/conf/cups.system-auth 2004-06-03 15:14:55.795385144 +0100
-@@ -0,0 +1,3 @@
-+#%PAM-1.0
-+auth include system-auth
-+account include system-auth
---- cups-1.1.21rc1/conf/Makefile.system-auth 2004-02-26 16:51:59.000000000 +0000
-+++ cups-1.1.21rc1/conf/Makefile 2004-06-03 15:32:52.108540894 +0100
-@@ -67,7 +67,11 @@
+--- cups-1.2svn-r5238/conf/Makefile.system-auth 2006-03-07 09:34:20.000000000 +0000
++++ cups-1.2svn-r5238/conf/Makefile 2006-03-07 09:45:41.000000000 +0000
+@@ -79,10 +79,14 @@
done
- -if test x$(PAMDIR) != x$(BUILDROOT); then \
- $(INSTALL_DIR) $(PAMDIR); \
-- $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
+ -if test x$(PAMDIR) != x; then \
+ $(INSTALL_DIR) -m 755 $(BUILDROOT)$(PAMDIR); \
+- if test -r $(BUILDROOT)$(PAMDIR)/cups/$(PAMFILE) ; then \
+- $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups.N ; \
+ if test -f /etc/pam.d/system-auth; then \
-+ $(INSTALL_DATA) cups.system-auth $(PAMDIR)/cups ; \
-+ else \
-+ $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups; \
-+ fi \
++ $(INSTALL_DATA) cups.system-auth $(BUILDROOT)$(PAMDIR)/cups ; \
+ else \
+- $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups ; \
++ if test -r $(BUILDROOT)$(PAMDIR)/cups/$(PAMFILE) ; then \
++ $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups.N ; \
++ else \
++ $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups ; \
++ fi ; \
+ fi ; \
fi
-
+--- /dev/null 2006-03-07 09:12:30.964372750 +0000
++++ cups-1.2svn-r5238/conf/cups.system-auth 2006-03-07 09:43:12.000000000 +0000
+@@ -0,0 +1,3 @@
++#%PAM-1.0
++auth include system-auth
++account include system-auth
cups-1.1.17-ppdsdat.patch:
main.c | 27 ++++++++++++++++++++++++---
1 files changed, 24 insertions(+), 3 deletions(-)
Index: cups-1.1.17-ppdsdat.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-1.1.17-ppdsdat.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cups-1.1.17-ppdsdat.patch 9 Sep 2004 04:08:38 -0000 1.3
+++ cups-1.1.17-ppdsdat.patch 17 Mar 2006 12:10:57 -0000 1.4
@@ -1,14 +1,14 @@
---- cups-1.1.21rc1/scheduler/main.c.ppdsdat 2004-05-27 19:17:54.000000000 +0100
-+++ cups-1.1.21rc1/scheduler/main.c 2004-06-03 15:33:51.054269593 +0100
-@@ -91,6 +91,7 @@
+--- cups-1.2svn-r5083/scheduler/main.c.ppdsdat 2006-02-05 21:58:58.000000000 +0000
++++ cups-1.2svn-r5083/scheduler/main.c 2006-02-10 13:46:19.000000000 +0000
+@@ -115,6 +115,7 @@
int i; /* Looping var */
char *opt; /* Option character */
int fg; /* Run in the foreground */
+ int only_ppds; /* Just build ppds.dat */
- int fds; /* Number of ready descriptors select returns */
+ int fds; /* Number of ready descriptors */
fd_set *input, /* Input set for select() */
*output; /* Output set for select() */
-@@ -120,10 +121,25 @@
+@@ -150,10 +151,25 @@
*/
fg = 0;
@@ -28,22 +28,22 @@
+ {
+ fprintf(stderr, "cupsd: Unknown option \'%s\' - aborting!\n",
+ &argv[i][2]);
-+ usage();
++ usage(1);
+ }
+ }
+ else for (opt = argv[i] + 1; *opt != '\0'; opt ++)
switch (*opt)
{
case 'c' : /* Configuration file */
-@@ -166,6 +182,7 @@
- usage();
+@@ -227,6 +243,7 @@
+ usage(1);
break;
}
+ }
else
{
- fprintf(stderr, "cupsd: Unknown argument \'%s\' - aborting!\n", argv[i]);
-@@ -375,6 +392,9 @@
+ _cupsLangPrintf(stderr, _("cupsd: Unknown argument \"%s\" - aborting!\n"),
+@@ -467,6 +484,9 @@
signal(SIGTERM, sigterm_handler);
#endif /* HAVE_SIGSET */
@@ -53,12 +53,20 @@
#ifdef __sgi
/*
* Try to create a fake lpsched lock file if one is not already there.
-@@ -1310,7 +1330,7 @@
- static void
- usage(void)
+@@ -2311,13 +2331,14 @@
+ usage(int status) /* O - Exit status */
{
-- fputs("Usage: cupsd [-c config-file] [-f] [-F]\n", stderr);
-+ fputs("Usage: cupsd [-c config-file] [-f] [-F] --ppdsdat\n", stderr);
- exit(1);
+ _cupsLangPuts(status ? stderr : stdout,
+- _("Usage: cupsd [-c config-file] [-f] [-F] [-h] [-l]\n"
++ _("Usage: cupsd [-c config-file] [-f] [-F] [-h] [-l] [--ppdsdat]\n"
+ "\n"
+ "-c config-file Load alternate configuration file\n"
+ "-f Run in the foreground\n"
+ "-F Run in the foreground but detach\n"
+ "-h Show this usage message\n"
+- "-l Run cupsd from launchd(8)\n"));
++ "-l Run cupsd from launchd(8)\n"
++ "--ppdsdat Just build ppds.dat\n"));
+ exit(status);
}
cups-1.1.17-rcp.patch:
printers.tmpl | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: cups-1.1.17-rcp.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-1.1.17-rcp.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cups-1.1.17-rcp.patch 9 Sep 2004 04:06:15 -0000 1.2
+++ cups-1.1.17-rcp.patch 17 Mar 2006 12:10:57 -0000 1.3
@@ -1,11 +1,11 @@
---- cups-1.1.17/templates/printers.tmpl.rcp 2000-09-05 22:08:31.000000000 +0100
-+++ cups-1.1.17/templates/printers.tmpl 2003-01-22 14:17:56.000000000 +0000
-@@ -16,7 +16,7 @@
- <TD VALIGN="TOP"><A HREF="{printer_uri_supported}">
- <IMG SRC="../images/printer-{printer_state=3?idle:{printer_state=4?processing:stopped}}.gif" BORDER="0" ALT=""></A>
- </TD>
-- <TD VALIGN="TOP">Description: {printer_info}<BR>
-+ <TD VALIGN="TOP">{printer_info=Created by redhat-config-printer 0.6.x?<b>Use system-config-printer to edit this!</b>:Description: {printer_info}}<BR>
- Location: {printer_location}<BR>
- Printer State: {printer_state=3?idle:{printer_state=4?processing:stopped}},
- {printer_is_accepting_jobs=0?rejecting jobs:accepting jobs}.
+--- cups-1.2svn-r4964/templates/printers.tmpl.rcp 2006-01-14 20:37:40.000000000 +0000
++++ cups-1.2svn-r4964/templates/printers.tmpl 2006-01-24 17:13:14.000000000 +0000
+@@ -7,7 +7,7 @@
+ <TD VALIGN="TOP"><A HREF="{printer_uri_supported}">
+ <IMG SRC="/images/printer-{printer_state=3?idle:{printer_state=4?processing:stopped}}.gif" CLASS="button" ALT=""></A>
+ </TD>
+-<TD VALIGN="TOP"><B>Description:</B> {printer_info}<BR>
++<TD VALIGN="TOP">{printer_info=Created by redhat-config-printer 0.6.x?<B>Use system-config-printer to edit this!</B>:<B>Description:</B> {printer_info}}<BR>
+ <B>Location:</B> {printer_location}<BR>
+ <B>Make and Model:</B> {printer_make_and_model}<BR>
+ <B>Printer State:</B> {printer_state=3?idle:{printer_state=4?processing:stopped}},
cups-CAN-2005-0064.patch:
Decrypt.cxx | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: cups-CAN-2005-0064.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-CAN-2005-0064.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cups-CAN-2005-0064.patch 19 Jan 2005 14:23:42 -0000 1.1
+++ cups-CAN-2005-0064.patch 17 Mar 2006 12:10:57 -0000 1.2
@@ -1,6 +1,6 @@
---- cups-1.1.17/pdftops/Decrypt.cxx 2005-01-14 14:26:55.679891237 +0000
-+++ cups-1.1.17/pdftops/Decrypt.cxx 2005-01-17 14:21:58.917198715 +0000
-@@ -116,13 +116,19 @@
+--- cups-1.2svn-r4929/pdftops/Decrypt.cxx.CAN-2005-0064 2005-09-17 15:52:15.000000000 +0100
++++ cups-1.2svn-r4929/pdftops/Decrypt.cxx 2006-01-20 14:31:21.000000000 +0000
+@@ -135,11 +135,16 @@
Guchar *buf;
Guchar test[32];
Guchar fState[256];
@@ -14,14 +14,11 @@
+ if ( !keyLength || keyLength > 16 ) {
+ return gFalse;
+ }
-+
++
// generate file key
- buf = (Guchar *)gmalloc(68 + fileID->getLength());
-+ tmpKey = (Guchar *)gmalloc(keyLength * sizeof(Guchar));
+ buf = (Guchar *)gmalloc(72 + fileID->getLength());
if (userPassword) {
- len = userPassword->getLength();
- if (len < 32) {
-@@ -175,6 +181,7 @@
+@@ -201,6 +206,7 @@
ok = gFalse;
}
cups-dest-cache-v2.patch:
dest.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 180 insertions(+)
Index: cups-dest-cache-v2.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-dest-cache-v2.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cups-dest-cache-v2.patch 10 Jan 2006 18:53:00 -0000 1.1
+++ cups-dest-cache-v2.patch 17 Mar 2006 12:10:57 -0000 1.2
@@ -1,18 +1,17 @@
---- cups-1.1.23/cups/dest.c.dest-cache-v2 2005-01-03 19:29:45.000000000 +0000
-+++ cups-1.1.23/cups/dest.c 2006-01-10 17:52:39.000000000 +0000
-@@ -45,7 +45,10 @@
- #include "string.h"
+--- cups-1.2svn-r5238/cups/dest.c.dest-cache-v2 2006-03-07 09:35:05.000000000 +0000
++++ cups-1.2svn-r5238/cups/dest.c 2006-03-07 10:17:06.000000000 +0000
+@@ -44,7 +44,10 @@
+ #include "globals.h"
#include <stdlib.h>
#include <ctype.h>
--
+#include <sys/types.h>
-+#include <sys/stat.h>
+ #include <sys/stat.h>
+#include <fcntl.h>
+#include <sys/timeb.h>
- /*
- * Local functions...
-@@ -204,6 +207,146 @@
+ #ifdef HAVE_NOTIFY_H
+ # include <notify.h>
+@@ -214,6 +217,144 @@
/*
@@ -57,7 +56,7 @@
+ close(fd);
+ return(-1);
+ }
-+
++
+ /* populate the destinations structure */
+ for (i=0; i < num_dests; i++)
+ {
@@ -70,7 +69,7 @@
+ return(-1);
+ strcpy((*dests)[i].instance, &buf[offset]);
+ offset += strlen((*dests)[i].instance) +1;
-+
++
+ /* get number of options */
+ strcpy(word, &buf[offset]);
+ offset += strlen(word)+1;
@@ -153,13 +152,11 @@
+ }
+}
+
-+
-+
+/*
- * 'cupsGetDests()' - Get the list of destinations.
- */
-
-@@ -211,8 +354,44 @@
+ * 'cupsGetDests()' - Get the list of destinations from the default server.
+ *
+ * Starting with CUPS 1.2, the returned list of destinations include the
+@@ -226,8 +367,44 @@
cupsGetDests(cups_dest_t **dests) /* O - Destinations */
{
int num_dests; /* Number of destinations */
@@ -204,7 +201,7 @@
/*
* Connect to the CUPS server and get the destination list and options...
-@@ -225,6 +404,9 @@
+@@ -240,6 +417,9 @@
if (http)
httpClose(http);
cups-locale.patch:
language.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Index: cups-locale.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-locale.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cups-locale.patch 9 Sep 2004 04:05:22 -0000 1.1
+++ cups-locale.patch 17 Mar 2006 12:10:57 -0000 1.2
@@ -1,28 +1,39 @@
-diff -ruN cups-1.1.19.orig/cups/language.c cups-1.1.19/cups/language.c
---- cups-1.1.19.orig/cups/language.c 2003-08-14 20:13:18.000000000 +0900
-+++ cups-1.1.19/cups/language.c 2003-08-14 20:37:37.000000000 +0900
-@@ -188,6 +188,7 @@
- charset[16], /* Character set */
- *ptr, /* Pointer into language/ */
+--- cups-1.2svn-r5137/cups/language.c.locale 2006-02-15 20:11:10.000000000 +0000
++++ cups-1.2svn-r5137/cups/language.c 2006-02-23 14:43:59.000000000 +0000
+@@ -276,6 +276,7 @@
+ #endif /* CODESET */
+ *ptr, /* Pointer into language/charset */
real[48], /* Real language name */
+ ll_cc[48], /* Language + Country name */
- filename[1024], /* Filename for language locale file */
- *localedir; /* Directory for locale files */
+ filename[1024]; /* Filename for language locale file */
cups_encoding_t encoding; /* Encoding to use */
-@@ -356,6 +357,7 @@
- */
+ cups_lang_t *lang; /* Current language... */
+@@ -445,8 +446,10 @@
+ country[0] = '\0';
- snprintf(real, sizeof(real), "%s_%s", langname, country);
-+ strcpy(ll_cc, real);
+ if (language == NULL || !language[0] ||
+- !strcmp(language, "POSIX"))
++ !strcmp(language, "POSIX")) {
+ strcpy(langname, "C");
++ strcpy(ll_cc, langname);
++ }
+ else
+ {
+ /*
+@@ -476,6 +479,7 @@
+ *ptr = '\0';
+ }
- if ((lang = cups_cache_lookup(real, encoding)) != NULL)
- return (lang);
-@@ -468,7 +470,7 @@
++ snprintf(ll_cc, sizeof(ll_cc), "%s_%s", langname, country);
+ if (*language == '.' && !charset[0])
+ {
+ /*
+@@ -617,7 +621,7 @@
*/
lang->used ++;
- strlcpy(lang->language, real, sizeof(lang->language));
+ strlcpy(lang->language, ll_cc, sizeof(lang->language));
- if (charset[0])
+ if (encoding != CUPS_AUTO_ENCODING)
lang->encoding = encoding;
Index: cups-lpd
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-lpd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cups-lpd 9 Sep 2004 04:02:40 -0000 1.2
+++ cups-lpd 17 Mar 2006 12:10:57 -0000 1.3
@@ -7,5 +7,5 @@
protocol = tcp
wait = no
user = lp
- server = @LIBDIR@/cups/daemon/cups-lpd
+ server = /usr/lib/cups/daemon/cups-lpd
}
cups-pie.patch:
cups/Makefile | 1 +
filter/Makefile | 23 +++++++++++++++++------
pdftops/Makefile | 7 +++++++
scheduler/Makefile | 3 +++
systemv/Makefile | 3 ++-
5 files changed, 30 insertions(+), 7 deletions(-)
Index: cups-pie.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-pie.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cups-pie.patch 9 Sep 2004 04:07:27 -0000 1.4
+++ cups-pie.patch 17 Mar 2006 12:10:57 -0000 1.5
@@ -1,65 +1,19 @@
---- cups-1.1.19/cups/Makefile.pie 2003-03-20 02:45:21.000000000 +0000
-+++ cups-1.1.19/cups/Makefile 2003-11-20 15:53:43.000000000 +0000
-@@ -25,6 +25,7 @@
- #
-
- include ../Makedefs
-+CFLAGS += -fpic
-
- #
- # Object files...
---- cups-1.1.19/scheduler/Makefile.pie 2003-04-10 15:30:48.000000000 +0100
-+++ cups-1.1.19/scheduler/Makefile 2003-11-20 15:23:39.000000000 +0000
-@@ -24,6 +24,9 @@
-
- include ../Makedefs
-
-+CFLAGS += -fpie
-+LDFLAGS += -pie
-+
- CUPSDOBJS = auth.o banners.o cert.o classes.o client.o conf.o devices.o \
- dirsvc.o main.o ipp.o listen.o job.o log.o network.o \
- ppds.o printers.o quotas.o server.o
---- cups-1.1.20/config-scripts/cups-compiler.m4.pie 2004-02-05 11:46:38.000000000 +0000
-+++ cups-1.1.20/config-scripts/cups-compiler.m4 2004-02-05 11:46:45.000000000 +0000
-@@ -65,10 +65,6 @@
- fi
- fi
-
-- if test $PICFLAG = 1 -a $uname != AIX; then
-- OPTIM="-fPIC $OPTIM"
-- fi
--
- if test "x$with_optim" = x; then
- OPTIM="-Wall $OPTIM"
- fi
---- cups-1.1.20/pdftops/Makefile.pie 2003-05-14 21:03:03.000000000 +0100
-+++ cups-1.1.20/pdftops/Makefile 2004-02-05 12:05:48.000000000 +0000
-@@ -9,6 +9,7 @@
-
-
- include ../Makedefs
-+LDFLAGS += -pie
-
+--- cups-1.2b2/systemv/Makefile.pie 2006-03-05 16:48:12.000000000 +0000
++++ cups-1.2b2/systemv/Makefile 2006-03-13 14:22:03.000000000 +0000
+@@ -192,9 +192,10 @@
+ # lppasswd
#
- # Object files...
-@@ -58,9 +59,14 @@
- UnicodeMap.o \
- XRef.o
-+# For libxpdf.a:
-+$(LIBOBJS): CXXFLAGS += -fPIC
-+$(LIBOBJS): CFLAGS += -fPIC
++lppasswd.o: CFLAGS += -fPIE
+ lppasswd: lppasswd.o ../cups/$(LIBCUPS)
+ echo Linking $@...
+- $(CC) $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS)
++ $(CC) -pie $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS)
- OBJS = pdftops.o $(LIBOBJS)
-+pdftops.o: CXXFLAGS += -fPIE
-+
- #
- # Make everything...
#
---- cups-1.1.20/filter/Makefile.pie 2003-11-17 22:04:53.000000000 +0000
-+++ cups-1.1.20/filter/Makefile 2004-02-05 12:42:53.000000000 +0000
+--- cups-1.2b2/filter/Makefile.pie 2006-03-10 04:00:38.000000000 +0000
++++ cups-1.2b2/filter/Makefile 2006-03-13 14:25:09.000000000 +0000
@@ -25,6 +25,7 @@
#
@@ -67,66 +21,99 @@
+LDFLAGS += -pie
FILTERS = gziptoany hpgltops texttops pstops imagetops imagetoraster \
- rastertodymo rastertoepson rastertohp
-@@ -37,10 +38,21 @@
- image-sgi.o image-sgilib.o image-sun.o image-tiff.o \
- image-zoom.o image.o raster.o
+ rastertolabel rastertoepson rastertohp
+@@ -45,11 +46,21 @@
+ IMAGE32OBJS = $(IMAGEOBJS:.o=.32.o)
+ IMAGE64OBJS = $(IMAGEOBJS:.o=.64.o)
FORMOBJS = form-attr.o form-main.o form-ps.o form-text.o form-tree.o
-OBJS = $(HPGLOBJS) $(IMAGEOBJS) $(FORMOBJS) \
- gziptoany.o imagetops.o imagetoraster.o common.o pstops.o \
-+LIBOBJS = $(HPGLOBJS) $(IMAGEOBJS) $(FORMOBJS)
++LIBOBJS = $(HPGLOBJS) $(IMAGEOBJS) $(FORMOBJS)
+BINOBJS = gziptoany.o imagetops.o imagetoraster.o common.o pstops.o \
- rastertodymo.o rastertoepson.o rastertohp.o \
- texttops.o textcommon.o
+ raster.o rastertoepson.o rastertohp.o rastertolabel.o \
+ testimage.o testraster.o textcommon.o texttops.o
+OBJS = $(LIBOBJS) $(BINOBJS)
-+
-+FORMOBJSPIE = $(patsubst %.o,%.opie,$(FORMOBJS))
-+HPGLOBJSPIE = $(patsubst %.o,%.opie,$(HPGLOBJS))
+
++FORMOBJSPIE = $(patsubst %.o,%.opie,$(FORMOBJS))
++HPGLOBJSPIE = $(patsubst %.o,%.opie,$(HPGLOBJS))
+$(LIBOBJS): CFLAGS += -fpic
+
-+$(BINOBJS): CFLAGS += -fpie
++$(BINOBJS): CFLAGS += -fPIE
+.SUFFIXES: .opie
+.c.opie:
+ echo Compiling $<...
-+ $(CC) $(OPTIM) $(CFLAGS) -fpie -c $< -o $@
++ $(CC) $(OPTIM) $(CFLAGS) -fPIE -c $< -o $@
#
# Make all targets...
-@@ -101,9 +113,9 @@
+@@ -178,9 +189,9 @@
# formtops
#
--formtops: $(FORMOBJS) common.o ../Makedefs ../cups/$(LIBCUPS)
-+formtops: $(FORMOBJSPIE) common.o ../Makedefs ../cups/$(LIBCUPS)
+-formtops: $(FORMOBJS) common.o ../cups/$(LIBCUPS)
++formtops: $(FORMOBJSPIE) common.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o $@ $(FORMOBJS) common.o $(LIBS) -lm
+ $(CC) $(LDFLAGS) -o $@ $(FORMOBJSPIE) common.o $(LIBS) -lm
#
-@@ -119,9 +131,9 @@
+@@ -196,9 +207,9 @@
# hpgltops
#
--hpgltops: $(HPGLOBJS) common.o ../Makedefs ../cups/$(LIBCUPS)
-+hpgltops: $(HPGLOBJSPIE) common.o ../Makedefs ../cups/$(LIBCUPS)
+-hpgltops: $(HPGLOBJS) common.o ../cups/$(LIBCUPS)
++hpgltops: $(HPGLOBJSPIE) common.o ../cups/$(LIBCUPS)
echo Linking $@...
- $(CC) $(LDFLAGS) -o $@ $(HPGLOBJS) common.o $(LIBS) -lm
+ $(CC) $(LDFLAGS) -o $@ $(HPGLOBJSPIE) common.o $(LIBS) -lm
#
---- cups-1.1.20/systemv/Makefile.pie 2004-05-11 14:38:24.000000000 +0100
-+++ cups-1.1.20/systemv/Makefile 2004-05-11 14:40:22.000000000 +0100
-@@ -170,9 +170,10 @@
- # lppasswd
+--- cups-1.2b2/pdftops/Makefile.pie 2006-03-05 16:48:12.000000000 +0000
++++ cups-1.2b2/pdftops/Makefile 2006-03-13 14:22:03.000000000 +0000
+@@ -9,6 +9,7 @@
+
+
+ include ../Makedefs
++LDFLAGS += -pie
+
#
+ # Object files...
+@@ -86,8 +87,14 @@
+ XRef.o
-+lppasswd.o: CFLAGS += -fpie
- lppasswd: lppasswd.o ../cups/$(LIBCUPS)
- echo Linking $@...
-- $(CC) $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS)
-+ $(CC) -pie $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS)
++# For libxpdf.a:
++$(LIBOBJS): CXXFLAGS += -fPIC
++$(LIBOBJS): CFLAGS += -fPIC
++
+ OBJS = pdftops.o $(LIBOBJS)
+
++pdftops.o: CXXFLAGS += -fPIE
++
+ TARGETS = libxpdf.a pdftops
+
+
+--- cups-1.2b2/scheduler/Makefile.pie 2006-03-05 16:48:12.000000000 +0000
++++ cups-1.2b2/scheduler/Makefile 2006-03-13 14:22:03.000000000 +0000
+@@ -24,6 +24,9 @@
+
+ include ../Makedefs
+
++CFLAGS += -fPIE
++LDFLAGS += -pie
++
+ CUPSDOBJS = \
+ auth.o \
+ banners.o \
+--- cups-1.2b2/cups/Makefile.pie 2006-03-10 04:42:19.000000000 +0000
++++ cups-1.2b2/cups/Makefile 2006-03-13 14:22:03.000000000 +0000
+@@ -25,6 +25,7 @@
+ #
+
+ include ../Makedefs
++CFLAGS += -fpic
#
+ # Object files...
cups-relro.patch:
Makefile | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: cups-relro.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-relro.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cups-relro.patch 19 Dec 2005 18:21:05 -0000 1.2
+++ cups-relro.patch 17 Mar 2006 12:10:57 -0000 1.3
@@ -1,5 +1,5 @@
---- cups-1.1.23/pdftops/Makefile.relro 2005-12-19 16:48:14.000000000 +0000
-+++ cups-1.1.23/pdftops/Makefile 2005-12-19 16:50:49.000000000 +0000
+--- cups-1.2svn-r4964/pdftops/Makefile.relro 2006-01-25 16:56:03.000000000 +0000
++++ cups-1.2svn-r4964/pdftops/Makefile 2006-01-25 16:56:40.000000000 +0000
@@ -9,7 +9,7 @@
Index: cups.spec
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- cups.spec 13 Feb 2006 15:14:55 -0000 1.134
+++ cups.spec 17 Mar 2006 12:10:57 -0000 1.135
@@ -1,15 +1,16 @@
%define initdir /etc/rc.d/init.d
%define use_alternatives 1
-%define use_dbus 1
%define build_as_pie 1
+%define beta b2
+%define cups_serverbin %{_exec_prefix}/lib/cups
Summary: Common Unix Printing System
Name: cups
-Version: 1.1.23
-Release: 30.2
+Version: 1.2
+Release: 0.1.%{beta}.2
License: GPL
Group: System Environment/Daemons
-Source: ftp://ftp.easysw.com/pub/cups/test/cups-%{version}-source.tar.bz2
+Source: ftp://ftp.easysw.com/pub/cups/test/cups-1.2%{beta}-source.tar.bz2
Source1: cups.init
Source2: cupsprinter.png
Source5: cups-lpd
@@ -21,44 +22,26 @@
Source11: cups.conf
Source12: cups.cron
Patch0: cups-1.1.15-initscript.patch
-Patch1: cups-1.1.14-doclink.patch
+Patch1: cups-no-gzip-man.patch
Patch2: cups-1.1.16-system-auth.patch
Patch3: cups-1.1.17-backend.patch
Patch4: cups-ext.patch
-Patch5: cups-str1023.patch
-Patch6: cups-1.1.17-pdftops.patch
+Patch5: cups-policy.patch
+Patch6: cups-users.patch
Patch7: cups-logfileperm.patch
Patch8: cups-1.1.17-rcp.patch
Patch9: cups-1.1.17-ppdsdat.patch
-Patch10: cups-1.1.17-sanity.patch
-Patch11: cups-1.1.19-lpstat.patch
Patch12: cups-locale.patch
Patch13: cups-CAN-2005-0064.patch
-Patch14: cups-str1068.patch
-Patch15: cups-sigchld.patch
Patch16: cups-pie.patch
Patch17: cups-1.1.19-no_rpath.patch
Patch18: cups-language.patch
-Patch19: cups-gcc34.patch
-Patch20: cups-gcc4.patch
-Patch21: cups-slow.patch
Patch22: cups-dest-cache-v2.patch
-Patch23: cups-autodetected-tag.patch
Patch24: cups-maxlogsize.patch
-Patch25: cups-enabledisable.patch
Patch28: cups-no-propagate-ipp-port.patch
Patch32: cups-pid.patch
-Patch33: cups-CAN-2004-0888.patch
-Patch34: cups-CAN-2005-2097.patch
-Patch35: cups-finddest.patch
-Patch36: cups-str1249.patch
-Patch37: cups-str1284.patch
-Patch38: cups-str1290.patch
-Patch39: cups-str1301.patch
Patch40: cups-link.patch
Patch41: cups-relro.patch
-Patch42: cups-CVE-2005-3625,6,7.patch
-Patch43: cups-dbus.patch
Epoch: 1
Url: http://www.cups.org/
BuildRoot: %{_tmppath}/%{name}-root
@@ -74,15 +57,15 @@
Provides: lpd lpr LPRng = 3.8.15-3
BuildPrereq: pam-devel openssl-devel pkgconfig
+BuildPrereq: gnutls-devel
BuildRequires: make >= 1:3.80
+BuildRequires: php-devel, aspell-devel, pcre-devel
# -fstack-protector-all requires GCC 4.0.1
BuildRequires: gcc >= 4.0.1
-%if %use_dbus
BuildPrereq: dbus-devel >= 0.60
Requires: dbus >= 0.60
-%endif
%package devel
Summary: Common Unix Printing System - development environment
@@ -124,50 +107,30 @@
lpd emulation.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}%{beta}
%patch0 -p1 -b .noinit
-%patch1 -p1 -b .doclink
+%patch1 -p1 -b .no-gzip-man
%patch2 -p1 -b .system-auth
%patch3 -p1 -b .backend
%patch4 -p1 -b .ext
-%patch5 -p1 -b .str1023
-%patch6 -p1 -b .pdftops
+%patch5 -p1 -b .policy
+%patch6 -p1 -b .users
%patch7 -p1 -b .logfileperm
%patch8 -p1 -b .rcp
%patch9 -p1 -b .ppdsdat
-%patch10 -p1 -b .sanity
-%patch11 -p1 -b .lpstat
%patch12 -p1 -b .locale
%patch13 -p1 -b .CAN-2005-0064
-%patch14 -p1 -b .str1068
-%patch15 -p1 -b .sigchld
%if %build_as_pie
%patch16 -p1 -b .pie
%endif
%patch17 -p1 -b .no_rpath
%patch18 -p1 -b .language
-%patch19 -p1 -b .gcc34
-%patch20 -p1 -b .gcc4
-%patch21 -p1 -b .slow
%patch22 -p1 -b .dest-cache-v2
-%patch23 -p1 -b .autodetected-tag
%patch24 -p1 -b .maxlogsize
-%patch25 -p1 -b .enabledisable
%patch28 -p1 -b .no-propagate-ipp-port
%patch32 -p1 -b .pid
-%patch33 -p1 -b .CAN-2004-0888
-%patch34 -p1 -b .CAN-2005-2097
-%patch35 -p1 -b .finddest
-%patch36 -p1 -b .str1249
-%patch37 -p1 -b .str1284
-%patch38 -p1 -b .str1290
-%patch39 -p1 -b .str1301
%patch40 -p1 -b .link
%patch41 -p1 -b .relro
-%patch42 -p1 -b .CVE-2005-3625,6,7
-%if %use_dbus
-%patch43 -p1 -b .dbus
-%endif
perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
aclocal -I config-scripts
autoconf
@@ -178,11 +141,6 @@
# Let's look at the compilation command lines.
perl -pi -e "s,^.SILENT:,," Makedefs.in
-for i in man/{es,fr}/*.man templates/{de,fr}/*.tmpl; do
- iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
- mv "${i}_" "$i"
-done
-
%build
if pkg-config openssl ; then
export CFLAGS=`pkg-config --cflags openssl`
@@ -227,7 +185,7 @@
install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
install -c -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
-install -c -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
+install -c -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{cups_serverbin}/backend/ncp
install -c -m 755 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
ln -s ../doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
# Deal with users trying to access the admin tool at
@@ -256,29 +214,21 @@
done
# Ship pstoraster (bug #69573).
-install -c -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/cups/filter
+install -c -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{cups_serverbin}/filter
install -c -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/cups
# Ship a generic postscript PPD file (#73061)
install -c -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/cups/model
-%if %use_dbus
-# D-BUS configuration.
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
-install -c -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/cups.conf
-%endif
+# Ship a clients.conf file.
+touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
+
+# Ship an SSL directory
+mkdir $RPM_BUILD_ROOT%{_sysconfdir}/cups/ssl
# Remove unshipped files.
rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
-# Remove .pdf from docs, fix links
-for pdf in cmp.pdf ipp.pdf sam.pdf spm.pdf ssr.pdf sum.pdf translation.pdf \
- idd.pdf overview.pdf sdd.pdf sps.pdf stp.pdf svd.pdf
-do
- perl -p -i -e "s@$pdf at http://www.cups.org/$pdf@" $RPM_BUILD_ROOT%{_docdir}/cups-%{version}/documentation.html
-done
-find $RPM_BUILD_ROOT%{_docdir}/cups-%{version} -name *.pdf |xargs rm
-
%post
/sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
@@ -327,90 +277,78 @@
exit 0
%triggerin -- samba-client
-ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
+ln -sf ../../../bin/smbspool %{cups_serverbin}/backend/smb || :
exit 0
%triggerun -- samba-client
[ $2 = 0 ] || exit 0
-rm -f %{_libdir}/cups/backend/smb
+rm -f %{cups_serverbin}/backend/smb
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%dir %attr(0775,root,sys) /etc/cups
-%dir %attr(0711,root,sys) /etc/cups/certs
-%config(noreplace) %attr(0640,root,sys) /etc/cups/classes.conf
-%config(noreplace) %attr(0640,root,sys) /etc/cups/cupsd.conf
-%config(noreplace) %attr(0640,root,sys) /etc/cups/printers.conf
-%config(noreplace) /etc/cups/client.conf
+%dir %attr(0755,root,nobody) /etc/cups
+%dir %attr(0511,lp,sys) /var/run/cups/certs
+%config(noreplace) %attr(0640,root,nobody) /etc/cups/cupsd.conf
+%attr(0640,root,nobody) /etc/cups/cupsd.conf.default
+%config(noreplace) %attr(0644,root,nobody) /etc/cups/client.conf
/etc/cups/interfaces
%config(noreplace) /etc/cups/mime.types
%config(noreplace) /etc/cups/mime.convs
-%dir %attr(0755,root,sys) /etc/cups/ppd
+%dir %attr(0755,root,nobody) /etc/cups/ppd
+%dir %attr(0700,root,nobody) /etc/cups/ssl
/etc/cups/pstoraster.convs
%config(noreplace) /etc/pam.d/cups
%dir %{_docdir}/cups-%{version}
+%{_docdir}/cups-%{version}/favicon.ico
%{_docdir}/cups-%{version}/images
+%{_docdir}/cups-%{version}/ja
%{_docdir}/cups-%{version}/*.css
-%{_docdir}/cups-%{version}/documentation.html
-%{_docdir}/cups-%{version}/??
%{_docdir}/cups-%{version}/admin
%{_docdir}/cups-%{version}/classes
%{_docdir}/cups-%{version}/jobs
%{_docdir}/cups-%{version}/printers
%doc %{_docdir}/cups-%{version}/index.html
-%doc %{_docdir}/cups-%{version}/cmp.html
-%doc %{_docdir}/cups-%{version}/idd.html
-%doc %{_docdir}/cups-%{version}/ipp.html
-%doc %{_docdir}/cups-%{version}/overview.html
-%doc %{_docdir}/cups-%{version}/sam.html
-%doc %{_docdir}/cups-%{version}/sdd.html
-%doc %{_docdir}/cups-%{version}/spm.html
-%doc %{_docdir}/cups-%{version}/sps.html
-%doc %{_docdir}/cups-%{version}/ssr.html
-%doc %{_docdir}/cups-%{version}/stp.html
-%doc %{_docdir}/cups-%{version}/sum.html
-%doc %{_docdir}/cups-%{version}/svd.html
-%doc %{_docdir}/cups-%{version}/translation.html
+%doc %{_docdir}/cups-%{version}/help
%doc %{_docdir}/cups-%{version}/robots.txt
%config(noreplace) %{initdir}/cups
%{_bindir}/cupstestppd
%{_bindir}/cancel*
-%{_bindir}/enable*
-%{_bindir}/disable*
-%{_bindir}/cupsenable*
-%{_bindir}/cupsdisable*
%{_bindir}/lp*
-%dir %{_libdir}/cups
-%{_libdir}/cups/backend
-%{_libdir}/cups/cgi-bin
-%dir %{_libdir}/cups/daemon
-%{_libdir}/cups/daemon/cups-polld
-%{_libdir}/cups/filter
+%dir %{cups_serverbin}
+%{cups_serverbin}/backend
+%{cups_serverbin}/cgi-bin
+%dir %{cups_serverbin}/daemon
+%{cups_serverbin}/daemon/cups-polld
+%{cups_serverbin}/daemon/cups-deviced
+%{cups_serverbin}/daemon/cups-driverd
+%{cups_serverbin}/notifier/mailto
+%{cups_serverbin}/notifier/testnotify
+%{cups_serverbin}/filter
+%{cups_serverbin}/monitor
%{_mandir}/man?/*
-%{_mandir}/*/man?/*
%{_sbindir}/*
%dir %{_datadir}/cups
%dir %{_datadir}/cups/banners
%config(noreplace) %{_datadir}/cups/banners/*
%{_datadir}/cups/charsets
+%{_datadir}/cups/charmaps
%{_datadir}/cups/data
%{_datadir}/cups/doc
%{_datadir}/cups/fonts
%{_datadir}/cups/model
%{_datadir}/cups/templates
%{_datadir}/locale/*/*
-%dir %attr(1770,root,sys) /var/spool/cups/tmp
-%dir %attr(0710,root,sys) /var/spool/cups
+%dir %attr(1770,root,nobody) /var/spool/cups/tmp
+%dir %attr(0710,root,nobody) /var/spool/cups
%dir %attr(0755,lp,sys) /var/log/cups
%config(noreplace) %{_sysconfdir}/logrotate.d/cups
%{_datadir}/pixmaps/cupsprinter.png
%{_sysconfdir}/cron.daily/cups
-%if %use_dbus
%{_sysconfdir}/dbus-1/system.d/cups.conf
-%endif
+%{_libdir}/php/modules/*.so
%files libs
%defattr(-,root,root)
@@ -420,28 +358,71 @@
%defattr(-,root,root)
%{_bindir}/cups-config
%{_libdir}/*.so
-%{_libdir}/*.a
%{_includedir}/cups
%files lpd
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
-%dir %{_libdir}/cups
-%dir %{_libdir}/cups/daemon
-%{_libdir}/cups/daemon/cups-lpd
+%dir %{cups_serverbin}
+%dir %{cups_serverbin}/daemon
+%{cups_serverbin}/daemon/cups-lpd
%changelog
-* Mon Feb 13 2006 Tim Waugh <twaugh at redhat.com>
-- Removed (unapplied) session printing patch.
+* Fri Mar 17 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.1.b2.2
+- Rebuilt.
+
+* Tue Mar 14 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.1.b2.1
+- Build requires gnutls-devel.
+- Fixed default policy name.
+- Fixed 'set-allowed-users' in web UI.
+
+* Mon Mar 13 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.1.b2.0
+- 1.2b2.
+- Use new CUPS_SERVERBIN location (/usr/lib/cups even on 64-bit hosts).
+
+* Fri Mar 10 2006 Tim Waugh <twaugh at redhat.com>
+- Fixed some permissions.
+
+* Fri Mar 10 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.1.b1.1
+- Ship /etc/cups/ssl directory.
-* Fri Feb 10 2006 Jesse Keating <jkeating at redhat.com> - 1:1.1.23-30.2
-- bump again for double-long bug on ppc(64)
+* Thu Mar 9 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.1.b1.0
+- 1.2b1. No longer need devid patch.
+
+* Wed Mar 8 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn5238.2
+- Fixed 'device-id' attribute in GET_DEVICES requests (STR #1467).
+
+* Tue Mar 7 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn5238.1
+- New svn snapshot.
+- No longer need browse or raw patches.
+
+* Wed Mar 1 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn5137.1
+- Fixed raw printing.
+- Removed (unapplied) session printing patch.
+- Fixed browse info.
-* Tue Feb 07 2006 Jesse Keating <jkeating at redhat.com> - 1:1.1.23-30.1
-- rebuilt for new gcc4.1 snapshot and glibc changes
+* Thu Feb 23 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn5137.0
+- New svn snapshot.
-* Wed Jan 25 2006 Tim Waugh <twaugh at redhat.com>
-- Fixed link patch.
+* Fri Feb 17 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn5102.0
+- New svn snapshot.
+- No longer need enabledisable patch.
+- Fixed double-free in scheduler/policy.c (STR #1428).
+
+* Fri Feb 10 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn5083.0
+- New svn snapshot.
+
+* Wed Jan 25 2006 Tim Waugh <twaugh at redhat.com> 1:1.2-0.0.svn4964.0
+- Use -fPIE not -fpie in PIE patch.
+- Fix link patch.
+- Patch in PIE instead of using --enable-pie, since that doesn't work.
+
+* Fri Jan 20 2006 Tim Waugh <twaugh at redhat.com>
+- 1.2 svn snapshot.
+- No longer need doclink, str1023, pdftops, sanity, lpstat, str1068,
+ sigchld, gcc34, gcc4, slow, CAN-2004-0888, CAN-2005-2097, finddest,
+ str1249, str1284, str1290, str1301, CVE-2005-3625,6,7 patches.
+- Removed autodetect-tag patch.
* Tue Jan 17 2006 Tim Waugh <twaugh at redhat.com> 1:1.1.23-30
- Include 'Autodetected' tag for better integration with autodetection tools.
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/sources,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sources 4 Jan 2005 12:24:50 -0000 1.15
+++ sources 17 Mar 2006 12:10:57 -0000 1.16
@@ -1,2 +1,2 @@
b0bb017098e8e76b8a25e666c41ce540 postscript.ppd.gz
-4ce09b1dce09b6b9398af0daae9adf63 cups-1.1.23-source.tar.bz2
+67a912af67de02e290a149f3947da96d cups-1.2b2-source.tar.bz2
--- cups-1.1.14-doclink.patch DELETED ---
--- cups-1.1.17-pdftops.patch DELETED ---
--- cups-1.1.17-sanity.patch DELETED ---
--- cups-1.1.19-lpstat.patch DELETED ---
--- cups-CAN-2004-0888.patch DELETED ---
--- cups-CAN-2005-2097.patch DELETED ---
***** Not enough context to create diffstat for file: cups-CVE-2005-3625,6,7.patch,1.1,NONE
***** Not enough context to create diff for file: cups-CVE-2005-3625,6,7.patch,1.1,NONE
--- cups-autodetected-tag.patch DELETED ---
--- cups-dbus.patch DELETED ---
--- cups-enabledisable.patch DELETED ---
--- cups-finddest.patch DELETED ---
--- cups-gcc34.patch DELETED ---
--- cups-gcc4.patch DELETED ---
--- cups-sigchld.patch DELETED ---
--- cups-slow.patch DELETED ---
--- cups-str1023.patch DELETED ---
--- cups-str1068.patch DELETED ---
--- cups-str1249.patch DELETED ---
--- cups-str1284.patch DELETED ---
--- cups-str1290.patch DELETED ---
--- cups-str1301.patch DELETED ---
- Previous message (by thread): rpms/logwatch/devel logwatch-7.2.1-audit.patch, NONE, 1.1 logwatch-7.2.1-http.patch, NONE, 1.1 logwatch-7.2.1-mountd.patch, NONE, 1.1 logwatch-7.2.1-named.patch, NONE, 1.1 logwatch-7.2.1-nosegfault.patch, NONE, 1.1 logwatch-7.2.1-pam_unix.patch, NONE, 1.1 logwatch-7.2.1-secure.patch, NONE, 1.1 logwatch-7.2.1-smart.patch, NONE, 1.1 logwatch-7.2.1-sshd.patch, NONE, 1.1 .cvsignore, 1.12, 1.13 logwatch.spec, 1.35, 1.36 sources, 1.12, 1.13 logwatch-7.0-nosegfault.patch, 1.1, NONE logwatch-7.1-audit.patch, 1.1, NONE logwatch-7.1-http.patch, 1.1, NONE logwatch-7.1-http2.patch, 1.1, NONE logwatch-7.1-iptables.patch, 1.1, NONE logwatch-7.1-named.patch, 1.2, NONE logwatch-7.1-pam_unix.patch, 1.2, NONE logwatch-7.1-samba.patch, 1.1, NONE logwatch-7.1-secure.patch, 1.1, NONE logwatch-7.1-sshd.patch, 1.1, NONE
- Next message (by thread): rpms/scim-anthy/devel scim-anthy-symbol-style.patch, NONE, 1.1 scim-anthy.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list