dns/lua-resty-dns: New Port

Lua DNS resolver for the ngx_lua based on the cosocket API

WWW: https://github.com/openresty/lua-resty-dns
This commit is contained in:
Martin Matuska 2022-03-20 00:49:44 +01:00
parent 62acc757eb
commit 2389b91c2a
4 changed files with 44 additions and 0 deletions

View File

@ -105,6 +105,7 @@
SUBDIR += libnspsl
SUBDIR += libpsl
SUBDIR += linux-c7-libasyncns
SUBDIR += lua-resty-dns
SUBDIR += mDNSResponder_nss
SUBDIR += maradns
SUBDIR += mdnsd

View File

@ -0,0 +1,37 @@
PORTNAME= lua-resty-dns
DISTVERSIONPREFIX=v
DISTVERSION= 0.22
CATEGORIES= dns www
MAINTAINER= mm@FreeBSD.org
COMMENT= Lua DNS resolver for ngx_lua
LICENSE= BSD2CLAUSE
RUN_DEPENDS= luajit-openresty>=2.1:lang/luajit-openresty
USE_GITHUB= yes
GH_ACCOUNT= openresty
NO_ARCH= yes
NO_BUILD= yes
LUA_MODSHAREDIR=${LOCALBASE}/share/lua/5.1
PLIST_FILES= ${LUA_MODSHAREDIR}/resty/dns/resolver.lua
PORTDOCS= README.markdown
DOCSDIR= ${PREFIX}/share/doc/lua${LUA_VER_STR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/resty/dns
${INSTALL_DATA} ${WRKSRC}/lib/resty/dns/resolver.lua ${STAGEDIR}${LUA_MODSHAREDIR}/resty/dns
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1647733445
SHA256 (openresty-lua-resty-dns-v0.22_GH0.tar.gz) = 70e9a01eb32ccade0d5116a25bcffde0445b94ad35035ce06b94ccd260ad1bf0
SIZE (openresty-lua-resty-dns-v0.22_GH0.tar.gz) = 20437

View File

@ -0,0 +1,3 @@
Lua DNS resolver for the ngx_lua based on the cosocket API
WWW: https://github.com/openresty/lua-resty-dns