svn commit: r421780 - in head/security/luasec: . files

John Marino marino at FreeBSD.org
Sun Sep 11 02:22:36 UTC 2016


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>


More information about the svn-ports-head mailing list