Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 20:37:35 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434052 - in head/security/luasec: . files
Message-ID:  <201702132037.v1DKbZbi038074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lx
Date: Mon Feb 13 20:37:34 2017
New Revision: 434052
URL: https://svnweb.freebsd.org/changeset/ports/434052

Log:
  Update to 0.6.
  
  PR:		210462
  Submitted by:	Piotr Kubaj

Deleted:
  head/security/luasec/files/
Modified:
  head/security/luasec/Makefile
  head/security/luasec/distinfo

Modified: head/security/luasec/Makefile
==============================================================================
--- head/security/luasec/Makefile	Mon Feb 13 20:24:16 2017	(r434051)
+++ head/security/luasec/Makefile	Mon Feb 13 20:37:34 2017	(r434052)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	luasec
-PORTVERSION=	0.5.1
+PORTVERSION=	0.6
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	security
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
@@ -10,6 +10,8 @@ PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 MAINTAINER=	lx@FreeBSD.org
 COMMENT=	Lua binding for the OpenSSL library to provide TLS/SSL communication
 
+LICENSE=	MIT
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	brunoos
 
@@ -17,7 +19,7 @@ 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 ssl
+USES=		lua ssl
 CFLAGS+=	-I${OPENSSLINC} -DOPENSSL_NO_SSL3
 LDFLAGS+=	-L${OPENSSLLIB}
 
@@ -36,4 +38,10 @@ post-patch:	.SILENT
 BROKEN=		Does not build with openssl-devel
 .endif
 
+do-install:
+	${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/ssl ${STAGEDIR}${LUA_MODLIBDIR}
+	${INSTALL_LIB} ${WRKSRC}/src/ssl.so ${STAGEDIR}${LUA_MODLIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/src/ssl.lua ${STAGEDIR}${LUA_MODSHAREDIR}
+	${INSTALL_DATA} ${WRKSRC}/src/https.lua ${STAGEDIR}${LUA_MODSHAREDIR}/ssl
+
 .include <bsd.port.post.mk>

Modified: head/security/luasec/distinfo
==============================================================================
--- head/security/luasec/distinfo	Mon Feb 13 20:24:16 2017	(r434051)
+++ head/security/luasec/distinfo	Mon Feb 13 20:37:34 2017	(r434052)
@@ -1,2 +1,3 @@
-SHA256 (brunoos-luasec-luasec-0.5.1_GH0.tar.gz) = 6d5c5f8e0521f3194668d9a839774e079e2fd5c45b15538dc7b8cacc56719406
-SIZE (brunoos-luasec-luasec-0.5.1_GH0.tar.gz) = 46820
+TIMESTAMP = 1481113241
+SHA256 (brunoos-luasec-luasec-0.6_GH0.tar.gz) = cef3a35c18beb8a54d9c8ce6260a4cabbd9a386de8711320d084daffad0aed5d
+SIZE (brunoos-luasec-luasec-0.6_GH0.tar.gz) = 51071



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