summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2011-10-21 19:01:18 (GMT)
committerMichael Hanson <mihanson@linhes.org>2011-10-21 19:01:18 (GMT)
commit2975d1ba64c4ead0674fc33fabd9b26fab0f55d6 (patch)
tree270ac14ccf68e7936f23dc8580090d23b5d07be8
parent4d8bc18eb7ae00183d7f5e89ed5cc4418757e0c9 (diff)
downloadlinhes_pkgbuild-2975d1ba64c4ead0674fc33fabd9b26fab0f55d6.zip
linhes_pkgbuild-2975d1ba64c4ead0674fc33fabd9b26fab0f55d6.tar.gz
linhes_pkgbuild-2975d1ba64c4ead0674fc33fabd9b26fab0f55d6.tar.bz2
samba: recompile without libcups
-rw-r--r--abs/extra/samba/PKGBUILD12
-rw-r--r--abs/extra/samba/__changelog2
2 files changed, 8 insertions, 6 deletions
diff --git a/abs/extra/samba/PKGBUILD b/abs/extra/samba/PKGBUILD
index dba70bf..eced810 100644
--- a/abs/extra/samba/PKGBUILD
+++ b/abs/extra/samba/PKGBUILD
@@ -8,11 +8,11 @@ pkgver=3.5.6
# to append 'a','b',etc to their subsequent releases, which pamcan
# misconstrues as alpha, beta, etc. Bad samba!
_realver=3.5.6
-pkgrel=1
-arch=(i686 x86_64)
+pkgrel=2
+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' 'gnutls>=2.4.1' 'talloc' 'tdb')
+makedepends=('db>=4.7' 'popt' 'acl' 'libldap' 'libcap>=2.16' 'heimdal>=1.2-1' 'pam' 'gnutls>=2.4.1' 'talloc' 'tdb')
options=(!makeflags)
source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
samba samba.logrotate
@@ -59,8 +59,8 @@ depends=('readline>=6.0.00' 'popt' 'libldap>=2.4.18-1' 'libcap>=2.16' 'heimdal>=
cp -a bin/${i}*.so* ${pkgdir}/usr/lib/
done
install -m755 script/smbtar ${pkgdir}/usr/bin/
- mkdir -p ${pkgdir}/usr/lib/cups/backend
- ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
+ #mkdir -p ${pkgdir}/usr/lib/cups/backend
+ #ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
mkdir -p ${pkgdir}/usr/include
install -m644 include/libsmbclient.h ${pkgdir}/usr/include/
install -m644 lib/netapi/netapi.h ${pkgdir}/usr/include/
@@ -83,7 +83,7 @@ backup=(etc/logrotate.d/samba
etc/samba/smb.conf
etc/xinetd.d/swat
etc/conf.d/samba)
-depends=('db>=4.7' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap>=2.16' 'heimdal>=1.2-1' 'pam' 'gnutls>=2.4.1' 'e2fsprogs' 'tdb' 'talloc')
+depends=('db>=4.7' 'popt' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap>=2.16' 'heimdal>=1.2-1' 'pam' 'gnutls>=2.4.1' 'e2fsprogs' 'tdb' 'talloc')
cd ${srcdir}/samba-${_realver}/source3
mkdir -p ${pkgdir}/var/log/samba
mkdir -p ${pkgdir}/etc/samba/private
diff --git a/abs/extra/samba/__changelog b/abs/extra/samba/__changelog
index 24743b6..1fdfc4a 100644
--- a/abs/extra/samba/__changelog
+++ b/abs/extra/samba/__changelog
@@ -1,2 +1,4 @@
remove fam support
update to 3.5.6
+
+remove libcups as dep and build without it.