svn commit: r448155 - head/security/tor-devel
Steve Wills
swills at FreeBSD.org
Thu Aug 17 17:12:12 UTC 2017
Author: swills
Date: Thu Aug 17 17:12:10 2017
New Revision: 448155
URL: https://svnweb.freebsd.org/changeset/ports/448155
Log:
security/tor-devel: Update to 0.3.1.5-alpha
PR: 221427
Submitted by: Yuri Victorovich <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 Thu Aug 17 17:07:07 2017 (r448154)
+++ head/security/tor-devel/Makefile Thu Aug 17 17:12:10 2017 (r448155)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tor
-DISTVERSION= 0.3.1.4-alpha
+DISTVERSION= 0.3.1.5-alpha
CATEGORIES= security net ipv6
MASTER_SITES= TOR
PKGNAMESUFFIX= -devel
@@ -20,20 +20,20 @@ BROKEN_sparc64= does not build: error: Need a uint128
USES= cpe gmake pkgconfig
CPE_VENDOR= torproject
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" \
- --disable-lzma \
- --disable-zstd
+CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}"
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}"
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_GROUP= COMPRESSION
+OPTIONS_GROUP_COMPRESSION=ZSTD LZMA
+OPTIONS_DEFAULT=MANPAGES ZSTD LZMA
OPTIONS_SUB= yes
-
STATIC_TOR_DESC= Build a static tor
TCMALLOC_DESC= Use the tcmalloc memory allocation library
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services
+COMPRESSION_DESC= Supported compression libraries
USE_RC_SUBR= tor
SUB_FILES= pkg-message
@@ -48,6 +48,11 @@ CONFLICTS= tor-[0-9]*
STATIC_TOR_USES= ssl:build
STATIC_TOR_USES_OFF= ssl
+TOR2WEB_CONFIGURE_ENABLE= tor2web-mode
+ZSTD_CONFIGURE_ENABLE= zstd
+ZSTD_CONFIGURE_ENV=TOR_ZSTD_LIBS="${TOR_ZSTD_LIBS}"
+LZMA_CONFIGURE_ENABLE= lzma
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES}
@@ -68,10 +73,18 @@ BUILD_DEPENDS += ${LOCALBASE}/lib/libevent.a:devel/lib
CONFIGURE_ARGS+= --enable-static-tor \
--with-zlib-dir=/usr/lib --disable-linker-hardening
TOR_LIBEVENT_LIBS= ${LOCALBASE}/lib/libevent.a
+. if ${PORT_OPTIONS:MZSTD}
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libzstd.a:archivers/zstd
+TOR_ZSTD_LIBS= ${LOCALBASE}/lib/libzstd.a
+. endif
.else
CONFIGURE_ARGS+= --enable-linker-hardening
LIB_DEPENDS+= libevent.so:devel/libevent
TOR_LIBEVENT_LIBS= -levent
+. if ${PORT_OPTIONS:MZSTD}
+LIB_DEPENDS+= libzstd.so:archivers/zstd
+TOR_ZSTD_LIBS= -lzstd
+. endif
.endif
.if ${PORT_OPTIONS:MTCMALLOC}
@@ -81,10 +94,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libtcmalloc.a:devel/
.else
LIB_DEPENDS+= libtcmalloc.so:devel/google-perftools
.endif
-.endif
-
-.if ${PORT_OPTIONS:MTOR2WEB}
-CONFIGURE_ARGS+= --enable-tor2web-mode
.endif
pre-everything::
Modified: head/security/tor-devel/distinfo
==============================================================================
--- head/security/tor-devel/distinfo Thu Aug 17 17:07:07 2017 (r448154)
+++ head/security/tor-devel/distinfo Thu Aug 17 17:12:10 2017 (r448155)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1498778819
-SHA256 (tor-0.3.1.4-alpha.tar.gz) = 36ba88bd62f6f630bdba02c6bc348e8176224cec44281f6dacd86c46426c79d1
-SIZE (tor-0.3.1.4-alpha.tar.gz) = 5964177
+TIMESTAMP = 1502515690
+SHA256 (tor-0.3.1.5-alpha.tar.gz) = 04281b87e8b97517ba52232cd58de06a816f5a136b9b7a7316be878b36df8313
+SIZE (tor-0.3.1.5-alpha.tar.gz) = 5997514
More information about the svn-ports-all
mailing list