| @@ -1,22 +1,23 @@ | | | @@ -1,22 +1,23 @@ |
1 | # $NetBSD: options.mk,v 1.15 2022/02/18 22:58:05 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.16 2022/02/20 17:27:18 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.xscreensaver | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.xscreensaver |
4 | PKG_SUPPORTED_OPTIONS= pam | | 4 | PKG_SUPPORTED_OPTIONS= pam |
5 | PKG_SUGGESTED_OPTIONS= # pam # needs fixing, complains about missing /etc/pam.d/xscreensaver | | 5 | PKG_SUGGESTED_OPTIONS= # pam |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | .if !empty(PKG_OPTIONS:Mpam) | | 9 | .if !empty(PKG_OPTIONS:Mpam) |
10 | . include "../../mk/pam.buildlink3.mk" | | 10 | . include "../../mk/pam.buildlink3.mk" |
11 | CONFIGURE_ARGS+= --with-pam | | 11 | CONFIGURE_ARGS+= --with-pam |
12 | CONFIGURE_ARGS+= --without-shadow | | 12 | CONFIGURE_ARGS+= --without-shadow |
13 | . if ${OPSYS} == "NetBSD" | | 13 | . if ${OPSYS} == "NetBSD" |
14 | # needed to read shadow passwords | | 14 | # needed to read shadow passwords |
| | | 15 | # please follow pam-pwauth_suid's MESSAGE file to enable unlocking |
15 | DEPENDS+= pam-pwauth_suid-[0-9]*:../../security/pam-pwauth_suid | | 16 | DEPENDS+= pam-pwauth_suid-[0-9]*:../../security/pam-pwauth_suid |
16 | . endif | | 17 | . endif |
17 | .else | | 18 | .else |
18 | CONFIGURE_ARGS+= --without-pam | | 19 | CONFIGURE_ARGS+= --without-pam |
19 | # configure should figure out | | 20 | # configure should figure out |
20 | #CONFIGURE_ARGS+= --without-shadow | | 21 | #CONFIGURE_ARGS+= --without-shadow |
21 | SPECIAL_PERMS+= libexec/xscreensaver/xscreensaver-auth ${SETUID_ROOT_PERMS} | | 22 | SPECIAL_PERMS+= libexec/xscreensaver/xscreensaver-auth ${SETUID_ROOT_PERMS} |
22 | .endif | | 23 | .endif |