summaryrefslogtreecommitdiff
path: root/security/lua-sec/Makefile
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2010-09-21 10:45:56 +0000
committerfhajny <fhajny@pkgsrc.org>2010-09-21 10:45:56 +0000
commitbeed8bce4a23f5c209af693ad9fc3724e8c31242 (patch)
tree1d72e8e1efa2ded732e09cff42c58346aaf25ff1 /security/lua-sec/Makefile
parentda52278dac96f1df77243d0e9fdc696bb89a55c8 (diff)
downloadpkgsrc-beed8bce4a23f5c209af693ad9fc3724e8c31242.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/Makefile35
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"