Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nginx-module-acme for openSUSE:Factory checked in at 2026-05-04 12:53:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nginx-module-acme (Old) and /work/SRC/openSUSE:Factory/.nginx-module-acme.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nginx-module-acme" Mon May 4 12:53:07 2026 rev:3 rq:1350420 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nginx-module-acme/nginx-module-acme.changes 2026-04-21 12:46:42.471121095 +0200 +++ /work/SRC/openSUSE:Factory/.nginx-module-acme.new.30200/nginx-module-acme.changes 2026-05-04 12:55:57.419504692 +0200 @@ -1,0 +2,7 @@ +Fri May 1 22:15:26 UTC 2026 - Mia Herkt <[email protected]> + +- Update to version 0.4.1 +Bugfixes: + * Possible crash during name resolution (via ngx v0.5.1). + +------------------------------------------------------------------- Old: ---- nginx-acme-0.4.0.tar.gz nginx-acme-0.4.0.tar.gz.asc New: ---- nginx-acme-0.4.1.tar.gz nginx-acme-0.4.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nginx-module-acme.spec ++++++ --- /var/tmp/diff_new_pack.hZz0pP/_old 2026-05-04 12:55:58.647555236 +0200 +++ /var/tmp/diff_new_pack.hZz0pP/_new 2026-05-04 12:55:58.651555400 +0200 @@ -17,7 +17,7 @@ Name: nginx-module-acme -Version: 0.4.0 +Version: 0.4.1 Release: 0 Summary: NGINX module for automatic certificate management (ACMEv2) License: Apache-2.0 ++++++ nginx-acme-0.4.0.tar.gz -> nginx-acme-0.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/.github/workflows/cargo-deny.yaml new/nginx-acme-0.4.1/.github/workflows/cargo-deny.yaml --- old/nginx-acme-0.4.0/.github/workflows/cargo-deny.yaml 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/.github/workflows/cargo-deny.yaml 2026-05-01 22:17:43.000000000 +0200 @@ -19,6 +19,6 @@ steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: EmbarkStudios/cargo-deny-action@175dc7fd4fb85ec8f46948fb98f44db001149081 # v2.0.16 + - uses: EmbarkStudios/cargo-deny-action@91bf2b620e09e18d6eb78b92e7861937469acedb # v2.0.17 with: command: check ${{ matrix.checks }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/.github/workflows/ci.yaml new/nginx-acme-0.4.1/.github/workflows/ci.yaml --- old/nginx-acme-0.4.0/.github/workflows/ci.yaml 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/.github/workflows/ci.yaml 2026-05-01 22:17:43.000000000 +0200 @@ -136,7 +136,7 @@ IO::Socket::INET6 IO::Socket::SSL - - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: | ~/.cargo/bin/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/.github/workflows/sanitizers.yaml new/nginx-acme-0.4.1/.github/workflows/sanitizers.yaml --- old/nginx-acme-0.4.0/.github/workflows/sanitizers.yaml 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/.github/workflows/sanitizers.yaml 2026-05-01 22:17:43.000000000 +0200 @@ -56,7 +56,7 @@ repository: 'nginx/nginx-tests' path: 'nginx/tests' - - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: | ~/.cargo/bin/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/CHANGELOG.md new/nginx-acme-0.4.1/CHANGELOG.md --- old/nginx-acme-0.4.0/CHANGELOG.md 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/CHANGELOG.md 2026-05-01 22:17:43.000000000 +0200 @@ -1,5 +1,11 @@ # Changelog +## 0.4.1 (May 1, 2026) + +Bugfixes: + +* Possible crash during name resolution (via ngx v0.5.1). + ## 0.4.0 (April 20, 2026) Changes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/Cargo.lock new/nginx-acme-0.4.1/Cargo.lock --- old/nginx-acme-0.4.0/Cargo.lock 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/Cargo.lock 2026-05-01 22:17:43.000000000 +0200 @@ -89,9 +89,9 @@ [[package]] name = "cc" -version = "1.2.60" +version = "1.2.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" +checksum = "d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d" dependencies = [ "find-msvc-tools", "shlex", @@ -289,9 +289,9 @@ [[package]] name = "libc" -version = "0.2.185" +version = "0.2.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ff2c0fe9bc6cb6b14a0592c2ff4fa9ceb83eea9db979b0487cd054946a2b8f" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "libloading" @@ -332,7 +332,7 @@ [[package]] name = "nginx-acme" -version = "0.4.0" +version = "0.4.1" dependencies = [ "base64", "bytes", @@ -374,9 +374,9 @@ [[package]] name = "ngx" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cafa4700c0836055c5c78ba9defc418cea187d92ac65478bb7053a5a1d39775" +checksum = "864e7932a9a890586db0d2a00bac6c8e67832bb388aebaa8346190a28513cafd" dependencies = [ "allocator-api2", "async-task", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/Cargo.toml new/nginx-acme-0.4.1/Cargo.toml --- old/nginx-acme-0.4.0/Cargo.toml 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/Cargo.toml 2026-05-01 22:17:43.000000000 +0200 @@ -1,6 +1,6 @@ [package] name = "nginx-acme" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "Apache-2.0" publish = false @@ -21,7 +21,7 @@ iri-string = "0.7.9" libc = "0.2.174" nginx-sys = "0.5.0" -ngx = { version = "0.5.0", features = ["async", "serde", "std"] } +ngx = { version = "0.5.1", features = ["async", "serde", "std"] } openssl = { version = "0.10.74", features = ["bindgen"] } openssl-foreign-types = { package = "foreign-types", version = "0.3" } openssl-sys = { version = "0.9.110", features = ["bindgen"] } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/src/conf/ext.rs new/nginx-acme-0.4.1/src/conf/ext.rs --- old/nginx-acme-0.4.0/src/conf/ext.rs 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/src/conf/ext.rs 2026-05-01 22:17:43.000000000 +0200 @@ -9,6 +9,7 @@ use nginx_sys::{ngx_conf_t, ngx_str_t}; use ngx::core::NGX_CONF_ERROR; +use ngx::ngx_conf_log_error; pub trait NgxConfExt { fn args(&self) -> &[ngx_str_t]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/src/conf.rs new/nginx-acme-0.4.1/src/conf.rs --- old/nginx-acme-0.4.0/src/conf.rs 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/src/conf.rs 2026-05-01 22:17:43.000000000 +0200 @@ -15,7 +15,7 @@ use ngx::collections::Vec; use ngx::core::{Pool, Status, NGX_CONF_ERROR, NGX_CONF_OK}; use ngx::http::{HttpModuleMainConf, HttpModuleServerConf}; -use ngx::ngx_string; +use ngx::{ngx_conf_log_error, ngx_string}; use self::ext::NgxConfExt; use self::issuer::Issuer; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nginx-acme-0.4.0/src/log.rs new/nginx-acme-0.4.1/src/log.rs --- old/nginx-acme-0.4.0/src/log.rs 2026-04-20 22:13:40.000000000 +0200 +++ new/nginx-acme-0.4.1/src/log.rs 2026-05-01 22:17:43.000000000 +0200 @@ -52,31 +52,31 @@ macro_rules! emerg { ( $log:expr, $($arg:tt)+ ) => ({ - ngx_log_error!(nginx_sys::NGX_LOG_EMERG, $crate::log::as_log_ptr(&$log), $($arg)+); + ngx::ngx_log_error!(nginx_sys::NGX_LOG_EMERG, $crate::log::as_log_ptr(&$log), $($arg)+); }); } macro_rules! error { ( $log:expr, $($arg:tt)+ ) => ({ - ngx_log_error!(nginx_sys::NGX_LOG_ERR, $crate::log::as_log_ptr(&$log), $($arg)+); + ngx::ngx_log_error!(nginx_sys::NGX_LOG_ERR, $crate::log::as_log_ptr(&$log), $($arg)+); }); } macro_rules! warn { ( $log:expr, $($arg:tt)+ ) => ({ - ngx_log_error!(nginx_sys::NGX_LOG_WARN, $crate::log::as_log_ptr(&$log), $($arg)+); + ngx::ngx_log_error!(nginx_sys::NGX_LOG_WARN, $crate::log::as_log_ptr(&$log), $($arg)+); }); } macro_rules! notice { ( $log:expr, $($arg:tt)+ ) => ({ - ngx_log_error!(nginx_sys::NGX_LOG_NOTICE, $crate::log::as_log_ptr(&$log), $($arg)+); + ngx::ngx_log_error!(nginx_sys::NGX_LOG_NOTICE, $crate::log::as_log_ptr(&$log), $($arg)+); }); } macro_rules! info { ( $log:expr, $($arg:tt)+ ) => ({ - ngx_log_error!(nginx_sys::NGX_LOG_INFO, $crate::log::as_log_ptr(&$log), $($arg)+); + ngx::ngx_log_error!(nginx_sys::NGX_LOG_INFO, $crate::log::as_log_ptr(&$log), $($arg)+); }); } @@ -86,43 +86,6 @@ }); } -// FIXME: remove with the next release of ngx-rust -macro_rules! ngx_log_error { - ( $level:expr, $log:expr, $($arg:tt)+ ) => { - let log = $log; - let level = $level as ngx::ffi::ngx_uint_t; - if level <= unsafe { (*log).log_level } { - let mut buf = - [const { ::core::mem::MaybeUninit::<u8>::uninit() }; ngx::log::LOG_BUFFER_SIZE]; - let message = ngx::log::write_fmt(&mut buf, format_args!($($arg)+)); - unsafe { ngx::log::log_error(level, log, 0, message) }; - } - } -} - -// FIXME: remove with the next release of ngx-rust -macro_rules! ngx_conf_log_error { - ( $level:expr, $cf:expr, $($arg:tt)+ ) => { - let cf: *mut nginx_sys::ngx_conf_t = $cf; - let level = $level as nginx_sys::ngx_uint_t; - if level <= unsafe { (*(*cf).log).log_level } { - let mut buf = - [const { ::core::mem::MaybeUninit::<u8>::uninit() }; ngx::log::LOG_BUFFER_SIZE]; - let message = ngx::log::write_fmt(&mut buf, format_args!($($arg)+)); - unsafe { - nginx_sys::ngx_conf_log_error( - level, - cf, - 0, - c"%*s".as_ptr(), - message.len(), - message.as_ptr() - ); - } - } - } -} - #[cfg(feature = "trace")] macro_rules! trace { ($($arg:tt)+) => (debug!($($arg)+)) ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/nginx-module-acme/vendor.tar.zst /work/SRC/openSUSE:Factory/.nginx-module-acme.new.30200/vendor.tar.zst differ: char 7, line 1
