Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 14:06:03 +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: r422255 - head/security/openscep
Message-ID:  <201609161406.u8GE63a6050478@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Sep 16 14:06:02 2016
New Revision: 422255
URL: https://svnweb.freebsd.org/changeset/ports/422255

Log:
  security/openscep: Mark IGNORE if SSL_DEFAULT matches libressl
  
  The fix for LibreSSL support is not immediately obvious, so mark the
  port IGNOREd until the LibreSSL case is fixed.
  
  Approved by:	SSL blanket

Modified:
  head/security/openscep/Makefile

Modified: head/security/openscep/Makefile
==============================================================================
--- head/security/openscep/Makefile	Fri Sep 16 13:41:59 2016	(r422254)
+++ head/security/openscep/Makefile	Fri Sep 16 14:06:02 2016	(r422255)
@@ -12,15 +12,14 @@ COMMENT=	Open source scep server
 
 CONFLICTS_INSTALL=	nss-3.*
 
-USES=		gmake libtool
-USE_OPENSSL=	yes
+USES=		gmake libtool ssl
 USE_OPENLDAP=	yes
 USE_APACHE=	22+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
+CPPFLAGS+=	-I${OPENSSLINC} -I${LOCALBASE}/include
+LIBS+=		-L${OPENSSLLIB} -L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--with-html-install-dir="${PREFIX}/www/openscep" \
 		--with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \
 		--with-openscep-dir="${PREFIX}/etc/openscep" \
@@ -32,6 +31,12 @@ LOCAL_CONF_FILES=	openscep.cnf openscep.
 SUB_FILES=	pkg-message
 SUB_LIST=	CONF_DIR="${CONF_DIR}" CONF_FILES="${LOCAL_CONF_FILES}"
 
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mlibressl*}
+IGNORE=	Detected LibreSSL (unknown ASN1 functions)
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/^subdirs=/ s|libltdl||' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e '/^SUBDIRS =/ s|libltdl||' ${WRKSRC}/Makefile.in
@@ -59,4 +64,4 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/ldap/${f} ${STAGEDIR}${CONF_DIR}/${f}.sample
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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