update to 0.2.6.6 [1]; add another hint to the pkg-message [2]; use @sample [3];

add CPE information [4]; update the rc-script [5]

PR:		198710 [1], 199003 [1], 195828 [2], 198164 [3], 197493 [4], 197998 [5]
This commit is contained in:
Brendan Fabeny 2015-03-30 11:58:44 +00:00
parent cbd35d7682
commit 5f2711b5ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382650
8 changed files with 18 additions and 34 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tor
DISTVERSION= 0.2.6.3-alpha
DISTVERSION= 0.2.6.6
CATEGORIES= security net ipv6
MASTER_SITES= TOR
PKGNAMESUFFIX= -devel
@ -15,8 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe gmake
CPE_VENDOR= torproject
CPE_VERSION= ${DISTVERSION:C/-.*//}
CPE_UPDATE= ${DISTVERSION:C/.*-//}
#CPE_VERSION= ${DISTVERSION:C/-.*//}
#CPE_UPDATE= ${DISTVERSION:C/.*-//}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" --disable-asciidoc
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \

View File

@ -1,2 +1,2 @@
SHA256 (tor-0.2.6.3-alpha.tar.gz) = 5e31a0ccbb1fbe9ac6fc64d157c5c3db9b478908ea09bbe15adea2f1fd11d670
SIZE (tor-0.2.6.3-alpha.tar.gz) = 3526195
SHA256 (tor-0.2.6.6.tar.gz) = c3349e457c71b8e5c138c656927b2bbca0bfa03539ffee8579b0e568ffb10283
SIZE (tor-0.2.6.6.tar.gz) = 3594452

View File

@ -16,4 +16,6 @@ before starting the tor server. Tor users are strongly advised to prevent traffi
analysis that exploits sequential IP IDs by setting:
sysctl net.inet.ip.random_id=1
(see sysctl.conf(5)).
================================================================================

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= tor
DISTVERSION= 0.2.5.10
PORTREVISION= 1
DISTVERSION= 0.2.6.6
CATEGORIES= security net ipv6
MASTER_SITES= TOR
@ -13,20 +12,19 @@ COMMENT= Anonymizing overlay network for TCP
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
USES= cpe gmake
CPE_VENDOR= torproject
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" --disable-asciidoc
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 MEMPOOLS \
STATIC_TOR TCMALLOC THREADS TOR2WEB TRANSPARENT
OPTIONS_DEFINE= BUFFEREVENTS INSTR_DOWNLOADS \
STATIC_TOR TCMALLOC 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
@ -60,24 +58,12 @@ CONFIGURE_ARGS+= --enable-bufferevents
CONFIGURE_ARGS+= --disable-bufferevents
.endif
.if ${PORT_OPTIONS:MBUFFREELISTS}
CONFIGURE_ARGS+= --enable-buf-freelists
.else
CONFIGURE_ARGS+= --disable-buf-freelists
.endif
.if ${PORT_OPTIONS:MINSTR_DOWNLOADS}
CONFIGURE_ARGS+= --enable-instrument-downloads
.else
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 \
@ -104,12 +90,6 @@ LIB_DEPENDS+= libtcmalloc.so:${PORTSDIR}/devel/google-perftools
.endif
.endif
.if ${PORT_OPTIONS:MTHREADS}
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads
.endif
.if ${PORT_OPTIONS:MTOR2WEB}
CONFIGURE_ARGS+= --enable-tor2web-mode
.endif

View File

@ -1,2 +1,2 @@
SHA256 (tor-0.2.5.10.tar.gz) = b3dd02a5dcd2ffe14d9a37956f92779d4427edf7905c0bba9b1e3901b9c5a83b
SIZE (tor-0.2.5.10.tar.gz) = 3166480
SHA256 (tor-0.2.6.6.tar.gz) = c3349e457c71b8e5c138c656927b2bbca0bfa03539ffee8579b0e568ffb10283
SIZE (tor-0.2.6.6.tar.gz) = 3594452

View File

@ -16,4 +16,6 @@ before starting the tor server. Tor users are strongly advised to prevent traffi
analysis that exploits sequential IP IDs by setting:
sysctl net.inet.ip.random_id=1
(see sysctl.conf(5)).
================================================================================

View File

@ -3,7 +3,7 @@
# $FreeBSD$
#
# PROVIDE: tor
# REQUIRE: NETWORKING SERVERS USR
# REQUIRE: DAEMON FILESYSTEMS
# BEFORE: LOGIN
#
# Add the following lines to /etc/rc.conf to enable tor.

View File

@ -2,7 +2,7 @@ bin/tor
bin/tor-gencert
bin/tor-resolve
bin/torify
etc/tor/torrc.sample
@sample etc/tor/torrc.sample
man/man1/tor-gencert.1.gz
man/man1/tor-resolve.1.gz
man/man1/tor.1.gz