samba: use make_dirs.

This commit is contained in:
Juan RP 2012-07-14 23:40:49 +02:00
parent 3b99d7c62b
commit bb1110b56c
2 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,2 @@
# Required directories at runtime by samba.
d /run/samba 0755 root root - -
d /run/samba/socket 0755 root root - -
d /etc/samba/private 0700 root root - -
d /var/samba 0750 root root - -
d /var/spool/samba 1777 root root - -
d /var/log/samba 0750 root root - -

View file

@ -1,7 +1,7 @@
# Template file for 'samba'
pkgname=samba
version=3.6.6
revision=3
revision=4
build_wrksrc=source3
build_style=gnu-configure
configure_args="--with-fhs --with-pam --with-pam_smbpass --with-ldap
@ -37,6 +37,12 @@ nmbd.service off
smbd.service off
winbindd.service off"
make_dirs="
/etc/samba/private 0700 root root
/var/samba 0750 root root
/var/spool/samba 1777 root root
/var/log/samba 0750 root root"
conf_files="/etc/samba/smb.conf /etc/pam.d/samba"
post_install() {