|
|
@ -31,6 +31,20 @@ var_append extraconfopt " " "--with-smbmount --with-automount \ |
|
|
|
--with-swatdir=$root/$prefix/share/swat --with-quotas --with-fhs \ |
|
|
|
--with-acl-support --with-libsmbclient --with-spinlocks" |
|
|
|
|
|
|
|
# pam support |
|
|
|
var_append extraconfopt ' ' "--with-pam --with-pam_smbpass" |
|
|
|
|
|
|
|
# enable nis+ support |
|
|
|
var_append extraconfopt ' ' "--with-nisplus-home" |
|
|
|
|
|
|
|
# let samba configure find ldap and enable ldapsam |
|
|
|
if pkginstalled openldap; then |
|
|
|
var_append extraconfopt ' ' "--with-ldapsam" |
|
|
|
var_append extraconfopt ' ' "CFLAGS=\"$CFLAGS${CFLAGS:+ }-I$root/$pkg_openldap_prefix/include\"" |
|
|
|
var_append extraconfopt ' ' "CPPFLAGS=\"$CPPFLAGS${CPPFLAGS:+ }-I$root/$pkg_openldap_prefix/include\"" |
|
|
|
var_append extraconfopt ' ' "LDFLAGS=\"$LDFLAGS${LDFLAGS:+ }-L$root/$pkg_openldap_prefix/lib\"" |
|
|
|
fi |
|
|
|
|
|
|
|
samba_pm () |
|
|
|
{ |
|
|
|
install_init samba $confdir/samba.init |
|
|
|