Skip to content

Commit

Permalink
*/*: update NGINX JavaScript: 0.8.0 -> 0.8.1 (+)
Browse files Browse the repository at this point in the history
<ChangeLog>

nginx modules:

*) Feature: introduced js_periodic directive.
    The directive specifies a JS handler to run at regular intervals.

*) Feature: implemented items() method for a shared dictionary.
   The method returns all the non-expired key-value pairs.

*) Bugfix: fixed size() and keys() methods of a shared dictionary.

*) Bugfix: fixed erroneous exception in r.internalRedirect()
   introduced in 0.8.0.

Core:

*) Bugfix: fixed incorrect order of keys in
   Object.getOwnPropertyNames().

</ChangeLog>
  • Loading branch information
osokin committed Sep 16, 2023
1 parent 63ae22a commit 586a949
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 88 deletions.
78 changes: 1 addition & 77 deletions devel/libnjs/Makefile
@@ -1,6 +1,5 @@
PORTNAME= libnjs
DISTVERSION= 0.8.0
PORTREVISION= 2
DISTVERSION= 0.8.1
CATEGORIES= devel www

MAINTAINER= osa@FreeBSD.org
Expand All @@ -20,81 +19,6 @@ 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 \
libdata/pkgconfig/njs.pc

post-patch:
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/auto/make
Expand Down
6 changes: 3 additions & 3 deletions devel/libnjs/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1688833591
SHA256 (nginx-njs-0.8.0_GH0.tar.gz) = b98033fff6aadcbb8e108b96e80c0d94c6e2103bcbe75846b5ae0b560696084b
SIZE (nginx-njs-0.8.0_GH0.tar.gz) = 715391
TIMESTAMP = 1694629334
SHA256 (nginx-njs-0.8.1_GH0.tar.gz) = 0450d9652d3cfe7dd9f802d6f790a3616e1612eef447195cd3daa5d43b395881
SIZE (nginx-njs-0.8.1_GH0.tar.gz) = 729780
75 changes: 75 additions & 0 deletions devel/libnjs/pkg-plist
@@ -0,0 +1,75 @@
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_flathsh.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
libdata/pkgconfig/njs.pc
2 changes: 1 addition & 1 deletion lang/njs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= njs
DISTVERSION= 0.8.0
DISTVERSION= 0.8.1
CATEGORIES= lang www

MAINTAINER= osa@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions lang/njs/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1689100616
SHA256 (nginx-njs-0.8.0_GH0.tar.gz) = b98033fff6aadcbb8e108b96e80c0d94c6e2103bcbe75846b5ae0b560696084b
SIZE (nginx-njs-0.8.0_GH0.tar.gz) = 715391
TIMESTAMP = 1694884363
SHA256 (nginx-njs-0.8.1_GH0.tar.gz) = 0450d9652d3cfe7dd9f802d6f790a3616e1612eef447195cd3daa5d43b395881
SIZE (nginx-njs-0.8.1_GH0.tar.gz) = 729780
1 change: 1 addition & 0 deletions www/nginx-devel/Makefile
@@ -1,5 +1,6 @@
PORTNAME?= nginx
PORTVERSION= 1.25.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
Expand Down
2 changes: 1 addition & 1 deletion www/nginx-devel/Makefile.extmod
Expand Up @@ -236,7 +236,7 @@ NAXSI_GH_TUPLE= nbs-system:naxsi:${NAXSI_NGINX_VER}:naxsi
NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src
NAXSI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-naxsi_runtime.c

NJS_GH_TUPLE= nginx:njs:0.8.0:njs
NJS_GH_TUPLE= nginx:njs:0.8.1:njs
NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx

NJS_XML_IMPLIES= NJS
Expand Down
6 changes: 3 additions & 3 deletions www/nginx-devel/distinfo
@@ -1,4 +1,4 @@
TIMESTAMP = 1692125033
TIMESTAMP = 1694884488
SHA256 (nginx-1.25.2.tar.gz) = 05dd6d9356d66a74e61035f2a42162f8c754c97cf1ba64e7a801ba158d6c0711
SIZE (nginx-1.25.2.tar.gz) = 1214903
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
Expand Down Expand Up @@ -105,8 +105,8 @@ SHA256 (SpiderLabs-ModSecurity-nginx-v1.0.3_GH0.tar.gz) = 32a42256616cc674dca24c
SIZE (SpiderLabs-ModSecurity-nginx-v1.0.3_GH0.tar.gz) = 34063
SHA256 (nbs-system-naxsi-29793dc_GH0.tar.gz) = 579df0e50ff32464f7bb152df9d93ea18c05c4aa3966ec4d8c603b5dd629be08
SIZE (nbs-system-naxsi-29793dc_GH0.tar.gz) = 236932
SHA256 (nginx-njs-0.8.0_GH0.tar.gz) = b98033fff6aadcbb8e108b96e80c0d94c6e2103bcbe75846b5ae0b560696084b
SIZE (nginx-njs-0.8.0_GH0.tar.gz) = 715391
SHA256 (nginx-njs-0.8.1_GH0.tar.gz) = 0450d9652d3cfe7dd9f802d6f790a3616e1612eef447195cd3daa5d43b395881
SIZE (nginx-njs-0.8.1_GH0.tar.gz) = 729780
SHA256 (opentracing-contrib-nginx-opentracing-v0.24.0_GH0.tar.gz) = 5328c5f37e0615b5252aed51b9cd40f3d14989d995ad54134076aeda4ab9b280
SIZE (opentracing-contrib-nginx-opentracing-v0.24.0_GH0.tar.gz) = 679417
SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b
Expand Down
1 change: 1 addition & 0 deletions www/unit/Makefile
@@ -1,5 +1,6 @@
PORTNAME= unit
PORTVERSION= ${UNIT_VERSION}
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES?= https://unit.nginx.org/download/

Expand Down

0 comments on commit 586a949

Please sign in to comment.