Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= stunnel |
8 |
PORTNAME= stunnel |
9 |
PORTVERSION= 4.27 |
9 |
PORTVERSION= 4.27 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= security |
11 |
CATEGORIES= security |
11 |
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ |
12 |
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ |
12 |
ftp://stunnel.mirt.net/stunnel/ \ |
13 |
ftp://stunnel.mirt.net/stunnel/ \ |
Lines 21-28
Link Here
|
21 |
USE_RC_SUBR= stunnel |
22 |
USE_RC_SUBR= stunnel |
22 |
|
23 |
|
23 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_ARGS= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \ |
25 |
CONFIGURE_ARGS+= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \ |
25 |
--enable-static --disable-fips |
26 |
--enable-static --disable-fips |
26 |
|
27 |
|
27 |
.if !defined(NOPORTDOCS) |
28 |
.if !defined(NOPORTDOCS) |
28 |
MAN8= stunnel.8 stunnel.fr.8 stunnel.pl.8 |
29 |
MAN8= stunnel.8 stunnel.fr.8 stunnel.pl.8 |
Lines 33-42
Link Here
|
33 |
OPTIONS= FORK "use the fork(3) threading model" off \ |
34 |
OPTIONS= FORK "use the fork(3) threading model" off \ |
34 |
PTHREAD "use the pthread(3) threading model (default)" on \ |
35 |
PTHREAD "use the pthread(3) threading model (default)" on \ |
35 |
UCONTEXT "use the ucontext(3) threading model" off \ |
36 |
UCONTEXT "use the ucontext(3) threading model" off \ |
36 |
IPV6 "enable IPv6 support" off |
37 |
LIBWRAP "use TCP wrappers" on \ |
|
|
38 |
IPV6 "enable IPv6 support" off |
37 |
|
39 |
|
38 |
.include <bsd.port.pre.mk> |
40 |
.include <bsd.port.pre.mk> |
39 |
|
41 |
|
|
|
42 |
.if !defined(WITH_LIBWRAP) |
43 |
CONFIGURE_ARGS+= --disable-libwrap |
44 |
.endif |
45 |
|
40 |
.if defined(WITH_IPV6) |
46 |
.if defined(WITH_IPV6) |
41 |
CONFIGURE_ARGS+= --enable-ipv6 |
47 |
CONFIGURE_ARGS+= --enable-ipv6 |
42 |
.endif |
48 |
.endif |