Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 14:13:05 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421557 - in head/security: tor tor-devel
Message-ID:  <201609081413.u88ED5W8067883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Sep  8 14:13:05 2016
New Revision: 421557
URL: https://svnweb.freebsd.org/changeset/ports/421557

Log:
  Change security/tor{,-devel} to only have a build dependency on openssl
  if built statically.
  
  PR:		202175
  Reported by:	barnerd
  Sponsored by:	Absolight

Modified:
  head/security/tor-devel/Makefile   (contents, props changed)
  head/security/tor/Makefile   (contents, props changed)

Modified: head/security/tor-devel/Makefile
==============================================================================
--- head/security/tor-devel/Makefile	Thu Sep  8 14:13:01 2016	(r421556)
+++ head/security/tor-devel/Makefile	Thu Sep  8 14:13:05 2016	(r421557)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tor
 DISTVERSION=	0.2.9.2-alpha
+PORTREVISION=	1
 CATEGORIES=	security net ipv6
 MASTER_SITES=	TOR
 PKGNAMESUFFIX=	-devel
@@ -15,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_powerpc64=	Does not build
 
-USES=		cpe gmake ssl
+USES=		cpe gmake
 CPE_VENDOR=	torproject
 #CPE_VERSION=	${DISTVERSION:C/-.*//}
 #CPE_UPDATE=	${DISTVERSION:C/.*-//}
@@ -42,6 +43,9 @@ USERS=		_tor
 
 CONFLICTS=	tor-[0-9]*
 
+STATIC_TOR_USES=	ssl:build
+STATIC_TOR_USES_OFF=	ssl
+
 .include <bsd.port.options.mk>
 
 .if ${OSVERSION} < 1000000

Modified: head/security/tor/Makefile
==============================================================================
--- head/security/tor/Makefile	Thu Sep  8 14:13:01 2016	(r421556)
+++ head/security/tor/Makefile	Thu Sep  8 14:13:05 2016	(r421557)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tor
 PORTVERSION=	0.2.8.7
+PORTREVISION=	1
 CATEGORIES=	security net ipv6
 MASTER_SITES=	TOR
 
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_powerpc64=	Does not build
 
-USES=		cpe gmake ssl
+USES=		cpe gmake
 CPE_VENDOR=	torproject
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-openssl-dir="${OPENSSLBASE}" --disable-asciidoc
@@ -39,6 +40,9 @@ USERS=		_tor
 
 CONFLICTS=	tor-devel-[0-9]*
 
+STATIC_TOR_USES=	ssl:build
+STATIC_TOR_USES_OFF=	ssl
+
 .include <bsd.port.options.mk>
 
 .if ${OSVERSION} < 1000000



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609081413.u88ED5W8067883>