svn commit: r382650 - in head/security: tor tor-devel tor-devel/files tor/files

Brendan Fabeny bf at FreeBSD.org
Mon Mar 30 11:58:48 UTC 2015


Author: bf
Date: Mon Mar 30 11:58:44 2015
New Revision: 382650
URL: https://svnweb.freebsd.org/changeset/ports/382650
QAT: https://qat.redports.org/buildarchive/r382650/

Log:
  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]

Modified:
  head/security/tor-devel/Makefile
  head/security/tor-devel/distinfo
  head/security/tor-devel/files/pkg-message.in
  head/security/tor/Makefile
  head/security/tor/distinfo
  head/security/tor/files/pkg-message.in
  head/security/tor/files/tor.in
  head/security/tor/pkg-plist

Modified: head/security/tor-devel/Makefile
==============================================================================
--- head/security/tor-devel/Makefile	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor-devel/Makefile	Mon Mar 30 11:58:44 2015	(r382650)
@@ -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" \

Modified: head/security/tor-devel/distinfo
==============================================================================
--- head/security/tor-devel/distinfo	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor-devel/distinfo	Mon Mar 30 11:58:44 2015	(r382650)
@@ -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

Modified: head/security/tor-devel/files/pkg-message.in
==============================================================================
--- head/security/tor-devel/files/pkg-message.in	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor-devel/files/pkg-message.in	Mon Mar 30 11:58:44 2015	(r382650)
@@ -16,4 +16,6 @@ before starting the tor server. Tor user
 analysis that exploits sequential IP IDs by setting:
 
 sysctl net.inet.ip.random_id=1
+
+(see sysctl.conf(5)).
 ================================================================================

Modified: head/security/tor/Makefile
==============================================================================
--- head/security/tor/Makefile	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor/Makefile	Mon Mar 30 11:58:44 2015	(r382650)
@@ -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
 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
 .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

Modified: head/security/tor/distinfo
==============================================================================
--- head/security/tor/distinfo	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor/distinfo	Mon Mar 30 11:58:44 2015	(r382650)
@@ -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

Modified: head/security/tor/files/pkg-message.in
==============================================================================
--- head/security/tor/files/pkg-message.in	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor/files/pkg-message.in	Mon Mar 30 11:58:44 2015	(r382650)
@@ -16,4 +16,6 @@ before starting the tor server. Tor user
 analysis that exploits sequential IP IDs by setting:
 
 sysctl net.inet.ip.random_id=1
+
+(see sysctl.conf(5)).
 ================================================================================

Modified: head/security/tor/files/tor.in
==============================================================================
--- head/security/tor/files/tor.in	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor/files/tor.in	Mon Mar 30 11:58:44 2015	(r382650)
@@ -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.

Modified: head/security/tor/pkg-plist
==============================================================================
--- head/security/tor/pkg-plist	Mon Mar 30 11:49:25 2015	(r382649)
+++ head/security/tor/pkg-plist	Mon Mar 30 11:58:44 2015	(r382650)
@@ -2,7 +2,7 @@ bin/tor
 bin/tor-gencert
 bin/tor-resolve
 bin/torify
-etc/tor/torrc.sample
+ at sample etc/tor/torrc.sample
 man/man1/tor-gencert.1.gz
 man/man1/tor-resolve.1.gz
 man/man1/tor.1.gz


More information about the svn-ports-head mailing list