-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathcups.spec
2624 lines (2031 loc) · 93.5 KB
/
cups.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
%global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
%define initdir /etc/rc.d/init.d
%define use_alternatives 1
%define lspp 1
%define cups_serverbin %{_exec_prefix}/lib/cups
Summary: Common Unix Printing System
Name: cups
Version: 1.4.2
Release: 35%{?dist}.1
License: GPLv2
Group: System Environment/Daemons
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
# Our initscript
Source1: cups.init
# Pixmap for desktop file
Source2: cupsprinter.png
# udev rules for libusb devices
Source3: cups-libusb.rules
# LSPP-required ps->pdf filter
Source4: pstopdf
# xinetd config file for cups-lpd service
Source5: cups-lpd
# Filter for converting to CUPS raster format
Source6: pstoraster
Source7: pstoraster.convs
# Logrotate configuration
Source8: cups.logrotate
# Backend for NCP protocol
Source9: ncp.backend
# Cron-based tmpwatch for /var/spool/cups/tmp
Source10: cups.cron
# Filter and PPD for textonly printing
Source11: textonly.filter
Source12: textonly.ppd
Patch1: cups-no-gzip-man.patch
Patch2: cups-1.1.16-system-auth.patch
Patch3: cups-multilib.patch
Patch4: cups-serial.patch
Patch5: cups-banners.patch
Patch6: cups-serverbin-compat.patch
Patch7: cups-no-export-ssllibs.patch
Patch8: cups-str3448.patch
Patch9: cups-direct-usb.patch
Patch10: cups-lpr-help.patch
Patch11: cups-peercred.patch
Patch12: cups-pid.patch
Patch13: cups-page-label.patch
Patch14: cups-eggcups.patch
Patch15: cups-getpass.patch
Patch16: cups-driverd-timeout.patch
Patch17: cups-strict-ppd-line-length.patch
Patch18: cups-logrotate.patch
Patch19: cups-usb-paperout.patch
Patch20: cups-build.patch
Patch21: cups-res_init.patch
Patch22: cups-filter-debug.patch
Patch23: cups-uri-compat.patch
Patch24: cups-cups-get-classes.patch
Patch25: cups-avahi.patch
Patch26: cups-str3382.patch
Patch27: cups-str3285_v2-str3503.patch
Patch28: cups-str3390.patch
Patch29: cups-str3391.patch
Patch30: cups-str3381.patch
Patch31: cups-str3399.patch
Patch32: cups-str3403.patch
Patch33: cups-str3407.patch
Patch34: cups-str3418.patch
Patch35: cups-CVE-2009-3553.patch
Patch36: cups-str3422.patch
Patch37: cups-str3413.patch
Patch38: cups-str3439.patch
Patch39: cups-str3440.patch
Patch40: cups-str3442.patch
Patch41: cups-negative-snmp-string-length.patch
Patch42: cups-sidechannel-intrs.patch
Patch43: cups-media-empty-warning.patch
Patch44: cups-str3435.patch
Patch45: cups-str3436.patch
Patch46: cups-str3425.patch
Patch47: cups-str3428.patch
Patch48: cups-str3431.patch
Patch49: cups-snmp-quirks.patch
Patch50: cups-str3458.patch
Patch51: cups-str3460.patch
Patch52: cups-str3495.patch
Patch53: cups-EAI_AGAIN.patch
Patch54: cups-str3505.patch
Patch55: cups-CVE-2010-0302.patch
Patch56: cups-str3541.patch
Patch57: cups-large-snmp-lengths.patch
Patch58: cups-hp-deviceid-oid.patch
Patch59: cups-texttops-rotate-page.patch
Patch60: cups-cgi-vars.patch
Patch61: cups-hostnamelookups.patch
Patch62: cups-CVE-2010-0540.patch
Patch63: cups-CVE-2010-0542.patch
Patch64: cups-CVE-2010-1748.patch
Patch65: cups-CVE-2010-2432.patch
Patch66: cups-CVE-2010-2431.patch
Patch67: cups-CVE-2010-2941.patch
Patch100: cups-lspp.patch
## SECURITY PATCHES:
Epoch: 1
Url: http://www.cups.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: /sbin/chkconfig /sbin/service
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
%if %use_alternatives
Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
Requires: /usr/sbin/alternatives
%endif
# Unconditionally obsolete LPRng so that upgrades work properly.
Obsoletes: lpd <= 3.8.15-3, lpr <= 3.8.15-3, LPRng <= 3.8.15-3
Provides: lpd = 3.8.15-4, lpr = 3.8.15-4
Obsoletes: cupsddk < 1.2.3-7
Provides: cupsddk = 1.2.3-7
Obsoletes: cupsddk-drivers < 1.2.3-7
Provides: cupsddk-drivers = 1.2.3-7
# kdelibs conflict for bug #192585.
Conflicts: kdelibs < 6:3.5.2-6
BuildRequires: pam-devel pkgconfig
BuildRequires: gnutls-devel libacl-devel
BuildRequires: openldap-devel
BuildRequires: make >= 1:3.80
BuildRequires: php-devel, pcre-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: krb5-devel
BuildRequires: avahi-devel
BuildRequires: poppler-utils
%if %lspp
BuildRequires: libselinux-devel >= 1.23
BuildRequires: audit-libs-devel >= 1.1
%endif
# -fstack-protector-all requires GCC 4.0.1
BuildRequires: gcc >= 4.0.1
BuildRequires: dbus-devel >= 0.90
Requires: dbus >= 0.90
# Requires tmpwatch for the cron.daily script (bug #218901).
Requires: tmpwatch
# We use portreserve to prevent our TCP port being stolen.
# Require the package here so that we know /etc/portreserve/ exists.
Requires: portreserve
Requires: poppler-utils
# We ship udev rules which use setfacl.
Requires: udev
Requires: acl
%package devel
Summary: Common Unix Printing System - development environment
Group: Development/Libraries
License: LGPLv2
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: gnutls-devel
Requires: krb5-devel
Requires: zlib-devel
Obsoletes: cupsddk-devel < 1.2.3-7
Provides: cupsddk-devel = 1.2.3-7
%package libs
Summary: Common Unix Printing System - libraries
Group: System Environment/Libraries
License: LGPLv2
%package lpd
Summary: Common Unix Printing System - lpd emulation
Group: System Environment/Daemons
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: xinetd
%package php
Summary: Common Unix Printing System - php module
Group: Development/Languages
Requires: %{name} = %{epoch}:%{version}-%{release}
%if 0%{?php_zend_api}
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
%else
Requires: php-api = %{php_apiver}
%endif
%description
The Common UNIX Printing System provides a portable printing layer for
UNIX® operating systems. It has been developed by Easy Software Products
to promote a standard printing solution for all UNIX vendors and users.
CUPS provides the System V and Berkeley command-line interfaces.
%description devel
The Common UNIX Printing System provides a portable printing layer for
UNIX® operating systems. This is the development package for creating
additional printer drivers, and other CUPS services.
%description libs
The Common UNIX Printing System provides a portable printing layer for
UNIX® operating systems. It has been developed by Easy Software Products
to promote a standard printing solution for all UNIX vendors and users.
CUPS provides the System V and Berkeley command-line interfaces.
The cups-libs package provides libraries used by applications to use CUPS
natively, without needing the lp/lpr commands.
%description lpd
The Common UNIX Printing System provides a portable printing layer for
UNIX® operating systems. This is the package that provices standard
lpd emulation.
%description php
The Common UNIX Printing System provides a portable printing layer for
UNIX® operating systems. This is the package that provices a PHP
module.
%prep
%setup -q
# Don't gzip man pages in the Makefile, let rpmbuild do it.
%patch1 -p1 -b .no-gzip-man
# Use the system pam configuration.
%patch2 -p1 -b .system-auth
# Prevent multilib conflict in cups-config script.
%patch3 -p1 -b .multilib
# Fix compilation of serial backend.
%patch4 -p1 -b .serial
# Ignore rpm save/new files in the banners directory.
%patch5 -p1 -b .banners
# Use compatibility fallback path for ServerBin.
%patch6 -p1 -b .serverbin-compat
# Don't export SSLLIBS to cups-config.
%patch7 -p1 -b .no-export-ssllibsd
# Avoid use-after-free in cupsAddDest.
%patch8 -p1 -b .str3448
# Allow file-based usb device URIs.
%patch9 -p1 -b .direct-usb
# Add --help option to lpr.
%patch10 -p1 -b .lpr-help
# Fix compilation of peer credentials support.
%patch11 -p1 -b .peercred
# Maintain a cupsd.pid file.
%patch12 -p1 -b .pid
# Fix orientation of page labels.
%patch13 -p1 -b .page-label
# Fix implementation of com.redhat.PrinterSpooler D-Bus object.
%patch14 -p1 -b .eggcups
# More sophisticated implementation of cupsGetPassword than getpass.
%patch15 -p1 -b .getpass
# Increase driverd timeout to 70s to accommodate foomatic.
%patch16 -p1 -b .driverd-timeout
# Only enforce maximum PPD line length when in strict mode.
%patch17 -p1 -b .strict-ppd-line-length
# Re-open the log if it has been logrotated under us.
%patch18 -p1 -b .logrotate
# Support for errno==ENOSPACE-based USB paper-out reporting.
%patch19 -p1 -b .usb-paperout
# Simplify the DNSSD parts so they can build using the compat library.
%patch20 -p1 -b .build
# Re-initialise the resolver on failure in httpAddrGetList().
%patch21 -p1 -b .res_init
# Log extra debugging information if no filters are available.
%patch22 -p1 -b .filter-debug
# Allow the usb backend to understand old-style URI formats.
%patch23 -p1 -b .uri-compat
# Fix support for older CUPS servers in cupsGetDests.
%patch24 -p1 -b .cups-get-classes
# Avahi support in the dnssd backend.
%patch25 -p1 -b .avahi
# Fix temporary filename creation.
%patch26 -p1 -b .str3382
# Fix cupsGetNamedDest() when a name is specified.
%patch27 -p1 -b .str3285_v2-str3503
# Set the PRINTER_IS_SHARED CGI variable.
%patch28 -p1 -b .str3390
# Set the CGI variables required by the serial backend.
%patch29 -p1 -b .str3391
# Fix signal handling when using gnutls.
%patch30 -p1 -b .str3381
# Reset SIGPIPE handler before starting child processes.
%patch31 -p1 -b .str3399
# Fixed typo in Russian translation of admin CGI page.
%patch32 -p1 -b .str3403
# Handle out-of-memory more gracefully when loading jobs.
%patch33 -p1 -b .str3407
# Set PPD_MAKE CGI variable.
%patch34 -p1 -b .str3418
# Fix use-after-free in select.c.
%patch35 -p1 -b .CVE-2009-3553
# Fix Russian translations of CGI pages.
%patch36 -p1 -b .str3422
# Fix SNMP handling.
%patch37 -p1 -b .str3413
# Fix adjustment of conflicting options in web interface.
%patch38 -p1 -b .str3439
# Show which option conflicts in web interface.
%patch39 -p1 -b .str3440
# Provide filter path for text/css.
%patch40 -p1 -b .str3442
# Fix SNMP handling with negative string lengths.
%patch41 -p1 -b .negative-snmp-string-length
# Fix signal handling in the sidechannel API.
%patch42 -p1 -b .sidechannel-intrs
# Stop network backends incorrectly clearing media-empty-warning.
%patch43 -p1 -b .media-empty-warning
# Fixed authentication bug in cupsPrintFiles2.
%patch44 -p1 -b .str3435
# Set PRINTER_NAME and PRINTER_URI_SUPPORTED CGI variables.
%patch45 -p1 -b .str3436
# Clean out completed jobs when PreserveJobHistory is off.
%patch46 -p1 -b .str3425
# Don't add two job-name attributes to each job object.
%patch47 -p1 -b .str3428
# Use the Get-Job-Attributes policy for a printer.
%patch48 -p1 -b .str3431
# Handle SNMP supply level quirks (bug #580604).
%patch49 -p1 -b .snmp-quirks
# Fix IPP authentication for servers requiring auth for
# IPP-Get-Printer-Attributes.
%patch50 -p1 -b .str3458
# Clear printer status after successful IPP job.
%patch51 -p1 -b .str3460
# Avoid needless delay in socket backend.
%patch52 -p1 -b .str3495
# Re-initialise the resolver on failure in httpAddrLookup().
%patch53 -p1 -b .EAI_AGAIN
# Update classes.conf when a class member printer is deleted
# (bug #569903, STR #3505).
%patch54 -p1 -b .str3505
# Applied patch for CVE-2010-0302 (incomplete fix for CVE-2009-3553,
# bug #557775).
%patch55 -p1 -b .CVE-2010-0302
# The lpstat command did not limit the job list to the specified printers.
%patch56 -p1 -b .str3541
# Fixed handling of large SNMP value lengths from upstream commit 8941.
%patch57 -p1 -b .large-snmp-lengths
# Add an SNMP query for HP's device ID OID (STR #3552).
%patch58 -p1 -b .hp-deviceid-oid
# Adjust texttops output to be in natural orientation (STR #3563).
# This fixes page-label orientation when texttops is used in the
# filter chain (bug #593368).
%patch59 -p1 -b .texttops-rotate-page
# Set PATH_INFO and AUTH_TYPE CGI variables (STR #3599, STR #3600,
# bug #520849).
%patch60 -p1 -b .cgi-vars
# Use numeric addresses for interfaces unless HostNameLookups are
# turned on (bug #590632).
%patch61 -p1 -b .hostnamelookups
# Applied patch for CVE-2010-0540 (web interface CSRF), including
# cancel-RSS fix (bug #588805).
%patch62 -p1 -b .CVE-2010-0540
# Applied patch for CVE-2010-0542 (texttops unchecked memory
# allocation failure leading to NULL pointer dereference, STR #3516,
# bug #587746).
%patch63 -p1 -b .CVE-2010-0542
# Applied patch for CVE-2010-1748 (web interface memory disclosure,
# STR #3577, bug #591983).
%patch64 -p1 -b .CVE-2010-0542
# Prevent infinite loop via HTTP_UNAUTHORIZED responses (STR #3518,
# bug #607211, CVE-2010-2432).
%patch65 -p1 -b .CVE-2010-2432
# Fix latent privilege escalation vulnerability (STR # #3510,
# bug #604728, CVE-2010-2431).
%patch66 -p1 -b .CVE-2010-2431
# Applied patch to fix cupsd memory corruption vulnerability
# (CVE-2010-2941, STR #3648, bug #624438).
%patch67 -p1 -b .CVE-2010-2941
%if %lspp
# LSPP support.
%patch100 -p1 -b .lspp
%endif
# SECURITY PATCHES:
sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in
cp %{SOURCE5} cups-lpd.real
perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
# Let's look at the compilation command lines.
perl -pi -e "s,^.SILENT:,," Makedefs.in
# Fix locale code for Norwegian (bug #520379).
mv locale/cups_no.po locale/cups_nb.po
# Rebuild configure script for --enable-avahi.
aclocal -I config-scripts
autoconf -I config-scripts
%build
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
# --enable-debug to avoid stripping binaries
%configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
%if %lspp
--enable-lspp \
%endif
--with-log-file-perm=0600 --enable-pie --enable-relro \
--enable-pdftops --with-pdftops=pdftops \
--with-dbusdir=%{_sysconfdir}/dbus-1 \
--with-php=/usr/bin/php-cgi --enable-avahi \
localedir=%{_datadir}/locale
# If we got this far, all prerequisite libraries must be here.
make
%install
rm -rf $RPM_BUILD_ROOT
make BUILDROOT=$RPM_BUILD_ROOT install
# Serial backend needs to run as root (bug #212577).
chmod 700 $RPM_BUILD_ROOT%{cups_serverbin}/backend/serial
rm -rf $RPM_BUILD_ROOT%{initdir} \
$RPM_BUILD_ROOT%{_sysconfdir}/init.d \
$RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
mkdir -p $RPM_BUILD_ROOT%{initdir}
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{initdir}/cups
find $RPM_BUILD_ROOT/usr/share/cups/model -name "*.ppd" |xargs gzip -n9f
%if %use_alternatives
pushd $RPM_BUILD_ROOT%{_bindir}
for i in cancel lp lpq lpr lprm lpstat; do
mv $i $i.cups
done
cd $RPM_BUILD_ROOT%{_sbindir}
mv lpc lpc.cups
cd $RPM_BUILD_ROOT%{_mandir}/man1
for i in cancel lp lpq lpr lprm lpstat; do
mv $i.1 $i-cups.1
done
cd $RPM_BUILD_ROOT%{_mandir}/man8
mv lpc.8 lpc-cups.8
popd
%endif
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/System $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
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 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{cups_serverbin}/backend/ncp
install -c -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
install -c -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{cups_serverbin}/filter/textonly
install -c -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
# Ship pstopdf for LSPP systems to deal with malicious postscript
%if %lspp
install -c -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{cups_serverbin}/filter
%endif
# Ship pstoraster (bug #69573).
install -c -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{cups_serverbin}/filter
install -c -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/cups
# Ship a printers.conf file, and a client.conf file. That way, they get
# their SELinux file contexts set correctly.
touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
# This is %%ghost'ed, but needs to be created in %%install anyway.
touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
# Tell portreserve which port we want it to protect.
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
# LSB 3.2 printer driver directory
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
echo ipp > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/%{name}
# Handle https:// device URIs (bug #478677, STR #3122).
ln -s ipp $RPM_BUILD_ROOT%{cups_serverbin}/backend/https
# Remove unshipped files.
rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
# Put the php config bit into place
%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
%{__cat} << __EOF__ > %{buildroot}%{_sysconfdir}/php.d/%{name}.ini
; Enable %{name} extension module
extension=phpcups.so
__EOF__
# Install the udev rules.
%{__mkdir_p} %{buildroot}%{_sysconfdir}/udev/rules.d
install -m644 %{SOURCE3} \
%{buildroot}%{_sysconfdir}/udev/rules.d/70-cups-libusb.rules
%post
/sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
/sbin/chkconfig --add cups || true
# Remove old-style certs directory; new-style is /var/run
# (see bug #194581 for why this is necessary).
/bin/rm -rf /etc/cups/certs
%if %use_alternatives
/usr/sbin/alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
--slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
--slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
--slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
--slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
--slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
--slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
--slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
--slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
--slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
--slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
--slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
--slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
--slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz \
--initscript cups
%endif
rm -f %{_localstatedir}/cache/cups/*.ipp %{_localstatedir}/cache/cups/*.cache
exit 0
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%preun
if [ "$1" = "0" ]; then
/sbin/service cups stop > /dev/null 2>&1
/sbin/chkconfig --del cups
%if %use_alternatives
/usr/sbin/alternatives --remove print %{_bindir}/lpr.cups
%endif
fi
exit 0
%postun
if [ "$1" -ge "1" ]; then
/sbin/service cups condrestart > /dev/null 2>&1
fi
exit 0
%triggerin -- samba-client
ln -sf ../../../bin/smbspool %{cups_serverbin}/backend/smb || :
exit 0
%triggerun -- samba-client
[ $2 = 0 ] || exit 0
rm -f %{cups_serverbin}/backend/smb
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc LICENSE.txt README.txt CREDITS.txt CHANGES.txt
%{_sysconfdir}/udev/rules.d/70-cups-libusb.rules
%dir %attr(0755,root,lp) /etc/cups
%dir %attr(0755,root,lp) /var/run/cups
%dir %attr(0511,lp,sys) /var/run/cups/certs
%verify(not md5 size mtime) %config(noreplace) %attr(0640,root,lp) /etc/cups/cupsd.conf
%attr(0640,root,lp) /etc/cups/cupsd.conf.default
%verify(not md5 size mtime) %config(noreplace) %attr(0644,root,lp) /etc/cups/client.conf
%verify(not md5 size mtime) %config(noreplace) %attr(0600,root,lp) /etc/cups/classes.conf
%verify(not md5 size mtime) %config(noreplace) %attr(0600,root,lp) /etc/cups/printers.conf
%verify(not md5 size mtime) %config(noreplace) %attr(0644,root,lp) /etc/cups/snmp.conf
%verify(not md5 size mtime) %config(noreplace) %attr(0644,root,lp) /etc/cups/subscriptions.conf
/etc/cups/interfaces
%verify(not md5 size mtime) %config(noreplace) %attr(0644,root,lp) /etc/cups/lpoptions
%dir %attr(0755,root,lp) /etc/cups/ppd
%dir %attr(0700,root,lp) /etc/cups/ssl
/etc/cups/pstoraster.convs
%config(noreplace) /etc/pam.d/cups
%config(noreplace) %{_sysconfdir}/logrotate.d/cups
%config(noreplace) %{_sysconfdir}/portreserve/%{name}
%dir %{_datadir}/%{name}/www
%dir %{_datadir}/%{name}/www/es
%dir %{_datadir}/%{name}/www/eu
%dir %{_datadir}/%{name}/www/ja
%dir %{_datadir}/%{name}/www/pl
%dir %{_datadir}/%{name}/www/ru
%config(noreplace) %{_datadir}/%{name}/www/images
%config(noreplace) %{_datadir}/%{name}/www/*.css
%config(noreplace) %doc %{_datadir}/%{name}/www/index.html
%config(noreplace) %doc %{_datadir}/%{name}/www/help
%config(noreplace) %doc %{_datadir}/%{name}/www/robots.txt
%config(noreplace) %doc %{_datadir}/%{name}/www/de/index.html
%config(noreplace) %doc %{_datadir}/%{name}/www/es/index.html
%config(noreplace) %doc %{_datadir}/%{name}/www/eu/index.html
%config(noreplace) %doc %{_datadir}/%{name}/www/ja/index.html
%config(noreplace) %doc %{_datadir}/%{name}/www/pl/index.html
%config(noreplace) %doc %{_datadir}/%{name}/www/ru/index.html
%config(noreplace) %{initdir}/cups
%{_bindir}/cupstestppd
%{_bindir}/cupstestdsc
%{_bindir}/cancel*
%{_bindir}/lp*
%{_bindir}/ppd*
%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
%{cups_serverbin}/filter
%{cups_serverbin}/monitor
%{cups_serverbin}/driver
%{_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/fonts
%{_datadir}/cups/model
%dir %{_datadir}/cups/templates
%config(noreplace) %{_datadir}/cups/templates/*.tmpl
%config(noreplace) %{_datadir}/cups/templates/de/*.tmpl
%config(noreplace) %{_datadir}/cups/templates/es/*.tmpl
%config(noreplace) %{_datadir}/cups/templates/eu/*.tmpl
%config(noreplace) %{_datadir}/cups/templates/ja/*.tmpl
%config(noreplace) %{_datadir}/cups/templates/pl/*.tmpl
%config(noreplace) %{_datadir}/cups/templates/ru/*.tmpl
%{_datadir}/locale/*
%{_datadir}/ppd
%dir %attr(1770,root,lp) /var/spool/cups/tmp
%dir %attr(0710,root,lp) /var/spool/cups
%dir %attr(0755,lp,sys) /var/log/cups
%{_datadir}/pixmaps/cupsprinter.png
%{_sysconfdir}/cron.daily/cups
%{_sysconfdir}/dbus-1/system.d/cups.conf
%{_datadir}/cups/drv
%{_datadir}/cups/examples
%dir %{_datadir}/cups/mime
%config(noreplace) %{_datadir}/cups/mime/mime.types
%config(noreplace) %{_datadir}/cups/mime/mime.convs
%dir %{_datadir}/cups/ppdc
%{_datadir}/cups/ppdc/*.defs
%{_datadir}/cups/ppdc/*.h
%files libs
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/cups-config
%{_libdir}/*.so
%{_includedir}/cups
%files lpd
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
%dir %{cups_serverbin}
%dir %{cups_serverbin}/daemon
%{cups_serverbin}/daemon/cups-lpd
%files php
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/php.d/%{name}.ini
%{php_extdir}/phpcups.so
%changelog
* Tue Oct 26 2010 Tim Waugh <[email protected]> 1:1.4.2-35:.1
- Applied patch to fix cupsd memory corruption vulnerability
(CVE-2010-2941, STR #3648, bug #624438).
* Fri Jul 16 2010 Tim Waugh <[email protected]> 1:1.4.2-35
- Set org.cups.sid form variable in choose-device template (bug #615269).
* Wed Jul 14 2010 Tim Waugh <[email protected]> 1:1.4.2-34
- Don't set domain= for cookies (bug #613618).
* Thu Jun 24 2010 Tim Waugh <[email protected]> 1:1.4.2-33
- Fix latent privilege escalation vulnerability (STR # #3510,
bug #604728, CVE-2010-2431).
* Wed Jun 23 2010 Tim Waugh <[email protected]> 1:1.4.2-32
- Prevent infinite loop via HTTP_UNAUTHORIZED responses (STR #3518,
bug #607211, CVE-2010-2432).
* Wed Jun 16 2010 Tim Waugh <[email protected]> 1:1.4.2-31
- Applied patch for CVE-2010-1748 (web interface memory disclosure,
STR #3577, bug #591983).
- Applied patch for CVE-2010-0542 (texttops unchecked memory
allocation failure leading to NULL pointer dereference, STR #3516,
bug #587746).
- Applied patch for CVE-2010-0540 (web interface CSRF, STR #2398),
including cancel-RSS fix (bug #588805).
* Thu Jun 10 2010 Tim Waugh <[email protected]> 1:1.4.2-30
- Use numeric addresses for interfaces unless HostNameLookups are
turned on (bug #590632).
* Wed Jun 9 2010 Tim Waugh <[email protected]> 1:1.4.2-29
- Use upstream method of handling SNMP quirks in PPDs (STR #3551,
bug #580604).
* Wed Jun 9 2010 Tim Waugh <[email protected]> 1:1.4.2-28
- Set PATH_INFO and AUTH_TYPE CGI variables (STR #3599, STR #3600,
bug #520849).
* Tue Jun 8 2010 Tim Waugh <[email protected]> 1:1.4.2-27
- Adjust texttops output to be in natural orientation (STR #3563).
This fixes page-label orientation when texttops is used in the
filter chain (bug #593368).
* Mon Apr 19 2010 Jiri Popelka <[email protected]> 1:1.4.2-26
- Fixed str3541.patch (bug #578424, STR #3541).
* Tue Apr 13 2010 Tim Waugh <[email protected]> 1:1.4.2-25
- Fixed handling of large SNMP value lengths from upstream commit 8941
(bug #581931).
- Add an SNMP query for HP's device ID OID (STR #3552).
* Tue Apr 13 2010 Tim Waugh <[email protected]> 1:1.4.2-24
- Handle SNMP supply level quirks (bug #580604).
* Mon Apr 12 2010 Jiri Popelka <[email protected]> 1:1.4.2-23
- The lpstat command did not limit the job list
to the specified printers (bug #578424, STR #3541).
* Wed Mar 31 2010 Tim Waugh <[email protected]> - 1:1.4.2-22
- Another BrowsePoll fix: handle EAI_NODATA as well (bug #567589).
* Wed Mar 10 2010 Jiri Popelka <[email protected]> 1:1.4.2-21
- Fixed patch for STR #3425 again to correctly
remove job info files in /var/spool/cups (bug #571860).
* Wed Mar 3 2010 Tim Waugh <[email protected]> - 1:1.4.2-20
- Applied patch for CVE-2010-0302 (incomplete fix for CVE-2009-3553,
bug #557775).
* Wed Mar 3 2010 Tim Waugh <[email protected]> - 1:1.4.2-19
- Update classes.conf when a class member printer is deleted
(bug #569903, STR #3505).
* Tue Mar 2 2010 Tim Waugh <[email protected]> - 1:1.4.2-18
- Don't apply gcrypt threading patch (bug #569802).
- Don't treat SIGPIPE as an error (bug #569777).
- Fixed cupsGetNamedDest() so it falls back to the real default
printer when a default from configuration file does not exist
(bug #569500, STR #3503).
- Added comments for all patches and sources.
- Removed use of prereq and buildprereq.
- Fixed use of '%%' in changelog.
- Versioned explicit obsoletes/provides.
- Use tabs throughout.
* Thu Feb 25 2010 Jiri Popelka <[email protected]> - 1:1.4.2-17
- Reset status after successful ipp job (bug #555732, STR #3460).
- Remove wait_bc call on most platforms (bug #562782, STR #3495).
- Re-initialize the resolver if getnameinfo() returns EAI_AGAIN (bug #567589).
* Wed Jan 13 2010 Tim Waugh <[email protected]> - 1:1.4.2-16
- Rebuild against new libaudit.
* Thu Dec 24 2009 Tim Waugh <[email protected]> - 1:1.4.2-15
- Fixed ipp authentication for servers requiring authentication for
IPP-Get-Printer-Attributes (bug #549785, STR #3458).
- Fixed invalid read in cupsAddDest (bug #550301, STR #3448).
- Ensure proper thread-safety in gnutls's use of libgcrypt
(bug #550302).
- Fixed patch for STR #3425 by adding in back-ported change from svn
revisions 8929 and 8936 (bug #548906, bug #550037).
* Tue Dec 8 2009 Tim Waugh <[email protected]> - 1:1.4.2-14
- The scheduler did not use the Get-Job-Attributes policy for a
printer (STR #3431).
- The scheduler added two job-name attributes to each job object
(STR #3428).
- The scheduler did not clean out completed jobs when
PreserveJobHistory was turned off (STR #3425).
- The web interface did not show completed jobs (STR #3436).
- Authenticated printing did not always work when printing directly to
a remote server (STR #3435).
- Use upstream patch to stop the network backends incorrectly clearing
the media-empty-warning state (rev 8896).
- Use upstream patch to fix interrupt handling in the side-channel
APIs (rev 8896).
- Use upstream patch to handle negative SNMP string lengths (rev 8896).
- Use upstream fix for SNMP detection (bug #542857, STR #3413).
- Use the text filter for text/css files (bug #545026, STR #3442).
- Show conflicting option values in web UI (bug #544326, STR #3440).
- Use upstream fix for adjustment of conflicting options
(bug #533426, STR #3439).
- No longer requires paps. The texttopaps filter MIME conversion file
is now provided by the paps package (bug #545036).
* Tue Dec 8 2009 Tim Waugh <[email protected]> - 1:1.4.2-13
- Moved %%{_datadir}/cups/ppdc/*.h to the main package (bug #545348).
* Fri Dec 4 2009 Tim Waugh <[email protected]> - 1:1.4.2-12
- The web interface prevented conflicting options from being adjusted
(bug #533426, STR #3439).
* Thu Dec 3 2009 Tim Waugh <[email protected]> - 1:1.4.2-11
- Fixes for SNMP scanning with Lexmark printers (bug #542857, STR #3413).
* Mon Nov 23 2009 Tim Waugh <[email protected]> 1:1.4.2-10
- Undo last change as it was incorrect.
* Mon Nov 23 2009 Tim Waugh <[email protected]> 1:1.4.2-9
- Fixed small typos introduced in fix for bug #536741.
* Fri Nov 20 2009 Jiri Popelka <[email protected]> 1:1.4.2-8
- Do not translate russian links showing completed jobs
(bug #539354, STR #3422).
* Thu Nov 19 2009 Tim Waugh <[email protected]> 1:1.4.2-7
- Applied patch to fix CVE-2009-3553 (bug #530111, STR #3200).
* Tue Nov 17 2009 Tim Waugh <[email protected]> 1:1.4.2-6
- Fixed display of current driver (bug #537182, STR #3418).
- Fixed out-of-memory handling when loading jobs (bug #538054,
STR #3407).
* Mon Nov 16 2009 Tim Waugh <[email protected]> 1:1.4.2-5
- Fixed typo in admin web template (bug #537884, STR #3403).
- Reset SIGPIPE handler for child processes (bug #537886, STR #3399).
* Mon Nov 16 2009 Tim Waugh <[email protected]> 1:1.4.2-4
- Upstream fix for GNU TLS error handling bug (bug #537883, STR #3381).
* Wed Nov 11 2009 Jiri Popelka <[email protected]> 1:1.4.2-3
- Fixed lspp-patch to avoid memory leak (bug #536741).
* Tue Nov 10 2009 Tim Waugh <[email protected]> 1:1.4.2-2
- Added explicit version dependency on cups-libs to cups-lpd
(bug #502205).
* Tue Nov 10 2009 Tim Waugh <[email protected]> 1:1.4.2-1
- 1.4.2. No longer need str3380, str3332, str3356, str3396 patches.
- Removed postscript.ppd.gz (bug #533371).
- Renumbered patches and sources.
* Tue Nov 3 2009 Tim Waugh <[email protected]> 1:1.4.1-13
- Removed stale patch from STR #2831 which was causing problems with
number-up (bug #532516).
* Tue Oct 27 2009 Jiri Popelka <[email protected]> 1:1.4.1-12
- Fix incorrectly applied patch from #STR3285 (bug #531108).
- Set the PRINTER_IS_SHARED variable for admin.cgi (bug #529634, #STR3390).
- Pass through serial parameters correctly in web interface (bug #529635, #STR3391).
- Fixed German translation (bug #531144, #STR3396).
* Tue Oct 20 2009 Jiri Popelka <[email protected]> 1:1.4.1-11
- Fix cups-lpd to create unique temporary data files (bug #529838).
* Mon Oct 19 2009 Tim Waugh <[email protected]> 1:1.4.1-10
- Fixed German translation (bug #529575, STR #3380).
* Thu Oct 8 2009 Tim Waugh <[email protected]> 1:1.4.1-9
- Fixed naming of 'Generic PostScript Printer' entry.
* Wed Oct 7 2009 Tim Waugh <[email protected]> 1:1.4.1-8
- Use upstream patch for STR #3356 (bug #526405).
* Fri Oct 2 2009 Tim Waugh <[email protected]> 1:1.4.1-7
- Fixed orientation of page labels when printing text in landscape
mode (bug #520141, STR #3334).
* Wed Sep 30 2009 Tim Waugh <[email protected]> 1:1.4.1-6
- Don't use cached PPD for raw queue (bug #526405, STR #3356).
* Wed Sep 23 2009 Jiri Popelka <[email protected]> 1:1.4.1-5
- Fixed cups.init to be LSB compliant (bug #521641)
* Mon Sep 21 2009 Jiri Popelka <[email protected]> 1:1.4.1-4
- Changed cups.init to be LSB compliant (bug #521641), i.e.
return code "2" (instead of "3") if invalid arguments
return code "4" if restarting service under nonprivileged user
return code "5" if cupsd not exist or is not executable
return code "6" if cupsd.conf not exist
* Wed Sep 16 2009 Tomas Mraz <[email protected]> 1:1.4.1-3
- Use password-auth common PAM configuration instead of system-auth
when available.
* Tue Sep 15 2009 Tim Waugh <[email protected]> 1:1.4.1-2
- Fixed 'service cups status' to check for correct subsys name
(bug #521641).
* Mon Sep 14 2009 Tim Waugh <[email protected]> 1:1.4.1-1
- 1.4.1.
* Fri Sep 4 2009 Tim Waugh <[email protected]> 1:1.4.0-2
- Fixed the dnssd backend so that it only reports devices once avahi
resolution has completed. This makes it report Device IDs
(bug #520858).
- Fix locale code for Norwegian (bug #520379).
* Fri Aug 28 2009 Tim Waugh <[email protected]> 1:1.4.0-1
- 1.4.0.
* Thu Aug 27 2009 Warren Togami <[email protected]> 1:1.4-0.rc1.21
- rebuild
* Wed Aug 26 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.20
- Fixed admin.cgi crash when modifying a class (bug #519724,
STR #3312, patch from Jiri Popelka).
* Wed Aug 26 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.19
- Prevent infinite loop in cupsDoIORequest when processing HTTP
errors (bug #518065, bug #519663, STR #3311).
- Fixed document-format-supported attribute when
application/octet-stream is enabled (bug #516507, STR #3308, patch
from Jiri Popelka).
- Fixed buggy JobKillDelay handling fix (STR #3292).
- Prevent infinite loop in ppdc (STR #3293).
* Fri Aug 21 2009 Tomas Mraz <[email protected]> - 1:1.4-0.rc1.17.1
- rebuilt with new audit
* Fri Aug 21 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.17
- Removed 3-distribution symlink (bug #514244).
* Tue Aug 18 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.16
- Fixed JobKillDelay handling for cancelled jobs (bug #518026, STR
#3292).
- Use 'exec' to invoke ghostscript in the pstoraster filter. This
allows the SIGTERM signal to reach the correct process, as well as
conserving memory (part of bug #518026).
* Tue Aug 11 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.15
- Avoid empty BrowseLocalProtocols setting (bug #516460, STR #3287).
* Mon Aug 10 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.14
- Fixed ppds.dat handling of drv files (bug #515027, STR #3279).
- Fixed udev rules file to avoid DEVTYPE warning messages.
- Fixed cupsGetNamedDest() so it does not fall back to the default
printer when a destination has been named (bug #516439, STR #3285).
- Fixed MIME type rules for image/jpeg and image/x-bitmap
(bug #516438, STR #3284).
- Clear out cache files on upgrade.
- Require acl.
* Thu Aug 6 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.13
- Ship udev rules to allow libusb to access printer devices.
- Fixed duplex test pages (bug #514898, STR #3277).
* Wed Jul 29 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.12
- Fixed Avahi support in the dnssd backend (bug #513888).
- Fixed incorrect arguments to sigaction() in dnssd backend (STR #3272).
- Cheaply restore compatibility with 1.1.x by having cups_get_sdests()
perform a CUPS_GET_CLASSES request if it is not sure it is talking
to CUPS 1.2 or later (bug #512866).
- Prevent ipp backend looping with bad IPP devices (bug #476424,
STR #3262).
- Fixed Device ID reporting in the usb backend (STR #3266).
* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 1:1.4-0.rc1.11.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Fri Jul 24 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.11
- Tell udevd to replay printer add events in the initscript.
* Wed Jul 15 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.10
- Applied patch to prevent bad job control files crashing cupsd on
start-up (STR #3253, bug #509741).
- Correctly handle CUPS-Get-PPDs requests for models with '+' in their
names (STR #3254, bug #509586).
- Accept incorrect device URIs in the (non-libusb) usb backend for
compatibility with Fedora 11 before bug #507244 was fixed.
- Applied patch to fix incorrect device URIs (STR #3259, bug #507244).
- Applied patch to fix job-hold-until for remote queues (STR #3258,
bug #497376).
* Mon Jul 13 2009 Remi Collet <[email protected]> 1:1.4-0.rc1.9
- add PHP ABI check
- use php_extdir
- add php configuration file (/etc/php.d/cups.ini)
* Fri Jul 10 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.8
- Build does not require aspell-devel (bug #510405).
* Wed Jul 1 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.7
- Fixed template problem preventing current printer option defaults
from being shown in the web interface (bug #506794, STR #3244).
* Wed Jul 1 2009 Tim Waugh <[email protected]> 1:1.4-0.rc1.6