View | Details | Raw Unified | Return to bug 216418 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-4 / +12 lines)
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
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1482222281
1
TIMESTAMP = 1485182220
2
SHA256 (tor-0.3.0.1-alpha.tar.gz) = 7013353f0cbd2af8c0144f6167339f6eb252eb35ca9a2db2971310171108b064
2
SHA256 (tor-0.3.0.2-alpha.tar.gz) = 736f135ab2b6473ccbeb454a845451555a99d72b4c6015e77c7689392bfec17c
3
SIZE (tor-0.3.0.1-alpha.tar.gz) = 5704559
3
SIZE (tor-0.3.0.2-alpha.tar.gz) = 5733704
(-)pkg-plist (-4 / +8 lines)
Lines 3-12 Link Here
3
bin/tor-resolve
3
bin/tor-resolve
4
bin/torify
4
bin/torify
5
@sample etc/tor/torrc.sample
5
@sample etc/tor/torrc.sample
6
man/man1/tor-gencert.1.gz
6
%%MAN%%man/man1/tor-gencert.1.gz
7
man/man1/tor-resolve.1.gz
7
%%MAN%%man/man1/tor-resolve.1.gz
8
man/man1/tor.1.gz
8
%%MAN%%man/man1/tor.1.gz
9
man/man1/torify.1.gz
9
%%MAN%%man/man1/torify.1.gz
10
%%MAN%%%%PORTDOCS%%%%DOCSDIR%%/tor-gencert.html
11
%%MAN%%%%PORTDOCS%%%%DOCSDIR%%/tor-resolve.html
12
%%MAN%%%%PORTDOCS%%%%DOCSDIR%%/tor.html
13
%%MAN%%%%PORTDOCS%%%%DOCSDIR%%/torify.html
10
%%DATADIR%%/geoip
14
%%DATADIR%%/geoip
11
%%DATADIR%%/geoip6
15
%%DATADIR%%/geoip6
12
@dir(_tor,_tor,750) /var/run/tor
16
@dir(_tor,_tor,750) /var/run/tor

Return to bug 216418