Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package civetweb for openSUSE:Factory 
checked in at 2026-05-20 15:25:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/civetweb (Old)
 and      /work/SRC/openSUSE:Factory/.civetweb.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "civetweb"

Wed May 20 15:25:59 2026 rev:10 rq:1354158 version:1.6+git1776611085.588860e3

Changes:
--------
--- /work/SRC/openSUSE:Factory/civetweb/civetweb.changes        2023-12-22 
22:42:38.342872124 +0100
+++ /work/SRC/openSUSE:Factory/.civetweb.new.1966/civetweb.changes      
2026-05-20 15:27:06.844549478 +0200
@@ -1,0 +2,8 @@
+Wed Apr 22 19:28:11 UTC 2026 - Axel Braun <[email protected]>
+
+- take latest snapshot from github
+  * Fix for CVE-2025-55763 
+    (see: https://github.com/civetweb/civetweb/issues/1351)
+  * 1385.patch added to fix build error
+  
+-------------------------------------------------------------------

Old:
----
  civetweb-1.16.tar.gz

New:
----
  1385.patch
  _service
  civetweb-1.6+git1776611085.588860e3.obscpio
  civetweb.obsinfo

----------(New B)----------
  New:    (see: https://github.com/civetweb/civetweb/issues/1351)
  * 1385.patch added to fix build error
  
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ civetweb.spec ++++++
--- /var/tmp/diff_new_pack.aa9Zon/_old  2026-05-20 15:27:07.436573865 +0200
+++ /var/tmp/diff_new_pack.aa9Zon/_new  2026-05-20 15:27:07.440574030 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package civetweb
 #
-# Copyright (c) 2023 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
@@ -16,17 +16,19 @@
 #
 
 
-%define         soname  1_15_0
+%define         soname  1_16_0
 %define         _libname libcivetweb
 Name:           civetweb
-Version:        1.16
+Version:        1.6+git1776611085.588860e3
 Release:        0
 Summary:        A C/C++ web server
 License:        MIT
 Group:          Productivity/Networking/Web/Servers
 URL:            https://github.com/civetweb/civetweb
-Source0:        
https://github.com/civetweb/civetweb/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.xz
 Source1:        civetweb.conf
+Patch0:         1385.patch
+
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libopenssl-devel
@@ -64,7 +66,7 @@
 comprisable header file.
 
 %prep
-%setup -q
+%autosetup -p1
 
 install -pm0644  %{SOURCE1} .
 
@@ -75,7 +77,7 @@
 %build
 rm -rf build
 
-export CFLAGS="%optflags -DUSE_X_DOM_SOCKET"
+export CFLAGS="%optflags -DUSE_X_DOM_SOCKET 
-DCMAKE_INSTALL_DATADIR=%{buildroot}/usr/lib64/pkgconfig/"
 
 %cmake -DCIVETWEB_ENABLE_WEBSOCKETS=ON \
        -DCIVETWEB_BUILD_TESTING=OFF \
@@ -112,8 +114,8 @@
 %{_includedir}/CivetServer.h
 %{_libdir}/lib%{name}.so
 %{_libdir}/lib%{name}-cpp.so
-%{_datadir}/pkgconfig/%{name}.pc
-%{_datadir}/pkgconfig/%{name}-cpp.pc
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/pkgconfig/%{name}-cpp.pc
 
 %dir %{_libdir}/cmake/%{name}
 %{_libdir}/cmake/%{name}/*cmake

++++++ 1385.patch ++++++
>From 79077517e3d4ee648f47af12215dc1cf10e230a5 Mon Sep 17 00:00:00 2001
From: "V.Shkriabets" <[email protected]>
Date: Wed, 22 Apr 2026 16:14:18 +0300
Subject: [PATCH] Fixed old variable names

---
 src/civetweb.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/civetweb.c b/src/civetweb.c
index f6a60e214..006fa7a2b 100644
--- a/src/civetweb.c
+++ b/src/civetweb.c
@@ -19201,15 +19201,15 @@ get_request(struct mg_connection *conn, char *ebuf, 
size_t ebuf_len, int *err)
                conn->accept_gzip = 1;
        }
 #endif
-   h_chunk = get_header(conn->request_info.http_headers,
+       h_chunk = get_header(conn->request_info.http_headers,
                              conn->request_info.num_headers,
                              "Transfer-Encoding");
-   h_len = get_header(conn->request_info.http_headers,
+       h_len = get_header(conn->request_info.http_headers,
                                    conn->request_info.num_headers,
                                    "Content-Length");
-       if (h_chunk != NULL)
-           && mg_strcasecmp(cl, "identity")) {
-               if ((0!=mg_strcasecmp(cl, "chunked")) || (h_len!=NULL)) {
+       if ((h_chunk != NULL)
+           && mg_strcasecmp(h_chunk, "identity")) {
+               if ((0!=mg_strcasecmp(h_chunk, "chunked")) || (h_len!=NULL)) {
                        mg_snprintf(conn,
                                    NULL, /* No truncation check for ebuf */
                                    ebuf,
@@ -19224,8 +19224,8 @@ get_request(struct mg_connection *conn, char *ebuf, 
size_t ebuf_len, int *err)
        } else if (h_len != NULL) {
                /* Request has content length set */
                char *endptr = NULL;
-               conn->content_len = strtoll(cl, &endptr, 10);
-               if ((endptr == cl) || (conn->content_len < 0)) {
+               conn->content_len = strtoll(h_len, &endptr, 10);
+               if ((endptr == h_len) || (conn->content_len < 0)) {
                        mg_snprintf(conn,
                                    NULL, /* No truncation check for ebuf */
                                    ebuf,

++++++ _service ++++++
<services>
  <service name="obs_scm" mode="localonly">
    <param name="url">https://github.com/civetweb/civetweb</param>
    <param name="scm">git</param>
    <param name="revision">master</param>
    <param name="versionformat">1.6+git%ct.%h</param>
  </service>
  <service name="tar" mode="buildtime"/>
  <service name="recompress" mode="buildtime">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service name="set_version" mode="localonly"/>
</services>

++++++ civetweb.obsinfo ++++++
name: civetweb
version: 1.6+git1776611085.588860e3
mtime: 1776611085
commit: 588860e30721bf5453b0440c390865a8e85dcae5

Reply via email to