extra/cups to 2.2.0-4

This commit is contained in:
David Beauchamp 2016-09-26 11:47:11 -04:00
parent ae30fa6788
commit f7c4df5bce
2 changed files with 1 additions and 19 deletions

View file

@ -7,7 +7,7 @@
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=2.2.0
pkgrel=3
pkgrel=4
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.cups.org/"
@ -24,7 +24,6 @@ source=(https://github.com/apple/cups/releases/download/v${pkgver}/cups-${pkgver
cups-1.6.0-fix-install-perms.patch
# bugfixes
cups-systemd-socket.patch
start_cups_by_port631.diff
fix_endless_loops.diff
)
md5sums=('e22d943cff300411d3616dc2ee86272c'
@ -36,7 +35,6 @@ md5sums=('e22d943cff300411d3616dc2ee86272c'
'451609db34f95209d64c38474de27ce1'
'5117f65342fcc69c6a506529e4daca9e'
'53bb3c80ee6823d36f9ab499373edfc5'
'f75c17b1b2d446a27b629f63622b9468'
'32f6e1f907247dab466c37403d87d4e4')
validpgpkeys=('3737FD0D0E63B30172440D2DDBA3A7AB08D76223') # CUPS.org (CUPS.org PGP key) <security@cups.org>
prepare() {
@ -58,8 +56,6 @@ prepare() {
# 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
# fix endless loops; FS#50796; https://github.com/apple/cups/issues/4870
patch -Np1 -i ${srcdir}/fix_endless_loops.diff
@ -110,10 +106,6 @@ depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb')
# put this into the libs pkg to make other software find the libs(no pkg-config file included)
mkdir -p ${pkgdir}/usr/bin
install -m755 ${srcdir}/${pkgbase}-${pkgver}/cups-config ${pkgdir}/usr/bin/cups-config
# 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/
}
package_cups() {

View file

@ -1,10 +0,0 @@
--- 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