summaryrefslogtreecommitdiff
path: root/extra/samba/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/samba/PKGBUILD')
-rw-r--r--extra/samba/PKGBUILD21
1 files changed, 17 insertions, 4 deletions
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD
index 0c3d80b22..cb0123245 100644
--- a/extra/samba/PKGBUILD
+++ b/extra/samba/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 156039 2012-04-11 21:03:20Z tpowa $
+# $Id: PKGBUILD 157239 2012-04-26 13:06:31Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgbase=samba
@@ -8,7 +8,7 @@ pkgver=3.6.4
# to append 'a','b',etc to their subsequent releases, which pamcan
# misconstrues as alpha, beta, etc. Bad samba!
_realver=3.6.4
-pkgrel=1
+pkgrel=2
arch=(i686 x86_64)
url="http://www.samba.org"
license=('GPL3')
@@ -17,7 +17,11 @@ source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
samba samba.logrotate
swat.xinetd
samba.pam
- samba.conf.d)
+ samba.conf.d
+ smbd.service
+ nmbd.service
+ winbindd.service
+ smbd.conf)
### UNINSTALL dmapi package before building!!!
build() {
@@ -144,10 +148,19 @@ depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 'kr
rm -f ${pkgdir}/usr/include/libsmbclient.h
# copy ldap example
install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema ${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema
+ # install systemd files
+ for i in smbd nmbd winbindd; do
+ install -D -m644 ${srcdir}/$i.service ${pkgdir}/usr/lib/systemd/system/$i.service
+ done
+ install -D -m644 ${srcdir}/smbd.conf ${pkgdir}/usr/lib/tmpfiles.d/samba.conf
}
md5sums=('d8e070e2a3b12f202f347e4427469bc2'
'dfc6f9018c556b9783c7140de183727f'
'5697da77590ec092cc8a883bae06093c'
'a4bbfa39fee95bba2e7ad6b535fae7e6'
'96f82c38f3f540b53f3e5144900acf17'
- 'f2f2e348acd1ccb566e95fa8a561b828')
+ 'f2f2e348acd1ccb566e95fa8a561b828'
+ '389cc4fa3b459360feaa1b3d93274693'
+ 'ea6a1251be979cb30c6098a28b270d2d'
+ '455f106ce7a4f983975b3a686eaa85e5'
+ '6956c4f9989bec8f313de7d9343b6ba1')