From nobody Fri Dec 16 03:32:30 2022 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 4NYF6650jRz4VBHK; Fri, 16 Dec 2022 03:32:30 +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 4NYF664bTYz3Jby; Fri, 16 Dec 2022 03:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671161550; 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=eL0ytTXedpS4xKGr8JpjAlRE4uSdN2XLVEaJuFWM0Yk=; b=eH6Rq3q9VKkg/h4nJ1xZvkhYiYzWMZ3U7yBrg3WEcuZ+naehtPb6sEyxLnElZVncCpzpqe g/nmXEc/ctYNitKcp8EQYNmJalnms0jLJALNYVFJ4GqMD1r6z646ZpMIomBVoXD4I5Cdwc qzzIAFRcMkW/WqpWzY+IbOPOWhNbeWu8tLwm6VsCZB+dMHGnVXU9SMCcrmkWkrvW9EB+FH 5X5nTJuuJn8Wz9xAoK9we0d683md7Bedyyl5X0s0hdswqFHpf4GZCqUsi5ekk5nTdYWUp2 An1ZnHBPpPFR4JGuxkw0X5lzE6KVwt/S5d0MmYT/WlQ0nGaVRxx3sWGyfAvlWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671161550; 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=eL0ytTXedpS4xKGr8JpjAlRE4uSdN2XLVEaJuFWM0Yk=; b=mJU/oQ2srmrl9JVvGKLJrAeeCj6RVP8mmQ9kpvHa6VyuUJgJZPxPPx5h79vfdPwgImmrql KTTOSZQ4fp4NkUwSnYNr2AMNTMLaTrCEmZBrPEq38aiMKiBRIeU0hbuInfIGSiqSLU40Mx WdaD4Q/RvwL/BFa4O9DU8A3NEqyedAx6R41Yt6rvOxfjBTNWsiOSDaD/U5VJehPclJZYFv lW0rMxryhP0wqpAbYqngBf6V1tyjnK2tNRY/sxHg33Q+5a1pfA0XrJPOasIAaQ+XXWVGDa SkMjaAKJGBDEeKSox84Qb/cS49N5yRd63JJIv4M14Quqsf4FwYdamIH5YH9iSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671161550; a=rsa-sha256; cv=none; b=D38LaZTQ0eHuMmKf7xjjKW7+Akd88n8kWlwoqq5sO+d08rI29So2cwtLaDnPkloADktk+o FmpXT0IQ90g9lRdeLN3uZ3ayw/lIEQvuYXelBxaf9OfFGuVbcjfn6d+vKEMJFcRAKHnszq +BsAXD9NmPlHa80yJJ212KiZk5zjACARtwOSQDsDtzIM7xeuTZvXtdq84H++plngKtNhIV G2ZRTdQQ1KeXqbWCH3ncAAZmaFtoqBRRqDmkvF/06xSF2vJ3DnBXHFNbpLnfYOMvvBHDwW bMqUtu7I7Zn3XfCuROlgW1g0wpfxfc2IOwIONR7icvF07EGA65JQqb4MpRw8sA== 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 4NYF663gM9zxZn; Fri, 16 Dec 2022 03:32:30 +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 2BG3WUQC070459; Fri, 16 Dec 2022 03:32:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BG3WUOA070458; Fri, 16 Dec 2022 03:32:30 GMT (envelope-from git) Date: Fri, 16 Dec 2022 03:32:30 GMT Message-Id: <202212160332.2BG3WUOA070458@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: 65e729092681 - main - devel/libnjs: add NGINX JavaScript static library 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: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65e729092681ede8724a0d8768db4517d0d18ec5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=65e729092681ede8724a0d8768db4517d0d18ec5 commit 65e729092681ede8724a0d8768db4517d0d18ec5 Author: Sergey A. Osokin AuthorDate: 2022-12-16 03:28:26 +0000 Commit: Sergey A. Osokin CommitDate: 2022-12-16 03:32:21 +0000 devel/libnjs: add NGINX JavaScript static library --- devel/libnjs/Makefile | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ devel/libnjs/distinfo | 3 ++ devel/libnjs/pkg-descr | 4 ++ 3 files changed, 109 insertions(+) diff --git a/devel/libnjs/Makefile b/devel/libnjs/Makefile new file mode 100644 index 000000000000..ff2ba22d5094 --- /dev/null +++ b/devel/libnjs/Makefile @@ -0,0 +1,102 @@ +PORTNAME= libnjs +DISTVERSION= 0.7.9 +CATEGORIES= lang www + +MAINTAINER= osa@FreeBSD.org +COMMENT= NGINX JavaScript static library +WWW= https://nginx.org/en/docs/njs/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cpe ssl + +CPE_VENDOR= f5 + +USE_GITHUB= yes +GH_TUPLE= nginx:njs:${DISTVERSION} +HAS_CONFIGURE= yes + +PLIST_FILES= include/njs_addr2line.h \ + include/njs_arr.h \ + include/njs_array_buffer.h \ + include/njs_array.h \ + include/njs_assert.h \ + include/njs_async.h \ + include/njs_auto_config.h \ + include/njs_boolean.h \ + include/njs_buffer.h \ + include/njs_chb.h \ + include/njs_clang.h \ + include/njs_date.h \ + include/njs_diyfp.h \ + include/njs_djb_hash.h \ + include/njs_dtoa_fixed.h \ + include/njs_dtoa.h \ + include/njs_encoding.h \ + include/njs_error.h \ + include/njs_event.h \ + include/njs_file.h \ + include/njs_function.h \ + include/njs_generator.h \ + include/njs_iterator.h \ + include/njs_json.h \ + include/njs_lexer_tables.h \ + include/njs_lexer.h \ + include/njs_lvlhsh.h \ + include/njs_main.h \ + include/njs_malloc.h \ + include/njs_math.h \ + include/njs_md5.h \ + include/njs_module.h \ + include/njs_mp.h \ + include/njs_murmur_hash.h \ + include/njs_number.h \ + include/njs_object_hash.h \ + include/njs_object_prop_declare.h \ + include/njs_object.h \ + include/njs_parser.h \ + include/njs_promise.h \ + include/njs_queue.h \ + include/njs_random.h \ + include/njs_rbtree.h \ + include/njs_regex.h \ + include/njs_regexp_pattern.h \ + include/njs_regexp.h \ + include/njs_scope.h \ + include/njs_sha1.h \ + include/njs_sha2.h \ + include/njs_sprintf.h \ + include/njs_str.h \ + include/njs_string.h \ + include/njs_strtod.h \ + include/njs_symbol.h \ + include/njs_time.h \ + include/njs_timer.h \ + include/njs_trace.h \ + include/njs_typed_array.h \ + include/njs_types.h \ + include/njs_unicode_lower_case.h \ + include/njs_unicode_upper_case.h \ + include/njs_unicode.h \ + include/njs_unix.h \ + include/njs_utf16.h \ + include/njs_utf8.h \ + include/njs_utils.h \ + include/njs_value_conversion.h \ + include/njs_value.h \ + include/njs_variable.h \ + include/njs_vm.h \ + include/njs_vmcode.h \ + include/njs.h \ + lib/libnjs.a + +do-build: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} build/libnjs.a + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/*.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/build/njs_auto_config.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/build/libnjs.a ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/devel/libnjs/distinfo b/devel/libnjs/distinfo new file mode 100644 index 000000000000..161f62d3fa41 --- /dev/null +++ b/devel/libnjs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668698435 +SHA256 (nginx-njs-0.7.9_GH0.tar.gz) = 92cc425d0b0952bb7e2e7a396cba58feb4a90fb3cb63441c201ab4d3e0cd6403 +SIZE (nginx-njs-0.7.9_GH0.tar.gz) = 617115 diff --git a/devel/libnjs/pkg-descr b/devel/libnjs/pkg-descr new file mode 100644 index 000000000000..6422cdcb0614 --- /dev/null +++ b/devel/libnjs/pkg-descr @@ -0,0 +1,4 @@ +The library of the njs scripting language. njs, is a subset of the JavaScript +language that allows extending nginx functionality. njs is created in +compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later +extensions. The compliance is still evolving.