Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 02:22:35 +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: r421780 - in head/security/luasec: . files
Message-ID:  <201609110222.u8B2MZOH043460@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Sep 11 02:22:35 2016
New Revision: 421780
URL: https://svnweb.freebsd.org/changeset/ports/421780

Log:
  lang/luasec: Add SLL flags and fix builds on LibreSSL
  
  Approved by:	SSL blanket

Added:
  head/security/luasec/files/
  head/security/luasec/files/patch-src_ssl.c   (contents, props changed)
Modified:
  head/security/luasec/Makefile

Modified: head/security/luasec/Makefile
==============================================================================
--- head/security/luasec/Makefile	Sun Sep 11 02:08:45 2016	(r421779)
+++ head/security/luasec/Makefile	Sun Sep 11 02:22:35 2016	(r421780)
@@ -17,9 +17,9 @@ ALL_TARGET=	bsd
 LIBDIR=		-L${LUA_LIBDIR} -L${WRKSRC}/src/luasocket
 MAKE_ENV+=	INCDIR="-I${LUA_INCDIR} -I${WRKSRC}/src" LUAPATH=${LUA_MODSHAREDIR} \
 		CPATH=${LUA_MODLIBDIR} LD=${CC}
-USES=		lua:51
-USE_OPENSSL=	yes
-CFLAGS+=	-DOPENSSL_NO_SSL3
+USES=		lua:51 ssl
+CFLAGS+=	-I${OPENSSLINC} -DOPENSSL_NO_SSL3
+LDFLAGS+=	-L${OPENSSLLIB}
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} -Ee '/\(INSTALL\)/s/-D //' \

Added: head/security/luasec/files/patch-src_ssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/luasec/files/patch-src_ssl.c	Sun Sep 11 02:22:35 2016	(r421780)
@@ -0,0 +1,10 @@
+--- src/ssl.c.orig	2015-11-20 21:39:32 UTC
++++ src/ssl.c
+@@ -15,6 +15,7 @@
+ #endif
+ 
+ #include <openssl/ssl.h>
++#include <openssl/comp.h>
+ #include <openssl/x509v3.h>
+ #include <openssl/x509_vfy.h>
+ #include <openssl/err.h>



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