This commit is contained in:
committed by
Git OBS Bridge
parent
031e28ec54
commit
bf58c9893e
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4ff8e934da7db32d5654360ea9068faa0ed5a00fde02161ae53c2052510d00f
|
||||
size 3788301
|
@@ -1,145 +0,0 @@
|
||||
--- cups-1.2.12/cups/file.c.orig 2007-02-27 16:46:10.000000000 +0100
|
||||
+++ cups-1.2.12/cups/file.c 2007-09-18 12:06:46.000000000 +0200
|
||||
@@ -1216,7 +1216,7 @@
|
||||
if (fp->ptr >= fp->end)
|
||||
if (cups_fill(fp) <= 0)
|
||||
{
|
||||
- DEBUG_printf((" cups_fill() returned -1, total=%d\n", total));
|
||||
+ DEBUG_printf((" cups_fill() returned -1, total=%d\n", (int)total));
|
||||
|
||||
if (total > 0)
|
||||
return ((ssize_t)total);
|
||||
@@ -1244,7 +1244,7 @@
|
||||
* Return the total number of bytes read...
|
||||
*/
|
||||
|
||||
- DEBUG_printf((" total=%d\n", total));
|
||||
+ DEBUG_printf((" total=%d\n", (int)total));
|
||||
|
||||
return ((ssize_t)total);
|
||||
}
|
||||
@@ -1712,6 +1712,7 @@
|
||||
{
|
||||
ssize_t bytes; /* Number of bytes read */
|
||||
#ifdef HAVE_LIBZ
|
||||
+ int status; /* Decompression status */
|
||||
const unsigned char *ptr, /* Pointer into buffer */
|
||||
*end; /* End of buffer */
|
||||
#endif /* HAVE_LIBZ */
|
||||
@@ -1930,7 +1931,13 @@
|
||||
fp->stream.next_out = (Bytef *)fp->buf;
|
||||
fp->stream.avail_out = sizeof(fp->buf);
|
||||
|
||||
- if (inflate(&(fp->stream), Z_NO_FLUSH) == Z_STREAM_END)
|
||||
+ status = inflate(&(fp->stream), Z_NO_FLUSH);
|
||||
+
|
||||
+ if (fp->stream.next_out > (Bytef *)fp->buf)
|
||||
+ fp->crc = crc32(fp->crc, (Bytef *)fp->buf,
|
||||
+ fp->stream.next_out - (Bytef *)fp->buf);
|
||||
+
|
||||
+ if (status == Z_STREAM_END)
|
||||
{
|
||||
/*
|
||||
* Read the CRC and length...
|
||||
@@ -1959,6 +1966,9 @@
|
||||
* Bad CRC, mark end-of-file...
|
||||
*/
|
||||
|
||||
+ DEBUG_printf(("cups_fill: tcrc=%08x, fp->crc=%08x\n",
|
||||
+ (unsigned int)tcrc, (unsigned int)fp->crc));
|
||||
+
|
||||
fp->eof = 1;
|
||||
|
||||
return (-1);
|
||||
--- cups-1.2.12/cups/testfile.c.orig 2007-01-10 20:27:04.000000000 +0100
|
||||
+++ cups-1.2.12/cups/testfile.c 2007-09-18 12:06:46.000000000 +0200
|
||||
@@ -25,7 +25,8 @@
|
||||
*
|
||||
* Contents:
|
||||
*
|
||||
- * main() - Main entry.
|
||||
+ * main() - Main entry.
|
||||
+ * read_write_tests() - Perform read/write tests.
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -158,6 +159,8 @@
|
||||
unsigned char readbuf[8192], /* Read buffer */
|
||||
writebuf[8192]; /* Write buffer */
|
||||
int byte; /* Byte from file */
|
||||
+ static const char *partial_line = "partial line";
|
||||
+ /* Partial line */
|
||||
|
||||
|
||||
/*
|
||||
@@ -262,11 +265,25 @@
|
||||
|
||||
fputs("cupsFileWrite(): ", stdout);
|
||||
|
||||
- for (i = 0; i < 100; i ++)
|
||||
+ for (i = 0; i < 10000; i ++)
|
||||
if (cupsFileWrite(fp, (char *)writebuf, sizeof(writebuf)) < 0)
|
||||
break;
|
||||
|
||||
- if (i >= 100)
|
||||
+ if (i >= 10000)
|
||||
+ puts("PASS");
|
||||
+ else
|
||||
+ {
|
||||
+ printf("FAIL (%s)\n", strerror(errno));
|
||||
+ status ++;
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
+ * cupsFilePuts() with partial line...
|
||||
+ */
|
||||
+
|
||||
+ fputs("cupsFilePuts(\"partial line\"): ", stdout);
|
||||
+
|
||||
+ if (cupsFilePuts(fp, partial_line) > 0)
|
||||
puts("PASS");
|
||||
else
|
||||
{
|
||||
@@ -414,13 +431,13 @@
|
||||
|
||||
fputs("cupsFileRead(): ", stdout);
|
||||
|
||||
- for (i = 0; i < 100; i ++)
|
||||
+ for (i = 0; i < 10000; i ++)
|
||||
if ((byte = cupsFileRead(fp, (char *)readbuf, sizeof(readbuf))) < 0)
|
||||
break;
|
||||
else if (memcmp(readbuf, writebuf, sizeof(readbuf)))
|
||||
break;
|
||||
|
||||
- if (i >= 100)
|
||||
+ if (i >= 10000)
|
||||
puts("PASS");
|
||||
else if (byte > 0)
|
||||
{
|
||||
@@ -440,6 +457,26 @@
|
||||
}
|
||||
|
||||
/*
|
||||
+ * cupsFileGetChar() with partial line...
|
||||
+ */
|
||||
+
|
||||
+ fputs("cupsFileGetChar(partial line): ", stdout);
|
||||
+
|
||||
+ for (i = 0; i < strlen(partial_line); i ++)
|
||||
+ if ((byte = cupsFileGetChar(fp)) < 0)
|
||||
+ break;
|
||||
+ else if (byte != partial_line[i])
|
||||
+ break;
|
||||
+
|
||||
+ if (!partial_line[i])
|
||||
+ puts("PASS");
|
||||
+ else
|
||||
+ {
|
||||
+ printf("FAIL (got '%c', expected '%c')\n", byte, partial_line[i]);
|
||||
+ status ++;
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
* cupsFileClose()
|
||||
*/
|
||||
|
@@ -1,12 +0,0 @@
|
||||
--- cups-1.2.12/systemv/cupstestppd.c.orig 2007-09-10 14:41:05.000000000 +0200
|
||||
+++ cups-1.2.12/systemv/cupstestppd.c 2007-09-10 15:10:03.000000000 +0200
|
||||
@@ -958,7 +958,8 @@
|
||||
else
|
||||
ydpi = xdpi;
|
||||
|
||||
- if (xdpi <= 0 || ydpi <= 0 || strcmp(ptr, "dpi"))
|
||||
+ if ((xdpi <= 0 || ydpi <= 0 || strcmp(ptr, "dpi")) &&
|
||||
+ (strcmp(ptr, "None")))
|
||||
{
|
||||
if (verbose >= 0)
|
||||
{
|
@@ -1,20 +0,0 @@
|
||||
--- cups-1.2.12/systemv/cupstestppd.c.orig 2007-09-12 10:13:06.000000000 +0200
|
||||
+++ cups-1.2.12/systemv/cupstestppd.c 2007-09-12 14:40:43.000000000 +0200
|
||||
@@ -1509,6 +1509,8 @@
|
||||
c->option2,
|
||||
c->option1, c->choice1, c->option2, c->choice2);
|
||||
|
||||
+ errors ++;
|
||||
+
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1535,6 +1537,8 @@
|
||||
c->option2, c->choice2,
|
||||
c->option1, c->choice1, c->option2, c->choice2);
|
||||
}
|
||||
+
|
||||
+ errors ++;
|
||||
}
|
||||
|
||||
/*
|
@@ -1,12 +0,0 @@
|
||||
--- cups-1.2.6/scheduler/conf.c.orig 2006-11-09 15:21:33.000000000 +0100
|
||||
+++ cups-1.2.6/scheduler/conf.c 2006-11-09 15:30:46.000000000 +0100
|
||||
@@ -640,7 +640,9 @@
|
||||
check_permissions(StateDir, NULL, 0755, RunUser, Group, 1, 1) < 0 ||
|
||||
check_permissions(StateDir, "certs", RunUser ? 0711 : 0511, User,
|
||||
SystemGroupIDs[0], 1, 1) < 0 ||
|
||||
+#if 0
|
||||
check_permissions(ServerRoot, NULL, 0755, RunUser, Group, 1, 0) < 0 ||
|
||||
+#endif
|
||||
check_permissions(ServerRoot, "ppd", 0755, RunUser, Group, 1, 1) < 0 ||
|
||||
check_permissions(ServerRoot, "ssl", 0700, RunUser, Group, 1, 0) < 0 ||
|
||||
check_permissions(ServerRoot, "cupsd.conf", ConfigFilePerm, RunUser,
|
@@ -1,15 +0,0 @@
|
||||
--- cups-1.2.7/pdftops/Stream.cxx.orig 2006-02-13 04:08:11.000000000 +0100
|
||||
+++ cups-1.2.7/pdftops/Stream.cxx 2007-08-06 16:45:54.000000000 +0200
|
||||
@@ -412,9 +412,9 @@
|
||||
|
||||
nVals = width * nComps;
|
||||
if (width <= 0 || nComps <= 0 || nBits <= 0 ||
|
||||
- nComps >= INT_MAX / nBits ||
|
||||
- width >= INT_MAX / nComps / nBits ||
|
||||
- nVals * nBits + 7 < 0) {
|
||||
+ nComps >= 4 || nBits > 16 ||
|
||||
+ width >= INT_MAX / nComps ||
|
||||
+ nVals >= (INT_MAX - 7) / nBits) {
|
||||
return;
|
||||
}
|
||||
pixBytes = (nComps * nBits + 7) >> 3;
|
@@ -1,6 +1,6 @@
|
||||
--- cups-1.2.12/conf/mime.types.orig 2007-07-07 00:39:54.000000000 +0200
|
||||
+++ cups-1.2.12/conf/mime.types 2007-07-30 15:33:38.000000000 +0200
|
||||
@@ -84,6 +84,8 @@
|
||||
--- cups-1.3.3/conf/mime.types.orig 2007-07-11 23:46:42.000000000 +0200
|
||||
+++ cups-1.3.3/conf/mime.types 2007-10-15 18:39:02.000000000 +0200
|
||||
@@ -75,6 +75,8 @@
|
||||
contains(0,4096,"LANGUAGE = POSTSCRIPT") \
|
||||
(contains(0,4096,<0a>%!) + \
|
||||
!contains(0,4096,"ENTER LANGUAGE")))
|
||||
@@ -9,13 +9,13 @@
|
||||
application/vnd.hp-HPGL hpgl \
|
||||
string(0,<1B>E<1B>%0B) \
|
||||
string(0,<1B>%-1B) string(0,<201B>)\
|
||||
--- cups-1.2.12/conf/mime.convs.orig 2007-03-27 18:11:27.000000000 +0200
|
||||
+++ cups-1.2.12/conf/mime.convs 2007-07-30 15:31:46.000000000 +0200
|
||||
@@ -49,6 +49,8 @@
|
||||
--- cups-1.3.3/conf/mime.convs.in.orig 2007-08-02 19:58:59.000000000 +0200
|
||||
+++ cups-1.3.3/conf/mime.convs.in 2007-10-15 18:40:15.000000000 +0200
|
||||
@@ -40,6 +40,8 @@
|
||||
|
||||
application/pdf application/postscript 33 pdftops
|
||||
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/vnd.hp-HPGL application/postscript 66 hpgltops
|
||||
application/x-cshell application/postscript 33 texttops
|
@@ -1,6 +1,6 @@
|
||||
--- cups-1.2.12/conf/mime.types.orig 2007-07-30 15:34:55.000000000 +0200
|
||||
+++ cups-1.2.12/conf/mime.types 2007-07-30 15:37:43.000000000 +0200
|
||||
@@ -85,7 +85,10 @@
|
||||
--- cups-1.3.3/conf/mime.types.orig 2007-10-15 18:42:58.000000000 +0200
|
||||
+++ cups-1.3.3/conf/mime.types 2007-10-15 18:44:56.000000000 +0200
|
||||
@@ -76,7 +76,10 @@
|
||||
(contains(0,4096,<0a>%!) + \
|
||||
!contains(0,4096,"ENTER LANGUAGE")))
|
||||
#application/x-dvi dvi string(0,<F702>)
|
||||
@@ -12,16 +12,16 @@
|
||||
application/vnd.hp-HPGL hpgl \
|
||||
string(0,<1B>E<1B>%0B) \
|
||||
string(0,<1B>%-1B) string(0,<201B>)\
|
||||
--- cups-1.2.12/conf/mime.convs.orig 2007-07-30 15:34:55.000000000 +0200
|
||||
+++ cups-1.2.12/conf/mime.convs 2007-07-30 15:34:55.000000000 +0200
|
||||
@@ -50,7 +50,9 @@
|
||||
--- cups-1.3.3/conf/mime.convs.in.orig 2007-10-15 18:42:58.000000000 +0200
|
||||
+++ cups-1.3.3/conf/mime.convs.in 2007-10-15 18:46:39.000000000 +0200
|
||||
@@ -41,7 +41,9 @@
|
||||
application/pdf application/postscript 33 pdftops
|
||||
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/postscript 33 ogonki
|
||||
+#application/mozilla-ps application/postscript 33 pswrite
|
||||
+application/mozilla-ps application/vnd.cups-postscript 66 pstops
|
||||
+#application/mozilla-ps application/postscript 33 pswrite
|
||||
+application/mozilla-ps application/vnd.cups-postscript 66 pstops
|
||||
application/vnd.hp-HPGL application/postscript 66 hpgltops
|
||||
application/x-cshell application/postscript 33 texttops
|
||||
application/x-csource application/postscript 33 texttops
|
3
cups-1.3.3-source.tar.bz2
Normal file
3
cups-1.3.3-source.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e9e5670777055293e309cb0cbb2758df9c1275bf648df70478b7389c2d804de
|
||||
size 4077262
|
13
cups-1.3.3-testppd_none.patch
Normal file
13
cups-1.3.3-testppd_none.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- cups-1.3.3/systemv/cupstestppd.c.orig 2007-10-15 18:50:01.000000000 +0200
|
||||
+++ cups-1.3.3/systemv/cupstestppd.c 2007-10-15 18:52:26.000000000 +0200
|
||||
@@ -983,8 +983,8 @@
|
||||
else
|
||||
ydpi = xdpi;
|
||||
|
||||
- if (xdpi <= 0 || xdpi > 99999 || ydpi <= 0 || ydpi > 99999 ||
|
||||
- strcmp(ptr, "dpi"))
|
||||
+ if ((xdpi <= 0 || xdpi > 99999 || ydpi <= 0 || ydpi > 99999 ||
|
||||
+ strcmp(ptr, "dpi")) && (strcmp(ptr, "None")))
|
||||
{
|
||||
if (verbose >= 0)
|
||||
{
|
84
cups.changes
84
cups.changes
@@ -1,3 +1,87 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 15 19:40:33 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
- upgrade to version 1.3.3. Main features to 1.2.x:
|
||||
* Networking
|
||||
* Kerberos: CUPS now supports Kerberos authentication
|
||||
* Mac OS X Authorization Services: CUPS now supports the
|
||||
Authorization Services framework, providing role-based access
|
||||
control in addition to the tradition UNIX model
|
||||
* Peer Credentials: CUPS now supports authentication using peer
|
||||
credentials provided over UNiX domain sockets
|
||||
* SNMP Support: SNMP lookups are no longer performed by
|
||||
default, and IPP is no longer used for discovered printers
|
||||
* LPD Support; The LPD backend now supports a faster streaming
|
||||
mode that does not require a temporary file
|
||||
* Browsing
|
||||
* CUPS Browsing: The default configuration now shows shared
|
||||
printers from any address (not just @LOCAL)
|
||||
* DNS-SD (Bonjour/Zeroconf) Support: CUPS now supports printer
|
||||
sharing via DNS service discovery
|
||||
* LDAP w/SSL: CUPS now supports encrypted LDAP sessions
|
||||
* Web Interface
|
||||
* Internet Printer Sharing: You can now share printers over the
|
||||
Internet via the basic server settings
|
||||
* Improved On-Line Help: Searching the on-line help now shows
|
||||
results for all text, not just headings and links
|
||||
* Printer Setup: The available printer list is now only show
|
||||
when requested and the Add This Printer button now allows you
|
||||
to change the default name, location, and description
|
||||
* Printer Configuration: Raw printers and classes can now be
|
||||
configured using the Set Printer Options button
|
||||
* IPP Support
|
||||
* Job Printer Attributes: CUPS now provides
|
||||
job-printer-state-message and job-printer-state-reasons
|
||||
attributes containing copies of the corresponding printer
|
||||
attributes to provide important history information with each
|
||||
job
|
||||
* PPD Operations and Attributes: The new CUPS_GET_PPD operation
|
||||
allows you to retrieve PPD files from the scheduler; also,
|
||||
CUPS_GET_PPDS now reports more information and supports more
|
||||
value filters
|
||||
* Printer Defaults: The document-forma-default,
|
||||
notify-events-default, and notify-lease-duration-default
|
||||
attributes can be set for each printer and class
|
||||
* PWG Printer Alert Support: CUPS now supports the
|
||||
printer-alert and printer-alert-description attributes
|
||||
* Server-Side Options: Server-side default options can now be
|
||||
retrieved using the "printer-defaults" group keyword
|
||||
* Scheduler
|
||||
* Client Support: The scheduler now uses poll(), epoll(), or
|
||||
/dev/kqueue on platforms that provide them to support large
|
||||
numbers of clients
|
||||
* "Default" Authentication: You can now specify an AuthType of
|
||||
Default in locations and policies, which maps to the
|
||||
DefaultAuthType value
|
||||
* Larger Numbers of Clients: The scheduler now uses poll(),
|
||||
epoll(), or /dev/kqueue instead of select() when possible
|
||||
* New cupsctl Command: The new cupsctl command allows you to
|
||||
perform basic server configuration from the command-line
|
||||
* Printer Drivers
|
||||
* cupstestppd Improvements: The test utility now provides more
|
||||
extensive tests and options
|
||||
* Label Printer Driver: Added support for the Intellibar label
|
||||
printers
|
||||
* Localized Printer Drivers: The CUPS sample drivers are now
|
||||
localized in several languages
|
||||
* PJL Support: New cupsPJLCharset attribute controls character
|
||||
set for PJL strings
|
||||
* Pre-Filter Support: Drivers can now register format-specific
|
||||
filters to pre-screen print jobs
|
||||
* Side-Channel API; This new API provides out-of-band control
|
||||
of devices
|
||||
* CUPS API
|
||||
* Administration API: New cupsAdminGetServerSettings() and
|
||||
cupsAdminSetServerSettings() functions
|
||||
* Array API: New cupsArrayGetIndex(), cupsArrayGetInsert(), and
|
||||
cupsArrayNew2() functions
|
||||
* Destination API: New cupsRemoveDest() and
|
||||
cupsSetDefaultDest() functions
|
||||
* HTTP API: The http_t structure is now completely private
|
||||
* PPD API: New ppdLocalizeIPPReason()function and greatly
|
||||
improved ppdConflicts() performance
|
||||
- added new files, adapted patches, and removed already included ones
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 13:28:30 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
|
114
cups.spec
114
cups.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package cups (Version 1.2.12)
|
||||
# spec file for package cups (Version 1.3.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -13,11 +13,11 @@
|
||||
Name: cups
|
||||
BuildRequires: gcc-c++ libpng-devel libtiff-devel openldap2-devel openslp-devel openssl-devel pam-devel tcpd-devel update-desktop-files
|
||||
Url: http://www.cups.org/
|
||||
License: GPL v2 or later, individual distribution permission.
|
||||
License: GPL v2 or later
|
||||
Group: Hardware/Printing
|
||||
Summary: The Common UNIX Printing System
|
||||
Version: 1.2.12
|
||||
Release: 19
|
||||
Version: 1.3.3
|
||||
Release: 1
|
||||
Requires: cups-libs = %{version}, cups-client = %{version}
|
||||
Requires: ghostscript_any, ghostscript-fonts-std, foomatic-filters
|
||||
Requires: util-linux
|
||||
@@ -38,7 +38,7 @@ Source14: cups.xinetd
|
||||
Source15: PSLEVEL1.PPD.bz2
|
||||
Source16: PSLEVEL2.PPD.bz2
|
||||
Source17: cups.SuSEfirewall2
|
||||
Patch1: cups-1.2.12-mime.patch
|
||||
Patch1: cups-1.3.3-mime.patch
|
||||
Patch2: cups-1.2.0-ppdsdat_generation.patch
|
||||
Patch3: cups-1.2rc1-template.patch
|
||||
Patch4: cups-1.2.7-libwrap.patch
|
||||
@@ -46,16 +46,12 @@ Patch5: cups-pam.diff
|
||||
Patch6: cups-1.2b2-access_conf.patch
|
||||
Patch9: cups-1.1.21rc2-preauth_security.patch
|
||||
Patch10: cups-1.1.21rc2-usermode.patch
|
||||
Patch12: cups-1.2.12-pswrite.patch
|
||||
Patch12: cups-1.3.3-pswrite.patch
|
||||
Patch13: cups-1.1.21-umlaut_printer.patch
|
||||
Patch14: cups-1.1.21-testppd_duplex.patch
|
||||
Patch15: cups-1.2.11-testppd_filename.patch
|
||||
Patch16: cups-1.2.5-desktop_file.patch
|
||||
Patch17: cups-1.2.6-lppasswd_permission.patch
|
||||
Patch18: cups-1.2.7-xpdf_CVE_2007_3387.patch
|
||||
Patch19: cups-1.2.12-testppd_none.patch
|
||||
Patch20: cups-1.2.12-testppd_uiconstraint.patch
|
||||
Patch21: cups-1.2.12-testppd_eof_without_nl.patch
|
||||
Patch17: cups-1.3.3-testppd_none.patch
|
||||
Patch100: cups-1.1.23-testpage.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %suse_version >= 801
|
||||
@@ -148,10 +144,6 @@ Authors:
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
if [ -f /.buildenv ]; then
|
||||
. /.buildenv
|
||||
else
|
||||
@@ -273,6 +265,8 @@ rm -rf $RPM_BUILD_ROOT/%{_mandir}/cat?
|
||||
# SuSEfirewall2:
|
||||
install -d $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/
|
||||
install -m 644 %{SOURCE17} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/cups
|
||||
# remove unknown locale directory
|
||||
rm -rf $RPM_BUILD_ROOT/usr/share/locale/no
|
||||
|
||||
%clean
|
||||
#test -n "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
||||
@@ -305,11 +299,7 @@ install -m 644 %{SOURCE17} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/service
|
||||
%config(noreplace) %attr(755,lp,lp) %{_sysconfdir}/cups/interfaces
|
||||
%config(noreplace) %{_sysconfdir}/cups/mime.*
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
|
||||
# %dir %attr(700,lp,lp) %{_sysconfdir}/cups/cerst
|
||||
# %config(noreplace) %attr(640,lp,lp) %{_sysconfdir}/cups/classes.conf
|
||||
# %config(noreplace) %attr(640,lp,lp) %{_sysconfdir}/cups/printers.conf
|
||||
# %verify(not md5 size mtime) %config(missingok,noreplace) %{_sysconfdir}/cups/printcap
|
||||
# %verify(not md5 size mtime) %config(missingok,noreplace) %{_sysconfdir}/printcap
|
||||
%config(noreplace) %{_sysconfdir}/cups/snmp.conf
|
||||
%{_bindir}/poll_ppd_base
|
||||
%{_bindir}/cupstestppd
|
||||
%{_bindir}/cupstestdsc
|
||||
@@ -333,7 +323,9 @@ install -m 644 %{SOURCE17} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/service
|
||||
%dir %{_libdir}/cups/notifier
|
||||
%{_libdir}/cups/notifier/*
|
||||
%{_sbindir}/cupsaddsmb
|
||||
%{_sbindir}/cupsctl
|
||||
%{_sbindir}/cupsd
|
||||
%{_sbindir}/cupsfilter
|
||||
%{_sbindir}/rc*
|
||||
%dir %attr(0775,root,ntadmin) /usr/share/cups/drivers
|
||||
%dir /usr/share/cups
|
||||
@@ -387,8 +379,88 @@ install -m 644 %{SOURCE17} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/service
|
||||
%{_libdir}/libcups.so.*
|
||||
%{_libdir}/libcupsimage.so.*
|
||||
%{_datadir}/locale/*/cups_*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 15 2007 - kssingvo@suse.de
|
||||
- upgrade to version 1.3.3. Main features to 1.2.x:
|
||||
* Networking
|
||||
* Kerberos: CUPS now supports Kerberos authentication
|
||||
* Mac OS X Authorization Services: CUPS now supports the
|
||||
Authorization Services framework, providing role-based access
|
||||
control in addition to the tradition UNIX model
|
||||
* Peer Credentials: CUPS now supports authentication using peer
|
||||
credentials provided over UNiX domain sockets
|
||||
* SNMP Support: SNMP lookups are no longer performed by
|
||||
default, and IPP is no longer used for discovered printers
|
||||
* LPD Support; The LPD backend now supports a faster streaming
|
||||
mode that does not require a temporary file
|
||||
* Browsing
|
||||
* CUPS Browsing: The default configuration now shows shared
|
||||
printers from any address (not just @LOCAL)
|
||||
* DNS-SD (Bonjour/Zeroconf) Support: CUPS now supports printer
|
||||
sharing via DNS service discovery
|
||||
* LDAP w/SSL: CUPS now supports encrypted LDAP sessions
|
||||
* Web Interface
|
||||
* Internet Printer Sharing: You can now share printers over the
|
||||
Internet via the basic server settings
|
||||
* Improved On-Line Help: Searching the on-line help now shows
|
||||
results for all text, not just headings and links
|
||||
* Printer Setup: The available printer list is now only show
|
||||
when requested and the Add This Printer button now allows you
|
||||
to change the default name, location, and description
|
||||
* Printer Configuration: Raw printers and classes can now be
|
||||
configured using the Set Printer Options button
|
||||
* IPP Support
|
||||
* Job Printer Attributes: CUPS now provides
|
||||
job-printer-state-message and job-printer-state-reasons
|
||||
attributes containing copies of the corresponding printer
|
||||
attributes to provide important history information with each
|
||||
job
|
||||
* PPD Operations and Attributes: The new CUPS_GET_PPD operation
|
||||
allows you to retrieve PPD files from the scheduler; also,
|
||||
CUPS_GET_PPDS now reports more information and supports more
|
||||
value filters
|
||||
* Printer Defaults: The document-forma-default,
|
||||
notify-events-default, and notify-lease-duration-default
|
||||
attributes can be set for each printer and class
|
||||
* PWG Printer Alert Support: CUPS now supports the
|
||||
printer-alert and printer-alert-description attributes
|
||||
* Server-Side Options: Server-side default options can now be
|
||||
retrieved using the "printer-defaults" group keyword
|
||||
* Scheduler
|
||||
* Client Support: The scheduler now uses poll(), epoll(), or
|
||||
/dev/kqueue on platforms that provide them to support large
|
||||
numbers of clients
|
||||
* "Default" Authentication: You can now specify an AuthType of
|
||||
Default in locations and policies, which maps to the
|
||||
DefaultAuthType value
|
||||
* Larger Numbers of Clients: The scheduler now uses poll(),
|
||||
epoll(), or /dev/kqueue instead of select() when possible
|
||||
* New cupsctl Command: The new cupsctl command allows you to
|
||||
perform basic server configuration from the command-line
|
||||
* Printer Drivers
|
||||
* cupstestppd Improvements: The test utility now provides more
|
||||
extensive tests and options
|
||||
* Label Printer Driver: Added support for the Intellibar label
|
||||
printers
|
||||
* Localized Printer Drivers: The CUPS sample drivers are now
|
||||
localized in several languages
|
||||
* PJL Support: New cupsPJLCharset attribute controls character
|
||||
set for PJL strings
|
||||
* Pre-Filter Support: Drivers can now register format-specific
|
||||
filters to pre-screen print jobs
|
||||
* Side-Channel API; This new API provides out-of-band control
|
||||
of devices
|
||||
* CUPS API
|
||||
* Administration API: New cupsAdminGetServerSettings() and
|
||||
cupsAdminSetServerSettings() functions
|
||||
* Array API: New cupsArrayGetIndex(), cupsArrayGetInsert(), and
|
||||
cupsArrayNew2() functions
|
||||
* Destination API: New cupsRemoveDest() and
|
||||
cupsSetDefaultDest() functions
|
||||
* HTTP API: The http_t structure is now completely private
|
||||
* PPD API: New ppdLocalizeIPPReason()function and greatly
|
||||
improved ppdConflicts() performance
|
||||
- added new files, adapted patches, and removed already included ones
|
||||
* Tue Sep 18 2007 - kssingvo@suse.de
|
||||
- fix for missing newline before EOF in compressed files (bugzilla#309823)
|
||||
* Mon Sep 17 2007 - kssingvo@suse.de
|
||||
|
Reference in New Issue
Block a user