Lines 87-93
Link Here
|
87 |
libexec/proftpd/${m}.so |
87 |
libexec/proftpd/${m}.so |
88 |
.endfor |
88 |
.endfor |
89 |
.else |
89 |
.else |
90 |
OPTIONS_DEFINE= DOCS HTMLDOCS IPV6 NLS MEMCACHE REDIS |
90 |
OPTIONS_DEFINE= DOCS HTMLDOCS IPV6 NLS MEMCACHE REDIS SODIUM |
91 |
OPTIONS_DEFAULT= PCRE2 |
91 |
OPTIONS_DEFAULT= PCRE2 |
92 |
|
92 |
|
93 |
OPTIONS_RADIO+= PCREVER |
93 |
OPTIONS_RADIO+= PCREVER |
Lines 99-104
Link Here
|
99 |
PCRE1_DESC= ${PCRE_DESC} |
99 |
PCRE1_DESC= ${PCRE_DESC} |
100 |
PCRE2_DESC= ${PCRE_DESC} version 2 |
100 |
PCRE2_DESC= ${PCRE_DESC} version 2 |
101 |
REDIS_DESC= Redis support using hiredis |
101 |
REDIS_DESC= Redis support using hiredis |
|
|
102 |
SODIUM_DESC= Scrypt, Argon2 password and ed25519 key using libsodium |
102 |
|
103 |
|
103 |
PLIST_SUB+= LOCALSTATEDIR="${LOCALSTATEDIR}" |
104 |
PLIST_SUB+= LOCALSTATEDIR="${LOCALSTATEDIR}" |
104 |
OPTIONS_SUB= yes |
105 |
OPTIONS_SUB= yes |
Lines 171-176
Link Here
|
171 |
REDIS_CONFIGURE_ENABLE= redis |
172 |
REDIS_CONFIGURE_ENABLE= redis |
172 |
REDIS_VARS= MODULES+="mod_redis mod_tls_redis mod_wrap2_redis" \ |
173 |
REDIS_VARS= MODULES+="mod_redis mod_tls_redis mod_wrap2_redis" \ |
173 |
LIBS+="-L${LOCALBASE}/lib -lhiredis" |
174 |
LIBS+="-L${LOCALBASE}/lib -lhiredis" |
|
|
175 |
|
176 |
SODIUM_LIB_DEPENDS= libsodium.so:security/libsodium |
177 |
SODIUM_VARS= LIBS+="-L${LOCALBASE}/lib -lsodium" |
174 |
|
178 |
|
175 |
.include <bsd.port.options.mk> |
179 |
.include <bsd.port.options.mk> |
176 |
|
180 |
|