Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sngrep for openSUSE:Factory checked in at 2026-10-06 19:18:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sngrep (Old) and /work/SRC/openSUSE:Factory/.sngrep.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sngrep" Tue Oct 6 19:18:40 2026 rev:18 rq:1382716 version:1.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sngrep/sngrep.changes 2026-09-15 12:49:20.857251886 +0200 +++ /work/SRC/openSUSE:Factory/.sngrep.new.3698736/sngrep.changes 2026-10-06 19:18:46.513441247 +0200 @@ -1,0 +2,31 @@ +Tue Oct 6 07:23:17 UTC 2026 - Martin Hauke <[email protected]> + +- Switch from autotools to cmake +- Add patch: + * sngrep-cmake-build-test-binaries.patch + +------------------------------------------------------------------- +Tue Oct 6 06:45:36 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 1.9.0 + * cmake: Use CMAKE_INSTALL_SYSCONFDIR instead of hardcodec path. + * fix: prevent stack buffer overflow in SIP attribute formatting. + (fix CVE-2026-90558). + * capture: decode SIP inside IPsec ESP with NULL encryption. + * util: free(…) is already NULL tolerant. + * configure.ac: Resolve 'AC_HELP_STRING' deprecation warning. + * sip.c: Correct and simplify parsing expressions. + * ui_call_list.c: Replace manual string dup with strdup. + * rtp: keep recently finished calls when matching media streams. + * call-list: search full configured column values. + * filter: add Call-ID to filter dialog. + * filter: reuse PCRE2 match data. + * Fix unlabeled field in filter dialog. + * Allow selecting filter dialog fields with the mouse. + * capture: guard IPv6 fragment reassembly state. + * sip: support non-standard request methods. + * Add Call State filtering. +- Drop patch: + * 0001-fix-prevent-stack-buffer-overflow-in-SIP-attribute-f.patch + +------------------------------------------------------------------- Old: ---- 0001-fix-prevent-stack-buffer-overflow-in-SIP-attribute-f.patch sngrep-1.8.4.tar.gz New: ---- sngrep-1.9.0.tar.gz sngrep-cmake-build-test-binaries.patch ----------(Old B)---------- Old:- Drop patch: * 0001-fix-prevent-stack-buffer-overflow-in-SIP-attribute-f.patch ----------(Old E)---------- ----------(New B)---------- New:- Add patch: * sngrep-cmake-build-test-binaries.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sngrep.spec ++++++ --- /var/tmp/diff_new_pack.h1Dy8P/_old 2026-10-06 19:18:47.657489280 +0200 +++ /var/tmp/diff_new_pack.h1Dy8P/_new 2026-10-06 19:18:47.658489322 +0200 @@ -19,7 +19,7 @@ Name: sngrep -Version: 1.8.4 +Version: 1.9.0 Release: 0 Summary: Ncurses SIP Messages flow viewer License: GPL-3.0-or-later @@ -27,9 +27,8 @@ 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-fix-prevent-stack-buffer-overflow-in-SIP-attribute-f.patch -BuildRequires: autoconf -BuildRequires: automake +Patch0: sngrep-cmake-build-test-binaries.patch +BuildRequires: cmake BuildRequires: libpcap-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libcrypto) @@ -49,22 +48,25 @@ %autosetup -p1 %build -autoreconf -fiv -export CFLAGS="%{optflags} $(pkg-config --cflags ncursesw)" -%configure \ - --enable-unicode \ - --with-openssl \ - --with-pcre2 \ - --enable-ipv6 \ - --enable-eep - +CFLAGS="%{optflags} $(pkg-config --cflags --libs ncursesw)" +%cmake \ + -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \ + -DWITH_GNUTLS=OFF \ + -DWITH_OPENSSL=ON \ + -DWITH_PCRE2=ON \ + -DWITH_ZLIB=ON \ + -DWITH_UNICODE=ON \ + -DUSE_IPV6=ON \ + -DUSE_EEP=ON \ + -DDISABLE_LOGO=ON %make_build %install -%make_install +%cmake_install +rm -rf %{buildroot}/usr/share/doc/packages/sngrep %check -%make_build tests +%ctest %files %license LICENSE ++++++ sngrep-1.8.4.tar.gz -> sngrep-1.9.0.tar.gz ++++++ ++++ 4215 lines of diff (skipped) ++++++ sngrep-cmake-build-test-binaries.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index fe427b7..7d80ab8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -288,7 +288,7 @@ enable_testing() # "ctest" will run all tests add_custom_target( tests ) # "make tests" will build all tests foreach( i 001 002 003 004 005 006 007 008 009 010 011 013 014 ) - add_executable( test_${i} EXCLUDE_FROM_ALL tests/test_${i}.c ) + add_executable( test_${i} tests/test_${i}.c ) if( i STREQUAL "007" ) target_sources( test_${i} PUBLIC src/vector.c src/util.c ) elseif( i STREQUAL "010" )
