git: 95e4dba682a7 - main - dns/luaunbound: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Mar 2022 17:29:12 UTC
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=95e4dba682a7b811658a0b511cdffbb16642fbe7
commit 95e4dba682a7b811658a0b511cdffbb16642fbe7
Author: Thomas Morper <thomas@beingboiled.info>
AuthorDate: 2022-03-16 00:03:19 +0000
Commit: Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-03-22 17:29:01 +0000
dns/luaunbound: new port
PR: 262666
---
dns/luaunbound/Makefile | 27 +++++++++++++++++++++++++++
dns/luaunbound/distinfo | 3 +++
dns/luaunbound/pkg-descr | 6 ++++++
dns/luaunbound/pkg-plist | 1 +
4 files changed, 37 insertions(+)
diff --git a/dns/luaunbound/Makefile b/dns/luaunbound/Makefile
new file mode 100644
index 000000000000..58da91aac3c6
--- /dev/null
+++ b/dns/luaunbound/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= luaunbound
+PORTVERSION= 1.0.0
+CATEGORIES= dns
+MASTER_SITES= https://code.zash.se/dl/luaunbound/
+PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
+
+MAINTAINER= thomas@beingboiled.info
+COMMENT= Lua binding to libunbound
+
+LICENSE= MIT
+
+LIB_DEPENDS= libunbound.so:dns/unbound
+
+USES= lua:module
+
+CFLAGS+= -fPIC -I${LUA_INCDIR} -I${LOCALBASE}/include
+LDFLAGS+= -shared -L${LUA_LIBDIR} -L${LOCALBASE}/lib -llua-${LUA_VER} -lunbound
+
+do-build:
+ cd ${WRKSRC} ;\
+ ${CC} ${CFLAGS} ${LDFLAGS} -o lunbound.so lunbound.c
+
+do-install:
+ ${MKDIR} ${STAGEDIR}/${LUA_MODLIBDIR}
+ ${INSTALL_LIB} ${WRKSRC}/lunbound.so ${STAGEDIR}/${LUA_MODLIBDIR}
+
+.include <bsd.port.mk>
diff --git a/dns/luaunbound/distinfo b/dns/luaunbound/distinfo
new file mode 100644
index 000000000000..ab260c2b8227
--- /dev/null
+++ b/dns/luaunbound/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647352855
+SHA256 (luaunbound-1.0.0.tar.gz) = 6de45aa64c21cf0ecbccb734b7c1eda8873a6135bbe142fbf353f772a90750d3
+SIZE (luaunbound-1.0.0.tar.gz) = 6366
diff --git a/dns/luaunbound/pkg-descr b/dns/luaunbound/pkg-descr
new file mode 100644
index 000000000000..870e7573e311
--- /dev/null
+++ b/dns/luaunbound/pkg-descr
@@ -0,0 +1,6 @@
+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.
+
+WWW: https://github.com/brunoos/luasec
diff --git a/dns/luaunbound/pkg-plist b/dns/luaunbound/pkg-plist
new file mode 100644
index 000000000000..b981a1a37242
--- /dev/null
+++ b/dns/luaunbound/pkg-plist
@@ -0,0 +1 @@
+%%LUA_MODLIBDIR%%/lunbound.so