Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tor |
4 |
PORTNAME= tor |
5 |
DISTVERSION= 0.3.0.1-alpha |
5 |
DISTVERSION= 0.3.0.2-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 22-40
Link Here
|
22 |
#CPE_VERSION= ${DISTVERSION:C/-.*//} |
22 |
#CPE_VERSION= ${DISTVERSION:C/-.*//} |
23 |
#CPE_UPDATE= ${DISTVERSION:C/.*-//} |
23 |
#CPE_UPDATE= ${DISTVERSION:C/.*-//} |
24 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" --disable-asciidoc |
25 |
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" |
26 |
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ |
26 |
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ |
27 |
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \ |
27 |
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \ |
28 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
28 |
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" |
29 |
|
29 |
|
30 |
OPTIONS_DEFINE= STATIC_TOR TCMALLOC TOR2WEB TRANSPARENT |
30 |
OPTIONS_DEFINE= MAN STATIC_TOR TCMALLOC TOR2WEB TRANSPARENT |
|
|
31 |
OPTIONS_SUB= yes |
31 |
|
32 |
|
|
|
33 |
MAN_DESC= Include manpages |
32 |
STATIC_TOR_DESC= Build a static tor |
34 |
STATIC_TOR_DESC= Build a static tor |
33 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
35 |
TCMALLOC_DESC= Use the tcmalloc memory allocation library |
34 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
36 |
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services |
35 |
TRANSPARENT_DESC= Transparent proxy support |
37 |
TRANSPARENT_DESC= Transparent proxy support |
36 |
|
38 |
|
37 |
OPTIONS_DEFAULT= TRANSPARENT |
39 |
OPTIONS_DEFAULT= MAN TRANSPARENT |
38 |
|
40 |
|
39 |
USE_RC_SUBR= tor |
41 |
USE_RC_SUBR= tor |
40 |
SUB_FILES= pkg-message |
42 |
SUB_FILES= pkg-message |
Lines 49-54
Link Here
|
49 |
|
51 |
|
50 |
.include <bsd.port.options.mk> |
52 |
.include <bsd.port.options.mk> |
51 |
|
53 |
|
|
|
54 |
.if ${PORT_OPTIONS:MMAN} |
55 |
BUILD_DEPENDS+= asciidoc:textproc/asciidoc |
56 |
.else. |
57 |
CONFIGURE_ARGS+= --disable-asciidoc |
58 |
.endif |
59 |
|
52 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
60 |
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ |
53 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
61 |
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64) |
54 |
CONFIGURE_ARGS+= --enable-gcc-hardening |
62 |
CONFIGURE_ARGS+= --enable-gcc-hardening |