1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update tor to 0.2.5.10 and tor-devel to 0.2.6.1-alpha

PR:		195486
This commit is contained in:
Brendan Fabeny 2014-12-11 12:52:06 +00:00
parent 6b1edf14af
commit d4450689d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374527
4 changed files with 16 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tor
DISTVERSION= 0.2.5.8-rc
DISTVERSION= 0.2.6.1-alpha
CATEGORIES= security net ipv6
MASTER_SITES= TOR
PKGNAMESUFFIX= -devel

View File

@ -1,2 +1,2 @@
SHA256 (tor-0.2.5.8-rc.tar.gz) = a4c04e049f8c5798991eb5028fb2831ea2353bf12c7f5afa9c1df1472787b22c
SIZE (tor-0.2.5.8-rc.tar.gz) = 3175566
SHA256 (tor-0.2.6.1-alpha.tar.gz) = 83154b8e5514978722add6c888d050420342405d4567e5945e89ae40b78b8761
SIZE (tor-0.2.6.1-alpha.tar.gz) = 3347886

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tor
DISTVERSION= 0.2.4.24
DISTVERSION= 0.2.5.10
CATEGORIES= security net ipv6
MASTER_SITES= TOR
@ -19,18 +19,19 @@ CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}"
OPTIONS_DEFINE= BUFFEREVENTS BUFFREELISTS INSTR_DOWNLOADS \
OPTIONS_DEFINE= BUFFEREVENTS BUFFREELISTS INSTR_DOWNLOADS MEMPOOLS \
STATIC_TOR TCMALLOC THREADS TOR2WEB TRANSPARENT
BUFFEREVENTS_DESC= Use libevent's buffered IO
BUFFREELISTS_DESC= Freelists for buffer RAM
INSTR_DOWNLOADS_DESC= Instrument downloads for analysis
MEMPOOLS_DESC= Mempools for relay cells
STATIC_TOR_DESC= Build a static tor
TCMALLOC_DESC= Use the tcmalloc memory allocation library
TOR2WEB_DESC= Faster but non-anonymous hidden services
TRANSPARENT_DESC= Transparent proxy support
OPTIONS_DEFAULT= BUFFREELISTS THREADS TRANSPARENT
OPTIONS_DEFAULT= THREADS TRANSPARENT
USE_OPENSSL= yes
@ -70,6 +71,12 @@ CONFIGURE_ARGS+= --enable-instrument-downloads
CONFIGURE_ARGS+= --disable-instrument-downloads
.endif
.if ${PORT_OPTIONS:MMEMPOOLS}
CONFIGURE_ARGS+= --enable-mempools
.else
CONFIGURE_ARGS+= --disable-mempools
.endif
.if ${PORT_OPTIONS:MSTATIC_TOR}
BUILD_DEPENDS += ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent2
CONFIGURE_ARGS+= --enable-static-tor \
@ -121,7 +128,7 @@ post-patch:
post-configure:
@${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \
"s|-lpthread|${PTHREAD_LIBS}|g"
@${REINPLACE_CMD} -e '\|^nodist_man1_MANS =|s|$$|$$(regular_mans:=.1)|' \
@${REINPLACE_CMD} -e '\|^nodist_man1_MANS =|s|$$|$$(install_mans:=.1)|' \
${WRKSRC}/Makefile
.if ! ${PORT_OPTIONS:MTOR2WEB}

View File

@ -1,2 +1,2 @@
SHA256 (tor-0.2.4.24.tar.gz) = 99b15c6858c04e93a31d3ae90dd69f5021faa2237da93a24fbd246f4f1670ad1
SIZE (tor-0.2.4.24.tar.gz) = 3002418
SHA256 (tor-0.2.5.10.tar.gz) = b3dd02a5dcd2ffe14d9a37956f92779d4427edf7905c0bba9b1e3901b9c5a83b
SIZE (tor-0.2.5.10.tar.gz) = 3166480