Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tor |
4 |
PORTNAME= tor |
5 |
PORTVERSION= 0.2.8.7 |
5 |
PORTVERSION= 0.2.8.8 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= security net ipv6 |
6 |
CATEGORIES= security net ipv6 |
8 |
MASTER_SITES= TOR |
7 |
MASTER_SITES= TOR |
9 |
|
8 |
|
Lines 29-35
Link Here
|
29 |
|
28 |
|
30 |
STATIC_TOR_DESC= Build a static tor |
29 |
STATIC_TOR_DESC= Build a static tor |
31 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
30 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
32 |
TOR2WEB_DESC= Faster but non-anonymous hidden services |
31 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
33 |
TRANSPARENT_DESC= Transparent proxy support |
32 |
TRANSPARENT_DESC= Transparent proxy support |
34 |
|
33 |
|
35 |
OPTIONS_DEFAULT= TRANSPARENT |
34 |
OPTIONS_DEFAULT= TRANSPARENT |
Lines 36-41
Link Here
|
36 |
|
35 |
|
37 |
USE_RC_SUBR= tor |
36 |
USE_RC_SUBR= tor |
38 |
SUB_FILES= pkg-message |
37 |
SUB_FILES= pkg-message |
|
|
38 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
39 |
PLIST_SUB= USER="${USERS}" GROUP="${GROUPS}" |
39 |
|
40 |
|
40 |
GROUPS= _tor |
41 |
GROUPS= _tor |
41 |
USERS= _tor |
42 |
USERS= _tor |
Lines 88-93
Link Here
|
88 |
CONFIGURE_ARGS+= --disable-transparent |
89 |
CONFIGURE_ARGS+= --disable-transparent |
89 |
.endif |
90 |
.endif |
90 |
|
91 |
|
|
|
92 |
pre-everything:: |
93 |
.if ${PORT_OPTIONS:MTOR2WEB} |
94 |
@${ECHO_MSG} |
95 |
@${ECHO_MSG} "Warning: The expert option 'tor2web' is chosen." |
96 |
@${ECHO_MSG} " With this option tor cannot be used for regular traffic," |
97 |
@${ECHO_MSG} " only for non-anonymous hidden service traffic." |
98 |
@${ECHO_MSG} " Please make sure you understand this option." |
99 |
@${ECHO_MSG} |
100 |
.endif |
101 |
|
91 |
post-patch: |
102 |
post-patch: |
92 |
@${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \ |
103 |
@${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \ |
93 |
${WRKSRC}/configure |
104 |
${WRKSRC}/configure |
Lines 109-115
Link Here
|
109 |
${WRKSRC}/Makefile |
120 |
${WRKSRC}/Makefile |
110 |
|
121 |
|
111 |
post-install: |
122 |
post-install: |
112 |
@${MKDIR} ${STAGEDIR}/var/log/tor ${STAGEDIR}/var/run/tor |
123 |
@${MKDIR} ${STAGEDIR}/var/log/tor ${STAGEDIR}/var/run/tor ${STAGEDIR}/var/db/tor |
113 |
|
124 |
|
114 |
.if ! ${PORT_OPTIONS:MTOR2WEB} |
125 |
.if ! ${PORT_OPTIONS:MTOR2WEB} |
115 |
check regression-test test: build |
126 |
check regression-test test: build |