From nobody Wed Aug 09 13:04:32 2023 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 4RLVdD4KGGz4pwxm; Wed, 9 Aug 2023 13:04:32 +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 4RLVdD3pxfz4FMp; Wed, 9 Aug 2023 13:04:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586272; 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=g5RXUrXDmsaS+qi/87J6RH3PkG/+YUFwOMiUKvgs2VU=; b=hlYy/c5ovzD1tfOVBKmajfCAe7FMymepWnp45vWOuONt7vuYAFMAOoU/HhhDgWGyBfPn9r FgR3Bbg03DGq96y8GvS7Xu8c1HkVWXCZ0b2o1pmnm17JK7Cxa2zV4WtUXcW+XhBHXS2PR+ 80uaimaTFELE5en/MhH6sU0BAcRux76zdYQwMmqeZLHZmZrLCIDORWqoIXXhSH2BH/0e3N dC/SofGqSCODb3suUbY1VqtWibnAuV3GnyBVSWVeHRSTHtC1PYZ7P1zMpNG9g6KNU0RXg6 XbuSbTL2wrNYvNs8xuoFpw6bEItAFwD64pM+AcDH7uJ0MeN3vM24AGSvBkM9Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586272; 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=g5RXUrXDmsaS+qi/87J6RH3PkG/+YUFwOMiUKvgs2VU=; b=PRF+1A6fJ74qRf9nc8a5jvVy2ol14rWsRb6sBOmyIxo6l+7JHC5PKFk7Uj9NqHBPWPVasG cYatZPjkrIxawYb05+akMjVyb8WwJg6JXlP27TF48rjGFtQGhFwISL/+wwkdRitzIeiPzW Z/jxaEKbwkzgT2Q9KAuCZUXbFPPiiNIilnnGVsO927gGSz4pjuBBcUAxHvaIkNtbQSBN/3 AO1cbIuSzH+qiBzOCh8ZtBQjfpHTd6wEG9phNqjE7G6PYBYGwocCBoBnIhzSXyQ+f3aSla gjzew/4QxK4vKgoH+y0xRwLfamB5Bu9iQhEmInvGZlRA5v9b7eALgQjTT81VOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691586272; a=rsa-sha256; cv=none; b=x1dZp8nbqSyA5vsCMzjUd3sreiRaF/z0Il9eVK5ektQI5cnlHBdu/1uO3tzyNP0e/NIkLj r9M+VtklPzz7zMJZy09qgw1oJmGGZ080+qSIzVA1Gosc1yVeQ/1U8SkQ04NI13hJTdwOk5 xlxateMqERwSEkZTEi++II6y7Sj9BcGXqht7+o+T19ncY7SOwDwJ37Ad9mqBQi0QWNg+G5 0XSL4kOtYHWSlt0hOeSVTv/NLT/JVZGERoRsjqfXluicInVzaOP28xnq44P0VE/syvFm06 t8nc2Iydycq0TdG5RsfrHEVm24BBeq5eD63U9PEvfiOx65m6MmNCjZNZYtrNvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RLVdD2wxpz2b7; Wed, 9 Aug 2023 13:04:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 379D4W79089997; Wed, 9 Aug 2023 13:04:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 379D4W0p089994; Wed, 9 Aug 2023 13:04:32 GMT (envelope-from git) Date: Wed, 9 Aug 2023 13:04:32 GMT Message-Id: <202308091304.379D4W0p089994@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: da1c17007fd9 - main - www/angie-module-auth-jwt: Angie auth-jwt dynamic module 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da1c17007fd919ad943d7933ed5faef0cba0a524 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=da1c17007fd919ad943d7933ed5faef0cba0a524 commit da1c17007fd919ad943d7933ed5faef0cba0a524 Author: Oleg A. Mamontov AuthorDate: 2023-08-07 18:21:57 +0000 Commit: Robert Clausecker CommitDate: 2023-08-09 13:01:15 +0000 www/angie-module-auth-jwt: Angie auth-jwt dynamic module This Angie module implements client authorization by validating the provided JSON Web Token (JWT) using the specified keys. PR: 243928 --- www/Makefile | 1 + www/angie-module-auth-jwt/Makefile | 26 ++++++++++++++++++++++++++ www/angie-module-auth-jwt/files/pkg-message.in | 15 +++++++++++++++ www/angie-module-auth-jwt/pkg-descr | 3 +++ www/angie-module-auth-jwt/pkg-plist | 3 +++ 5 files changed, 48 insertions(+) diff --git a/www/Makefile b/www/Makefile index 394491aa90d3..a419f6d8811c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -27,6 +27,7 @@ SUBDIR += amphetadesk SUBDIR += analog SUBDIR += angie + SUBDIR += angie-module-auth-jwt SUBDIR += angie-module-geoip2 SUBDIR += anyremote2html SUBDIR += apache-mode.el diff --git a/www/angie-module-auth-jwt/Makefile b/www/angie-module-auth-jwt/Makefile new file mode 100644 index 000000000000..cd5723745514 --- /dev/null +++ b/www/angie-module-auth-jwt/Makefile @@ -0,0 +1,26 @@ +PORTNAME= angie-module-auth-jwt +GH_TUPLE= kjdev:nginx-auth-jwt:0.2.1:module + +COMMENT= Angie auth-jwt dynamic module + +LIB_DEPENDS= libjansson.so:devel/jansson + +MASTERDIR= ${.CURDIR}/../../www/angie + +CONFLICTS= www/angie-module-jwt + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_auth_jwt_module.so \ + ${STAGEDIR}${MODDIR} + + ${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR} + +do-install-DEBUG-on: + ${INSTALL} ${COPY} -m ${_SHAREMODE} \ + ${WRKSRC_DEBUG}/objs/ngx_http_auth_jwt_module.so \ + ${STAGEDIR}${MODDIR}/ngx_http_auth_jwt_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-auth-jwt/files/pkg-message.in b/www/angie-module-auth-jwt/files/pkg-message.in new file mode 100644 index 000000000000..0a06221819ac --- /dev/null +++ b/www/angie-module-auth-jwt/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <