From beed8bce4a23f5c209af693ad9fc3724e8c31242 Mon Sep 17 00:00:00 2001 From: fhajny Date: Tue, 21 Sep 2010 10:45:56 +0000 Subject: Import lua-sec-0.4 as security/lua-sec. LuaSec is a binding for OpenSSL library to provide TLS/SSL communication. This version delegates to LuaSocket the TCP connection establishment between the client and server. Then LuaSec uses this connection to start a secure TLS/SSL session. (Based on wip/luasec.) --- security/lua-sec/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 security/lua-sec/Makefile (limited to 'security/lua-sec/Makefile') diff --git a/security/lua-sec/Makefile b/security/lua-sec/Makefile new file mode 100644 index 00000000000..13c7c33a482 --- /dev/null +++ b/security/lua-sec/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 10:45:56 fhajny Exp $ +# + +DISTNAME= luasec-0.4 +PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//} +CATEGORIES= security +MASTER_SITES= http://luaforge.net/frs/download.php/4255/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.inf.puc-rio.br/~brunoos/luasec/ +COMMENT= Lua binding for OpenSSL library +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../mk/bsd.prefs.mk" + +DEPENDS+= lua-socket>=2.0:../../net/lua-socket + +USE_TOOLS+= gmake + +INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_LDIR} + +.if ${OPSYS} == "SunOS" +BUILD_TARGET= solaris +.else +BUILD_TARGET= bsd +.endif + +INSTALL_ENV+= LUA_CDIR=${LUA_CDIR} +INSTALL_ENV+= LUA_LDIR=${LUA_LDIR} + +.include "../../lang/lua/module.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3