From 75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 7 Jul 2011 04:59:01 +0000 Subject: Thu Jul 7 04:59:01 UTC 2011 --- extra/samba/PKGBUILD | 13 ++++++------- extra/samba/samba | 3 +++ 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'extra/samba') diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD index 6bd883503..09284b3d3 100644 --- a/extra/samba/PKGBUILD +++ b/extra/samba/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 122577 2011-05-04 17:48:52Z ibiru $ +# $Id: PKGBUILD 130383 2011-07-06 08:32:50Z tpowa $ # Maintainer: Tobias Powalowski # Contributor: judd pkgbase=samba pkgname=('smbclient' 'samba') -pkgver=3.5.8 +pkgver=3.5.9 # We use the 'A' to fake out pacman's version comparators. Samba chooses # to append 'a','b',etc to their subsequent releases, which pamcan # misconstrues as alpha, beta, etc. Bad samba! -_realver=3.5.8 -pkgrel=3 +_realver=3.5.9 +pkgrel=2 arch=(i686 x86_64) url="http://www.samba.org" license=('GPL3') @@ -79,7 +79,6 @@ backup=(etc/logrotate.d/samba etc/conf.d/samba) depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 'krb5' 'pam' 'fam' 'gnutls' 'e2fsprogs' 'tdb' 'talloc') cd ${srcdir}/samba-${_realver}/source3 - mkdir -p ${pkgdir}/var/log/samba mkdir -p ${pkgdir}/etc/samba/private chmod 700 ${pkgdir}/etc/samba/private make DESTDIR=${pkgdir} install @@ -130,8 +129,8 @@ depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 'kr # copy ldap example install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema ${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema } -md5sums=('355b4530c20997e94aebc74cd6ea5307' - '891b9be03e7adf65c9a00319c76d33e5' +md5sums=('fc3fe1103cf9d71abe12a8c604f31c76' + 'a3da19515a234c703876cf850c44e996' '5697da77590ec092cc8a883bae06093c' 'a4bbfa39fee95bba2e7ad6b535fae7e6' '96f82c38f3f540b53f3e5144900acf17' diff --git a/extra/samba/samba b/extra/samba/samba index 1b222d6cc..458eb8e2b 100755 --- a/extra/samba/samba +++ b/extra/samba/samba @@ -13,6 +13,9 @@ case "$1" in if [ ! -x /var/run/samba ] ; then install -m755 -g 81 -o 81 -d /var/run/samba fi + if [ ! -x /var/log/samba ] ; then + install -m755 -g 81 -o 81 -d /var/log/samba + fi for d in ${SAMBA_DAEMONS[@]}; do PID=`pidof -o %PPID /usr/sbin/$d` [ -z "$PID" ] && /usr/sbin/$d -D -- cgit v1.2.3-54-g00ecf