From 66c832424dc167a74ceb578163f3db7087dbc189 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 04:00:15 +0000 Subject: [PATCH] auto-import changelog data from cups-1.1.14-15.2.src.rpm Wed Jan 08 2003 Tim Waugh 1.1.14-15.2 - Add 'exit 0' to postun scriptlet, and fix init script 'condrestart' behaviour. Fri Dec 13 2002 Tim Waugh 1.1.14-15.1 - Fix up smb printing trigger (samba-client, not samba-clients) - Don't install files not shipped. - Security fixes. --- cups.init | 2 +- cups.spec | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/cups.init b/cups.init index 998eda5..4588a2c 100644 --- a/cups.init +++ b/cups.init @@ -77,7 +77,7 @@ case $1 in restart ;; condrestart) - [ -f /var/lock/subsys/cups ] && restart + [ -f /var/lock/subsys/cups ] && restart || : ;; status) status $DAEMON diff --git a/cups.spec b/cups.spec index 6e19918..a4d69d7 100644 --- a/cups.spec +++ b/cups.spec @@ -5,7 +5,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.1.14 -Release: 15 +Release: 15.2 License: GPL Group: System Environment/Daemons %if "%{patchlevel}" != "" @@ -19,6 +19,8 @@ Source3: cups.desktop Source4: cupsconfig Patch: cups-1.1.14-initscript.patch Patch1: cups-1.1.14-doclink.patch +Patch2: cups-1.1.15-security.patch +Patch3: cups-1.1.17-pdftops.patch Epoch: 1 Url: http://www.cups.org/ BuildRoot: %{_tmppath}/%{name}-root @@ -64,6 +66,8 @@ natively, without needing the lp/lpr commands. %setup -q %patch -p1 -b .noinit %patch1 -p1 -b .doclink +%patch2 -p1 -b .security +%patch3 -p1 -b .pdftops perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in autoconf @@ -131,6 +135,9 @@ If your browser does not support redirection, please use EOF done +# Remove unshipped files. +rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat? + %post /sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore /sbin/chkconfig --add cups || true @@ -171,12 +178,13 @@ exit 0 if [ "$1" -ge "1" ]; then /sbin/service cups condrestart > /dev/null 2>&1 fi +exit 0 -%triggerin -- samba-clients +%triggerin -- samba-client ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || : exit 0 -%triggerun -- samba-clients +%triggerun -- samba-client [ $2 = 0 ] || exit 0 rm -f %{_libdir}/cups/backend/smb @@ -224,6 +232,15 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/cups %changelog +* Wed Jan 8 2003 Tim Waugh 1.1.14-15.2 +- Add 'exit 0' to postun scriptlet, and fix init script 'condrestart' + behaviour. + +* Fri Dec 13 2002 Tim Waugh 1.1.14-15.1 +- Fix up smb printing trigger (samba-client, not samba-clients) +- Don't install files not shipped. +- Security fixes. + * Wed Apr 17 2002 Bernhard Rosenkraenzer 1.1.14-15 - Fix bug #63387