From nobody Fri Dec 16 03:32:32 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 4NYF6906BMz4VBnb; Fri, 16 Dec 2022 03:32:33 +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 4NYF686pV9z3Jqg; Fri, 16 Dec 2022 03:32:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671161552; 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=DtSXSol36bUB/iEhL6e8686Cb78a04VWktC3NiIQQ8c=; b=wdKCj5fpE/66n48eL7wyf6/dUTNVWByeS5sCFzbf+kKdsHxYiLuc7QvmgfqEYZa25OGY5w P1xpRDroJCMWYVEKR10u/TCfOTrYIv8fxYHZu86/nUz6CtcXkaLwF8DXgW8GdYHe/XunaZ 3LO8gOPmS+pukImuuSTt1YDlVWM7EHLJY/ddY/dmJydvceLuYfwx5V3OuNcHSNdHTpPDEv j3+TxKtio1wnLpzDBMLhGGsiGhyUwBPhoH1Gmx5BjUu19qzYrDGF1vZbLPwUaV7ACCPmwX n88EVYMundR4RZmT2ynxadMh0yGwoE5XdZRNobayfzi2VxzgIR9S/ROTGtnxIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671161553; 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=DtSXSol36bUB/iEhL6e8686Cb78a04VWktC3NiIQQ8c=; b=ToztuAt9CGDI8oP4TQwIxFD5AdqY2VFF1jiuVRy896smUMFUQYvjK3rCWvY6LwpunUKLbf NirhY4TWtzhzK+LMgOGD+8KdzMvl7oNhYVPgdVnur14r3ScombEBGeTDQWLYsWLR7yLFlk CDXsSXKlMANxe3qSSrfOAJZS4sXi4UoQeLBAoQBpOqxx4/zBRaij1Upeir+ND2ELowYmVP PpM+9Scrumhhuae9eUWqrpvILkk6e18LVFlKhi+Bao1thHpRDDyug6N1D1fwQkAnO4Eubu OOoh2n7qFXC16FkHgwxdKvvhPy5Oky1uavzMI/inyWcPUmcGYTZe2fPFjqkQQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671161553; a=rsa-sha256; cv=none; b=OxkKd6mFTWCBawm3/pH/qi//rz4nlI+AVWHqO2dxGUX3gOF6QHgCf12vz7s1D4zVKgLCv6 4qi54y7U2OUuRHrMpmZ4g7rI30141tbMb8NXjWKKnCiIorbSvBejqvAmAVe9jAHlxx7uLE X7HGqDzoro9FLLfb+w0apqqX6GCd813qBjhj36dEW3xqDFWeMK7oXYIzv7rotzNSkvi30z jyUTz32Md3kHw+N5RmN1o97l6xNwis6Iak7j9oN0QLlih6/WY9yn9mQXDXinqMArHmaE5E 1Npz+SxXFczn5gY/40iHrOem+o+drYHBSbatS82NkD7HTd7H3bA4C6yOspJXzQ== 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 4NYF685vtrzxZp; Fri, 16 Dec 2022 03:32:32 +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 2BG3WWJI070509; Fri, 16 Dec 2022 03:32:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BG3WW1D070507; Fri, 16 Dec 2022 03:32:32 GMT (envelope-from git) Date: Fri, 16 Dec 2022 03:32:32 GMT Message-Id: <202212160332.2BG3WW1D070507@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: 4e0dbdeac729 - main - www/unit: add NGINX JavaScript support 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: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e0dbdeac7299f9b293e19189d188cf15115689c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e0dbdeac7299f9b293e19189d188cf15115689c commit 4e0dbdeac7299f9b293e19189d188cf15115689c Author: Sergey A. Osokin AuthorDate: 2022-12-16 03:31:56 +0000 Commit: Sergey A. Osokin CommitDate: 2022-12-16 03:32:21 +0000 www/unit: add NGINX JavaScript support Bump PORTREVISION. --- www/unit/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/www/unit/Makefile b/www/unit/Makefile index a2af0f9d9450..20a5e2d927ba 100644 --- a/www/unit/Makefile +++ b/www/unit/Makefile @@ -1,5 +1,6 @@ PORTNAME= unit PORTVERSION= ${UNIT_VERSION} +PORTREVISION= 1 CATEGORIES= www MASTER_SITES?= https://unit.nginx.org/download/ @@ -18,6 +19,7 @@ CPE_PRODUCT= unit OPTIONS_DEFINE?= \ DEBUG \ IPV6 \ + NJS \ SSL \ UNIXSOCK OPTIONS_DEFAULT?= IPV6 PCRE2 SSL UNIXSOCK @@ -27,6 +29,7 @@ OPTIONS_RADIO_REGEX= NOPCRE PCRE PCRE2 DEBUG_DESC= Enable debug logging REGEX_DESC= Support regular expressions +NJS_DESC= Enable NGINX JavaScript NOPCRE_DESC= No support for Regular Expressions PCRE_DESC= Regular Expressions via devel/pcre PCRE2_DESC= Regular Expressions via devel/pcre2 @@ -81,6 +84,13 @@ CONFIGURE_ARGS+=--debug CONFIGURE_ARGS+=--no-ipv6 .endif +.if ${PORT_OPTIONS:MNJS} +BUILD_DEPENDS+= ${LOCALBASE}/lib/libnjs.a:devel/libnjs +CONFIGURE_ARGS+=--njs \ + --cc-opt="-I${LOCALBASE}/include" \ + --ld-opt="-L${LOCALBASE}/lib" +.endif + .if ${PORT_OPTIONS:MNOPCRE} CONFIGURE_ARGS+=--no-regex .endif