www/nginx-devel: update third-party redis module to version 0.4.0

Bump PORTREVISION.
This commit is contained in:
Sergey A. Osokin
2025-05-21 15:32:34 -04:00
parent f6ff55b015
commit 17fc941527
4 changed files with 5 additions and 39 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
PORTNAME?= nginx
PORTVERSION= 1.28.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
+1 -1
View File
@@ -143,7 +143,7 @@ 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_GH_TUPLE= osokin:ngx_http_redis:ad7d90c:redis
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
+3 -3
View File
@@ -1,10 +1,10 @@
TIMESTAMP = 1747580329
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 (osokin-ngx_http_redis-ad7d90c_GH0.tar.gz) = 3ac409accbfdc2da2288a37eba8e918b63cad460dab6b29e9f3e7b9823dca744
SIZE (osokin-ngx_http_redis-ad7d90c_GH0.tar.gz) = 12724
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
@@ -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 */