Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= tor |
4 |
PORTNAME= tor |
5 |
PORTVERSION= 0.3.0.6 |
5 |
PORTVERSION= 0.3.0.6 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= security net ipv6 |
7 |
CATEGORIES= security net ipv6 |
7 |
MASTER_SITES= TOR |
8 |
MASTER_SITES= TOR |
8 |
|
9 |
|
Lines 12-20
Link Here
|
12 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
|
15 |
BROKEN_mips64= Does not build: error: Need a uint128_t implementation! |
16 |
BROKEN_mips64= does not build: error: Need a uint128_t implementation! |
16 |
BROKEN_powerpc64= Does not build: error: Need a uint128_t implementation! |
17 |
BROKEN_powerpc64= does not build: error: Need a uint128_t implementation! |
17 |
BROKEN_sparc64= Does not build: error: Need a uint128_t implementation! |
18 |
BROKEN_sparc64= does not build: error: Need a uint128_t implementation! |
18 |
|
19 |
|
19 |
USES= cpe gmake |
20 |
USES= cpe gmake |
20 |
CPE_VENDOR= torproject |
21 |
CPE_VENDOR= torproject |
Lines 25-30
Link Here
|
25 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
26 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
26 |
|
27 |
|
27 |
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB |
28 |
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB |
|
|
29 |
OPTIONS_DEFAULT=MANPAGES |
28 |
OPTIONS_SUB= yes |
30 |
OPTIONS_SUB= yes |
29 |
|
31 |
|
30 |
STATIC_TOR_DESC= Build a static tor |
32 |
STATIC_TOR_DESC= Build a static tor |
Lines 31-38
Link Here
|
31 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
33 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
32 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
34 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
33 |
|
35 |
|
34 |
OPTIONS_DEFAULT= MANPAGES |
|
|
35 |
|
36 |
USE_RC_SUBR= tor |
36 |
USE_RC_SUBR= tor |
37 |
SUB_FILES= pkg-message |
37 |
SUB_FILES= pkg-message |
38 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
38 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
Lines 46-56
Link Here
|
46 |
STATIC_TOR_USES= ssl:build |
46 |
STATIC_TOR_USES= ssl:build |
47 |
STATIC_TOR_USES_OFF= ssl |
47 |
STATIC_TOR_USES_OFF= ssl |
48 |
|
48 |
|
49 |
DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc |
|
|
50 |
DOCS_CONFIGURE_OFF= --disable-asciidoc |
51 |
|
52 |
.include <bsd.port.options.mk> |
49 |
.include <bsd.port.options.mk> |
53 |
|
50 |
|
|
|
51 |
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} |
52 |
BUILD_DEPENDS+= asciidoc:textproc/asciidoc |
53 |
.else |
54 |
CONFIGURE_ARGS+= --disable-asciidoc |
55 |
.endif |
56 |
|
54 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
57 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
55 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
58 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
56 |
CONFIGURE_ARGS+= --enable-gcc-hardening |
59 |
CONFIGURE_ARGS+= --enable-gcc-hardening |