View | Details | Raw Unified | Return to bug 148854
Collapse All | Expand All

(-)tor-devel/Makefile (-9 / +8 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	tor
8
PORTNAME=	tor
9
DISTVERSION=	0.2.2.13-alpha
9
DISTVERSION=	0.2.2.14-alpha
10
CATEGORIES=	security net ipv6
10
CATEGORIES=	security net ipv6
11
MASTER_SITES=	http://www.torproject.org/dist/ \
11
MASTER_SITES=	http://www.torproject.org/dist/ \
12
		http://tor.cypherpunks.at/dist/ \
12
		http://tor.cypherpunks.at/dist/ \
Lines 23-29 Link Here
23
23
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
USE_OPENSSL=	yes
25
USE_OPENSSL=	yes
26
WITH_OPENSSL_PORT=	yes
27
CONFIGURE_ARGS+=	--with-openssl-dir="${OPENSSLBASE}" --disable-asciidoc
26
CONFIGURE_ARGS+=	--with-openssl-dir="${OPENSSLBASE}" --disable-asciidoc
28
CPPFLAGS+=	-I${LOCALBASE}/include
27
CPPFLAGS+=	-I${LOCALBASE}/include
29
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
28
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
Lines 43-48 Link Here
43
42
44
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
45
44
45
.if  ( ${OSVERSION} < 801000 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900011) )
46
WITH_OPENSSL_PORT=	yes
47
.endif
48
46
.if defined(WITH_BUFFREELISTS)
49
.if defined(WITH_BUFFREELISTS)
47
CONFIGURE_ARGS+=	--enable-buf-freelists
50
CONFIGURE_ARGS+=	--enable-buf-freelists
48
.else
51
.else
Lines 82-96 Link Here
82
		${WRKSRC}/contrib/tor-tsocks.conf.sample
85
		${WRKSRC}/contrib/tor-tsocks.conf.sample
83
	@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
86
	@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
84
		${WRKSRC}/contrib/Makefile.in
87
		${WRKSRC}/contrib/Makefile.in
85
	@${FIND} -X ${WRKSRC} -type f | ${XARGS} \
88
	@${REINPLACE_CMD} -e '\|CFLAGS=|{s|-g||;s|-O[0-9]\{0,1\}||;}' \
86
		-n 10 ${REINPLACE_CMD} -E \
89
		-e 's|netinet/in6|netinet6/in6|g' ${WRKSRC}/configure
87
		-e 's|-g -O2||g' \
88
		-e 's|-O2||g' \
89
		-e 's|-g -O||g' \
90
		-e 's|netinet/in6|netinet6/in6|g'
91
90
92
post-configure:
91
post-configure:
93
	@${FIND} -X ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
92
	@${FIND} -X ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \
94
		"s|-lpthread|${PTHREAD_LIBS}|g"
93
		"s|-lpthread|${PTHREAD_LIBS}|g"
95
94
96
pre-su-install:
95
pre-su-install:
(-)tor-devel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (tor-0.2.2.13-alpha.tar.gz) = 8e332a7a91f78cdc3071a6fd77609264
1
MD5 (tor-0.2.2.14-alpha.tar.gz) = 62100f26d9ccdbe9a570d0757946dfb9
2
SHA256 (tor-0.2.2.13-alpha.tar.gz) = abf0386ceec9b04a795ac270cdad40f0497916eaf1cec4f952c915a3a7da3dc2
2
SHA256 (tor-0.2.2.14-alpha.tar.gz) = 0afc7b79007b5265d59dbca0a5e676aa22ea7177c512253d3a06308d30fd895f
3
SIZE (tor-0.2.2.13-alpha.tar.gz) = 2306769
3
SIZE (tor-0.2.2.14-alpha.tar.gz) = 2527986

Return to bug 148854