Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nginx-module-echo for openSUSE:Factory checked in at 2026-04-09 16:11:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nginx-module-echo (Old) and /work/SRC/openSUSE:Factory/.nginx-module-echo.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nginx-module-echo" Thu Apr 9 16:11:29 2026 rev:2 rq:1345488 version:0.64 Changes: -------- --- /work/SRC/openSUSE:Factory/nginx-module-echo/nginx-module-echo.changes 2024-05-03 10:35:02.852526901 +0200 +++ /work/SRC/openSUSE:Factory/.nginx-module-echo.new.21863/nginx-module-echo.changes 2026-04-09 16:23:57.668576687 +0200 @@ -1,0 +2,6 @@ +Thu Apr 9 08:48:16 UTC 2026 - Dirk Müller <[email protected]> + +- update to 0.64: + * optimize: add compatibility for freenginx + +------------------------------------------------------------------- Old: ---- echo-nginx-module-0.63.tar.gz New: ---- echo-nginx-module-0.64.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nginx-module-echo.spec ++++++ --- /var/tmp/diff_new_pack.ZTqdSy/_old 2026-04-09 16:23:59.156637932 +0200 +++ /var/tmp/diff_new_pack.ZTqdSy/_new 2026-04-09 16:23:59.160638097 +0200 @@ -1,7 +1,7 @@ # # spec file for package nginx-module-echo # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define project_name echo-nginx-module %define so_name ngx_http_echo_module.so Name: nginx-module-echo -Version: 0.63 +Version: 0.64 Release: 0 Summary: NGINX echo module License: BSD-2-Clause ++++++ echo-nginx-module-0.63.tar.gz -> echo-nginx-module-0.64.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/echo-nginx-module-0.63/.travis.yml new/echo-nginx-module-0.64/.travis.yml --- old/echo-nginx-module-0.63/.travis.yml 2022-08-01 01:52:01.000000000 +0200 +++ new/echo-nginx-module-0.64/.travis.yml 2025-10-30 08:40:37.000000000 +0100 @@ -1,5 +1,9 @@ sudo: required -dist: bionic +dist: focal + +branches: + only: + - "master" os: linux @@ -15,8 +19,8 @@ - LUAJIT_INC=$LUAJIT_PREFIX/include/luajit-2.1 - LD_LIBRARY_PATH=$LUAJIT_LIB:$LD_LIBRARY_PATH matrix: - - NGINX_VERSION=1.17.8 - - NGINX_VERSION=1.19.9 + - NGINX_VERSION=1.29.2 + #- NGINX_VERSION=1.21.4 before_install: - sudo apt-get install -qq -y cpanminus libgd-dev ca-certificates @@ -30,6 +34,7 @@ - git clone https://github.com/openresty/rds-json-nginx-module.git - git clone https://github.com/openresty/headers-more-nginx-module.git - git clone https://github.com/openresty/lua-nginx-module.git + - git clone https://github.com/openresty/openresty.git - git clone https://github.com/openresty/lua-resty-core.git ../lua-resty-core - git clone https://github.com/openresty/lua-resty-lrucache.git ../lua-resty-lrucache - git clone https://github.com/openresty/nginx-eval-module.git @@ -41,8 +46,8 @@ - sudo make install PREFIX=$LUAJIT_PREFIX > build.log 2>&1 || (cat build.log && exit 1) - cd .. - cd nginx-${NGINX_VERSION}/ - - ./configure --without-http_ssi_module --with-debug --with-select_module --with-poll_module --with-http_stub_status_module --with-http_image_filter_module --add-module=../ngx_devel_kit --add-module=../set-misc-nginx-module --add-module=../nginx-eval-module --add-module=../xss-nginx-module --add-module=../rds-json-nginx-module --add-module=../headers-more-nginx-module --add-module=../lua-nginx-module --add-module=.. > build.log 2>&1 || (cat build.log && exit 1) + - ./configure --without-pcre2 --without-http_ssi_module --with-debug --with-select_module --with-poll_module --with-http_stub_status_module --with-http_image_filter_module --add-module=../ngx_devel_kit --add-module=../set-misc-nginx-module --add-module=../nginx-eval-module --add-module=../xss-nginx-module --add-module=../rds-json-nginx-module --add-module=../headers-more-nginx-module --add-module=../lua-nginx-module --add-module=.. > build.log 2>&1 || (cat build.log && exit 1) - make -j2 > build.log 2>&1 || (cat build.log && exit 1) - - export PATH=$PATH:`pwd`/objs + - export PATH=`pwd`/objs:$PATH - cd .. - prove -I. -r t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/echo-nginx-module-0.63/README.markdown new/echo-nginx-module-0.64/README.markdown --- old/echo-nginx-module-0.63/README.markdown 2022-08-01 01:52:01.000000000 +0200 +++ new/echo-nginx-module-0.64/README.markdown 2025-10-30 08:40:37.000000000 +0100 @@ -68,7 +68,7 @@ Version ======= -This document describes ngx_echo [v0.62](https://github.com/openresty/echo-nginx-module/tags) released on 2 July, 2020. +This document describes ngx_echo [v0.63](https://github.com/openresty/echo-nginx-module/tags) released on 1 August, 2022. Synopsis ======== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/echo-nginx-module-0.63/src/ngx_http_echo_module.h new/echo-nginx-module-0.64/src/ngx_http_echo_module.h --- old/echo-nginx-module-0.63/src/ngx_http_echo_module.h 2022-08-01 01:52:01.000000000 +0200 +++ new/echo-nginx-module-0.64/src/ngx_http_echo_module.h 2025-10-30 08:40:37.000000000 +0100 @@ -123,7 +123,11 @@ ngx_http_echo_foreach_ctx_t *foreach; +#if (defined freenginx && nginx_version >= 1029000) + ngx_msec_t timer_begin; +#else ngx_time_t timer_begin; +#endif ngx_event_t sleep; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/echo-nginx-module-0.63/src/ngx_http_echo_timer.c new/echo-nginx-module-0.64/src/ngx_http_echo_timer.c --- old/echo-nginx-module-0.63/src/ngx_http_echo_timer.c 2022-08-01 01:52:01.000000000 +0200 +++ new/echo-nginx-module-0.64/src/ngx_http_echo_timer.c 2025-10-30 08:40:37.000000000 +0100 @@ -19,7 +19,9 @@ ngx_http_echo_ctx_t *ctx; ngx_msec_int_t ms; u_char *p; +#if !(defined freenginx && nginx_version >= 1029000) ngx_time_t *tp; +#endif size_t size; ctx = ngx_http_get_module_ctx(r, ngx_http_echo_module); @@ -32,10 +34,15 @@ ngx_http_set_ctx(r, ctx, ngx_http_echo_module); } +#if (defined freenginx && nginx_version >= 1029000) + if (ctx->timer_begin == 0) + ctx->timer_begin = r->start_time; +#else if (ctx->timer_begin.sec == 0) { ctx->timer_begin.sec = r->start_sec; ctx->timer_begin.msec = (ngx_msec_t) r->start_msec; } +#endif /* force the ngx timer to update */ @@ -45,6 +52,10 @@ ngx_time_update(0, 0); #endif +#if (defined freenginx && nginx_version >= 1029000) + ms = (ngx_msec_int_t) (ngx_current_msec - ctx->timer_begin); +#else + tp = ngx_timeofday(); dd("old sec msec: %ld %d\n", (long) ctx->timer_begin.sec, @@ -55,6 +66,7 @@ ms = (ngx_msec_int_t) ((tp->sec - ctx->timer_begin.sec) * 1000 + (tp->msec - ctx->timer_begin.msec)); +#endif ms = (ms >= 0) ? ms : 0; size = sizeof("-9223372036854775808.000") - 1; @@ -89,7 +101,11 @@ ngx_time_update(0, 0); #endif +#if (defined freenginx && nginx_version >= 1029000) + ctx->timer_begin = ngx_current_msec; +#else ctx->timer_begin = *ngx_timeofday(); +#endif return NGX_OK; }
