Date: Saturday, September 17, 2016 @ 12:52:20
  Author: andyrtr
Revision: 276649

upgpkg: cups 2.2.0-2

make sure cupsd start when requested via webinterface port 631

Added:
  cups/trunk/start_cups_by_port631.diff
Modified:
  cups/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   10 +++++++---
 start_cups_by_port631.diff |   10 ++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-17 12:14:22 UTC (rev 276648)
+++ PKGBUILD    2016-09-17 12:52:20 UTC (rev 276649)
@@ -4,7 +4,7 @@
 pkgbase="cups"
 pkgname=('libcups' 'cups')
 pkgver=2.2.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.cups.org/";
@@ -21,6 +21,7 @@
         cups-1.6.0-fix-install-perms.patch
         # bugfixes
         cups-systemd-socket.patch
+        start_cups_by_port631.diff
 )
 md5sums=('e22d943cff300411d3616dc2ee86272c'
          'fc8286f185e2cc5f7e1f6843bf193e2b'
@@ -30,13 +31,14 @@
          '39dd3141991c3052b73f59ece70e1ea6'
          '451609db34f95209d64c38474de27ce1'
          '5117f65342fcc69c6a506529e4daca9e'
-         '53bb3c80ee6823d36f9ab499373edfc5')
+         '53bb3c80ee6823d36f9ab499373edfc5'
+         'f75c17b1b2d446a27b629f63622b9468')
 validpgpkeys=('3737FD0D0E63B30172440D2DDBA3A7AB08D76223') # CUPS.org (CUPS.org 
PGP key) <secur...@cups.org>
 
 prepare() {
 
   cd ${pkgbase}-${pkgver}
-  
+
   # improve build and linking
   # Do not export SSL libs in cups-config
   patch -Np1 -i ${srcdir}/cups-no-export-ssllibs.patch
@@ -52,6 +54,8 @@
   # bug fixes
   # make sure network is up when starting and notify systemd - FC
   patch -Np1 -i ${srcdir}/cups-systemd-socket.patch
+  # make sure cupsd starts when requested via web interface
+  patch -Np1 -i ${srcdir}/start_cups_by_port631.diff
 
   # set MaxLogSize to 0 to prevent using cups internal log rotation
   sed -i -e '5i\ ' conf/cupsd.conf.in

Added: start_cups_by_port631.diff
===================================================================
--- start_cups_by_port631.diff                          (rev 0)
+++ start_cups_by_port631.diff  2016-09-17 12:52:20 UTC (rev 276649)
@@ -0,0 +1,10 @@
+--- cups-2.2.0/scheduler/org.cups.cupsd.socket.in      2016-09-14 
01:39:47.000000000 +0200
++++ cups-2.2.0/scheduler/org.cups.cupsd.socket.in.new  2016-09-17 
14:43:49.237741189 +0200
+@@ -3,6 +3,7 @@
+ 
+ [Socket]
+ ListenStream=@CUPS_DEFAULT_DOMAINSOCKET@
++ListenStream=631
+ 
+ [Install]
+ WantedBy=sockets.target

Reply via email to