Date: Sat, 19 Mar 2022 23:50:11 GMT From: Martin Matuska <mm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2389b91c2a0a - main - dns/lua-resty-dns: New Port Message-ID: <202203192350.22JNoB4F080506@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mm: URL: https://cgit.FreeBSD.org/ports/commit/?id=2389b91c2a0a7711080c6374031eeb05ef09f04f commit 2389b91c2a0a7711080c6374031eeb05ef09f04f Author: Martin Matuska <mm@FreeBSD.org> AuthorDate: 2022-03-19 23:49:44 +0000 Commit: Martin Matuska <mm@FreeBSD.org> CommitDate: 2022-03-19 23:49:44 +0000 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 --- dns/Makefile | 1 + dns/lua-resty-dns/Makefile | 37 +++++++++++++++++++++++++++++++++++++ dns/lua-resty-dns/distinfo | 3 +++ dns/lua-resty-dns/pkg-descr | 3 +++ 4 files changed, 44 insertions(+) diff --git a/dns/Makefile b/dns/Makefile index db2eeb488716..88534a0bb5a1 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -105,6 +105,7 @@ SUBDIR += libnspsl SUBDIR += libpsl SUBDIR += linux-c7-libasyncns + SUBDIR += lua-resty-dns SUBDIR += mDNSResponder_nss SUBDIR += maradns SUBDIR += mdnsd diff --git a/dns/lua-resty-dns/Makefile b/dns/lua-resty-dns/Makefile new file mode 100644 index 000000000000..ed96a9b0cd02 --- /dev/null +++ b/dns/lua-resty-dns/Makefile @@ -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> diff --git a/dns/lua-resty-dns/distinfo b/dns/lua-resty-dns/distinfo new file mode 100644 index 000000000000..4e4056e8ac25 --- /dev/null +++ b/dns/lua-resty-dns/distinfo @@ -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 diff --git a/dns/lua-resty-dns/pkg-descr b/dns/lua-resty-dns/pkg-descr new file mode 100644 index 000000000000..e54f62b7a456 --- /dev/null +++ b/dns/lua-resty-dns/pkg-descr @@ -0,0 +1,3 @@ +Lua DNS resolver for the ngx_lua based on the cosocket API + +WWW: https://github.com/openresty/lua-resty-dns
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203192350.22JNoB4F080506>