File project.diff of Package ngrep
--- ngrep.changes.orig
+++ ngrep.changes
@@ -1,4 +1,21 @@
-------------------------------------------------------------------
+Mon Oct 27 19:45:25 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 1.48.0
+ * Upgrade to PCRE2.
+ * Add additional level of quiet for certain filtering scenarios.
+ * Update to latest autotools for ngrep and regex-0.12 (2.72, 2023)
+ * Update manpage for missing options and typos.
+ * Fix BPF DLT_ type detections within libpcap (e.g. DLT_LINUX_SLL)
+ * Allow for specifying specific location of PCRE2 includes.
+ * Eliminate various non-fatal build warnings (e.g. pcap_lookupdev
+ deprecation).
+ * Fix ./configure --disable-tcpkill
+ * Source cleanup (nuke old files, unused vars, missing refs, etc)
+- Drop patch:
+ * 27.patch (not longer needed)
+
+-------------------------------------------------------------------
Thu Feb 22 14:09:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
--- ngrep.spec.orig
+++ ngrep.spec
@@ -1,7 +1,7 @@
#
# spec file for package ngrep
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 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,14 @@
#
-%define tarver 1_47
Name: ngrep
-Version: 1.47
+Version: 1.48.0
Release: 0
Summary: Network grep
License: BSD-4-Clause
Group: Productivity/Networking/Diagnostic
URL: https://github.com/jpr5/ngrep
-Source: https://github.com/jpr5/ngrep/archive/V%{tarver}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM: Switch from PCRE to PCRE2 (https://github.com/jpr5/ngrep/pull/27)
-Patch0: 27.patch
+Source: https://github.com/jpr5/ngrep/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: libpcap-devel
BuildRequires: pcre2-devel
@@ -40,14 +37,12 @@ understands BPF filter logic in the same
sniffing tools, such as tcpdump and snoop.
%prep
-%autosetup -p1 -n %{name}-%{tarver}
+%autosetup -p1
%build
%configure \
--enable-pcre2 \
- --enable-ipv6 \
- --with-pcap-includes=%{_includedir}/pcap
-
+ --enable-ipv6
make %{?_smp_mflags}
%install