diff options
author | fhajny <fhajny@pkgsrc.org> | 2010-09-21 10:45:56 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2010-09-21 10:45:56 +0000 |
commit | 254bcf84e064ef1c870f69e8b173f6eb8e439404 (patch) | |
tree | 1d72e8e1efa2ded732e09cff42c58346aaf25ff1 /security/lua-sec/Makefile | |
parent | 2aef31b552d0a81a5641e70ca06b48543a054c95 (diff) | |
download | pkgsrc-254bcf84e064ef1c870f69e8b173f6eb8e439404.tar.gz |
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.)
Diffstat (limited to 'security/lua-sec/Makefile')
-rw-r--r-- | security/lua-sec/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
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" |