Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sngrep for openSUSE:Factory checked 
in at 2025-12-11 18:42:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sngrep (Old)
 and      /work/SRC/openSUSE:Factory/.sngrep.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sngrep"

Thu Dec 11 18:42:00 2025 rev:15 rq:1322202 version:1.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/sngrep/sngrep.changes    2025-03-15 
16:17:41.748123306 +0100
+++ /work/SRC/openSUSE:Factory/.sngrep.new.1939/sngrep.changes  2025-12-11 
18:45:29.731945463 +0100
@@ -1,0 +2,15 @@
+Fri Oct 17 10:55:33 UTC 2025 - Martin Hauke <[email protected]>
+
+- Update to version 1.8.3
+  * Use libgcrypt-config if pkg-config is not available for
+    libgcrypt.
+  * Call flow group message cache.
+  * Fixed an issue with the payload length of fragmented IPv6
+    packets.
+  * Add RFC 4733 DTMF display support by @Kaian based.
+  * rtp: fix duration value in telephony-event is incorrectly
+    converted.
+- Add patch:
+  * 0001-util-expose-sng_strncpy-definition.patch
+
+-------------------------------------------------------------------

Old:
----
  sngrep-1.8.2.tar.gz

New:
----
  0001-util-expose-sng_strncpy-definition.patch
  sngrep-1.8.3.tar.gz

----------(New B)----------
  New:- Add patch:
  * 0001-util-expose-sng_strncpy-definition.patch
----------(New E)----------

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

Other differences:
------------------
++++++ sngrep.spec ++++++
--- /var/tmp/diff_new_pack.5Q7kla/_old  2025-12-11 18:45:30.715986800 +0100
+++ /var/tmp/diff_new_pack.5Q7kla/_new  2025-12-11 18:45:30.719986969 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sngrep
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2018-2024, Martin Hauke <[email protected]>
 # Copyright (c) 2024 Andreas Stieger <[email protected]>
 #
@@ -19,7 +19,7 @@
 
 
 Name:           sngrep
-Version:        1.8.2
+Version:        1.8.3
 Release:        0
 Summary:        Ncurses SIP Messages flow viewer
 License:        GPL-3.0-or-later
@@ -27,6 +27,7 @@
 URL:            https://github.com/irontec/sngrep
 #Git-Clone:     https://github.com/irontec/sngrep.git
 Source:         
https://github.com/irontec/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         0001-util-expose-sng_strncpy-definition.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libpcap-devel

++++++ 0001-util-expose-sng_strncpy-definition.patch ++++++
>From b84f0663e47de6f238d9f81eed67612a9ab616ef Mon Sep 17 00:00:00 2001
From: Victor Seva <[email protected]>
Date: Thu, 16 Oct 2025 23:33:06 +0200
Subject: [PATCH] util: expose sng_strncpy() definition
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* introduced at df59a5a3d0723c674f7ae53e10376a4ca23742d3
  generates build errors:

> gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/usr/include/p11-kit-1      -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 
> -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/sngrep-1.8.3=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection  -c -o sngrep-address.o `test -f 
> 'address.c' || echo './'`address.c
> address.c: In function ‘address_from_str’:
> address.c:115:5: error: implicit declaration of function ‘sng_strncpy’; did 
> you mean ‘strncpy’? [-Wimplicit-function-declaration]
>   115 |     sng_strncpy(scanipport, ipport, sizeof(scanipport));
>       |     ^~~~~~~~~~~
>       |     strncpy
> make[3]: *** [Makefile:628: sngrep-address.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> capture_eep.c: In function ‘capture_eep_set_server_url’:
> capture_eep.c:910:5: error: implicit declaration of function ‘sng_strncpy’; 
> did you mean ‘strncpy’? [-Wimplicit-function-declaration]
>   910 |     sng_strncpy(urlstr, url, sizeof(urlstr));
>       |     ^~~~~~~~~~~
>       |     strncpy
> make[3]: *** [Makefile:586: sngrep-capture_eep.o] Error 1
---
 src/util.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/util.h b/src/util.h
index 0b1f4a5..c1b6f16 100644
--- a/src/util.h
+++ b/src/util.h
@@ -57,6 +57,12 @@ sng_free(void *ptr);
 char *
 sng_basename(const char *name);
 
+/*
+ * @brief Wrapper for strncpy
+ */
+char *
+sng_strncpy(char *dst, const char *src, size_t len);
+
 /**
  * @brief Compare two timeval structures
  *
-- 
2.52.0


++++++ sngrep-1.8.2.tar.gz -> sngrep-1.8.3.tar.gz ++++++
++++ 1827 lines of diff (skipped)

Reply via email to