summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2024-12-17 13:45:01 -0500
committerSergey A. Osokin <osa@FreeBSD.org>2024-12-17 13:45:53 -0500
commitbda86431bbd3091a035fd2653fa21a0d00b285f4 (patch)
treef20628f24c8c5e2011ac36e0362bb0a36c877eb4 /www/nginx-devel/files
parentnet/s5cmd: Update to 2.3.0 (diff)
*/*: update NGINX JavaScript: 0.8.7 -> 0.8.8 (+)
Bump PORTREVISION for the www/unit. <ChangeLog> nginx modules: *) Feature: implemented shared dictionary for QuickJS engine. *) Improvement: js_preload_object is refactored. *) Bugfix: fixed limit rated output. *) Bugfix: optimized use of SSL contexts for js_fetch_trusted_certificate directive. Core: *) Feature: implemented process object for QuickJS engine. *) Feature: implemented process.kill() method. *) Bugfix: fixed tests with libxml2 2.13 and later. *) Bugfix: fixed promise resolving when Promise is inherited. *) Bugfix: fixed absolute scope in cloned VMs. </ChangeLog>
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-njs-auto-quickjs12
-rw-r--r--www/nginx-devel/files/extra-patch-njs-nginx-config13
2 files changed, 19 insertions, 6 deletions
diff --git a/www/nginx-devel/files/extra-patch-njs-auto-quickjs b/www/nginx-devel/files/extra-patch-njs-auto-quickjs
index 13bd88446cce..6fe199bd9e73 100644
--- a/www/nginx-devel/files/extra-patch-njs-auto-quickjs
+++ b/www/nginx-devel/files/extra-patch-njs-auto-quickjs
@@ -1,15 +1,15 @@
---- ../njs-0.8.7/auto/quickjs.orig 2024-06-25 13:40:20.000000000 -0400
-+++ ../njs-0.8.7/auto/quickjs 2024-07-08 14:45:08.895107000 -0400
-@@ -47,9 +46,9 @@
+--- ../njs-0.8.8/auto/quickjs.orig 2024-12-15 17:49:15 UTC
++++ ../njs-0.8.8/auto/quickjs
+@@ -46,9 +46,9 @@ if [ $NJS_TRY_QUICKJS = YES ]; then
fi
if [ $njs_found = no ]; then
- njs_feature="QuickJS library -I/usr/include/quickjs/ -L/usr/lib/quickjs/ -lquickjs"
- njs_feature_incs="/usr/include/quickjs/"
- njs_feature_libs="-L/usr/lib/quickjs/ -lquickjs -lm -ldl -lpthread"
-+ njs_feature="QuickJS library -I%%PREFIX%%/include/quickjs/ -L%%PREFIX%%/lib/quickjs/ -lquickjs"
-+ njs_feature_incs="%%PREFIX%%/include/quickjs/"
-+ njs_feature_libs="-L%%PREFIX%%/lib -lquickjs -lm -ldl -lpthread"
++ njs_feature="QuickJS library -I%%LOCALBASE%%/include/quickjs/ -L%%LOCALBASE%%/lib/ -lquickjs"
++ njs_feature_incs="%%LOCALBASE%%/include/quickjs/"
++ njs_feature_libs="-L%%LOCALBASE%%/lib/ -lquickjs -lm -ldl -lpthread"
. auto/feature
fi
diff --git a/www/nginx-devel/files/extra-patch-njs-nginx-config b/www/nginx-devel/files/extra-patch-njs-nginx-config
new file mode 100644
index 000000000000..e9a340ab733f
--- /dev/null
+++ b/www/nginx-devel/files/extra-patch-njs-nginx-config
@@ -0,0 +1,13 @@
+--- ../njs-0.8.8/nginx/config.orig 2024-12-16 11:16:44.892658000 -0500
++++ ../njs-0.8.8/nginx/config 2024-12-16 11:19:57.566877000 -0500
+@@ -60,8 +60,8 @@
+ fi
+
+ if [ $ngx_found = no ]; then
+- ngx_feature="QuickJS library -I/usr/include/quickjs/ -L/usr/lib/quickjs/ -lquickjs"
+- ngx_feature_libs="-L/usr/lib/quickjs/ -lquickjs -lm -ldl -lpthread"
++ ngx_feature="QuickJS library -I%%LOCALBASE%%/include/quickjs/ -L%%LOCALBASE%%/lib/ -lquickjs"
++ ngx_feature_libs="-L%%LOCALBASE%%/lib/ -lquickjs -lm -ldl -lpthread"
+
+ . auto/feature
+ fi