Date: Thursday, September 15, 2016 @ 19:58:57
  Author: andyrtr
Revision: 276519

upgpkg: cups 2.2.0-1

upstream update 2.2.0; drop deprecated client.conf

Modified:
  cups/trunk/PKGBUILD
  cups/trunk/cups-no-gzip-man.patch
  cups/trunk/cups-systemd-socket.patch

---------------------------+
 PKGBUILD                  |   22 ++++++++--------------
 cups-no-gzip-man.patch    |    2 +-
 cups-systemd-socket.patch |    6 +++---
 3 files changed, 12 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-15 19:39:38 UTC (rev 276518)
+++ PKGBUILD    2016-09-15 19:58:57 UTC (rev 276519)
@@ -3,15 +3,15 @@
 
 pkgbase="cups"
 pkgname=('libcups' 'cups')
-pkgver=2.1.4
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.cups.org/";
-makedepends=('libtiff>=4.0.0' 'libpng>=1.5.7' 'acl' 'pam' 'xdg-utils' 'krb5' 
'gnutls'
+makedepends=('libtiff' 'libpng' 'acl' 'pam' 'xdg-utils' 'krb5' 'gnutls'
              'cups-filters' 'bc' 'colord' 'xinetd' 'gzip' 'autoconf' 'libusb' 
'dbus' 
              'avahi'  'hicolor-icon-theme' 'systemd' 'inetutils' 'libpaper' 
'valgrind')
-source=(https://github.com/apple/cups/releases/download/release-${pkgver}/cups-${pkgver}-source.tar.gz
+source=(https://github.com/apple/cups/releases/download/v${pkgver}/cups-${pkgver}-source.tar.gz
         cups.logrotate cups.pam
         # improve build and linking
         cups-no-export-ssllibs.patch
@@ -22,15 +22,15 @@
         # bugfixes
         cups-systemd-socket.patch
 )
-md5sums=('9f9bf6e3b9c20a3519b4dc409666d6e7'
+md5sums=('e22d943cff300411d3616dc2ee86272c'
          'fc8286f185e2cc5f7e1f6843bf193e2b'
          '96f82c38f3f540b53f3e5144900acf17'
          '3ba9e3410df1dc3015463d615ef91b3b'
          '1beb4896f217bc241bc08a422274ec0c'
-         '90c30380d4c8cd48a908cfdadae1ea24'
+         '39dd3141991c3052b73f59ece70e1ea6'
          '451609db34f95209d64c38474de27ce1'
          '5117f65342fcc69c6a506529e4daca9e'
-         '25a618201dd4bbc73ba800da425000f1')
+         '53bb3c80ee6823d36f9ab499373edfc5')
 validpgpkeys=('3737FD0D0E63B30172440D2DDBA3A7AB08D76223') # CUPS.org (CUPS.org 
PGP key) <secur...@cups.org>
 
 prepare() {
@@ -94,7 +94,6 @@
 package_libcups() {
 pkgdesc="The CUPS Printing System - client libraries and headers"
 depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb')
-backup=(etc/cups/client.conf)
 
   cd ${pkgbase}-${pkgver}
   make BUILDROOT=${pkgdir} install-headers install-libs
@@ -105,11 +104,6 @@
   # install client.conf man page and config file
   install -dm755 ${pkgdir}/usr/share/man/man5
   install -Dm644  ${srcdir}/${pkgbase}-${pkgver}/man/client.conf.5 
${pkgdir}/usr/share/man/man5/
-  install -dm755 -g lp ${pkgdir}/etc/cups
-  touch ${pkgdir}/etc/cups/client.conf
-  echo "# see 'man client.conf'" >> ${pkgdir}/etc/cups/client.conf
-  echo "ServerName /run/cups/cups.sock #  alternative: ServerName 
hostname-or-ip-address[:port] of a remote server" >> 
${pkgdir}/etc/cups/client.conf
-  chgrp -R lp ${pkgdir}/etc/cups
 }
 
 package_cups() {
@@ -139,7 +133,7 @@
   rm -rf ${pkgdir}/etc/init.d
   install -D -m644 ../cups.logrotate ${pkgdir}/etc/logrotate.d/cups
   install -D -m644 ../cups.pam ${pkgdir}/etc/pam.d/cups
-  
+
   # fix perms on /var/spool and /etc
   chmod 755 ${pkgdir}/var/spool
   chmod 755 ${pkgdir}/etc

Modified: cups-no-gzip-man.patch
===================================================================
--- cups-no-gzip-man.patch      2016-09-15 19:39:38 UTC (rev 276518)
+++ cups-no-gzip-man.patch      2016-09-15 19:58:57 UTC (rev 276519)
@@ -4,7 +4,7 @@
 @@ -69,10 +69,10 @@ case "$uname" in
                ;;
        Linux* | GNU* | Darwin*)
-               # Linux, GNU Hurd, and OS X
+               # Linux, GNU Hurd, and macOS
 -              MAN1EXT=1.gz
 -              MAN5EXT=5.gz
 -              MAN7EXT=7.gz

Modified: cups-systemd-socket.patch
===================================================================
--- cups-systemd-socket.patch   2016-09-15 19:39:38 UTC (rev 276518)
+++ cups-systemd-socket.patch   2016-09-15 19:58:57 UTC (rev 276519)
@@ -1,9 +1,9 @@
 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
-@@ -658,8 +658,15 @@ main(int  argc,                           /* I - Number 
of comm
+@@ -690,8 +690,15 @@ main(int  argc,                           /* I - Number 
of comm
  
- #if defined(HAVE_LAUNCHD) || defined(HAVE_SYSTEMD)
+ #if defined(HAVE_ONDEMAND)
    if (OnDemand)
 +  {
      cupsdAddEvent(CUPSD_EVENT_SERVER_STARTED, NULL, NULL, "Scheduler started 
on demand.");
@@ -15,7 +15,7 @@
 +               (unsigned long) getpid());
 +# endif /* HAVE_SYSTEMD */
 +  } else
- #endif /* HAVE_LAUNCHD || HAVE_SYSTEMD */
+ #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

Reply via email to