Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tor |
4 |
PORTNAME= tor |
5 |
PORTVERSION= 0.3.0.6 |
5 |
PORTVERSION= 0.3.0.7 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= security net ipv6 |
6 |
CATEGORIES= security net ipv6 |
8 |
MASTER_SITES= TOR |
7 |
MASTER_SITES= TOR |
9 |
PKGNAMESUFFIX= -devel |
8 |
PKGNAMESUFFIX= -devel |
Lines 20-27
Link Here
|
20 |
|
19 |
|
21 |
USES= cpe gmake |
20 |
USES= cpe gmake |
22 |
CPE_VENDOR= torproject |
21 |
CPE_VENDOR= torproject |
23 |
#CPE_VERSION= ${DISTVERSION:C/-.*//} |
|
|
24 |
#CPE_UPDATE= ${DISTVERSION:C/.*-//} |
25 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" |
23 |
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" |
27 |
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ |
24 |
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ |
Lines 29-34
Link Here
|
29 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
26 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
30 |
|
27 |
|
31 |
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB |
28 |
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB |
|
|
29 |
OPTIONS_DEFAULT=MANPAGES |
32 |
OPTIONS_SUB= yes |
30 |
OPTIONS_SUB= yes |
33 |
|
31 |
|
34 |
STATIC_TOR_DESC= Build a static tor |
32 |
STATIC_TOR_DESC= Build a static tor |
Lines 35-42
Link Here
|
35 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
33 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
36 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
34 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
37 |
|
35 |
|
38 |
OPTIONS_DEFAULT= MANPAGES |
|
|
39 |
|
40 |
USE_RC_SUBR= tor |
36 |
USE_RC_SUBR= tor |
41 |
SUB_FILES= pkg-message |
37 |
SUB_FILES= pkg-message |
42 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
38 |
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" |
Lines 50-60
Link Here
|
50 |
STATIC_TOR_USES= ssl:build |
46 |
STATIC_TOR_USES= ssl:build |
51 |
STATIC_TOR_USES_OFF= ssl |
47 |
STATIC_TOR_USES_OFF= ssl |
52 |
|
48 |
|
53 |
DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc |
|
|
54 |
DOCS_CONFIGURE_OFF= --disable-asciidoc |
55 |
|
56 |
.include <bsd.port.options.mk> |
49 |
.include <bsd.port.options.mk> |
57 |
|
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 |
|
58 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
57 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
59 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
58 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
60 |
CONFIGURE_ARGS+= --enable-gcc-hardening |
59 |
CONFIGURE_ARGS+= --enable-gcc-hardening |