From 3482b4b29e00da2e1045f32ebc3a87f1b8c10ddb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:35:46 +0100 Subject: [PATCH] cups-browsed.service: add TimeoutStopSec=5 to workaround shutdown delay problem [release 1.10.0-4mamba;Wed Jul 27 2016] --- cups-filters-1.10.0-cups-browsed-timeout-stop.patch | 10 ++++++++++ cups-filters.spec | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 cups-filters-1.10.0-cups-browsed-timeout-stop.patch diff --git a/cups-filters-1.10.0-cups-browsed-timeout-stop.patch b/cups-filters-1.10.0-cups-browsed-timeout-stop.patch new file mode 100644 index 0000000..eb461b1 --- /dev/null +++ b/cups-filters-1.10.0-cups-browsed-timeout-stop.patch @@ -0,0 +1,10 @@ +--- cups-filters-1.10.0/utils/cups-browsed.service.orig 2016-07-27 16:52:47.033337629 +0200 ++++ cups-filters-1.10.0/utils/cups-browsed.service 2016-07-27 16:53:13.621349229 +0200 +@@ -6,6 +6,7 @@ + + [Service] + ExecStart=/usr/sbin/cups-browsed ++TimeoutStopSec=5 + + [Install] + WantedBy=multi-user.target diff --git a/cups-filters.spec b/cups-filters.spec index 16551ea..aa838a8 100644 --- a/cups-filters.spec +++ b/cups-filters.spec @@ -1,6 +1,6 @@ Name: cups-filters Version: 1.10.0 -Release: 3mamba +Release: 4mamba Summary: Backends, filters, and other software for the CUPS printing system Group: System/Spooling Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.openprinting.org Source: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz +Patch0: cups-filters-1.10.0-cups-browsed-timeout-stop.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: ghostscript-devel @@ -63,6 +64,7 @@ This is the development package. %prep %setup -q +%patch0 -p1 %build PHP_INCLUDES=`php-config --includes` || PHP_INCLUDES= @@ -193,6 +195,9 @@ install -D -m0644 utils/cups-browsed.service %{buildroot}%{_unitdir}/cups-browse %{_datadir}/doc/cups-filters/README %changelog +* Wed Jul 27 2016 Silvan Calarco 1.10.0-4mamba +- cups-browsed.service: add TimeoutStopSec=5 to workaround shutdown delay problem + * Sat Jul 23 2016 Silvan Calarco 1.10.0-3mamba - added some configure options and requirements