| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.4 2017/04/08 08:56:27 ryoon Exp $ | | 1 | # $NetBSD: options.mk,v 1.5 2017/06/11 05:26:45 dogcow Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.samba4 | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.samba4 |
4 | PKG_SUPPORTED_OPTIONS= ads fam ldap pam winbind # cups # cups option is broken for me. | | 4 | PKG_SUPPORTED_OPTIONS= ads fam ldap pam winbind # cups # cups option is broken for me. |
5 | PKG_SUGGESTED_OPTIONS= ldap pam winbind | | 5 | PKG_SUGGESTED_OPTIONS= ldap pam winbind |
6 | | | 6 | |
7 | .include "../../mk/bsd.fast.prefs.mk" | | 7 | .include "../../mk/bsd.fast.prefs.mk" |
8 | | | 8 | |
9 | SAMBA_ACL_OPSYS= AIX Darwin FreeBSD HPUX IRIX Linux OSF1 SunOS | | 9 | SAMBA_ACL_OPSYS= AIX Darwin FreeBSD HPUX IRIX Linux OSF1 SunOS |
10 | .if !empty(SAMBA_ACL_OPSYS:M${OPSYS}) | | 10 | .if !empty(SAMBA_ACL_OPSYS:M${OPSYS}) |
11 | PKG_SUPPORTED_OPTIONS+= acl | | 11 | PKG_SUPPORTED_OPTIONS+= acl |
12 | .endif | | 12 | .endif |
13 | | | 13 | |
14 | .if empty(MACHINE_PLATFORM:MDarwin-1[1-9].*) | | 14 | .if empty(MACHINE_PLATFORM:MDarwin-1[1-9].*) |
| @@ -86,16 +86,17 @@ PLIST.pam= yes | | | @@ -86,16 +86,17 @@ PLIST.pam= yes |
86 | INSTALLATION_DIRS+= ${EGDIR}/pam_smbpass | | 86 | INSTALLATION_DIRS+= ${EGDIR}/pam_smbpass |
87 | .else | | 87 | .else |
88 | CONFIGURE_ARGS+= --without-pam | | 88 | CONFIGURE_ARGS+= --without-pam |
89 | .endif | | 89 | .endif |
90 | | | 90 | |
91 | ### | | 91 | ### |
92 | ### Support querying a PDC for domain user and group information, e.g., | | 92 | ### Support querying a PDC for domain user and group information, e.g., |
93 | ### through NSS or PAM. | | 93 | ### through NSS or PAM. |
94 | ### | | 94 | ### |
95 | PLIST_VARS+= winbind | | 95 | PLIST_VARS+= winbind |
96 | .if !empty(PKG_OPTIONS:Mwinbind) | | 96 | .if !empty(PKG_OPTIONS:Mwinbind) |
97 | CONFIGURE_ARGS+= --with-winbind | | 97 | CONFIGURE_ARGS+= --with-winbind |
98 | PLIST.winbind= yes | | 98 | PLIST.winbind= yes |
| | | 99 | WINBINDD_RCD_SCRIPT= winbindd |
99 | .else | | 100 | .else |
100 | CONFIGURE_ARGS+= --without-winbind | | 101 | CONFIGURE_ARGS+= --without-winbind |
101 | .endif | | 102 | .endif |