Lines 36-54
Link Here
|
36 |
--with-ssl="${OPENSSLBASE}" |
36 |
--with-ssl="${OPENSSLBASE}" |
37 |
SHEBANG_FILES= src/stunnel3.in |
37 |
SHEBANG_FILES= src/stunnel3.in |
38 |
|
38 |
|
39 |
OPTIONS_DEFINE= IPV6 LIBWRAP FIPS DOCS EXAMPLES |
39 |
OPTIONS_DEFINE= DOCS EXAMPLES FIPS IPV6 LIBWRAP |
40 |
OPTIONS_SINGLE= THREAD |
40 |
OPTIONS_SINGLE= THREAD |
41 |
OPTIONS_SINGLE_THREAD= FORK PTHREAD UCONTEXT |
41 |
OPTIONS_SINGLE_THREAD= FORK PTHREAD UCONTEXT |
42 |
OPTIONS_DEFAULT= PTHREAD |
42 |
OPTIONS_DEFAULT= PTHREAD |
43 |
|
43 |
|
|
|
44 |
FIPS_CONFIGURE_ENABLE= fips |
44 |
IPV6_CONFIGURE_ENABLE= ipv6 |
45 |
IPV6_CONFIGURE_ENABLE= ipv6 |
45 |
LIBWRAP_CONFIGURE_ENABLE= libwrap |
46 |
LIBWRAP_CONFIGURE_ENABLE= libwrap |
46 |
FIPS_CONFIGURE_ENABLE= fips |
|
|
47 |
|
47 |
|
|
|
48 |
FIPS_DESC= Enable OpenSSL FIPS mode |
48 |
FORK_DESC= Use the fork(3) threading model |
49 |
FORK_DESC= Use the fork(3) threading model |
49 |
PTHREAD_DESC= Use the pthread(3) threading model |
50 |
PTHREAD_DESC= Use the pthread(3) threading model |
50 |
UCONTEXT_DESC= Use the ucontext(3) threading model |
51 |
UCONTEXT_DESC= Use the ucontext(3) threading model |
51 |
FIPS_DESC= Enable OpenSSL FIPS mode |
|
|
52 |
|
52 |
|
53 |
STUNNEL_USER?= stunnel |
53 |
STUNNEL_USER?= stunnel |
54 |
STUNNEL_GROUP?= stunnel |
54 |
STUNNEL_GROUP?= stunnel |
Lines 72-77
Link Here
|
72 |
LDFLAGS+= -lpthread |
72 |
LDFLAGS+= -lpthread |
73 |
.endif |
73 |
.endif |
74 |
|
74 |
|
|
|
75 |
.if ${PORT_OPTIONS:MFIPS} && "${OPENSSL_PORT}" == "security/libressl" |
76 |
IGNORE= LibreSSL does not support FIPS standard |
77 |
.endif |
78 |
|
79 |
.if "${OPENSSL_PORT}" == "security/libressl" |
80 |
NO_PACKAGE= The stunnel license restricts distribution when linked to non-OpenSSL non-base SSL-libraries |
81 |
.endif |
82 |
|
75 |
post-patch: |
83 |
post-patch: |
76 |
# place files under /var/tmp so that this can be run by an unprivileged |
84 |
# place files under /var/tmp so that this can be run by an unprivileged |
77 |
# user stunnel and group stunnel |
85 |
# user stunnel and group stunnel |