source: projects/specs/trunk/c/cups/cups-vl.spec @ 12508

Revision 12508, 48.5 KB checked in by tomop, 3 years ago (diff)

updated 14 packages

cups-2.3.3-1

firefox-78.5.0-1

golang-1.15.5-1

kernel-5.4.80-1

krb5-1.18.3-1

mariadb-10.5.8-1

nsd-4.3.4-1

php74-7.4.13-1

postfix-3.5.8-1

postgresql-13.1-1

thunderbird-78.5.1-1

tmux-3.1c-1

unbound-1.13.0-1

webkitgtk4-2.30.3-1

Line 
1%bcond_with systemd
2
3%define _libexecdir %{_libdir}
4%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
5%define initdir %{_sysconfdir}/rc.d/init.d
6%define use_alternatives 1
7
8%define _unpackaged_files_terminate_build 1
9
10Summary: Common Unix Printing System
11Name: cups
12Version: 2.3.3
13Release: 1%{?_dist_release}%{?with_systemd:.systemd}
14Group: servers
15Vendor: Project Vine
16Distribution: Vine Linux
17Packager: daisuke, tomop
18
19License: GPL
20Url: https://github.com/OpenPrinting/cups
21Source: https://github.com/OpenPrinting/cups/archive/v%{version}.tar.gz#/cups-%{version}.tar.gz
22# Our initscript
23Source1: cups.init
24# Pixmap for desktop file
25Source2: cupsprinter.png
26# udev rules for libusb devices
27Source3: cups-libusb.rules
28# LSPP-required ps->pdf filter
29Source4: pstopdf
30# xinetd config file for cups-lpd service
31Source5: cups-lpd
32# Logrotate configuration
33Source6: cups.logrotate
34# Backend for NCP protocol
35Source7: ncp.backend
36# Cron-based tmpwatch for /var/spool/cups/tmp
37Source8: cups.cron
38# Filter and PPD for textonly printing
39Source9: textonly.filter
40Source10: textonly.ppd
41Source11: macros.cups
42
43Source101: http://www.openprinting.org/download/printing/dnssd
44Source102: pstoraster
45Source103: pstoraster.convs
46Source104: postscript.ppd.gz
47Source105: pdftops.conf
48
49Source201: dvitops
50Source202: dvitops.convs
51Source203: dvitops.types
52Source204: cjktexttops
53Source206: pxlmono.ppd.gz
54Source207: pxlcolor.ppd.gz
55Source208: cups.conf
56
57# PAM enablement, very old patch, not even git can track when or why
58# the patch was added.
59Patch1: cups-system-auth.patch
60# cups-config from devel package conflicted on multilib arches,
61# fixed hack with pkg-config calling for gnutls' libdir variable
62Patch2: cups-multilib.patch
63# if someone makes a change to banner files, then there will <banner>.rpmnew
64# with next update of cups-filters - this patch makes sure the banner file
65# changed by user is used and .rpmnew or .rpmsave is ignored
66# Note: This could be rewrite with use a kind of #define and send to upstream
67Patch3: cups-banners.patch
68# don't export ssl libs to cups-config - can't find the reason.
69Patch4: cups-no-export-ssllibs.patch
70# enables old uri usb:/dev/usb/lp0 - leave it here for users of old printers
71Patch5: cups-direct-usb.patch
72# fix for redhat dbus spooler - adding new dbus functions to backend/ipp.c
73# -> initialize dbus connection and sending dbus broadcast about job queued
74# on remote queue with QueueChanged type for PRINTER_CHANGED, JOB_STATE_CHANGED
75# and PRINTER_STATE_CHANGED events
76Patch6: cups-eggcups.patch
77# when system workload is high, timeout for cups-driverd can be reached -
78# increase the timeout
79Patch7: cups-driverd-timeout.patch
80# cupsd implement its own logrotate, but when MaxLogSize 0 is used, logrotated
81# takes care of it
82Patch8: cups-logrotate.patch
83# usb backend didn't get any notification about out-of-paper because of kernel
84Patch9: cups-usb-paperout.patch
85# uri compatibility with old Fedoras
86Patch10: cups-uri-compat.patch
87# fixing snmp oid for hp printer - upstream doesn't want to support too much
88# snmp backend, because it's deprecated
89Patch11: cups-hp-deviceid-oid.patch
90# same as HP OID
91Patch12: cups-ricoh-deviceid-oid.patch
92# change to notify type, because when it fails to start, it gives a error
93# message + renaming org.cups.cupsd names, because we have cups units in
94# in older Fedoras
95Patch13: cups-systemd-socket.patch
96# use IP_FREEBIND, because cupsd cannot bind to not yet existing IP address
97# by default
98Patch14: cups-freebind.patch
99# add support of multifile
100Patch15: cups-ipp-multifile.patch
101# prolongs web ui timeout
102Patch16: cups-web-devices-timeout.patch
103# needs to be set to Yes to avoid race conditions
104Patch17: cups-synconclose.patch
105# ypbind must be started before cups if NIS configured
106Patch18: cups-ypbind.patch
107# failover backend for implementing failover functionality
108# TODO: move it to the cups-filters upstream
109Patch19: cups-failover-backend.patch
110
111# reported upstream
112# adds logs when job fails due bad conversion
113Patch20: cups-filter-debug.patch
114# add device id for dymo printer
115Patch21: cups-dymo-deviceid.patch
116# 1822154 - cups.service doesn't execute automatically on request
117# https://github.com/apple/cups/issues/5708
118Patch22: cups-autostart-when-enabled.patch
119
120# selinux and audit enablement for CUPS - needs work and CUPS upstream wants
121# to have these features implemented their way in the future
122Patch100: cups-lspp.patch
123
124# vine
125Patch1000: cups-2.3.3-serverbin-compat.patch
126
127BuildRoot: %{_tmppath}/%{name}-root
128Requires: %{name}-libs = %{version}-%{release}
129Requires: %{name}-client = %{version}-%{release}
130Requires: tmpwatch
131Requires: ghostscript >= 8.71-4
132BuildRequires: aspell-devel
133BuildRequires: avahi-devel >= 0.6.20
134BuildRequires: dbus-devel >= 0.90
135BuildRequires: e2fsprogs-devel
136BuildRequires: gnutls-devel
137BuildRequires: krb5-devel
138BuildRequires: libacl-devel
139BuildRequires: libjpeg-devel
140BuildRequires: libpng-devel
141BuildRequires: libtiff-devel
142BuildRequires: libusb1-devel
143BuildRequires: openldap-devel
144BuildRequires: pam-devel
145BuildRequires: pkgconfig
146BuildRequires: poppler-utils
147BuildRequires: python-cups
148
149Requires: avahi >= 0.6.20
150Requires: avahi-tools
151Requires: dbus >= 0.90
152Requires: poppler-utils
153Requires: cups-filters
154
155%if %{with systemd}
156BuildRequires: systemd-devel
157%{?systemd_requires}
158%else
159Requires(pre): chkconfig initscripts perl
160%endif
161
162%description
163CUPS printing system provides a portable printing layer for
164UNIX® operating systems. It has been developed by Apple Inc.
165to promote a standard printing solution for all UNIX vendors and users.
166CUPS provides the System V and Berkeley command-line interfaces.
167
168%description -l ja
169 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
170します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
171ンを提供するためにApple Inc.により開発されました。
172
173 CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
174
175
176%package devel
177Summary: Common Unix Printing System - development environment
178Group: programming
179Requires: %{name}-libs = %{version}-%{release}
180Requires: e2fsprogs-devel
181Requires: gnutls-devel
182Requires: krb5-devel
183Requires: zlib-devel
184License: LGPL
185
186%description devel
187CUPS printing system provides a portable printing layer for
188UNIX. operating systems. This is the development package for creating
189additional printer drivers, and other CUPS services.
190
191%description devel -l ja
192 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
193します。
194
195 このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発す
196るためのパッケージです。
197
198
199%package libs
200Summary: Common Unix Printing System - libraries
201Group: system
202License: LGPL
203
204%description libs
205CUPS printing system provides a portable printing layer for
206UNIX® operating systems. It has been developed by Apple Inc.
207to promote a standard printing solution for all UNIX vendors and users.
208CUPS provides the System V and Berkeley command-line interfaces.
209The cups-libs package provides libraries used by applications to use CUPS
210natively, without needing the lp/lpr commands.
211
212%description libs -l ja
213 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
214します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
215ンを提供するためにApple Inc.により開発されました。
216
217 CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
218
219 cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプ
220リケーションから使われるライブラリ類です。
221
222
223%package client
224Summary: CUPS printing system - client programs
225Group: publishing
226License: GPLv2
227Requires: %{name}-libs%{?_isa} = %{version}-%{release}
228%if %{use_alternatives}
229Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
230Requires(pre): alternatives
231Requires(preun): alternatives
232%endif
233Provides: lpd lpr LPRng
234
235%description client
236CUPS printing system provides a portable printing layer for
237UNIX® operating systems. This package contains command-line client
238programs.
239
240%description client -l ja
241 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を
242提供します。
243
244 このパッケージはコマンドラインクライアントプログラムを含んでいま
245す。
246
247
248%package lpd
249Summary: CUPS printing system - lpd emulation
250Group: servers
251Requires: %{name}%{?_isa} = %{version}-%{release}
252Requires: %{name}-libs%{?_isa} = %{version}-%{release}
253Provides: lpd
254%if %{with systemd}
255%{?systemd_requires}
256%else
257Requires: xinetd
258%endif
259
260%description lpd
261CUPS printing system provides a portable printing layer for
262UNIX® operating systems. This is the package that provides standard
263lpd emulation.
264
265%description lpd -l ja
266 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を
267提供します。
268
269 このパッケージは標準的なlpdエミュレーションを提供します。
270
271
272%package -n compat32-%{name}-libs
273Summary: Common Unix Printing System - libraries
274Group: system
275
276%description -n compat32-%{name}-libs
277CUPS printing system provides a portable printing layer for
278UNIX® operating systems. It has been developed by Apple Inc.
279to promote a standard printing solution for all UNIX vendors and users.
280CUPS provides the System V and Berkeley command-line interfaces.
281The cups-libs package provides libraries used by applications to use CUPS
282natively, without needing the lp/lpr commands.
283
284%description -n compat32-%{name}-libs -l ja
285 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
286します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
287ンを提供するためにApple Inc.により開発されました。
288
289 CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
290
291 cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリ
292ケーションから使われるライブラリ類です。
293
294
295%package -n compat32-%{name}-devel
296Summary: Common Unix Printing System - development environment
297Group: programming
298Requires: compat32-%{name}-libs = %{version}-%{release}
299Requires: %{name}-devel = %{version}-%{release}
300Requires: compat32-e2fsprogs-devel
301Requires: compat32-gnutls-devel
302Requires: compat32-krb5-devel
303Requires: compat32-zlib-devel
304
305%description -n compat32-%{name}-devel
306CUPS printing system provides a portable printing layer for
307UNIX. operating systems. This is the development package for creating
308additional printer drivers, and other CUPS services.
309
310%description -n compat32-%{name}-devel -l ja
311 CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
312します。
313
314 このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発す
315るためのパッケージです。
316
317
318%debug_package
319
320
321%prep
322%setup -q -n %{name}-%{version}
323# Use the system pam configuration.
324%patch1 -p1 -b .system-auth
325# Prevent multilib conflict in cups-config script.
326%patch2 -p1 -b .multilib
327# Ignore rpm save/new files in the banners directory.
328%patch3 -p1 -b .banners
329# Don't export SSLLIBS to cups-config.
330%patch4 -p1 -b .no-export-ssllibs
331# Allow file-based usb device URIs.
332%patch5 -p1 -b .direct-usb
333# Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
334%patch7 -p1 -b .driverd-timeout
335# Re-open the log if it has been logrotated under us.
336%patch8 -p1 -b .logrotate
337# Support for errno==ENOSPACE-based USB paper-out reporting.
338%patch9 -p1 -b .usb-paperout
339# Allow the usb backend to understand old-style URI formats.
340%patch10 -p1 -b .uri-compat
341# Add an SNMP query for HP's device ID OID (STR #3552).
342%patch11 -p1 -b .hp-deviceid-oid
343# Add an SNMP query for Ricoh's device ID OID (STR #3552).
344%patch12 -p1 -b .ricoh-deviceid-oid
345# Make cups.service Type=notify (bug #1088918).
346%patch13 -p1 -b .systemd-socket
347# Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
348%patch14 -p1 -b .freebind
349# Fixes for jobs with multiple files and multiple formats.
350%patch15 -p1 -b .ipp-multifile
351# Increase web interface get-devices timeout to 10s (bug #996664).
352%patch16 -p1 -b .web-devices-timeout
353# Set the default for SyncOnClose to Yes.
354%patch17 -p1 -b .synconclose
355# CUPS may fail to start if NIS groups are used (bug #1494558)
356%patch18 -p1 -b .ypbind
357# Add failover backend (bug #1689209)
358%patch19 -p1 -b .failover
359
360%if %{?lspp}0
361# LSPP support.
362%patch100 -p1 -b .lspp
363%endif
364
365# Log extra debugging information if no filters are available.
366%patch20 -p1 -b .filter-debug
367# Added IEEE 1284 Device ID for a Dymo device (bug #747866).
368%patch21 -p1 -b .dymo-deviceid
369# 1822154 - cups.service doesn't execute automatically on request
370%patch22 -p1 -b .autostart-when-enabled
371
372# removed dbus patch - seems breaking things
373# Fix implementation of com.redhat.PrinterSpooler D-Bus object.
374#%%patch6 -p1 -b .eggcups
375
376%patch1000 -p1 -b .serverbin-compat
377
378# make to use cjktexttops instead texttops.
379perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
380
381# if cupsd is set to log into /var/log/cups, then 'MaxLogSize 0' needs to be
382# in cupsd.conf to disable cupsd logrotate functionality and use logrotated
383sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in
384
385%if %{with systemd}
386# Add comment text mentioning syslog is systemd journal (bug #1358589)
387sed -i -e 's,\"syslog\",\"syslog\" \(syslog means systemd journal by default\),' conf/cups-files.conf.in
388%endif
389
390perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
391perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
392perl -pi -e 's,exec_prefix/lib/cups,exec_prefix/%{_lib}/cups,' config-scripts/cups-directories.m4
393autoconf
394
395cp %{SOURCE5} cups-lpd.real
396perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
397
398# Add group wheel to SystemGroups (bug #1405669)
399sed -i -e 's,^SystemGroup .*$, SystemGroup sys root wheel,' conf/cups-files.conf.in
400
401# Let's look at the compilation command lines.
402perl -pi -e "s,^.SILENT:,," Makedefs.in
403
404f=CREDITS.md
405mv "$f" "$f"~
406iconv -f MACINTOSH -t UTF-8 "$f"~ > "$f"
407rm "$f"~
408
409# Rebuild configure script for --enable-avahi.
410aclocal -I config-scripts
411autoconf -I config-scripts
412
413%build
414export DSOFLAGS="$DSOFLAGS -L../cgi-bin -L../filter -L../ppdc -L../scheduler -Wl,-z,relro -Wl,-z,now -Wl,-z,relro,-z,now -fPIE -pie"
415export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
416# --enable-debug to avoid stripping binaries
417%configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
418        --with-exe-file-perm=0755 \
419        --with-log-file-perm=0600 \
420        --enable-relro \
421        --with-pdftops=pdftops \
422        --with-dbusdir=%{_sysconfdir}/dbus-1 \
423        --with-php=/usr/bin/php-cgi \
424        --enable-avahi \
425        --enable-threads \
426        --enable-gnutls \
427        --enable-webif \
428        --disable-slp \
429%if %{with systemd}
430        --with-rundir=/run/cups \
431%endif
432        localedir=%{_datadir}/locale
433
434# If we got this far, all prerequisite libraries must be here.
435make %{?_smp_mflags}
436
437%install
438rm -rf $RPM_BUILD_ROOT
439
440make BUILDROOT=$RPM_BUILD_ROOT install
441
442rm -rf  $RPM_BUILD_ROOT%{initdir} \
443        $RPM_BUILD_ROOT%{_sysconfdir}/init.d \
444        $RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
445%if %{with systemd}
446mkdir -p %{buildroot}%{_unitdir}
447mv %{buildroot}%{_unitdir}/org.cups.cupsd.path %{buildroot}%{_unitdir}/cups.path
448mv %{buildroot}%{_unitdir}/org.cups.cupsd.service %{buildroot}%{_unitdir}/cups.service
449mv %{buildroot}%{_unitdir}/org.cups.cupsd.socket %{buildroot}%{_unitdir}/cups.socket
450mv %{buildroot}%{_unitdir}/org.cups.cups-lpd.socket %{buildroot}%{_unitdir}/cups-lpd.socket
451mv %{buildroot}%{_unitdir}/org.cups.cups-lpd@.service %{buildroot}%{_unitdir}/cups-lpd@.service
452/bin/sed -i -e "s,org.cups.cupsd,cups,g" %{buildroot}%{_unitdir}/cups.service
453%else
454mkdir -p $RPM_BUILD_ROOT%{initdir}
455install -m 755 $RPM_SOURCE_DIR/cups.init $RPM_BUILD_ROOT%{initdir}/cups
456%endif
457
458find $RPM_BUILD_ROOT%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
459
460%if %{use_alternatives}
461pushd $RPM_BUILD_ROOT%{_bindir}
462for i in cancel lp lpq lpr lprm lpstat; do
463        mv $i $i.cups
464done
465cd $RPM_BUILD_ROOT%{_sbindir}
466mv lpc lpc.cups
467cd $RPM_BUILD_ROOT%{_mandir}/man1
468for i in cancel lp lpq lpr lprm lpstat; do
469        mv $i.1 $i-cups.1
470done
471cd $RPM_BUILD_ROOT%{_mandir}/man8
472mv lpc.8 lpc-cups.8
473popd
474%endif
475
476mkdir -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
477install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
478%if !%{with systemd}
479install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
480%endif
481install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
482install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
483install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
484install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libdir}/cups/filter/textonly
485install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
486
487#install -c -m 644 %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/cups/pdftops.conf
488
489# Ship an rpm macro for where to put driver executables.
490mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
491install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
492
493# Ship a printers.conf file, and a client.conf file.  That way, they get
494# their SELinux file contexts set correctly.
495touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
496touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
497touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
498touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
499
500# This is %%ghost'ed, but needs to be created in %%install anyway.
501touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
502
503# Tell portreserve which port we want it to protect.
504# mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
505# echo ipp > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/%{name}
506
507# LSB 3.2 printer driver directory
508mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
509
510# Remove unshipped files.
511rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
512rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
513rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
514
515# Install the udev rules.
516%{__mkdir_p} %{buildroot}/lib/udev/rules.d
517install -m644 %{SOURCE3} \
518        %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules
519
520# there are pdf-banners shipped with cups-filters (#919489)
521rm -rf $RPM_BUILD_ROOT%{_datadir}/cups/banners
522rm -f $RPM_BUILD_ROOT%{_datadir}/cups/data/testprint
523
524%if %{with systemd}
525# install /etc/tmpfiles.d/cups.conf (bug #656566)
526mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
527cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups.conf <<EOF
528# See tmpfiles.d(5) for details
529
530d /run/cups 0755 root lp -
531d /run/cups/certs 0511 lp sys -
532
533d /var/spool/cups/tmp - - - 30d
534EOF
535
536# /usr/lib/tmpfiles.d/cups-lp.conf (bug #812641)
537cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups-lp.conf <<EOF
538# Legacy parallel port character device nodes, to trigger the
539# auto-loading of the kernel module on access.
540#
541# See tmpfiles.d(5) for details
542
543c /dev/lp0 0660 root lp - 6:0
544c /dev/lp1 0660 root lp - 6:1
545c /dev/lp2 0660 root lp - 6:2
546c /dev/lp3 0660 root lp - 6:3
547EOF
548%endif
549
550# Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
551install -c -m 644 %{SOURCE206} $RPM_BUILD_ROOT%{_datadir}/cups/model
552install -c -m 644 %{SOURCE207} $RPM_BUILD_ROOT%{_datadir}/cups/model
553
554# Ship a dvitops
555install -c -m 755 %{SOURCE201} $RPM_BUILD_ROOT%{_libdir}/cups/filter
556install -c -m 644 %{SOURCE202} $RPM_BUILD_ROOT%{_sysconfdir}/cups
557install -c -m 644 %{SOURCE203} $RPM_BUILD_ROOT%{_sysconfdir}/cups
558
559# Ship a cjktexttops (import from mdv)
560install -c -m 755 %{SOURCE204} $RPM_BUILD_ROOT%{_libdir}/cups/filter/
561
562# disable imagetoraster.
563perl -pi -e 's/^(image.+imagetoraster)/#$1/g' %{buildroot}/usr/share/cups/mime/mime.convs
564
565#install -c -m 644 conf/mime.types $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.types
566#install -c -m 644 conf/mime.convs $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.convs
567
568# create directories for 32bit drivers on x86_64.
569%ifarch x86_64
570mkdir -p %{buildroot}/usr/lib/cups/{backend,cgi-bin,daemon,driver,filter,monitor,notifier}
571%endif
572
573
574%clean
575rm -rf $RPM_BUILD_ROOT
576
577
578%triggerpostun -- cups < 1.4.8
579%ifarch x86_64
580
581echo "moving 32bit binaries to /usr/lib ..."
582
583if [ "$1" -gt 1 ]; then
584  for f in `find /usr/lib64/cups/ -type f`; do
585    file $f | grep ' ELF 32-bit ' >/dev/null 2>&1
586    if [ "$?" = "0" ]; then
587      DEST=`echo $f | sed -e 's/^\/usr\/lib64/\/usr\/lib/'`
588      mv -f $f $DEST
589    fi
590  done
591fi
592
593%endif
594
595%pre
596%ifarch x86_64
597if [ -L /usr/lib/cups ]; then
598  rm -f /usr/lib/cups
599fi
600%endif
601
602%post
603%if %{with systemd}
604%systemd_post %{name}.path %{name}.socket %{name}.service
605
606# Previous migration script unnecessarily put PageLogFormat into cups-files.conf
607# (see bug #1148995)
608FILE=%{_sysconfdir}/cups/cups-files.conf
609for keyword in PageLogFormat; do
610    /bin/sed -i -e "s,^$keyword,#$keyword,i" "$FILE" || :
611done
612
613# Because of moving logs to journal, we need to create placeholder files
614# at /var/log/cups for users, whose are going to install CUPS on new OS
615# machine with info message
616confignames=( "ErrorLog" "AccessLog" "PageLog" )
617lognames=( "error_log" "access_log" "page_log" )
618message="This CUPS log has been moved into journal by default unless changes have     been made in /etc/cups/cups-files.conf. Log messages can be got by \"$ journalctl -u  cups -e\""
619for ((i=0;i<${#confignames[@]};i++));
620do
621  found=`/bin/grep -i "${confignames[i]} syslog" /etc/cups/cups-files.conf`
622  if [ ! -z "$found" ]
623  then
624    if [ ! -f %{_localstatedir}/log/cups/${lognames[i]} ]
625    then
626      %{_bindir}/touch %{_localstatedir}/log/cups/${lognames[i]} || :
627    fi
628    perms=`%{_bindir}/ls -lah %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep -v -e "\-rw-------" -e "root lp"`
629    if [ ! -z "$perms" ]
630    then
631      # we need to set correct permissions and ownership because of possible
632      # security issues
633      # we need to have it here, because previous CUPS releases had the bug.
634      # Checking permissions and ownership here fixes it.
635      %{_bindir}/chown root:lp %{_localstatedir}/log/cups/${lognames[i]} || :
636      %{_bindir}/chmod 600 %{_localstatedir}/log/cups/${lognames[i]} || :
637    fi
638    lastmessage=`%{_bindir}/tail -n 1 %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep "$message"`
639    if [ -z "$lastmessage" ]
640    then
641      %{_bindir}/echo $message >> %{_localstatedir}/log/cups/${lognames[i]} || :
642    fi
643  fi
644done
645
646%else
647/sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
648/sbin/chkconfig --add cups || true
649%endif
650# Remove old-style certs directory; new-style is /var/run
651# (see bug #194581 for why this is necessary).
652/bin/rm -rf /etc/cups/certs
653rm -f %{_localstatedir}/cache/cups/*.ipp %{_localstatedir}/cache/cups/*.cache
654
655%if !%{with systemd}
656if [ $1 -eq 1 ]; then
657  # First install.  Build ppds.dat.
658  /sbin/service cups reload >/dev/null 2>&1 || :
659fi
660exit 0
661%endif
662
663%post libs -p /sbin/ldconfig
664
665%postun libs -p /sbin/ldconfig
666
667%post client
668%if %{use_alternatives}
669/sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
670         --slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
671         --slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
672         --slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
673         --slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
674         --slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
675         --slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
676         --slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
677         --slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
678         --slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
679         --slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
680         --slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
681         --slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
682         --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz
683%endif
684
685%if %{with systemd}
686%post lpd
687%systemd_post cups-lpd.socket
688exit 0
689%endif
690
691%post -n compat32-%{name}-libs -p /sbin/ldconfig
692
693%postun -n compat32-%{name}-libs -p /sbin/ldconfig
694
695%preun
696%if %{with systemd}
697%systemd_preun %{name}.path %{name}.socket %{name}.service
698%else
699if [ "$1" = "0" -o -x /bin/systemctl ]; then
700        /sbin/service cups stop > /dev/null 2>&1
701        /sbin/chkconfig --del cups
702fi
703exit 0
704%endif
705
706%preun client
707%if %{use_alternatives}
708if [ $1 -eq 0 ] ; then
709        /usr/sbin/alternatives --remove print %{_bindir}/lpr.cups
710fi
711%endif
712exit 0
713
714%if %{with systemd}
715%preun lpd
716%systemd_preun cups-lpd.socket
717exit 0
718%endif
719
720%if %{with systemd}
721%postun
722%systemd_postun_with_restart %{name}.path %{name}.socket %{name}.service
723%endif
724
725if [ "$1" -ge "1" ]; then
726        /sbin/service cups condrestart > /dev/null 2>&1
727fi
728exit 0
729
730%if %{with systemd}
731%postun lpd
732%systemd_postun_with_restart cups-lpd.socket
733exit 0
734%endif
735
736%triggerin -- samba-client
737ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
738exit 0
739
740%triggerun -- samba-client
741[ $2 = 0 ] || exit 0
742rm -f %{_libdir}/cups/backend/smb
743
744
745%files
746%defattr(-,root,root)
747%license LICENSE.txt
748%doc README.md CREDITS.md CHANGES.md
749%attr(0660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
750%attr(0660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
751%attr(0660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
752%attr(0660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
753/lib/udev/rules.d/70-cups-libusb.rules
754%dir %attr(0755,root,lp) %{_sysconfdir}/cups
755%config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
756%attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
757%config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/classes.conf
758%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/client.conf
759%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf
760%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf.default
761#%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/pdftops.conf
762%config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/printers.conf
763%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf
764%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf.default
765%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/subscriptions.conf
766#config(noreplace) %{_sysconfdir}/cups/mime.types
767#config(noreplace) %{_sysconfdir}/cups/mime.convs
768#%config(noreplace) %{_sysconfdir}/cups/pstoraster.convs
769%config(noreplace) %{_sysconfdir}/cups/dvitops.types
770%config(noreplace) %{_sysconfdir}/cups/dvitops.convs
771%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/lpoptions
772%dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
773%dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
774%config(noreplace) %{_sysconfdir}/pam.d/cups
775%config(noreplace) %{_sysconfdir}/logrotate.d/cups
776%if %{with systemd}
777%{_unitdir}/%{name}.service
778%{_unitdir}/%{name}.socket
779%{_unitdir}/%{name}.path
780%config(noreplace) %{_tmpfilesdir}/cups*.conf
781%else
782%config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
783%dir %attr(0755,root,lp) /var/run/cups
784%dir %attr(0511,lp,sys) /var/run/cups/certs
785%config(noreplace) %{initdir}/cups
786%endif
787%{_bindir}/cupstestppd
788#{_bindir}/cupstestdsc
789%{_bindir}/ippfind
790%{_bindir}/ipptool
791%{_bindir}/ppd*
792%dir %{_libdir}/cups
793%{_libdir}/cups/backend
794%{_libdir}/cups/cgi-bin
795%dir %{_libdir}/cups/daemon
796%{_libdir}/cups/daemon/cups-exec
797%{_libdir}/cups/daemon/cups-deviced
798%{_libdir}/cups/daemon/cups-driverd
799%{_libdir}/cups/notifier
800%{_libdir}/cups/filter
801%{_libdir}/cups/monitor
802%{_libdir}/cups/driver
803%ifarch x86_64
804%dir %{_prefix}/lib/cups
805%dir %{_prefix}/lib/cups/*
806%endif
807%{_mandir}/man1/cups.1*
808%{_mandir}/man1/cupstest*
809%{_mandir}/man1/ipp*
810%{_mandir}/man1/ppd*
811%{_mandir}/man[578]/*
812%{_sbindir}/*
813%exclude %{_sbindir}/lpc.cups
814%{_datadir}/cups
815%{_datadir}/locale/*/*
816%{_datadir}/ppd
817%dir %attr(1770,root,lp) /var/spool/cups/tmp
818%dir %attr(0710,root,lp) /var/spool/cups
819%dir %attr(0755,lp,sys) /var/log/cups
820%{_datadir}/pixmaps/cupsprinter.png
821%{_sysconfdir}/cron.daily/cups
822%config(noreplace) %{_sysconfdir}/dbus-1/system.d/cups.conf
823
824%dir %{_libdir}/cups/command
825%{_libdir}/cups/command/ippevepcl
826%{_libdir}/cups/command/ippeveps
827%{_mandir}/man7/ippevepcl.7.gz
828
829%files libs
830%defattr(-,root,root)
831%doc LICENSE.txt
832%{_libdir}/*.so.*
833
834%files devel
835%defattr(-,root,root)
836%{_bindir}/cups-config
837%{_libdir}/*.so
838%{_includedir}/cups
839%{_mandir}/man1/cups-config.1*
840%{_sysconfdir}/rpm/macros.cups
841
842%files client
843%{_sbindir}/lpc.cups
844%{_bindir}/cancel*
845%{_bindir}/lp*
846%{_mandir}/man1/lp*.1.gz
847%{_mandir}/man1/cancel-cups.1.gz
848%{_mandir}/man8/lpc-cups.8.gz
849
850%{_bindir}/ippeveprinter
851%{_mandir}/man1/ippeveprinter.1.gz
852
853%files lpd
854%defattr(-,root,root)
855%if %{with systemd}
856%{_unitdir}/cups-lpd.socket
857%{_unitdir}/cups-lpd@.service
858%endif
859%{_libdir}/cups/daemon/cups-lpd
860%{_mandir}/man8/cups-lpd.8.gz
861
862%if %{build_compat32}
863%files -n compat32-%{name}-devel
864%defattr(-,root,root)
865%{_libdir}/*.so
866
867%files -n compat32-%{name}-libs
868%doc LICENSE.txt
869%defattr(-,root,root)
870%{_libdir}/*.so.*
871%endif
872
873
874%changelog
875* Sun Nov 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-2
876- shifted to OpenPrinting version.
877
878* Fri May 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
879- new upstream release.
880- added systemd support (disabled as default).
881- splitted the main package into 3 subpackages: cups, cups-client, cups-lpd.
882
883* Wed May 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.11-1
884- new upstream release.
885
886* Thu Jan 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.10-1
887- new upstream release.
888- dropped Patch10-11, 14, 17, 19-20, 27-28, 33-34 and 38.
889
890* Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
891- new upstream release.
892- replaced all patches from rawhide.
893- updated Patch102.
894
895* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-2
896- rebuilt with new toolchain.
897
898* Thu Jun 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
899- new upstream release.
900
901* Sat May 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-3
902- changed R:openssl-devel in cups-devel to R:gnutls-devel.
903- added R:e2fsprogs-devel to cups-devel.
904
905* Tue May 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-2
906- rebuilt with gnutls.
907
908* Sat Feb  6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
909- new upstream release.
910
911* Thu Dec  3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
912- new upstream release.
913
914* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
915- new upstream release.
916
917* Sun Oct  4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
918- new upstream release.
919
920* Tue Jun  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.3-1
921- new upstream release.
922
923* Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.2-1
924- new upstream release.
925
926* Sun Oct  5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
927- new upstream release.
928
929* Sun Jun  8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
930- new upstream release.
931- removed Patch100 (fixed in upstream).
932
933* Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
934- new upstream release.
935
936* Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.0-1
937- new upstream release.
938
939* Tue Apr 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-6
940- modified initscript and added Patch104 to deal with wrong drivers.
941
942* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-5
943- fixed %%changelog.
944
945* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-4
946- removed /etc/cups/mime.{convs,types}.
947
948* Fri Feb 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3
949- replaced some patches.
950- fixed to print splitted images (BTS:1217).
951
952* Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
953- added Patch103 to detect printers with 32bit drivers.
954
955* Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
956- new upstream release (against CVE-2011-2896).
957- added str3914.patch (against CVE-2011-3170).
958- updated patches.
959
960* Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
961- added Patch101.
962
963* Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
964- new upstream release.
965- dropped old patches.
966- shipped some patches from fedora development.
967
968* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
969- add --disable-slp option in configure
970
971* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
972- add Patch340 for fix CVE-2009-2820
973- add Patch350 for fix CVE-2009-3553
974- patch340,350 are from rhel5
975
976* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
977- fix changelog typo
978- add Patch310 for fix CVE-2010-0540 (texttop)
979- add Patch320 for fix CVE-2010-0542 (web IF CSRF)
980- add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
981
982* Sun Mar  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
983- setuid 0 to lppasswd binary
984
985* Sat Mar  6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
986- add Patch300 for fix CVE-2010-0393 (lppasswd)
987
988* Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
989- new upstream release
990
991* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
992- Build requires krb5-devel.
993- The devel sub-package requires krb5-devel.
994
995* Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
996- new upstream release
997- remove LC_ALL from cjktexttops
998
999* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
1000- rebuild with openldap-2.4.11
1001
1002* Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
1003- add /usr/lib/cups for 32bit binary drivers on x86_64.
1004
1005* Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
1006- rebuild with gnutls-2.6.3
1007
1008* Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
1009- new upstream release
1010- renumber fedora patches
1011- remove hal patch, hal backend module is now provided by hal-cups-utils
1012
1013* Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
1014- remove libacl from dependency.
1015
1016* Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
1017- new upstream release.
1018- ship some patches from Fedora development.
1019
1020* Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
1021- add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
1022  (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
1023
1024* Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
1025- enabled Patch20: cups-gcc4.patch
1026
1027* Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
1028- always do %%configure on all archs (due to autoconf upgrade)
1029
1030* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
1031- rebuild with new openssl
1032
1033* Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
1034- added compat32 subpackage for x86_64 arch support.
1035
1036* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
1037- rebuild with dbus-1.0
1038
1039* Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
1040- add Patch50, Source20 to support hal backend.
1041
1042* Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
1043- add cjktexttops to use mpage for text-ps filter
1044  (Source18, Patch210)
1045- mark mime.convs and mime.types as config file
1046
1047* Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
1048- add Patch43 for dbus support
1049- add Patch200 to support UTF-8 ppd files
1050
1051* Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
1052- fixed cups-link.patch of missing "-L../cups"
1053- added %%configure for x86_64 architecture support
1054
1055* Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
1056- import some FC patches
1057  - fix several security bugs
1058    - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
1059    - CAN-2005-2097
1060    - CAN-2004-0888
1061    - CAN-2005-0064
1062  - apply upstream patches
1063
1064* Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
1065- added dvitops, dvitops.convs and dvitops.types
1066
1067* Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
1068- new upstream version(cups-1.1.23)
1069- removed unused patches
1070
1071* Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
1072- added cups-1.1.23rc1-scheduler_client.patch
1073        -- special thanks to kmuto@debian.org
1074
1075* Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
1076- new upstream version (cups-1.1.23rc1)
1077
1078* Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
1079- new upstream version (cups-1.1.22)
1080        -- updated cups-resource-ja-1.1.22
1081
1082* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
1083- new upstream version (cups-1.1.22rc2)
1084
1085* Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
1086- new upstream version (cups-1.1.22rc1)
1087
1088* Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
1089- new upstream version (cups-1.1.21)
1090
1091* Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
1092- added some txt files in docdir
1093
1094* Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
1095- new upstream version (cups-1.1.21rc2)
1096- updated to cups-1.1.21rc2-makefile.patch(patch11)
1097
1098* Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
1099- new upstream version (cups-1.1.21rc1)
1100- updated cups-resource-ja-1.1.21.tar.bz2
1101- updated ppdsdat.patch
1102- dropped system-auth.patch
1103
1104* Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
1105- updated pstorater to v1.6
1106
1107* Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
1108- removed README.vine
1109
1110* Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
1111- rebuild
1112
1113* Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
1114- fixed DefaultCharset in cupsd.conf
1115
1116* Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
1117- added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
1118- updated pstoraster
1119
1120* Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
1121- new upstream version (cups-1.1.20)
1122        -- fixed resource-ja
1123        -- changed DefaultCharset in cupsd.conf
1124        -- removed patch100
1125- raised update-alternatives's priority to 50
1126
1127* Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
1128- added Patch11 (cups-1.1.19-makefile.patch)
1129        -- fixed makefile
1130- added resource-ja (imported from cups-1.2.x)
1131- added Patch100(cups-1.1.19-lang-adhoc.patch)
1132        -- fixed "DefaultCharset EUC-JP" in cupsd.conf
1133        -- Don't fallback to C locale in setlocale()
1134
1135* Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
1136- merged to 1.1.20rc6 patch
1137- dropped patches
1138        --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
1139- deleted needless dependence in Obsoletes
1140
1141* Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
1142- fixed init script for logrotation
1143
1144* Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
1145- fixed coding system in spec file
1146- updated README.vine
1147
1148* Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
1149- added cups-1.1.17-sanity.patch
1150- added Japanese descriptions
1151
1152* Fri Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
1153- fixed spec file
1154
1155* Thu Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
1156- new upstream vrsion
1157- remade spec file
1158
1159* Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
1160        -- disable D-BUS.
1161- new upstream version
1162- added some fixes. from cups-1.1.19-0.rc5.2
1163        -- disable D-BUS.
1164        -- Fix option parsing in lpq (bug #90823).
1165        -- No longer need error, sigchld patches.
1166        -- Ship cupstestppd.
1167        -- Mark banners as config files (bug #89069).
1168
1169* Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
1170- imported some patches from rawhide (cups-1.1.18-2)
1171        -- added cups-idefense-v2.patch
1172        -- added cups-1.1.17-pdftops.patch
1173        -- added cups-1.1.17-error.patch
1174        -- added cups-1.1.17-rcp.patch
1175        -- added cups-1.1.17-ppdsdat.patch
1176        -- added cups-1.1.17-sigchld.patch
1177- Fix translation in the init script
1178- Build ppds.dat on first install.
1179- Use pkg-config information to find SSL libraries
1180- Make 'service cups reload' update the configuration first
1181- added README.vine
1182
1183* Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
1184- fixed alternative path
1185
1186* Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
1187- New upstream version
1188- dropped patch4 (merged cups-1.1.18)
1189- dropped epoch tag
1190
1191* Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
1192- build on Vine Linux
1193
1194* Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
1195- Fix cupsd startup hang (bug #79346).
1196
1197* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
1198- Fix parallel backend behaviour when cancelling jobs.
1199
1200* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
1201- 1.1.17.
1202- No longer need libdir patch.
1203- Fix logrotate script (bug #76791).
1204
1205* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
1206- Build requires XFree86-devel (bug #78362).
1207
1208* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
1209- 1.1.16.
1210- Updated system-auth patch.
1211- Add ncp backend script.
1212
1213* Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
1214- Set alternatives priority to 40.
1215
1216* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
1217- Buildrequire pam-devel.
1218- Patch default PAM config file to remove directory names from module paths,
1219  allowing the configuration files to work equally well on multilib systems.
1220- Patch default PAM config file to use system-auth, require the file at build-
1221  time because that's what data/Makefile checks for.
1222
1223* Fri Nov  8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
1224- Use logrotate for log rotation (bug #76791).
1225- No longer need cups.desktop, since redhat-config-printer handles it.
1226
1227* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
1228- Revert to libdir for CUPS_SERVERBIN.
1229
1230* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
1231- Use %%configure for multilib correctness.
1232- Use libexec instead of lib for CUPS_SERVERBIN.
1233- Ship translated man pages.
1234- Remove unshipped files.
1235- Fix file list permissions (bug #59021, bug #74738).
1236- Fix messy initscript output (bug #65857).
1237- Add 'reload' to initscript (bug #76114).
1238
1239* Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
1240- Add generic postscript PPD file (#73061)
1241
1242* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
1243- Fix prefix in pstoraster (bug #69573).
1244
1245* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
1246- Disable cups-lpd by default (bug #71712).
1247- No need for fread patch now that glibc is fixed.
1248
1249* Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
1250- Really add cups-lpd xinetd file (bug #63919).
1251- Ship pstoraster (bug #69573).
1252- Prevent fread from trying to read from beyond EOF (fixes a segfault
1253  with new glibc).
1254
1255* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
1256- rebuilt with gcc-3.2 (we hope)
1257
1258* Mon Aug  5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
1259- Add cups-lpd xinetd file (#63919)
1260
1261* Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
1262- add a "exit 0" to postun script
1263
1264* Tue Jul  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
1265- Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
1266  because some applications expect to find the cups docs in
1267  /usr/share/cups/doc
1268
1269* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1270- automated rebuild
1271
1272* Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
1273- 1.1.15-1
1274- Fix up smb printing trigger (samba-client, not samba-clients)
1275- Start cupsd earlier, apparently it needs to be running before samba
1276  starts up for smb printing to work.
1277
1278* Thu May 23 2002 Tim Powers <timp@redhat.com>
1279- automated rebuild
1280
1281* Tue May  7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
1282- Rebuild in current environment
1283- [-16 never existed because of build system breakage]
1284
1285* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
1286- Fix bug #63387
1287
1288* Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
1289- Fix dangling symlink created by samba-clients trigger
1290
1291* Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
1292- Add desktop file and icon for CUPS configuration
1293
1294* Wed Apr  3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
1295- Support SMB printing (#62407)
1296- Add HTML redirections to doc files to work around users mistaking
1297  /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
1298
1299* Tue Apr  2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
1300- fix subsys in initscript (#59206)
1301- don't strip binaries
1302
1303* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
1304- Make initscript use killproc instead of killall
1305
1306* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
1307- use alternatives --initscript support
1308
1309* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
1310- use the right path for the lpc man page, duh
1311
1312* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
1313- lpc man page is alternative too
1314- run ldconfig in -libs %post/%postun, not main
1315- remove alternatives in %preun
1316
1317* Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
1318- don't source /etc/sysconfig/network in cups.init, we don't use any
1319  values from it
1320
1321* Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
1322- Fix bugs #60220 and #60352
1323
1324* Thu Feb 21 2002 Tim Powers <timp@redhat.com>
1325- rebuild against correct version of openssl (0.9.6b)
1326
1327* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
1328- Add all man pages to alternatives (#59943)
1329- Update to real 1.1.14
1330
1331* Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
1332- Update to almost-1.1.14
1333
1334* Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
1335- Move cups-config to cups-devel subpackage
1336- Make alternatives usage a %%define to simplify builds for earlier
1337  releases
1338- Explicitly provide things we're supplying through alternatives
1339  to shut up kdeutils dependencies
1340
1341* Tue Feb  5 2002 Tim Powers <timp@redhat.com>
1342- shut the alternatives stuff up for good
1343
1344* Fri Feb  1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
1345- Fix alternatives stuff
1346- Don't display error messages in %%post
1347
1348* Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
1349- alternatives stuff
1350
1351* Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
1352- 1.1.13
1353- Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
1354- Rename init scripts so we can safely "killall cupsd" from there
1355
1356* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
1357- Initial (conflicting, since alternatives isn't there yet) packaging for
1358  Red Hat Linux
1359
1360* Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
1361- 1.1.12
1362
1363* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
1364- Compress PPD files
1365- Fix build with gcc 3.1
1366- Fix init script
1367
1368* Tue Sep  4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
1369- Fix URL
1370- Generate printcap
1371- s/Copyright/License/g
1372
1373* Tue Sep  4 2001 Than Ngo <than@redhat.com> 1.1.10-1
1374- update to 1.1.10-1 for ExtraBinge 7.2
1375
1376* Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
1377- update to 1.1.8
1378- changed cupsd.conf to generate /etc/printcap
1379
1380* Tue May 15 2001 Than Ngo <than@redhat.com>
1381- update to 1.1.7, bugfixes
1382
1383* Thu Dec 14 2000 Than Ngo <than@redhat.com>
1384- fixed package dependency with lpr and LPRng
1385
1386* Wed Oct 25 2000 Than Ngo <than@redhat.com>
1387- remove man/cat
1388
1389* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1390- don't start cupsd service in level 0, fixed
1391
1392* Thu Oct 19 2000 Than Ngo <than@redhat.com>
1393- update to 1.1.4
1394- fix CUPS_DOCROOT (Bug #18717)
1395
1396* Fri Aug 11 2000 Than Ngo <than@redhat.de>
1397- update to 1.1.2 (Bugfix release)
1398
1399* Fri Aug 4 2000 Than Ngo <than@redhat.de>
1400- fix, cupsd read config file under /etc/cups (Bug #15432)
1401- add missing cups filters
1402
1403* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
1404- rebuilt against libpng-1.0.8
1405
1406* Tue Aug 01 2000 Than Ngo <than@redhat.de>
1407- fix permission, add missing ldconfig in %post and %postun (Bug #14963)
1408
1409* Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1410- 1.1.1 (this has some major bugfixes)
1411- Fix a typo in initscript (it's $?, not ?$)
1412- Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
1413- Create the spool dir
1414
1415* Fri Jul 28 2000 Than Ngo <than@redhat.de>
1416- fix unclean code for building against gcc-2.96
1417- add missing restart function in startup script
1418
1419* Fri Jul 28 2000 Tim Powers <timp@redhat.com>
1420- fixed initscript so that conrestart doesn't return 1 if the test fails
1421
1422* Mon Jul 24 2000 Prospector <prospector@redhat.com>
1423- rebuilt
1424
1425* Wed Jul 19 2000 Than Ngo <than@redhat.de>
1426- using service to fire them up
1427- fix Prereq section
1428
1429* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
1430- added defattr to the devel package
1431
1432* Sun Jul 16 2000 Than Ngo <than@redhat.de>
1433- add cups config files
1434
1435* Sat Jul 15 2000 Than Ngo <than@redhat.de>
1436- update to 1.1 release
1437- move back to /etc/rc.d/init.d
1438- fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
1439- split cups
1440
1441* Wed Jul 12 2000 Than Ngo <than@redhat.de>
1442- rebuilt
1443
1444* Thu Jul 06 2000 Tim Powers <timp@redhat.com>
1445- fixed broken PreReq to now require /etc/init.d
1446
1447* Tue Jun 27 2000 Tim Powers <timp@redhat.com>
1448- PreReq initscripts >= 5.20
1449
1450* Mon Jun 26 2000 Tim Powers <timp@redhat.com>
1451- started changelog
1452- fixed init.d script location
1453- changed script in init.d quite a bit and made more like the rest of our
1454  startup scripts
Note: See TracBrowser for help on using the repository browser.