[arch-commits] Commit in samba/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Nov 25 15:25:09 UTC 2009
Date: Wednesday, November 25, 2009 @ 10:25:08
Author: allan
Revision: 59627
fix build against heimdal-1.3.1
Modified:
samba/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-11-25 13:24:29 UTC (rev 59626)
+++ PKGBUILD 2009-11-25 15:25:08 UTC (rev 59627)
@@ -7,11 +7,11 @@
# to append 'a','b',etc to their subsequent releases, which pamcan
# misconstrues as alpha, beta, etc. Bad samba!
_realver=3.4.3
-pkgrel=3
+pkgrel=4
arch=(i686 x86_64)
url="http://www.samba.org"
license=('GPL3')
-makedepends=('db>=4.7' 'popt' 'libcups' 'acl' 'libldap' 'libcap>=2.16' 'heimdal>=1.2-1' 'pam' 'fam' 'gnutls>=2.4.1')
+makedepends=('db>=4.7' 'popt' 'libcups' 'acl' 'libldap' 'libcap>=2.16' 'heimdal>=1.3.1' 'pam' 'fam' 'gnutls>=2.4.1')
options=(!makeflags)
source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
samba samba.logrotate
@@ -25,6 +25,10 @@
cd ${srcdir}/${pkgbase}-${_realver}
patch -Np1 -i ../fix-workgroup-listing.patch || return 1
cd ${srcdir}/${pkgbase}-${_realver}/source3
+
+ # heimdal-1.3.1 build fix
+ sed -i "/KRB5_DEPRECATED/s#1##" libsmb/clikrb5.c
+
./configure --prefix=/usr --with-configdir=/etc/samba \
--with-lockdir=/var/cache/samba \
--with-piddir=/var/run/samba \
More information about the arch-commits
mailing list