File project.diff of Package nmap

--- nmap.changes.orig
+++ nmap.changes
@@ -1,9 +1,57 @@
 -------------------------------------------------------------------
-Wed May 14 06:33:28 UTC 2025 - Robert Frohl <rfrohl@suse.com>
+Sat Mar 14 12:15:19 UTC 2026 - Martin Hauke <mardnh@gmx.de>
 
-- Update to 7.97:
-  * Fixed an issue with the parallel forward DNS resolver: it had not been
-    consulting /etc/hosts, nor did it correctly handle the 'localhost' name.
+- Update to version 7.98
+  * Fixed an issue in FTP bounce scan where a single null byte is
+    written past the end of the receive buffer. The issue is
+    triggered by a malicious server but does not cause a crash
+    with default builds.
+  * [GH#3130]Fix a crash (stack exhaustion due to excessive
+    recursion) in the parallel DNS resolver. Additionally, improved
+    performance by processing responses that come after the request
+    has timed out.
+  * [GH#2148]Fix the error, "Assertion failed: (datalink ==
+    DLT_EN10MB), function begin_sniffer, file scan_engine_raw.cc"
+    when using Nmap with certain VPN interfaces.
+  * [GH#2757]Fix a crash in traceroute when using randomly-
+    enerated decoys: "Assertion `source->ss_family == AF_INET'
+    failed".
+  * [GH#2899]When IP protocol scanning on IPv6 (-sO -6), skip
+    protocol numbers that are registered as Extension Header
+    values. When the --data option was used, these would fail the
+    assertion "len == (u32) ntohs(ip6->ip6_plen)".
+  * [GH#3086]Prevent TCP Connect scan (-sT) from leaking one socket
+    per hostgroup, which led to progressively slower scans and
+    assertion failures in other scan phases.
+  * [NSE][GH#3133]Fix the error "nse_nsock.cc:637: void
+    receive_callback(nsock_pool, nsock_event, void*): Assertion
+    `lua_status(L) == 1' failed." when reading from an SSL
+    connection.
+  * [NSE]Added NSE bindings for more libssh2 functions:
+    channel_request, channel_request_pty_ex, channel_shell, and
+    userauth_keyboard_interactive. ssh-brute will now use
+    keyboard-interactive auth if password auth is not offered.
+  * [NSE][GH#3014]Fix dns-zone-transfer to handle nontraditional
+    TLDs.
+  * Fix a bug that was causing Nmap to send empty DNS packets for
+    each target that was not found up instead of just skipping
+    them for reverse DNS.
+  * [NSE]Fix/update/enhance tls.lua for newer TLSv1.3 ciphers,
+    including post-quantum ciphersuites.
+  * [Ndiff][GH#3115]Have configure script check for PyPA 'build'
+    module.
+  * [Zenmap]Updated Spanish and Chinese language strings for Zenmap
+    to cover latest strings.
+  * [Zenmap][GH#2718]Zenmap language translation (i18n) files were
+    not being installed.
+  * [Zenmap][GH#3066]Fix Zenmap error "ValueError: I/O operation on
+    closed file" when Nmap crashes or fails.
+  * [Zenmap][GH#3084][GH#3127]Fix UnicodeDecodeError issues in
+    ScriptMetadata and UmitConfigParser.
+  * [NSE][GH#3123]WS-Discovery parsing would error out if the
+    MessageID UUID was not prefixed with "urn:".
+- Drop not longer needed patch:
+  * zenmap-fix-locale-install.patch
 
 -------------------------------------------------------------------
 Wed May 14 06:33:28 UTC 2025 - Robert Frohl <rfrohl@suse.com>
--- nmap.spec.orig
+++ nmap.spec
@@ -28,7 +28,7 @@
 %endif
 %define pythons python3
 Name:           nmap
-Version:        7.97
+Version:        7.98
 Release:        0
 Summary:        Network exploration tool and security scanner
 # nmap 7.94 is licensed under Nmap Public Source License Version 0.95
@@ -44,7 +44,6 @@ Patch1:         nmap-7.40-desktop_files.
 Patch2:         nmap-4.75-nostrip.patch
 Patch3:         su-to-zenmap.patch
 Patch4:         nmap-ncat-skip-network-tests.patch
-Patch5:         zenmap-fix-locale-install.patch
 Patch6:         ndiff_build.patch
 Patch7:         ndiff_install.patch
 BuildRequires:  dos2unix
@@ -62,6 +61,7 @@ BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(lua) >= 5.4.4
 %endif
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools-gettext}
 BuildRequires:  %{python_module build}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
@@ -168,8 +168,9 @@ ln -sf zenmap %{buildroot}%{_bindir}/nma
 ln -sf zenmap %{buildroot}%{_bindir}/xnmap
 popd
 # TODO: only temporary fix and might need cleanup later on:
-#   7.97 build does not produce the correct dist-info folder yet, likely due to new ndiff build process
+#   7.98 build does not produce the correct dist-info folder yet, likely due to new ndiff/zenmap build process
 mv %{buildroot}%{python_sitelib}/ndiff-7.96.dist-info/ %{buildroot}%{python_sitelib}/ndiff-%{version}.dist-info
+mv %{buildroot}%{python_sitelib}/zenmap-7.97.dist-info/ %{buildroot}%{python_sitelib}/zenmap-%{version}.dist-info
 
 %find_lang zenmap
 
@@ -234,7 +235,6 @@ compiled_with=$("%{buildroot}%{_bindir}/
 %{python_sitelib}/zenmapCore/data/{config,docs,misc,pixmaps}
 %dir %{python_sitelib}/zenmapCore/data/locale
 %dir %{python_sitelib}/zenmapCore/data/locale/*
-%dir %{python_sitelib}/zenmapCore/data/locale/*/LC_MESSAGES
 %{python_sitelib}/zenmapCore/data/locale/xgettext-profile_editor.py
 %{python_sitelib}/zenmapCore/data/locale/__pycache__/*
 %{python_sitelib}/zenmapGUI
openSUSE Build Service is sponsored by