summaryrefslogtreecommitdiff
path: root/www/nginx-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel')
-rw-r--r--www/nginx-devel/Makefile2
-rw-r--r--www/nginx-devel/Makefile.extmod6
-rw-r--r--www/nginx-devel/distinfo6
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_http_redis_module.c34
4 files changed, 6 insertions, 42 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 3ad175d68cd2..04ccd9273c1b 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -1,6 +1,6 @@
PORTNAME?= nginx
PORTVERSION= 1.28.0
-PORTREVISION= 3
+PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod
index 248598e06b69..2bbd374b1d88 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -143,10 +143,8 @@ HTTP_PUSH_VARS= DSO_EXTMODS+=push
HTTP_PUSH_STREAM_GH_TUPLE= wandenberg:nginx-push-stream-module:0.6.0:pushstream
HTTP_PUSH_STREAM_VARS= DSO_EXTMODS+=pushstream
-HTTP_REDIS_MASTER_SITES= LOCAL/osa:redis
-HTTP_REDIS_DISTFILES= ngx_http_redis-0.3.9.tar.gz:redis
-HTTP_REDIS_VARS= DSO_EXTDIRS+=ngx_http_redis-0.3.9
-HTTP_REDIS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_redis_module.c
+HTTP_REDIS_GH_TUPLE= osokin:ngx_http_redis:0.4.0:redis
+HTTP_REDIS_VARS= DSO_EXTMODS+=redis
HTTP_SLICE_AHEAD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_http_modules_ngx_http_slice_read_ahead.c
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index 29cbdd4b1f6d..3f3b1da00e21 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,10 +1,10 @@
-TIMESTAMP = 1746537167
+TIMESTAMP = 1747855224
SHA256 (nginx-1.28.0.tar.gz) = c6b5c6b086c0df9d3ca3ff5e084c1d0ef909e6038279c71c1c3e985f576ff76a
SIZE (nginx-1.28.0.tar.gz) = 1280111
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208
-SHA256 (ngx_http_redis-0.3.9.tar.gz) = 21f87540f0a44b23ffa5df16fb3d788bc90803b255ef14f9c26e3847a6f26f46
-SIZE (ngx_http_redis-0.3.9.tar.gz) = 13051
+SHA256 (osokin-ngx_http_redis-0.4.0_GH0.tar.gz) = e5b699243035575cb8ffcd26fc3a8287bcd11ff414e30fd0a52c96729fd22d0d
+SIZE (osokin-ngx_http_redis-0.4.0_GH0.tar.gz) = 11858
SHA256 (passenger-6.0.27.tar.gz) = 82c830aee98feece09e84309c2d0c6bb3f7b22a3c8e33cfe93b5e0d498615d0f
SIZE (passenger-6.0.27.tar.gz) = 7548637
SHA256 (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 522e94c59f5783f281d868ede2adf325bf2f8ffb9e62cf8451d4b9ac0516916c
diff --git a/www/nginx-devel/files/extra-patch-ngx_http_redis_module.c b/www/nginx-devel/files/extra-patch-ngx_http_redis_module.c
deleted file mode 100644
index 3dacd39ee6c4..000000000000
--- a/www/nginx-devel/files/extra-patch-ngx_http_redis_module.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- ../ngx_http_redis-0.3.9/ngx_http_redis_module.c.orig 2022-07-10 22:10:19.031893000 -0400
-+++ ../ngx_http_redis-0.3.9/ngx_http_redis_module.c 2022-07-10 22:09:41.271731000 -0400
-@@ -562,7 +562,7 @@
- /* if defined gzip_flag... */
- if (rlcf->gzip_flag) {
- /* hash init */
-- h = ngx_list_push(&r->upstream->headers_in.headers);
-+ h = ngx_list_push(&r->headers_out.headers);
- if (h == NULL) {
- return NGX_ERROR;
- }
-@@ -571,19 +571,11 @@
- * add Content-Encoding header for future gunzipping
- * with ngx_http_gunzip_filter module
- */
-- h->hash = ngx_hash(ngx_hash(ngx_hash(ngx_hash(
-- ngx_hash(ngx_hash(ngx_hash(
-- ngx_hash(ngx_hash(ngx_hash(
-- ngx_hash(ngx_hash(ngx_hash(
-- ngx_hash(ngx_hash('c', 'o'), 'n'), 't'), 'e'),
-- 'n'), 't'), '-'), 'e'), 'n'), 'c'), 'o'),
-- 'd'), 'i'), 'n'), 'g');
-+ h->hash = 1;
-+ h->next = NULL;
- ngx_str_set(&h->key, "Content-Encoding");
- ngx_str_set(&h->value, "gzip");
-- h->lowcase_key = (u_char*) "content-encoding";
--#if (NGX_HTTP_GZIP)
-- u->headers_in.content_encoding = h;
--#endif
-+ r->headers_out.content_encoding = h;
- }
-
- /* try to find end of string */