svn commit: r429441 - head/security/tor-devel

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Dec 25 17:15:52 UTC 2016


Author: amdmi3
Date: Sun Dec 25 17:15:50 2016
New Revision: 429441
URL: https://svnweb.freebsd.org/changeset/ports/429441

Log:
  - Update to 0.3.0.1-alpha
  - While here, port TOR2WEB-related warnings from seurity/tor
  
  PR:		215438
  Submitted by:	yuri at rawbw.com (maintainer)

Modified:
  head/security/tor-devel/Makefile
  head/security/tor-devel/distinfo

Modified: head/security/tor-devel/Makefile
==============================================================================
--- head/security/tor-devel/Makefile	Sun Dec 25 15:59:28 2016	(r429440)
+++ head/security/tor-devel/Makefile	Sun Dec 25 17:15:50 2016	(r429441)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tor
-DISTVERSION=	0.2.9.7-rc
+DISTVERSION=	0.3.0.1-alpha
 CATEGORIES=	security net ipv6
 MASTER_SITES=	TOR
 PKGNAMESUFFIX=	-devel
@@ -31,7 +31,7 @@ OPTIONS_DEFINE=	STATIC_TOR TCMALLOC TOR2
 
 STATIC_TOR_DESC=	Build a static tor
 TCMALLOC_DESC=		Use the tcmalloc memory allocation library
-TOR2WEB_DESC=		Faster but non-anonymous hidden services
+TOR2WEB_DESC=		(EXPERT OPTION) Faster but non-anonymous hidden services
 TRANSPARENT_DESC=	Transparent proxy support
 
 OPTIONS_DEFAULT=	TRANSPARENT
@@ -90,6 +90,16 @@ CONFIGURE_ARGS+=	--enable-transparent
 CONFIGURE_ARGS+=	--disable-transparent
 .endif
 
+pre-everything::
+.if ${PORT_OPTIONS:MTOR2WEB}
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Warning: The expert option 'tor2web' is chosen."
+	@${ECHO_MSG} "         With this option tor cannot be used for regular traffic,"
+	@${ECHO_MSG} "         only for non-anonymous hidden service traffic."
+	@${ECHO_MSG} "         Please make sure you understand this option."
+	@${ECHO_MSG}
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2 at g" \
 		${WRKSRC}/configure

Modified: head/security/tor-devel/distinfo
==============================================================================
--- head/security/tor-devel/distinfo	Sun Dec 25 15:59:28 2016	(r429440)
+++ head/security/tor-devel/distinfo	Sun Dec 25 17:15:50 2016	(r429441)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481645876
-SHA256 (tor-0.2.9.7-rc.tar.gz) = 0e73c18afd5f1d0cc60f2bba1ac7bd5b64ae984a41dfcbbb06897dc5843b68d0
-SIZE (tor-0.2.9.7-rc.tar.gz) = 5508830
+TIMESTAMP = 1482222281
+SHA256 (tor-0.3.0.1-alpha.tar.gz) = 7013353f0cbd2af8c0144f6167339f6eb252eb35ca9a2db2971310171108b064
+SIZE (tor-0.3.0.1-alpha.tar.gz) = 5704559


More information about the svn-ports-head mailing list