rpms/cups/devel cups-lspp.patch,1.14,1.15 cups.spec,1.283,1.284

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Nov 2 11:39:19 UTC 2006


Author: twaugh

Update of /cvs/dist/rpms/cups/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21533

Modified Files:
	cups-lspp.patch cups.spec 
Log Message:
* Thu Nov  2 2006 Tim Waugh <twaugh at redhat.com>
- LSPP patch fix (bug #213498).
- Resolves: rhbz#213498


cups-lspp.patch:
 Makedefs.in                 |    2 
 config-scripts/cups-lspp.m4 |   36 +++
 config.h.in                 |    7 
 configure.in                |    2 
 cups/cups.h                 |    9 
 data/Makefile               |    5 
 data/mls                    |  277 ++++++++++++++++++++++++++
 data/selinux                |  277 ++++++++++++++++++++++++++
 data/te                     |  277 ++++++++++++++++++++++++++
 scheduler/client.c          |  170 ++++++++++++++++
 scheduler/client.h          |   14 +
 scheduler/conf.c            |   46 ++++
 scheduler/conf.h            |    7 
 scheduler/ipp.c             |  452 ++++++++++++++++++++++++++++++++++++++++++++
 scheduler/job.c             |  245 +++++++++++++++++++++++
 scheduler/job.h             |   11 +
 scheduler/main.c            |   32 +++
 scheduler/printers.c        |   49 ++++
 18 files changed, 1915 insertions(+), 3 deletions(-)

Index: cups-lspp.patch
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups-lspp.patch,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- cups-lspp.patch	17 Oct 2006 10:41:11 -0000	1.14
+++ cups-lspp.patch	2 Nov 2006 11:39:16 -0000	1.15
@@ -1992,7 +1992,7 @@
    fchown(cupsFileNumber(fp), RunUser, Group);
  
 +#ifdef WITH_LSPP
-+  if (strncmp(job->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0)
++  if (job->scon && strncmp(job->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0)
 +  {
 +    if (getfilecon(filename, &spoolcon) == -1)
 +    {


Index: cups.spec
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v
retrieving revision 1.283
retrieving revision 1.284
diff -u -r1.283 -r1.284
--- cups.spec	1 Nov 2006 17:45:11 -0000	1.283
+++ cups.spec	2 Nov 2006 11:39:16 -0000	1.284
@@ -426,6 +426,9 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Thu Nov  2 2006 Tim Waugh <twaugh at redhat.com>
+- LSPP patch fix (bug #213498).
+
 * Wed Nov  1 2006 Tim Waugh <twaugh at redhat.com> 1:1.2.5-5
 - Send QueueChanged D-Bus signal on all job state changes.
 




More information about the fedora-cvs-commits mailing list