From nobody Sat Mar 19 23:50:11 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3636B1A18542; Sat, 19 Mar 2022 23:50:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KLd0h139pz4mp4; Sat, 19 Mar 2022 23:50:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647733812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cz2xCuVu+OsqIlihWfu5U+FedcsV5p/EWWh6oJARVw4=; b=Bxu16ChP9gA1ONgTaxdwIOX//DY50++pW3k/Te0iIK/JLmI6YPgBMkuEp02k13ze/CgfsZ bOqb3IrdDVzFapwaLj4acMmUicR3sVIkhmaH0QO4Cwo3Ajnxocvb5hohcy7ESmSHw6MaE5 Rtjl2J0WWK0RVvou1LOP9LaGiIu1RiTlCbwy341ldVUZoJtTIRoUcS7UBXBwD+/RB115jp UgtS3a+IR/dG1glvhaK7XdI+8dbuO1kGXxEpbmQUGarKtxuKvS3b6dHYvX0uBuIxXs39yC vERMD4rzXtgcavD8TxT3mF9b0GsOpp9eWMXdLlbWF2cdLWhPGj70EiN4dWjEeQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E58E61CAB7; Sat, 19 Mar 2022 23:50:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22JNoBqM080512; Sat, 19 Mar 2022 23:50:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22JNoB4F080506; Sat, 19 Mar 2022 23:50:11 GMT (envelope-from git) Date: Sat, 19 Mar 2022 23:50:11 GMT Message-Id: <202203192350.22JNoB4F080506@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Martin Matuska Subject: git: 2389b91c2a0a - main - dns/lua-resty-dns: New Port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2389b91c2a0a7711080c6374031eeb05ef09f04f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647733812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cz2xCuVu+OsqIlihWfu5U+FedcsV5p/EWWh6oJARVw4=; b=goU2oPQWm2id1AmoCCmYzYtSQ/hcXOniZ3lzbB3seCBO0i2Na0UK/t3AykV1LlHIVMMbsj 26y8j7kRkAmCmKoVsPQnie4FsXQLdbiZ9JsYVbtRf/UynOhE5/stm8yehqugtIEqwDKPwE IkQbBJlkour0RWNclwsjcC8Up0UjzPzq12PKcTSFvrQEIVLqvaa8t/eddkdvDxglbyhoNh 4cuzrI9nY6yyRbMxsglu75JXwJRKXr/jzJgdZAt1uKcgHzKtBC+Xcx9l9ErcNaj4J7+QdS Qx2ALpWBxfwJtqhgBVA0uZfy12l3FE4FyBaQ2d3aDVtn3GxEHq29eGfKAramqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647733812; a=rsa-sha256; cv=none; b=qvBEPglXKVRb0YNwxGSkXPXO5meD0rIgSX8SrOBQdNhobwBpq72bTo76ZXC9cRYSGjpEzT hzkIz83XdyqLLyP3Ii8EGAoTCjJ7dpUN6Nvq0K5X3hOcKcjqiq5n1v1ufx2w7VEfwDDuak xahbSVxNpu5U4aEg1JFSjkSCNX92i2GSkKj8oy7aBBaVUhDlG/Jz3tni6HwKITHXfpjLlc sHiK3/teLDNP4oHS2xNq7J9pkcc3Yc2S8oqZ3VN8gTYLbC6rZwpWOZdwgZxyV6WiZ3itww I10U8mcFj2JI0vQLsbcUcIgcIxIQIf/7O9iA1n830GGPvDY6qJVyruy3rQtjpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mm: URL: https://cgit.FreeBSD.org/ports/commit/?id=2389b91c2a0a7711080c6374031eeb05ef09f04f commit 2389b91c2a0a7711080c6374031eeb05ef09f04f Author: Martin Matuska AuthorDate: 2022-03-19 23:49:44 +0000 Commit: Martin Matuska 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 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