Lines 37-43
Link Here
|
37 |
LDFLAGS="-L${LOCALBASE}/lib" |
37 |
LDFLAGS="-L${LOCALBASE}/lib" |
38 |
|
38 |
|
39 |
OPTIONS?= PAM "Pluggable Authentication Module support" on \ |
39 |
OPTIONS?= PAM "Pluggable Authentication Module support" on \ |
40 |
KEYRING "Enable GnomeKeyring/PAM integration" on \ |
40 |
KEYRING "Enable GnomeKeyring integration (needs PAM)" on \ |
41 |
ALL_FORTUNES "Enable support for all fortunes" off \ |
41 |
ALL_FORTUNES "Enable support for all fortunes" off \ |
42 |
SETUID_HACKS "Install sonar hack suid so it can ping" off |
42 |
SETUID_HACKS "Install sonar hack suid so it can ping" off |
43 |
|
43 |
|
Lines 90-111
Link Here
|
90 |
CONFIGURE_ARGS+= --with-fortune="/usr/games/fortune -sa" |
90 |
CONFIGURE_ARGS+= --with-fortune="/usr/games/fortune -sa" |
91 |
.endif |
91 |
.endif |
92 |
|
92 |
|
93 |
.if defined(WITH_PAM) |
93 |
.if defined(WITH_PAM) || defined(WITH_KEYRING) |
94 |
CONFIGURE_ARGS+= --with-pam |
94 |
CONFIGURE_ARGS+= --with-pam |
95 |
PLIST_SUB+= PAM="" |
95 |
PLIST_SUB+= PAM="" |
|
|
96 |
.else |
97 |
CONFIGURE_ARGS+= --without-pam |
98 |
PLIST_SUB+= PAM="@comment " |
99 |
.endif |
100 |
|
96 |
.if defined(WITH_KEYRING) |
101 |
.if defined(WITH_KEYRING) |
97 |
SUB_LIST+= PAM_KEYRING= |
102 |
SUB_LIST+= PAM_KEYRING= |
98 |
RUN_DEPENDS+= ${LOCALBASE}/lib/pam_gnome_keyring.so:${PORTSDIR}/security/gnome-keyring |
103 |
RUN_DEPENDS+= ${LOCALBASE}/lib/pam_gnome_keyring.so:${PORTSDIR}/security/gnome-keyring |
99 |
.else |
104 |
.else |
100 |
SUB_LIST+= PAM_KEYRING=\# |
105 |
SUB_LIST+= PAM_KEYRING=\# |
101 |
.endif |
106 |
.endif |
102 |
.else |
|
|
103 |
CONFIGURE_ARGS+= --without-pam |
104 |
PLIST_SUB+= PAM="@comment " |
105 |
.if defined(WITH_KEYRING) |
106 |
.warning Option KEYRING needs PAM, but PAM is disabled. |
107 |
.endif |
108 |
.endif |
109 |
|
107 |
|
110 |
.if defined(WITH_SETUID_HACKS) |
108 |
.if defined(WITH_SETUID_HACKS) |
111 |
CONFIGURE_ARGS+= --with-setuid-hacks |
109 |
CONFIGURE_ARGS+= --with-setuid-hacks |