Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 18:40:21 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422056 - head/www/tomcat-native
Message-ID:  <201609131840.u8DIeL3R099499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Sep 13 18:40:21 2016
New Revision: 422056
URL: https://svnweb.freebsd.org/changeset/ports/422056

Log:
  www/tomcat-native: remove USE_OPENSSL_PORT and IGNORE LibreSSL
  
  Even with LibreSSL using the OpenSSL 1.0.2 compatibility definitions,
  there are numerous unreferenced symbols during linking.  It doesn't seem
  trivial to fix so IGNORE when SSL_DEFAULT=libressl*
  
  This version of Tomcat also requires OpenSSL version 1.0.2 which is
  not available in FreeBSD 9 base nor FreeBSD 10 base.  Set IGNORE when
  base SSL libraries are used for those 2 platforms.
  
  Approved by:	SSL blanket

Modified:
  head/www/tomcat-native/Makefile

Modified: head/www/tomcat-native/Makefile
==============================================================================
--- head/www/tomcat-native/Makefile	Tue Sep 13 18:37:43 2016	(r422055)
+++ head/www/tomcat-native/Makefile	Tue Sep 13 18:40:21 2016	(r422056)
@@ -16,9 +16,7 @@ LIB_DEPENDS=	libapr-1.so:devel/apr1
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/native
 
-USES=		libtool
-USE_OPENSSL=	yes
-WITH_OPENSSL_PORT=	yes
+USES=		libtool ssl
 USE_JAVA=	yes
 USE_LDCONFIG=	yes
 JAVA_VERSION=	1.6+
@@ -35,4 +33,15 @@ PLIST_FILES=	lib/libtcnative-1.a \
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcnative-1.so.0.2.7
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+IGNORE_FreeBSD_9=	Requires OpenSSL 1.0.2 (set SSL_DEFAULT=openssl)
+IGNORE_FreeBSD_10=	Requires OpenSSL 1.0.2 (set_SSL_DEFAULT=openssl)
+.endif
+
+.if ${SSL_DEFAULT:Mlibressl*}
+IGNORE=	Detected LibreSSL (missing numerous symbols during linking)
+.endif
+
+.include <bsd.port.post.mk>



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