|
Lines 27-33
Link Here
|
| 27 |
|
27 |
|
| 28 |
STATIC_TOR_DESC= Build a static tor |
28 |
STATIC_TOR_DESC= Build a static tor |
| 29 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
29 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
| 30 |
TOR2WEB_DESC= Faster but non-anonymous hidden services |
30 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
| 31 |
TRANSPARENT_DESC= Transparent proxy support |
31 |
TRANSPARENT_DESC= Transparent proxy support |
| 32 |
|
32 |
|
| 33 |
OPTIONS_DEFAULT= TRANSPARENT |
33 |
OPTIONS_DEFAULT= TRANSPARENT |
|
Lines 34-39
Link Here
|
| 34 |
|
34 |
|
| 35 |
USE_RC_SUBR= tor |
35 |
USE_RC_SUBR= tor |
| 36 |
SUB_FILES= pkg-message |
36 |
SUB_FILES= pkg-message |
|
|
37 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
| 37 |
|
38 |
|
| 38 |
GROUPS= _tor |
39 |
GROUPS= _tor |
| 39 |
USERS= _tor |
40 |
USERS= _tor |
|
Lines 86-91
Link Here
|
| 86 |
CONFIGURE_ARGS+= --disable-transparent |
87 |
CONFIGURE_ARGS+= --disable-transparent |
| 87 |
.endif |
88 |
.endif |
| 88 |
|
89 |
|
|
|
90 |
pre-everything:: |
| 91 |
.if ${PORT_OPTIONS:MTOR2WEB} |
| 92 |
@${ECHO_MSG} |
| 93 |
@${ECHO_MSG} "Warning: An expert option 'tor2web' is chosen." |
| 94 |
@${ECHO_MSG} " With this option tor cannot be used for regular traffic," |
| 95 |
@${ECHO_MSG} " only for non-anonymous hidden service traffic." |
| 96 |
@${ECHO_MSG} " Please make sure you understand this option." |
| 97 |
@${ECHO_MSG} |
| 98 |
.endif |
| 99 |
|
| 89 |
post-patch: |
100 |
post-patch: |
| 90 |
@${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \ |
101 |
@${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \ |
| 91 |
${WRKSRC}/configure |
102 |
${WRKSRC}/configure |