source: projects/specs/branches/6/c/cups/cups-vl.spec @ 10681

Revision 10681, 42.6 KB checked in by tomop, 8 years ago (diff)

cups-1.4.8-7

Line 
1%define _libexecdir %{_libdir}
2%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
3%define initdir %{_sysconfdir}/rc.d/init.d
4%define use_alternatives 1
5%define use_dbus 1
6%define use_avahi 1
7
8Summary: Common Unix Printing System
9Name: cups
10Version: 1.4.8
11Release: 7%{?_dist_release}
12License: GPL
13Group: System Environment/Daemons
14
15Vendor: Project Vine
16Distribution: Vine Linux
17Packager: daisuke, tomop
18
19Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
20# Our initscript
21Source1: cups.init
22# Pixmap for desktop file
23Source2: cupsprinter.png
24# udev rules for libusb devices
25Source3: cups-libusb.rules
26# LSPP-required ps->pdf filter
27Source4: pstopdf
28# xinetd config file for cups-lpd service
29Source5: cups-lpd
30# Logrotate configuration
31Source6: cups.logrotate
32# Backend for NCP protocol
33Source7: ncp.backend
34# Cron-based tmpwatch for /var/spool/cups/tmp
35Source8: cups.cron
36# Filter and PPD for textonly printing
37Source9: textonly.filter
38Source10: textonly.ppd
39Source11: macros.cups
40
41Source101: http://www.openprinting.org/download/printing/dnssd
42Source102: pstoraster
43Source103: pstoraster.convs
44Source104: postscript.ppd.gz
45Source105: pdftops.conf
46
47Source201: dvitops
48Source202: dvitops.convs
49Source203: dvitops.types
50Source204: cjktexttops
51Source206: pxlmono.ppd.gz
52Source207: pxlcolor.ppd.gz
53Source208: cups.conf
54
55Patch1: cups-no-gzip-man.patch
56Patch2: cups-1.1.16-system-auth.patch
57Patch3: cups-multilib.patch
58Patch4: cups-serial.patch
59Patch5: cups-banners.patch
60Patch6: cups-serverbin-compat.patch
61Patch7: cups-no-export-ssllibs.patch
62Patch8: cups-direct-usb.patch
63Patch9: cups-lpr-help.patch
64Patch10: cups-peercred.patch
65Patch11: cups-pid.patch
66Patch12: cups-page-label.patch
67Patch13: cups-eggcups.patch
68Patch14: cups-getpass.patch
69Patch15: cups-driverd-timeout.patch
70Patch16: cups-strict-ppd-line-length.patch
71Patch17: cups-logrotate.patch
72Patch18: cups-usb-paperout.patch
73Patch19: cups-build.patch
74Patch20: cups-res_init.patch
75Patch21: cups-filter-debug.patch
76Patch22: cups-uri-compat.patch
77Patch23: cups-cups-get-classes.patch
78Patch24: cups-str3382.patch
79Patch25: cups-force-gnutls.patch
80Patch26: cups-serialize-gnutls.patch
81Patch27: cups-0755.patch
82Patch28: cups-snmp-quirks.patch
83Patch29: cups-hp-deviceid-oid.patch
84Patch30: cups-dnssd-deviceid.patch
85Patch31: cups-ricoh-deviceid-oid.patch
86Patch32: cups-texttops-rotate-page.patch
87Patch33: cups-usb-parallel.patch
88Patch34: cups-str3535.patch
89Patch35: cups-polld-busy-loop.patch
90Patch36: cups-CVE-2011-2896.patch
91Patch37: cups-str3947.patch
92
93Patch40: cups-avahi-1-config.patch
94Patch41: cups-avahi-2-backend.patch
95Patch42: cups-avahi-3-timeouts.patch
96Patch43: cups-avahi-4-poll.patch
97Patch44: cups-avahi-5-services.patch
98
99Patch45: cups-icc.patch
100
101Patch100: cups-1.4.6-fix-template-ja.patch
102Patch101: cups-1.4.6-pstext-utf8.patch
103Patch102: cups-serverbin-compat2.patch
104Patch103: cups-serverbin-compat3.patch
105
106Patch1000: cups-CVE-2014-2856.patch
107Patch1001: cups-CVE-2014-3537.patch
108Patch1002: cups-CVE-2014-5029-5030-5031.patch
109Patch1003: cups-1.4.8_CVE-2014-9679.patch
110# Improper Update of Reference Count -- CVE-2015-1158
111# Cross-Site Scripting -- CVE-2015-1159
112# (bug #1229983)
113Patch1004: cups-str4609.patch
114
115
116Url: http://www.cups.org/
117BuildRoot: %{_tmppath}/%{name}-root
118Requires(pre): chkconfig initscripts perl alternatives
119Requires: %{name}-libs = %{version}-%{release}
120Requires: tmpwatch
121Requires: ghostscript >= 8.71-4
122%if %use_alternatives
123Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
124Requires(pre): alternatives
125%else
126Obsoletes: lpd lpr LPRng printtool
127Provides: lpd lpr LPRng
128%endif
129BuildRequires: pam-devel pkgconfig
130BuildRequires: gnutls-devel
131BuildRequires: libacl-devel
132BuildRequires: openldap-devel
133BuildRequires: aspell-devel
134BuildRequires: libjpeg-devel
135BuildRequires: libpng-devel
136BuildRequires: libtiff-devel
137BuildRequires: krb5-devel
138BuildRequires: e2fsprogs-devel
139BuildRequires: poppler-utils
140%if %use_dbus
141BuildRequires: dbus-devel >= 0.90
142Requires: dbus >= 0.90
143%endif
144
145%if %use_avahi
146BuildRequires: avahi-devel >= 0.6.20
147Requires: avahi >= 0.6.20
148Requires: avahi-tools
149%endif
150
151Requires: poppler-utils
152
153%package devel
154Summary: Common Unix Printing System - development environment
155Group: Development/Libraries
156Requires: %{name}-libs = %{version}-%{release}
157Requires: gnutls-devel
158Requires: krb5-devel
159Requires: zlib-devel
160License: LGPL
161
162%package libs
163Summary: Common Unix Printing System - libraries
164Group: System Environment/Libraries
165License: LGPL
166
167%package -n compat32-%{name}-libs
168Summary: Common Unix Printing System - libraries
169Group: System Environment/Libraries
170
171%package -n compat32-%{name}-devel
172Summary: Common Unix Printing System - development environment
173Group: Development/Libraries
174Requires: compat32-%{name}-libs = %{version}-%{release}
175Requires: %{name}-devel = %{version}-%{release}
176Requires: compat32-gnutls-devel
177Requires: compat32-krb5-devel
178Requires: compat32-zlib-devel
179
180%description
181The Common UNIX Printing System provides a portable printing layer for
182UNIX. operating systems. It has been developed by Easy Software Products
183to promote a standard printing solution for all UNIX vendors and users.
184CUPS provides the System V and Berkeley command-line interfaces.
185
186If you want to use CUPS on VineLinux, you should rebuild ghostscript package.
187Please read README.vine in your CUPS's document dir.
188#'
189
190%description -l ja
191Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。
192
193%description devel
194The Common UNIX Printing System provides a portable printing layer for
195UNIX. operating systems. This is the development package for creating
196additional printer drivers, and other CUPS services.
197
198%description devel -l ja
199Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発するためのパッケージです。
200
201%description libs
202The Common UNIX Printing System provides a portable printing layer for
203UNIXョ operating systems. It has been developed by Easy Software Products
204to promote a standard printing solution for all UNIX vendors and users.
205CUPS provides the System V and Berkeley command-line interfaces.
206The cups-libs package provides libraries used by applications to use CUPS
207natively, without needing the lp/lpr commands.
208
209%description libs -l ja
210Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリケーションから使われるライブラリ類です。
211
212%description -n compat32-%{name}-libs
213The Common UNIX Printing System provides a portable printing layer for
214UNIXョ operating systems. It has been developed by Easy Software Products
215to promote a standard printing solution for all UNIX vendors and users.
216CUPS provides the System V and Berkeley command-line interfaces.
217The cups-libs package provides libraries used by applications to use CUPS
218natively, without needing the lp/lpr commands.
219
220%description -n compat32-%{name}-libs -l ja
221Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリケーションから使われるライブラリ類です。
222
223%description -n compat32-%{name}-devel
224The Common UNIX Printing System provides a portable printing layer for
225UNIX. operating systems. This is the development package for creating
226additional printer drivers, and other CUPS services.
227
228%description -n compat32-%{name}-devel -l ja
229Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発するためのパッケージです。
230
231%prep
232%setup -q -n %{name}-%{version}
233
234# Don't gzip man pages in the Makefile, let rpmbuild do it.
235%patch1 -p1 -b .no-gzip-man
236# Use the system pam configuration.
237%patch2 -p1 -b .system-auth
238# Prevent multilib conflict in cups-config script.
239%patch3 -p1 -b .multilib
240# Fix compilation of serial backend.
241%patch4 -p1 -b .serial
242# Ignore rpm save/new files in the banners directory.
243%patch5 -p1 -b .banners
244# Use compatibility fallback path for ServerBin.
245%patch6 -p1 -b .serverbin-compat
246# Don't export SSLLIBS to cups-config.
247%patch7 -p1 -b .no-export-ssllibs
248# Allow file-based usb device URIs.
249%patch8 -p1 -b .direct-usb
250# Add --help option to lpr.
251%patch9 -p1 -b .lpr-help
252# Fix compilation of peer credentials support.
253%patch10 -p1 -b .peercred
254# Maintain a cupsd.pid file.
255%patch11 -p1 -b .pid
256# Fix orientation of page labels.
257%patch12 -p1 -b .page-label
258# Fix implementation of com.redhat.PrinterSpooler D-Bus object.
259%patch13 -p1 -b .eggcups
260# More sophisticated implementation of cupsGetPassword than getpass.
261%patch14 -p1 -b .getpass
262# Increase driverd timeout to 70s to accommodate foomatic.
263%patch15 -p1 -b .driverd-timeout
264# Only enforce maximum PPD line length when in strict mode.
265%patch16 -p1 -b .strict-ppd-line-length
266# Re-open the log if it has been logrotated under us.
267%patch17 -p1 -b .logrotate
268# Support for errno==ENOSPACE-based USB paper-out reporting.
269%patch18 -p1 -b .usb-paperout
270# Simplify the DNSSD parts so they can build using the compat library.
271%patch19 -p1 -b .build
272# Re-initialise the resolver on failure in httpAddrGetList().
273%patch20 -p1 -b .res_init
274# Log extra debugging information if no filters are available.
275%patch21 -p1 -b .filter-debug
276# Allow the usb backend to understand old-style URI formats.
277%patch22 -p1 -b .uri-compat
278# Fix support for older CUPS servers in cupsGetDests.
279%patch23 -p1 -b .cups-get-classes
280# Fix temporary filename creation.
281%patch24 -p1 -b .str3382
282# Force the use of gnutls despite thread-safety concerns (bug #607159).
283%patch25 -p1 -b .force-gnutls
284# Perform locking for gnutls and avoid libgcrypt's broken
285# locking (bug #607159).
286%patch26 -p1 -b .serialize-gnutls
287# Use mode 0755 for binaries and libraries where appropriate.
288%patch27 -p1 -b .0755
289# Handle SNMP supply level quirks (bug #581825).
290%patch28 -p1 -b .snmp-quirks
291# Add an SNMP query for HP's device ID OID (STR #3552).
292%patch29 -p1 -b .hp-deviceid-oid
293# Mark DNS-SD Device IDs that have been guessed at with "FZY:1;".
294%patch30 -p1 -b .dnssd-deviceid
295# Add an SNMP query for Ricoh's device ID OID (STR #3552).
296%patch31 -p1 -b .ricoh-deviceid-oid
297# Adjust texttops output to be in natural orientation (STR #3563).
298# This fixes page-label orientation when texttops is used in the
299# filter chain (bug #572338).
300%patch32 -p1 -b .texttops-rotate-page
301# Use numeric addresses for interfaces unless HostNameLookups are
302# turned on (bug #583054).
303# Till's patch to fix USB-Parallel adapter cable problem (bug #624564).
304%patch33 -p1 -b .usb-parallel
305# Set the default RIPCache to 128m (STR #3535, bug #549901).
306%patch34 -p1 -b .str3535
307# Avoid busy loop in cups-polld (bug #720921).
308%patch35 -p1 -b .polld-busy-loop
309# Avoid GIF reader loop (CVE-2011-2896, STR #3914, bug #727800).
310%patch36 -p1 -b .CVE-2011-2896
311# Fixed string manipulation in the dbus notifier (STR #3947, bug #741833).
312%patch37 -p1 -b .str3947
313
314# Avahi support:
315# - discovery in the dnssd backend
316# - service announcement in the scheduler
317%patch40 -p1 -b .avahi-1-config
318%patch41 -p1 -b .avahi-2-backend
319%patch42 -p1 -b .avahi-3-timeouts
320%patch43 -p1 -b .avahi-4-poll
321%patch44 -p1 -b .avahi-5-services
322
323# ICC colord support.
324%patch45 -p1 -b .icc
325
326%patch100 -p1 -b .template-ja
327%patch101 -p1 -b .pstext
328%patch102 -p0 -b .serverbin-compat2
329%patch103 -p0 -b .serverbin-compat3
330
331
332%patch1000 -p1 -b .CVE-2014-2856
333%patch1001 -p1 -b .CVE-2014-3537
334%patch1002 -p1 -b .CVE-2014-5029-5030-5031
335%patch1003 -p1 -b .CVE-2014-9679
336%patch1004 -p1 -b .CVE-2015-1158-1159
337
338# make to use cjktexttops instead texttops.
339perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
340
341
342perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
343perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
344perl -pi -e 's,^#(MaxLogSize\s+0),$1,' conf/cupsd.conf.in
345perl -pi -e 's,exec_prefix/lib/cups,exec_prefix/%{_lib}/cups,' config-scripts/cups-directories.m4
346autoconf
347
348cp %{SOURCE5} cups-lpd.real
349perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
350
351# Let's look at the compilation command lines.
352perl -pi -e "s,^.SILENT:,," Makedefs.in
353
354# Fix locale code for Norwegian (bug #520379).
355mv locale/cups_no.po locale/cups_nb.po
356
357f=CREDITS.txt
358mv "$f" "$f"~
359iconv -f MACINTOSH -t UTF-8 "$f"~ > "$f"
360rm "$f"~
361
362# Rebuild configure script for --enable-avahi.
363aclocal -I config-scripts
364autoconf -I config-scripts
365
366%build
367
368export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
369# --enable-debug to avoid stripping binaries
370%configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
371        --with-log-file-perm=0600 --enable-relro \
372        --with-pdftops=pdftops \
373        --with-dbusdir=%{_sysconfdir}/dbus-1 \
374        --enable-avahi \
375        --enable-threads \
376        --enable-gnutls \
377        --disable-slp \
378        localedir=%{_datadir}/locale
379
380        ##--enable-lspp \
381
382perl -pi -e "s,^DSO     =.*,DSO=gcc -fpic," Makedefs
383
384# If we got this far, all prerequisite libraries must be here.
385make %{?_smp_mflags} OPTIM="$RPM_OPT_FLAGS -fpic"
386
387%install
388rm -rf $RPM_BUILD_ROOT
389
390make BUILDROOT=$RPM_BUILD_ROOT install
391
392# Serial backend needs to run as root (bug #212577).
393chmod 700 $RPM_BUILD_ROOT%{_libdir}/%{name}/backend/serial
394
395rm -rf  $RPM_BUILD_ROOT%{initdir} \
396        $RPM_BUILD_ROOT%{_sysconfdir}/init.d \
397        $RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
398mkdir -p $RPM_BUILD_ROOT%{initdir}
399install -m 755 $RPM_SOURCE_DIR/cups.init $RPM_BUILD_ROOT%{initdir}/cups
400
401find $RPM_BUILD_ROOT%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
402
403%if %use_alternatives
404pushd $RPM_BUILD_ROOT%{_bindir}
405for i in cancel lp lpq lpr lprm lpstat; do
406        mv $i $i.cups
407done
408cd $RPM_BUILD_ROOT%{_sbindir}
409mv lpc lpc.cups
410cd $RPM_BUILD_ROOT%{_mandir}/man1
411for i in cancel lp lpq lpr lprm lpstat; do
412        mv $i.1 $i-cups.1
413done
414
415cd $RPM_BUILD_ROOT%{_mandir}/man8
416mv lpc.8 lpc-cups.8
417popd
418%endif
419
420mkdir -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
421install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
422install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
423install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
424install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
425install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
426install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libdir}/cups/filter/textonly
427install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
428
429#install -c -m 644 %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/cups/pdftops.conf
430
431# Ship an rpm macro for where to put driver executables.
432mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
433install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
434
435# Ship a printers.conf file, and a client.conf file.  That way, they get
436# their SELinux file contexts set correctly.
437touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
438touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
439touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
440touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
441
442# This is %%ghost'ed, but needs to be created in %%install anyway.
443touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
444
445# Tell portreserve which port we want it to protect.
446# mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
447# echo ipp > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/%{name}
448
449# LSB 3.2 printer driver directory
450mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
451
452# Handle https:// device URIs (bug #478677, STR #3122).
453ln -s ipp $RPM_BUILD_ROOT%{_libdir}/cups/backend/https
454
455# Remove unshipped files.
456rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
457rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
458rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
459
460# Install the udev rules.
461%{__mkdir_p} %{buildroot}/lib/udev/rules.d
462install -m644 %{SOURCE3} \
463        %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules
464
465# install /etc/tmpfiles.d/cups.conf (bug #656566)
466mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d
467cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/cups.conf <<EOF
468d %{_localstatedir}/run/cups 0755 root lp -
469d %{_localstatedir}/run/cups/certs 0511 lp sys -
470EOF
471
472# Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
473install -c -m 644 %{SOURCE206} $RPM_BUILD_ROOT%{_datadir}/cups/model
474install -c -m 644 %{SOURCE207} $RPM_BUILD_ROOT%{_datadir}/cups/model
475
476# Ship a dvitops
477install -c -m 755 %{SOURCE201} $RPM_BUILD_ROOT%{_libdir}/cups/filter
478install -c -m 644 %{SOURCE202} $RPM_BUILD_ROOT%{_sysconfdir}/cups
479install -c -m 644 %{SOURCE203} $RPM_BUILD_ROOT%{_sysconfdir}/cups
480
481# Ship a cjktexttops (import from mdv)
482install -c -m 755 %{SOURCE204} $RPM_BUILD_ROOT%{_libdir}/cups/filter/
483
484# disable imagetoraster.
485perl -pi -e 's/^(image.+imagetoraster)/#$1/g' %{buildroot}/usr/share/cups/mime/mime.convs
486
487#install -c -m 644 conf/mime.types $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.types
488#install -c -m 644 conf/mime.convs $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.convs
489
490# create directories for 32bit drivers on x86_64.
491%ifarch x86_64
492mkdir -p %{buildroot}/usr/lib/cups/{backend,cgi-bin,daemon,driver,filter,monitor,notifier}
493%endif
494
495%triggerpostun -- cups < 1.4.8
496%ifarch x86_64
497
498echo "moving 32bit binaries to /usr/lib ..."
499
500if [ "$1" -gt 1 ]; then
501  for f in `find /usr/lib64/cups/ -type f`; do
502    file $f | grep ' ELF 32-bit ' >/dev/null 2>&1
503    if [ "$?" = "0" ]; then
504      DEST=`echo $f | sed -e 's/^\/usr\/lib64/\/usr\/lib/'`
505      mv -f $f $DEST
506    fi
507  done
508fi
509
510%endif
511
512%pre
513%ifarch x86_64
514if [ -L /usr/lib/cups ]; then
515  rm -f /usr/lib/cups
516fi
517%endif
518
519
520%post
521/sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
522/sbin/chkconfig --add cups || true
523# Remove old-style certs directory; new-style is /var/run
524# (see bug #194581 for why this is necessary).
525/bin/rm -rf /etc/cups/certs
526%if %use_alternatives
527/sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
528         --slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
529         --slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
530         --slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
531         --slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
532         --slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
533         --slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
534         --slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
535         --slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
536         --slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
537         --slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
538         --slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
539         --slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
540         --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz
541%endif
542if [ $1 -eq 1 ]; then
543  # First install.  Build ppds.dat.
544  /sbin/service cups reload >/dev/null 2>&1 || :
545fi
546exit 0
547
548%post libs -p /sbin/ldconfig
549
550%postun libs -p /sbin/ldconfig
551
552%post -n compat32-%{name}-libs -p /sbin/ldconfig
553
554%postun -n compat32-%{name}-libs -p /sbin/ldconfig
555
556%preun
557if [ "$1" = "0" ]; then
558        /sbin/service cups stop > /dev/null 2>&1
559        /sbin/chkconfig --del cups
560%if %use_alternatives
561        /sbin/update-alternatives --remove print %{_bindir}/lpr.cups
562%endif
563fi
564exit 0
565
566%postun
567if [ "$1" -ge "1" ]; then
568        /sbin/service cups condrestart > /dev/null 2>&1
569fi
570exit 0
571
572%triggerin -- samba-client
573ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
574exit 0
575
576%triggerun -- samba-client
577[ $2 = 0 ] || exit 0
578rm -f %{_libdir}/cups/backend/smb
579
580%clean
581rm -rf $RPM_BUILD_ROOT
582
583%files
584%defattr(-,root,root)
585%doc LICENSE.txt README.txt CREDITS.txt CHANGES.txt
586%attr(0660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
587%attr(0660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
588%attr(0660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
589%attr(0660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
590/lib/udev/rules.d/70-cups-libusb.rules
591%dir %attr(0755,root,lp) %{_sysconfdir}/cups
592%dir %attr(0755,root,lp) /var/run/cups
593%dir %attr(0511,lp,sys) /var/run/cups/certs
594%config(noreplace) %{_sysconfdir}/tmpfiles.d/cups.conf
595%config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
596%attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
597%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/client.conf
598%config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/classes.conf
599%config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/printers.conf
600#%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/pdftops.conf
601%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf
602%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/subscriptions.conf
603%{_sysconfdir}/cups/interfaces
604#config(noreplace) %{_sysconfdir}/cups/mime.types
605#config(noreplace) %{_sysconfdir}/cups/mime.convs
606#%config(noreplace) %{_sysconfdir}/cups/pstoraster.convs
607%config(noreplace) %{_sysconfdir}/cups/dvitops.types
608%config(noreplace) %{_sysconfdir}/cups/dvitops.convs
609%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/lpoptions
610%dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
611%dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
612%config(noreplace) %{_sysconfdir}/pam.d/cups
613%config(noreplace) %{_sysconfdir}/logrotate.d/cups
614%config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
615%dir %{_datadir}/%{name}/www
616%dir %{_datadir}/%{name}/www/es
617%dir %{_datadir}/%{name}/www/eu
618%dir %{_datadir}/%{name}/www/ja
619%dir %{_datadir}/%{name}/www/pl
620%dir %{_datadir}/%{name}/www/ru
621%{_datadir}/%{name}/www/images
622%{_datadir}/%{name}/www/*.css
623%doc %{_datadir}/%{name}/www/index.html
624%doc %{_datadir}/%{name}/www/help
625%doc %{_datadir}/%{name}/www/robots.txt
626%doc %{_datadir}/%{name}/www/de/index.html
627%doc %{_datadir}/%{name}/www/es/index.html
628%doc %{_datadir}/%{name}/www/eu/index.html
629%doc %{_datadir}/%{name}/www/id/index.html
630%doc %{_datadir}/%{name}/www/it/index.html
631%doc %{_datadir}/%{name}/www/ja/index.html
632%doc %{_datadir}/%{name}/www/pl/index.html
633%doc %{_datadir}/%{name}/www/ru/index.html
634%config(noreplace) %{initdir}/cups
635%{_bindir}/cupstestppd
636%{_bindir}/cupstestdsc
637%{_bindir}/cancel*
638%{_bindir}/lp.cups
639%{_bindir}/lpoptions
640%attr(4755,root,root) %{_bindir}/lppasswd
641%{_bindir}/lpq.cups
642%{_bindir}/lpr.cups
643%{_bindir}/lprm.cups
644%{_bindir}/lpstat.cups
645%{_bindir}/ppd*
646%dir %{_libdir}/cups
647%{_libdir}/cups/backend
648%{_libdir}/cups/cgi-bin
649%dir %{_libdir}/cups/daemon
650%{_libdir}/cups/daemon/cups-polld
651%{_libdir}/cups/daemon/cups-deviced
652%{_libdir}/cups/daemon/cups-driverd
653%{_libdir}/cups/daemon/cups-lpd
654%{_libdir}/cups/notifier
655%{_libdir}/cups/filter
656%{_libdir}/cups/monitor
657%{_libdir}/cups/driver
658%ifarch x86_64
659%dir %{_prefix}/lib/cups
660%dir %{_prefix}/lib/cups/*
661%endif
662%{_mandir}/man1/cancel*
663%{_mandir}/man1/cupstest*
664%{_mandir}/man1/lp*
665%{_mandir}/man1/ppd*
666%{_mandir}/man[578]/*
667%{_sbindir}/*
668%dir %{_datadir}/cups
669%dir %{_datadir}/cups/banners
670%config(noreplace) %{_datadir}/cups/banners/*
671%{_datadir}/cups/charsets
672%{_datadir}/cups/charmaps
673%{_datadir}/cups/data
674%{_datadir}/cups/fonts
675%{_datadir}/cups/model
676%{_datadir}/cups/templates
677%{_datadir}/locale/*/*
678%{_datadir}/ppd
679%dir %attr(1770,root,lp) /var/spool/cups/tmp
680%dir %attr(0710,root,lp) /var/spool/cups
681%dir %attr(0755,lp,sys) /var/log/cups
682%{_datadir}/pixmaps/cupsprinter.png
683%{_sysconfdir}/cron.daily/cups
684%config(noreplace) %{_sysconfdir}/dbus-1/system.d/cups.conf
685%{_datadir}/cups/drv
686%{_datadir}/cups/examples
687%dir %{_datadir}/cups/mime
688%{_datadir}/cups/mime/mime.types
689%{_datadir}/cups/mime/mime.convs
690%dir %{_datadir}/cups/ppdc
691%{_datadir}/cups/ppdc/*.defs
692%{_datadir}/cups/ppdc/*.h
693
694%files libs
695%defattr(-,root,root)
696%doc LICENSE.txt
697%{_libdir}/*.so.*
698
699%files devel
700%defattr(-,root,root)
701%{_bindir}/cups-config
702%{_libdir}/*.so
703%{_includedir}/cups
704%{_mandir}/man1/cups-config.1*
705%{_sysconfdir}/rpm/macros.cups
706
707%if %{build_compat32}
708%files -n compat32-%{name}-devel
709%defattr(-,root,root)
710%{_libdir}/*.so
711
712%files -n compat32-%{name}-libs
713%doc LICENSE.txt
714%defattr(-,root,root)
715%{_libdir}/*.so.*
716%endif
717
718%changelog
719* Sun Jul 24 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-7
720- renumbered Patch200 to Patch1003.
721- added Patch1000-1002 and 1004.
722  - CVE-2014-2856
723  - CVE-2014-3537
724  - CVE-2014-5029
725  - CVE-2014-5030
726  - CVE-2014-5031
727  - CVE-2015-1158
728  - CVE-2015-1159
729
730* Sun Mar  1 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.8-6
731- add Patch200 for fix CVE-2014-9679 (raster.c)
732
733* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-5
734- fixed %%changelog.
735
736* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-4
737- removed /etc/cups/mime.{convs,types}.
738
739* Fri Feb 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3
740- replaced some patches.
741- fixed to print splitted images (BTS:1217).
742
743* Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
744- added Patch103 to detect printers with 32bit drivers.
745
746* Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
747- new upstream release (against CVE-2011-2896).
748- added str3914.patch (against CVE-2011-3170).
749- updated patches.
750
751* Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
752- added Patch101.
753
754* Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
755- new upstream release.
756- dropped old patches.
757- shipped some patches from fedora development.
758
759* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
760- add --disable-slp option in configure
761
762* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
763- add Patch340 for fix CVE-2009-2820
764- add Patch350 for fix CVE-2009-3553
765- patch340,350 are from rhel5
766
767* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
768- fix changelog typo
769- add Patch310 for fix CVE-2010-0540 (texttop)
770- add Patch320 for fix CVE-2010-0542 (web IF CSRF)
771- add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
772
773* Sun Mar  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
774- setuid 0 to lppasswd binary
775
776* Sat Mar  6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
777- add Patch300 for fix CVE-2010-0393 (lppasswd)
778
779* Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
780- new upstream release
781
782* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
783- Build requires krb5-devel.
784- The devel sub-package requires krb5-devel.
785
786* Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
787- new upstream release
788- remove LC_ALL from cjktexttops
789
790* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
791- rebuild with openldap-2.4.11
792
793* Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
794- add /usr/lib/cups for 32bit binary drivers on x86_64.
795
796* Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
797- rebuild with gnutls-2.6.3
798
799* Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
800- new upstream release
801- renumber fedora patches
802- remove hal patch, hal backend module is now provided by hal-cups-utils
803
804* Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
805- remove libacl from dependency.
806
807* Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
808- new upstream release.
809- ship some patches from Fedora development.
810
811* Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
812- add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
813  (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
814
815* Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
816- enabled Patch20: cups-gcc4.patch
817
818* Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
819- always do %%configure on all archs (due to autoconf upgrade)
820
821* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
822- rebuild with new openssl
823
824* Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
825- added compat32 subpackage for x86_64 arch support.
826
827* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
828- rebuild with dbus-1.0
829
830* Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
831- add Patch50, Source20 to support hal backend.
832
833* Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
834- add cjktexttops to use mpage for text-ps filter
835  (Source18, Patch210)
836- mark mime.convs and mime.types as config file
837
838* Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
839- add Patch43 for dbus support
840- add Patch200 to support UTF-8 ppd files
841
842* Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
843- fixed cups-link.patch of missing "-L../cups"
844- added %%configure for x86_64 architecture support
845
846* Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
847- import some FC patches
848  - fix several security bugs
849    - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
850    - CAN-2005-2097
851    - CAN-2004-0888
852    - CAN-2005-0064
853  - apply upstream patches
854
855* Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
856- added dvitops, dvitops.convs and dvitops.types
857
858* Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
859- new upstream version(cups-1.1.23)
860- removed unused patches
861
862* Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
863- added cups-1.1.23rc1-scheduler_client.patch
864        -- special thanks to kmuto@debian.org
865
866* Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
867- new upstream version (cups-1.1.23rc1)
868
869* Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
870- new upstream version (cups-1.1.22)
871        -- updated cups-resource-ja-1.1.22
872
873* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
874- new upstream version (cups-1.1.22rc2)
875
876* Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
877- new upstream version (cups-1.1.22rc1)
878
879* Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
880- new upstream version (cups-1.1.21)
881
882* Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
883- added some txt files in docdir
884
885* Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
886- new upstream version (cups-1.1.21rc2)
887- updated to cups-1.1.21rc2-makefile.patch(patch11)
888
889* Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
890- new upstream version (cups-1.1.21rc1)
891- updated cups-resource-ja-1.1.21.tar.bz2
892- updated ppdsdat.patch
893- dropped system-auth.patch
894
895* Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
896- updated pstorater to v1.6
897
898* Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
899- removed README.vine
900
901* Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
902- rebuild
903
904* Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
905- fixed DefaultCharset in cupsd.conf
906
907* Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
908- added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
909- updated pstoraster
910
911* Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
912- new upstream version (cups-1.1.20)
913        -- fixed resource-ja
914        -- changed DefaultCharset in cupsd.conf
915        -- removed patch100
916- raised update-alternatives's priority to 50
917
918* Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
919- added Patch11 (cups-1.1.19-makefile.patch)
920        -- fixed makefile
921- added resource-ja (imported from cups-1.2.x)
922- added Patch100(cups-1.1.19-lang-adhoc.patch)
923        -- fixed "DefaultCharset EUC-JP" in cupsd.conf
924        -- Don't fallback to C locale in setlocale()
925
926* Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
927- merged to 1.1.20rc6 patch
928- dropped patches
929        --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
930- deleted needless dependence in Obsoletes
931
932* Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
933- fixed init script for logrotation
934
935* Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
936- fixed coding system in spec file
937- updated README.vine
938
939* Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
940- added cups-1.1.17-sanity.patch
941- added Japanese descriptions
942
943* Sat Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
944- fixed spec file
945
946* Fri Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
947- new upstream vrsion
948- remade spec file
949
950* Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
951        -- disable D-BUS.
952- new upstream version
953- added some fixes. from cups-1.1.19-0.rc5.2
954        -- disable D-BUS.
955        -- Fix option parsing in lpq (bug #90823).
956        -- No longer need error, sigchld patches.
957        -- Ship cupstestppd.
958        -- Mark banners as config files (bug #89069).
959
960* Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
961- imported some patches from rawhide (cups-1.1.18-2)
962        -- added cups-idefense-v2.patch
963        -- added cups-1.1.17-pdftops.patch
964        -- added cups-1.1.17-error.patch
965        -- added cups-1.1.17-rcp.patch
966        -- added cups-1.1.17-ppdsdat.patch
967        -- added cups-1.1.17-sigchld.patch
968- Fix translation in the init script
969- Build ppds.dat on first install.
970- Use pkg-config information to find SSL libraries
971- Make 'service cups reload' update the configuration first
972- added README.vine
973
974* Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
975- fixed alternative path
976
977* Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
978- New upstream version
979- dropped patch4 (merged cups-1.1.18)
980- dropped epoch tag
981
982* Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
983- build on Vine Linux
984
985* Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
986- Fix cupsd startup hang (bug #79346).
987
988* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
989- Fix parallel backend behaviour when cancelling jobs.
990
991* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
992- 1.1.17.
993- No longer need libdir patch.
994- Fix logrotate script (bug #76791).
995
996* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
997- Build requires XFree86-devel (bug #78362).
998
999* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
1000- 1.1.16.
1001- Updated system-auth patch.
1002- Add ncp backend script.
1003
1004* Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
1005- Set alternatives priority to 40.
1006
1007* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
1008- Buildrequire pam-devel.
1009- Patch default PAM config file to remove directory names from module paths,
1010  allowing the configuration files to work equally well on multilib systems.
1011- Patch default PAM config file to use system-auth, require the file at build-
1012  time because that's what data/Makefile checks for.
1013
1014* Fri Nov  8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
1015- Use logrotate for log rotation (bug #76791).
1016- No longer need cups.desktop, since redhat-config-printer handles it.
1017
1018* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
1019- Revert to libdir for CUPS_SERVERBIN.
1020
1021* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
1022- Use %%configure for multilib correctness.
1023- Use libexec instead of lib for CUPS_SERVERBIN.
1024- Ship translated man pages.
1025- Remove unshipped files.
1026- Fix file list permissions (bug #59021, bug #74738).
1027- Fix messy initscript output (bug #65857).
1028- Add 'reload' to initscript (bug #76114).
1029
1030* Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
1031- Add generic postscript PPD file (#73061)
1032
1033* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
1034- Fix prefix in pstoraster (bug #69573).
1035
1036* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
1037- Disable cups-lpd by default (bug #71712).
1038- No need for fread patch now that glibc is fixed.
1039
1040* Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
1041- Really add cups-lpd xinetd file (bug #63919).
1042- Ship pstoraster (bug #69573).
1043- Prevent fread from trying to read from beyond EOF (fixes a segfault
1044  with new glibc).
1045
1046* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
1047- rebuilt with gcc-3.2 (we hope)
1048
1049* Mon Aug  5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
1050- Add cups-lpd xinetd file (#63919)
1051
1052* Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
1053- add a "exit 0" to postun script
1054
1055* Tue Jul  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
1056- Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
1057  because some applications expect to find the cups docs in
1058  /usr/share/cups/doc
1059
1060* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1061- automated rebuild
1062
1063* Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
1064- 1.1.15-1
1065- Fix up smb printing trigger (samba-client, not samba-clients)
1066- Start cupsd earlier, apparently it needs to be running before samba
1067  starts up for smb printing to work.
1068
1069* Thu May 23 2002 Tim Powers <timp@redhat.com>
1070- automated rebuild
1071
1072* Tue May  7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
1073- Rebuild in current environment
1074- [-16 never existed because of build system breakage]
1075
1076* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
1077- Fix bug #63387
1078
1079* Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
1080- Fix dangling symlink created by samba-clients trigger
1081
1082* Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
1083- Add desktop file and icon for CUPS configuration
1084
1085* Wed Apr  3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
1086- Support SMB printing (#62407)
1087- Add HTML redirections to doc files to work around users mistaking
1088  /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
1089
1090* Tue Apr  2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
1091- fix subsys in initscript (#59206)
1092- don't strip binaries
1093
1094* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
1095- Make initscript use killproc instead of killall
1096
1097* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
1098- use alternatives --initscript support
1099
1100* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
1101- use the right path for the lpc man page, duh
1102
1103* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
1104- lpc man page is alternative too
1105- run ldconfig in -libs %post/%postun, not main
1106- remove alternatives in %preun
1107
1108* Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
1109- don't source /etc/sysconfig/network in cups.init, we don't use any
1110  values from it
1111
1112* Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
1113- Fix bugs #60220 and #60352
1114
1115* Thu Feb 21 2002 Tim Powers <timp@redhat.com>
1116- rebuild against correct version of openssl (0.9.6b)
1117
1118* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
1119- Add all man pages to alternatives (#59943)
1120- Update to real 1.1.14
1121
1122* Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
1123- Update to almost-1.1.14
1124
1125* Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
1126- Move cups-config to cups-devel subpackage
1127- Make alternatives usage a %%define to simplify builds for earlier
1128  releases
1129- Explicitly provide things we're supplying through alternatives
1130  to shut up kdeutils dependencies
1131
1132* Tue Feb  5 2002 Tim Powers <timp@redhat.com>
1133- shut the alternatives stuff up for good
1134
1135* Fri Feb  1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
1136- Fix alternatives stuff
1137- Don't display error messages in %%post
1138
1139* Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
1140- alternatives stuff
1141
1142* Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
1143- 1.1.13
1144- Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
1145- Rename init scripts so we can safely "killall cupsd" from there
1146
1147* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
1148- Initial (conflicting, since alternatives isn't there yet) packaging for
1149  Red Hat Linux
1150
1151* Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
1152- 1.1.12
1153
1154* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
1155- Compress PPD files
1156- Fix build with gcc 3.1
1157- Fix init script
1158
1159* Tue Sep  4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
1160- Fix URL
1161- Generate printcap
1162- s/Copyright/License/g
1163
1164* Tue Sep  4 2001 Than Ngo <than@redhat.com> 1.1.10-1
1165- update to 1.1.10-1 for ExtraBinge 7.2
1166
1167* Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
1168- update to 1.1.8
1169- changed cupsd.conf to generate /etc/printcap
1170
1171* Tue May 15 2001 Than Ngo <than@redhat.com>
1172- update to 1.1.7, bugfixes
1173
1174* Thu Dec 14 2000 Than Ngo <than@redhat.com>
1175- fixed package dependency with lpr and LPRng
1176
1177* Wed Oct 25 2000 Than Ngo <than@redhat.com>
1178- remove man/cat
1179
1180* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1181- don't start cupsd service in level 0, fixed
1182
1183* Thu Oct 19 2000 Than Ngo <than@redhat.com>
1184- update to 1.1.4
1185- fix CUPS_DOCROOT (Bug #18717)
1186
1187* Fri Aug 11 2000 Than Ngo <than@redhat.de>
1188- update to 1.1.2 (Bugfix release)
1189
1190* Fri Aug 4 2000 Than Ngo <than@redhat.de>
1191- fix, cupsd read config file under /etc/cups (Bug #15432)
1192- add missing cups filters
1193
1194* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
1195- rebuilt against libpng-1.0.8
1196
1197* Tue Aug 01 2000 Than Ngo <than@redhat.de>
1198- fix permission, add missing ldconfig in %post and %postun (Bug #14963)
1199
1200* Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1201- 1.1.1 (this has some major bugfixes)
1202- Fix a typo in initscript (it's $?, not ?$)
1203- Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
1204- Create the spool dir
1205
1206* Fri Jul 28 2000 Than Ngo <than@redhat.de>
1207- fix unclean code for building against gcc-2.96
1208- add missing restart function in startup script
1209
1210* Fri Jul 28 2000 Tim Powers <timp@redhat.com>
1211- fixed initscript so that conrestart doesn't return 1 if the test fails
1212
1213* Mon Jul 24 2000 Prospector <prospector@redhat.com>
1214- rebuilt
1215
1216* Wed Jul 19 2000 Than Ngo <than@redhat.de>
1217- using service to fire them up
1218- fix Prereq section
1219
1220* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
1221- added defattr to the devel package
1222
1223* Sun Jul 16 2000 Than Ngo <than@redhat.de>
1224- add cups config files
1225
1226* Sat Jul 15 2000 Than Ngo <than@redhat.de>
1227- update to 1.1 release
1228- move back to /etc/rc.d/init.d
1229- fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
1230- split cups
1231
1232* Wed Jul 12 2000 Than Ngo <than@redhat.de>
1233- rebuilt
1234
1235* Thu Jul 06 2000 Tim Powers <timp@redhat.com>
1236- fixed broken PreReq to now require /etc/init.d
1237
1238* Tue Jun 27 2000 Tim Powers <timp@redhat.com>
1239- PreReq initscripts >= 5.20
1240
1241* Mon Jun 26 2000 Tim Powers <timp@redhat.com>
1242- started changelog
1243- fixed init.d script location
1244- changed script in init.d quite a bit and made more like the rest of our
1245  startup scripts
Note: See TracBrowser for help on using the repository browser.