From nobody Wed Aug 09 13:04:39 2023 X-Original-To: dev-commits-ports-all@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 4RLVdM3Ybhz4px5D; Wed, 9 Aug 2023 13:04:39 +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 4RLVdM1xNzz4Fqy; Wed, 9 Aug 2023 13:04:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586279; 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=7/PMHMgStFS9f+/ShP/NY+97F/mJedlWX/RQzhBfshM=; b=KAP8rmJy/edkp36FRULrL881PnkYIullcCSpnWEtSX31kk3FThjtTk8xE8yx0hk3eJhRrC YpswKM5gJADIBwon8r9nJsbdji8NGt3uDctY7Jtyi5IizUIpHZSpFjxttReVdNa9/ET4OB ye2xGYL6PHnMakIJge7ADOAVtAAxSm+n/Kir63XtI3inFEBppzqWye75PJQ1eNaCJtpYmY /Tn4PHwm7/4txmuT42qgkTj83CTdPbzn3hWIt4tueg1VaxN9PIizKPc8hbdqbz/vu7ycQy Brn3hdgKlpDr+TIkKG4zDeis/gx+q4m/IqV0GxFq3ZoNebW8VBf+dlppoRzjIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586279; 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=7/PMHMgStFS9f+/ShP/NY+97F/mJedlWX/RQzhBfshM=; b=MtY0TSqibyKW9j1D6BjU7KBITS2vFrOFdjqA7ak/zGjZiGA0Q771tYvLAFgrQmfZk3LLtK wftZu2rfTn3nMFsy9AOZG3YKXZIU0s8L9HYd3GXCuS73m9fkeDdlPi0XVgz11my2tFb1+x jFNoeV1+thghGfknXXOC5psJBMV5abymSurwNbG3IIcFUviWtrpwhvdCQouvNtE+7RTFLb K4syW4f509ZvfbXhaGLO1E2y0C1GiUtW0hFjzsz1MWbheaHOck78cN7MpTynhmVh34Xq4O GZ1Tda0JEf/cdKLMm4+vgPvU2uxqEnLIAjBBeRkpJX/O4EjqjcHOKu1vwsVJLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691586279; a=rsa-sha256; cv=none; b=MbQWqGXYnCPZ083pqpFjJKJV+p8zg8N2/IhM0zHWHEla5SoKv5fqXyhq1Zae7WgBOr+VAi MSSZ9fW67b/U5FdlGxPnDGQfPIeg4kgGO6sYDd8EwiWJNZOCx1MEfI4shEFVctKZbhgYtM V/H/eLtNbttsfipfMOLEcClvE+v8R2mGYXtZQ/ddMA2NuARBBwrpZEPeOFvKqaZqpn2v82 Go8U6fiDWyuegS5RzZSX8Uv4wNg9JJp+l6A80eBrDiKsFjnWLac+dqMtXnxLTO+kKiW7rO fI43vCFDscsOjshSsB0UQtIH96DXgZciBu3guw10TZpJnHp05Y9Lg21xrmD/Lw== 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 4RLVdM13Gyz2H5; Wed, 9 Aug 2023 13:04:39 +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 379D4dUK090263; Wed, 9 Aug 2023 13:04:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 379D4d3D090260; Wed, 9 Aug 2023 13:04:39 GMT (envelope-from git) Date: Wed, 9 Aug 2023 13:04:39 GMT Message-Id: <202308091304.379D4d3D090260@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: 0e9787f2f5d7 - main - www/angie-module-njs: Angie NJS dynamic module List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 0e9787f2f5d748a7e37609278567dd8c7b42035e Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e9787f2f5d748a7e37609278567dd8c7b42035e commit 0e9787f2f5d748a7e37609278567dd8c7b42035e Author: Oleg A. Mamontov AuthorDate: 2023-08-07 18:37:18 +0000 Commit: Robert Clausecker CommitDate: 2023-08-09 13:01:17 +0000 www/angie-module-njs: Angie NJS dynamic module Module is a subset of the JavaScript language that allows extending Angie functionality. PR: 272999 --- www/Makefile | 1 + www/angie-module-njs/Makefile | 32 +++++++++++++++++++++++++++++++ www/angie-module-njs/files/pkg-message.in | 18 +++++++++++++++++ www/angie-module-njs/pkg-descr | 3 +++ www/angie-module-njs/pkg-plist | 6 ++++++ 5 files changed, 60 insertions(+) diff --git a/www/Makefile b/www/Makefile index f06151a65b6a..4de59147fde0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -34,6 +34,7 @@ SUBDIR += angie-module-image-filter SUBDIR += angie-module-jwt SUBDIR += angie-module-keyval + SUBDIR += angie-module-njs SUBDIR += anyremote2html SUBDIR += apache-mode.el SUBDIR += apache24 diff --git a/www/angie-module-njs/Makefile b/www/angie-module-njs/Makefile new file mode 100644 index 000000000000..972d8f5f11c6 --- /dev/null +++ b/www/angie-module-njs/Makefile @@ -0,0 +1,32 @@ +PORTNAME= angie-module-njs +GH_TUPLE= nginx:njs:0.8.0:module + +COMMENT= Angie NJS dynamic module + +LIB_DEPENDS= libxslt.so:textproc/libxslt + +USES= libedit + +CONFIGURE_ADD= --add-dynamic-module=${WRKSRC_module}/nginx + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + +.for i in ngx_http_js_module ngx_stream_js_module + ${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR} +.endfor + +.for i in CHANGES README + ${INSTALL_MAN} ${WRKSRC_module}/${i} ${STAGEDIR}${DOCSDIR} +.endfor + +do-install-DEBUG-on: +.for i in ngx_http_js_module ngx_stream_js_module + ${INSTALL} ${COPY} -m ${_SHAREMODE} ${WRKSRC_DEBUG}/objs/${i}.so \ + ${STAGEDIR}${MODDIR}/${i}-debug.so +.endfor + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-njs/files/pkg-message.in b/www/angie-module-njs/files/pkg-message.in new file mode 100644 index 000000000000..de4d16525aad --- /dev/null +++ b/www/angie-module-njs/files/pkg-message.in @@ -0,0 +1,18 @@ +[ +{ type: install + message: <