[arch-commits] Commit in cups/trunk (PKGBUILD cups-1.3.7-peercred.patch)

Eric Belanger eric at archlinux.org
Fri Jul 4 18:20:34 EDT 2008


    Date: Friday, July 4, 2008 @ 18:20:19
  Author: eric
Revision: 4172

upgpkg: cups 1.3.7-2
    rebuilt against heimdal 1.2, patched for glibc 2.8, disabled SMP build

Added:
  cups/trunk/cups-1.3.7-peercred.patch
Modified:
  cups/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |   17 ++++++++---------
 cups-1.3.7-peercred.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-04 19:43:35 UTC (rev 4171)
+++ PKGBUILD	2008-07-04 22:20:19 UTC (rev 4172)
@@ -2,26 +2,25 @@
 # Maintainer: Andreas Radke <andyrtr at archlinux.org>
 pkgname=cups
 pkgver=1.3.7
-pkgrel=1
+pkgrel=2
 pkgdesc="The CUPS Printing System"
 arch=(i686 x86_64)
 license=('GPL')
 url="http://www.cups.org/"
-depends=('acl' 'openslp' 'pam' "libcups>=${pkgver}" 'xdg-utils' 'avahi')
+depends=('acl' 'openslp' 'pam' "libcups>=${pkgver}" 'xdg-utils' 'avahi' 'heimdal>=1.2')
 makedepends=('xinetd')
 backup=(etc/cups/{printers.conf,client.conf,cupsd.conf,mime.types,mime.convs} \
         etc/cups/classes.conf etc/logrotate.d/cups etc/pam.d/cups)
 source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2 \
-        cups cups.logrotate cups.pam cupsd.conf)
-md5sums=('db4a45a17104f10f3ee599d88267c9e5'
-         '5c85b7d8d2ddd02c2c64955cebbf55ea'
-         'f861b18f4446c43918c8643dcbbd7f6d'
-         '96f82c38f3f540b53f3e5144900acf17'
-         '3a55ba2b942182ab0bd2584c2138cb2d')
-options=('!emptydirs')
+        cups cups.logrotate cups.pam cupsd.conf cups-1.3.7-peercred.patch)
+md5sums=('db4a45a17104f10f3ee599d88267c9e5' '5c85b7d8d2ddd02c2c64955cebbf55ea'\
+         'f861b18f4446c43918c8643dcbbd7f6d' '96f82c38f3f540b53f3e5144900acf17'\
+         '3a55ba2b942182ab0bd2584c2138cb2d' '99e54c2fc138360bb7622bea4f0977bc')
+options=('!emptydirs' '!makeflags')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
+  patch -p1 < ../cups-1.3.7-peercred.patch || return 1
   # fix french search template
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
      --with-logdir=/var/log/cups -with-docdir=/usr/share/cups/doc \

Added: cups-1.3.7-peercred.patch
===================================================================
--- cups-1.3.7-peercred.patch	                        (rev 0)
+++ cups-1.3.7-peercred.patch	2008-07-04 22:20:19 UTC (rev 4172)
@@ -0,0 +1,11 @@
+diff -Naur cups-1.3.7/scheduler/auth.c cups-1.3.7.new/scheduler/auth.c
+--- cups-1.3.7/scheduler/auth.c	2008-03-20 21:58:16.000000000 +0100
++++ cups-1.3.7.new/scheduler/auth.c	2008-06-09 14:53:45.535194741 +0200
+@@ -54,6 +54,7 @@
+  * Include necessary headers...
+  */
+ 
++#define _GNU_SOURCE
+ #include "cupsd.h"
+ #include <grp.h>
+ #ifdef HAVE_SHADOW_H





More information about the arch-commits mailing list