Lines 1-8
Link Here
|
1 |
# Created by: peter.thoenen@yahoo.com |
1 |
# Created by: peter.thoenen@yahoo.com |
2 |
# $FreeBSD: head/security/tor-devel/Makefile 378726 2015-02-09 12:45:27Z bf $ |
2 |
# $FreeBSD: head/security/tor-devel/Makefile 369231 2014-09-25 10:36:23Z bf $ |
3 |
|
3 |
|
4 |
PORTNAME= tor |
4 |
PORTNAME= tor |
5 |
DISTVERSION= 0.2.6.2-alpha |
5 |
DISTVERSION= 0.2.6.3-alpha |
6 |
CATEGORIES= security net ipv6 |
6 |
CATEGORIES= security net ipv6 |
7 |
MASTER_SITES= TOR |
7 |
MASTER_SITES= TOR |
8 |
PKGNAMESUFFIX= -devel |
8 |
PKGNAMESUFFIX= -devel |
Lines 20-38
Link Here
|
20 |
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \ |
20 |
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \ |
21 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
21 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
22 |
|
22 |
|
23 |
OPTIONS_DEFINE= BUFFEREVENTS BUFFREELISTS INSTR_DOWNLOADS MEMPOOLS \ |
23 |
OPTIONS_DEFINE= BUFFEREVENTS INSTR_DOWNLOADS STATIC_TOR \ |
24 |
STATIC_TOR TCMALLOC THREADS TOR2WEB TRANSPARENT |
24 |
TCMALLOC TOR2WEB TRANSPARENT |
25 |
|
25 |
|
26 |
BUFFEREVENTS_DESC= Use libevent's buffered IO |
26 |
BUFFEREVENTS_DESC= Use libevent's buffered IO |
27 |
BUFFREELISTS_DESC= Freelists for buffer RAM |
|
|
28 |
INSTR_DOWNLOADS_DESC= Instrument downloads for analysis |
27 |
INSTR_DOWNLOADS_DESC= Instrument downloads for analysis |
29 |
MEMPOOLS_DESC= Mempools for relay cells |
|
|
30 |
STATIC_TOR_DESC= Build a static tor |
28 |
STATIC_TOR_DESC= Build a static tor |
31 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
29 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
32 |
TOR2WEB_DESC= Faster but non-anonymous hidden services |
30 |
TOR2WEB_DESC= Faster but non-anonymous hidden services |
33 |
TRANSPARENT_DESC= Transparent proxy support |
31 |
TRANSPARENT_DESC= Transparent proxy support |
34 |
|
32 |
|
35 |
OPTIONS_DEFAULT= THREADS TRANSPARENT |
33 |
OPTIONS_DEFAULT= TRANSPARENT |
36 |
|
34 |
|
37 |
USE_OPENSSL= yes |
35 |
USE_OPENSSL= yes |
38 |
|
36 |
|
Lines 60-83
Link Here
|
60 |
CONFIGURE_ARGS+= --disable-bufferevents |
58 |
CONFIGURE_ARGS+= --disable-bufferevents |
61 |
.endif |
59 |
.endif |
62 |
|
60 |
|
63 |
.if ${PORT_OPTIONS:MBUFFREELISTS} |
|
|
64 |
CONFIGURE_ARGS+= --enable-buf-freelists |
65 |
.else |
66 |
CONFIGURE_ARGS+= --disable-buf-freelists |
67 |
.endif |
68 |
|
69 |
.if ${PORT_OPTIONS:MINSTR_DOWNLOADS} |
61 |
.if ${PORT_OPTIONS:MINSTR_DOWNLOADS} |
70 |
CONFIGURE_ARGS+= --enable-instrument-downloads |
62 |
CONFIGURE_ARGS+= --enable-instrument-downloads |
71 |
.else |
63 |
.else |
72 |
CONFIGURE_ARGS+= --disable-instrument-downloads |
64 |
CONFIGURE_ARGS+= --disable-instrument-downloads |
73 |
.endif |
65 |
.endif |
74 |
|
66 |
|
75 |
.if ${PORT_OPTIONS:MMEMPOOLS} |
|
|
76 |
CONFIGURE_ARGS+= --enable-mempools |
77 |
.else |
78 |
CONFIGURE_ARGS+= --disable-mempools |
79 |
.endif |
80 |
|
81 |
.if ${PORT_OPTIONS:MSTATIC_TOR} |
67 |
.if ${PORT_OPTIONS:MSTATIC_TOR} |
82 |
BUILD_DEPENDS += ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent2 |
68 |
BUILD_DEPENDS += ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent2 |
83 |
CONFIGURE_ARGS+= --enable-static-tor \ |
69 |
CONFIGURE_ARGS+= --enable-static-tor \ |
Lines 104-116
Link Here
|
104 |
.endif |
90 |
.endif |
105 |
.endif |
91 |
.endif |
106 |
|
92 |
|
107 |
.if ${PORT_OPTIONS:MTHREADS} |
|
|
108 |
CONFIGURE_ARGS+= --enable-threads |
109 |
CFLAGS+= ${PTHREAD_CFLAGS} |
110 |
.else |
111 |
CONFIGURE_ARGS+= --disable-threads |
112 |
.endif |
113 |
|
114 |
.if ${PORT_OPTIONS:MTOR2WEB} |
93 |
.if ${PORT_OPTIONS:MTOR2WEB} |
115 |
CONFIGURE_ARGS+= --enable-tor2web-mode |
94 |
CONFIGURE_ARGS+= --enable-tor2web-mode |
116 |
.endif |
95 |
.endif |