diff options
Diffstat (limited to 'extra/samba/PKGBUILD')
-rw-r--r-- | extra/samba/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD index 11db4fc3e..e3f7f1997 100644 --- a/extra/samba/PKGBUILD +++ b/extra/samba/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 158568 2012-05-04 23:57:16Z allan $ +# $Id: PKGBUILD 161297 2012-06-09 01:08:52Z tomegun $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgbase=samba @@ -8,7 +8,7 @@ pkgver=3.6.5 # to append 'a','b',etc to their subsequent releases, which pamcan # misconstrues as alpha, beta, etc. Bad samba! _realver=3.6.5 -pkgrel=1 +pkgrel=2 arch=(i686 x86_64) url="http://www.samba.org" license=('GPL3') @@ -21,7 +21,7 @@ source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz smbd.service nmbd.service winbindd.service - smbd.conf) + samba.conf) ### UNINSTALL dmapi package before building!!! build() { @@ -92,6 +92,7 @@ backup=(etc/logrotate.d/samba etc/xinetd.d/swat etc/conf.d/samba) depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 'krb5' 'pam' 'gamin' 'gnutls' 'e2fsprogs' 'tdb' 'talloc') +install='samba.install' cd ${srcdir}/samba-${_realver}/source3 mkdir -p ${pkgdir}/etc/samba/private chmod 700 ${pkgdir}/etc/samba/private @@ -152,10 +153,12 @@ depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 'kr 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 + # create ephemeral dirs via tmpfiles rather than shipping them in package + install -D -m644 ${srcdir}/samba.conf ${pkgdir}/usr/lib/tmpfiles.d/samba.conf + rm -rf ${pkgdir}/var/run } md5sums=('2f0c14547333c1b48fd4728b031e7040' - 'dfc6f9018c556b9783c7140de183727f' + 'a45a4283723be2b0ae32439dc4496a09' '5697da77590ec092cc8a883bae06093c' 'a4bbfa39fee95bba2e7ad6b535fae7e6' '96f82c38f3f540b53f3e5144900acf17' @@ -163,4 +166,4 @@ md5sums=('2f0c14547333c1b48fd4728b031e7040' '389cc4fa3b459360feaa1b3d93274693' 'ea6a1251be979cb30c6098a28b270d2d' '455f106ce7a4f983975b3a686eaa85e5' - '6956c4f9989bec8f313de7d9343b6ba1') + '8e7ed39b54968e427f9506e9107bfb45') |