- 1.4.2. No longer need str3380, str3332, str3356, str3396 patches.

- Removed postscript.ppd.gz (bug #533371).
- Renumbered patches and sources.
This commit is contained in:
Tim Waugh 2009-11-10 11:44:14 +00:00
parent 12b1aefb46
commit 078162a914

129
cups.spec
View File

@ -18,42 +18,46 @@ Source2: cupsprinter.png
Source3: cups-libusb.rules Source3: cups-libusb.rules
Source4: pstopdf Source4: pstopdf
Source5: cups-lpd Source5: cups-lpd
Source9: cups.logrotate Source6: cups.logrotate
Source10: ncp.backend Source7: ncp.backend
Source12: cups.cron Source8: cups.cron
Source14: textonly.filter Source9: textonly.filter
Source15: textonly.ppd Source10: textonly.ppd
Patch1: cups-no-gzip-man.patch Patch1: cups-no-gzip-man.patch
Patch2: cups-1.1.16-system-auth.patch Patch2: cups-1.1.16-system-auth.patch
Patch3: cups-multilib.patch Patch3: cups-multilib.patch
Patch5: cups-serial.patch Patch4: cups-serial.patch
Patch6: cups-banners.patch Patch5: cups-banners.patch
Patch7: cups-serverbin-compat.patch Patch6: cups-serverbin-compat.patch
Patch8: cups-no-export-ssllibs.patch Patch7: cups-no-export-ssllibs.patch
Patch9: cups-paps.patch Patch8: cups-paps.patch
Patch11: cups-direct-usb.patch Patch9: cups-direct-usb.patch
Patch12: cups-lpr-help.patch Patch10: cups-lpr-help.patch
Patch13: cups-peercred.patch Patch11: cups-peercred.patch
Patch14: cups-pid.patch Patch12: cups-pid.patch
Patch15: cups-page-label.patch Patch13: cups-page-label.patch
Patch16: cups-eggcups.patch Patch14: cups-eggcups.patch
Patch17: cups-getpass.patch Patch15: cups-getpass.patch
Patch18: cups-driverd-timeout.patch Patch16: cups-driverd-timeout.patch
Patch19: cups-strict-ppd-line-length.patch Patch17: cups-strict-ppd-line-length.patch
Patch20: cups-logrotate.patch Patch18: cups-logrotate.patch
Patch21: cups-usb-paperout.patch Patch19: cups-usb-paperout.patch
Patch22: cups-build.patch Patch20: cups-build.patch
Patch23: cups-res_init.patch Patch21: cups-res_init.patch
Patch25: cups-filter-debug.patch Patch22: cups-filter-debug.patch
Patch30: cups-uri-compat.patch Patch23: cups-uri-compat.patch
Patch35: cups-cups-get-classes.patch Patch24: cups-cups-get-classes.patch
Patch37: cups-avahi.patch Patch25: cups-avahi.patch
Patch40: cups-str3382.patch Patch26: cups-str3382.patch
Patch41: cups-str3285_v2.patch Patch27: cups-str3285_v2.patch
Patch42: cups-str3390.patch Patch28: cups-str3390.patch
Patch43: cups-str3391.patch Patch29: cups-str3391.patch
Patch100: cups-lspp.patch Patch100: cups-lspp.patch
## SECURITY PATCHES:
Epoch: 1 Epoch: 1
Url: http://www.cups.org/ Url: http://www.cups.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -183,32 +187,32 @@ module.
%patch1 -p1 -b .no-gzip-man %patch1 -p1 -b .no-gzip-man
%patch2 -p1 -b .system-auth %patch2 -p1 -b .system-auth
%patch3 -p1 -b .multilib %patch3 -p1 -b .multilib
%patch5 -p1 -b .serial %patch4 -p1 -b .serial
%patch6 -p1 -b .banners %patch5 -p1 -b .banners
%patch7 -p1 -b .serverbin-compat %patch6 -p1 -b .serverbin-compat
%patch8 -p1 -b .no-export-ssllibs %patch7 -p1 -b .no-export-ssllibs
%patch9 -p1 -b .paps %patch8 -p1 -b .paps
%patch11 -p1 -b .direct-usb %patch9 -p1 -b .direct-usb
%patch12 -p1 -b .lpr-help %patch10 -p1 -b .lpr-help
%patch13 -p1 -b .peercred %patch11 -p1 -b .peercred
%patch14 -p1 -b .pid %patch12 -p1 -b .pid
%patch15 -p1 -b .page-label %patch13 -p1 -b .page-label
%patch16 -p1 -b .eggcups %patch14 -p1 -b .eggcups
%patch17 -p1 -b .getpass %patch15 -p1 -b .getpass
%patch18 -p1 -b .driverd-timeout %patch16 -p1 -b .driverd-timeout
%patch19 -p1 -b .strict-ppd-line-length %patch17 -p1 -b .strict-ppd-line-length
%patch20 -p1 -b .logrotate %patch18 -p1 -b .logrotate
%patch21 -p1 -b .usb-paperout %patch19 -p1 -b .usb-paperout
%patch22 -p1 -b .build %patch20 -p1 -b .build
%patch23 -p1 -b .res_init %patch21 -p1 -b .res_init
%patch25 -p1 -b .filter-debug %patch22 -p1 -b .filter-debug
%patch30 -p1 -b .uri-compat %patch23 -p1 -b .uri-compat
%patch35 -p1 -b .cups-get-classes %patch24 -p1 -b .cups-get-classes
%patch37 -p1 -b .avahi %patch25 -p1 -b .avahi
%patch40 -p1 -b .str3382 %patch26 -p1 -b .str3382
%patch41 -p1 -b .str3285_v2 %patch27 -p1 -b .str3285_v2
%patch42 -p1 -b .str3390 %patch28 -p1 -b .str3390
%patch43 -p1 -b .str3391 %patch29 -p1 -b .str3391
%if %lspp %if %lspp
%patch100 -p1 -b .lspp %patch100 -p1 -b .lspp
@ -280,11 +284,11 @@ popd
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/System $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/System $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
install -c -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
install -c -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{cups_serverbin}/backend/ncp install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{cups_serverbin}/backend/ncp
install -c -m 755 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
install -c -m 755 %{SOURCE14} $RPM_BUILD_ROOT%{cups_serverbin}/filter/textonly install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{cups_serverbin}/filter/textonly
install -c -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
# Ship pstopdf for LSPP systems to deal with malicious postscript # Ship pstopdf for LSPP systems to deal with malicious postscript
%if %lspp %if %lspp
@ -504,6 +508,7 @@ rm -rf $RPM_BUILD_ROOT
* Tue Nov 10 2009 Tim Waugh <twaugh@redhat.com> 1:1.4.2-1 * Tue Nov 10 2009 Tim Waugh <twaugh@redhat.com> 1:1.4.2-1
- 1.4.2. No longer need str3380, str3332, str3356, str3396 patches. - 1.4.2. No longer need str3380, str3332, str3356, str3396 patches.
- Removed postscript.ppd.gz (bug #533371). - Removed postscript.ppd.gz (bug #533371).
- Renumbered patches and sources.
* Tue Nov 3 2009 Tim Waugh <twaugh@redhat.com> 1:1.4.1-14 * Tue Nov 3 2009 Tim Waugh <twaugh@redhat.com> 1:1.4.1-14
- Removed stale patch from STR #2831 which was causing problems with - Removed stale patch from STR #2831 which was causing problems with