[arch-commits] Commit in cups/trunk (3 files)
Andreas Radke
andyrtr at archlinux.org
Thu Nov 26 15:20:15 UTC 2020
Date: Thursday, November 26, 2020 @ 15:20:14
Author: andyrtr
Revision: 402087
upgpkg: cups 2.3.3+121+g63ffc5cd7-1: update to latest git commit
Added:
cups/trunk/cups-systemd-service.patch
(from rev 402086, cups/trunk/cups-systemd-socket.patch)
Modified:
cups/trunk/PKGBUILD
Deleted:
cups/trunk/cups-systemd-socket.patch
----------------------------+
PKGBUILD | 13 +++++++------
cups-systemd-service.patch | 14 ++++++++++++++
cups-systemd-socket.patch | 40 ----------------------------------------
3 files changed, 21 insertions(+), 46 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-26 13:03:20 UTC (rev 402086)
+++ PKGBUILD 2020-11-26 15:20:14 UTC (rev 402087)
@@ -2,8 +2,8 @@
pkgbase="cups"
pkgname=('libcups' 'cups')
-_commit=a72b0140ee9ad72f7ffc1f46fbe962bde159cbb8 # master 2020-11-15
-pkgver=2.3.3+106+ga72b0140e
+_commit=63ffc5cd75e474e475bb3bcd70fb4e62bd836770 # master 2020-11-25
+pkgver=2.3.3+121+g63ffc5cd7
pkgrel=1
arch=('x86_64')
license=('Apache' 'custom')
@@ -22,7 +22,7 @@
cups-no-export-ssllibs.patch
cups-1.6.2-statedir.patch
# bugfixes
- cups-systemd-socket.patch
+ cups-systemd-service.patch
guid.patch)
sha256sums=(#'261fd948bce8647b6d5cb2a1784f0c24cc52b5c4e827b71d726020bcc502f3ee'
'SKIP'
@@ -31,7 +31,7 @@
'06173dfaea37bdd9b39b3e09aba98c34ae7112a2f521db45a688907d8848caa2'
'ff3eb0782af0405f5dafe89e04b1b4ea7a49afc5496860d724343bd04f375832'
'23349c96f2f7aeb7d48e3bcd35a969f5d5ac8f55a032b0cfaa0a03d7e37ea9af'
- '5fb8b1df744ddff3652d9940fe2c084f4146b22a60b95a7eb97a2ed29e0d3a10'
+ '2abd918d5a5e38762ae7c2a3a443a7b9e8d9980fbe693a4b60415b18a80ebd83'
'd4537526c1e075866ae22ad263da000fc2a592d36c26b79a459a1cfdade2bb2d')
validpgpkeys=('3737FD0D0E63B30172440D2DDBA3A7AB08D76223') # CUPS.org (CUPS.org PGP key) <security at cups.org>
validpgpkeys+=('45D083946E3035282B3CCA9AF434104235DA97EB') # "CUPS.org <security at cups.org>"
@@ -54,8 +54,9 @@
patch -Np1 -i "${srcdir}"/cups-1.6.2-statedir.patch
# bug fixes
- # make sure network is up when starting and notify systemd - FC
- patch -Np1 -i "${srcdir}"/cups-systemd-socket.patch
+ # make sure network is online or cups would ne a restart to be reachable over network
+ # https://github.com/OpenPrinting/cups/issues/53
+ patch -Np1 -i "${srcdir}"/cups-systemd-service.patch
# FS#56818 - https://github.com/apple/cups/issues/5236
patch -Np1 -i "${srcdir}"/guid.patch
Copied: cups/trunk/cups-systemd-service.patch (from rev 402086, cups/trunk/cups-systemd-socket.patch)
===================================================================
--- cups-systemd-service.patch (rev 0)
+++ cups-systemd-service.patch 2020-11-26 15:20:14 UTC (rev 402087)
@@ -0,0 +1,14 @@
+--- cups-2.3.0/scheduler/cups.service.in 2019-08-23 17:19:38.000000000 +0200
++++ cups-2.3.0/scheduler/cups.service.in.new 2019-08-25 20:20:25.805339727 +0200
+@@ -1,8 +1,9 @@
+ [Unit]
+ Description=CUPS Scheduler
+ Documentation=man:cupsd(8)
+-After=network.target sssd.service ypbind.service
++After=network-online.target sssd.service ypbind.service
+ Requires=cups.socket
++Wants=network-online.target
+
+ [Service]
+ ExecStart=@sbindir@/cupsd -l
+
Deleted: cups-systemd-socket.patch
===================================================================
--- cups-systemd-socket.patch 2020-11-26 13:03:20 UTC (rev 402086)
+++ cups-systemd-socket.patch 2020-11-26 15:20:14 UTC (rev 402087)
@@ -1,40 +0,0 @@
-diff -up cups-2.0.2/scheduler/main.c.ustTJg cups-2.0.2/scheduler/main.c
---- cups-2.0.2/scheduler/main.c.ustTJg 2015-02-10 13:40:24.121547526 +0100
-+++ cups-2.0.2/scheduler/main.c 2015-02-10 13:40:24.295545063 +0100
-@@ -690,8 +690,15 @@ main(int argc, /* I - Number of comm
-
- #if defined(HAVE_ONDEMAND)
- if (OnDemand)
-+ {
- cupsdAddEvent(CUPSD_EVENT_SERVER_STARTED, NULL, NULL, "Scheduler started on demand.");
-- else
-+# ifdef HAVE_SYSTEMD
-+ sd_notifyf(0, "READY=1\n"
-+ "STATUS=Scheduler is running...\n"
-+ "MAINPID=%lu",
-+ (unsigned long) getpid());
-+# endif /* HAVE_SYSTEMD */
-+ } else
- #endif /* HAVE_ONDEMAND */
- if (fg)
- cupsdAddEvent(CUPSD_EVENT_SERVER_STARTED, NULL, NULL, "Scheduler started in foreground.");
-diff -up cups-2.0.2/scheduler/org.cups.cupsd.path.in.ustTJg cups-2.0.2/scheduler/org.cups.cupsd.path.in
---- cups-2.3.0/scheduler/cups.service.in 2019-08-23 17:19:38.000000000 +0200
-+++ cups-2.3.0/scheduler/cups.service.in.new 2019-08-25 20:20:25.805339727 +0200
-@@ -1,12 +1,13 @@
- [Unit]
- Description=CUPS Scheduler
- Documentation=man:cupsd(8)
--After=sssd.service
-+After=sssd.service network-online.target
- Requires=cups.socket
-+Wants=network-online.target
-
- [Service]
- ExecStart=@sbindir@/cupsd -l
--Type=simple
-+Type=notify
- Restart=on-failure
-
- [Install]
-
More information about the arch-commits
mailing list