[blfs] branch trunk updated: nmap: Fix building with OpenSSL-4.x.

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <177879287424.31065.13867557132838854817@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new ea600cc737 nmap: Fix building with OpenSSL-4.x.
ea600cc737 is described below

commit ea600cc7375b28f2a4f18a9902ec1e1b3b401849
Author: Douglas R. Reno <[email protected]>
AuthorDate: Thu May 14 16:06:18 2026 -0500

    nmap: Fix building with OpenSSL-4.x.
---
 introduction/welcome/changelog.xml |  4 ++++
 networking/netutils/nmap.xml       | 14 ++++++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index a4e6eedb1d..fec663c204 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -42,6 +42,10 @@
     <listitem>
       <para>May 14th, 2026</para>
       <itemizedlist>
+        <listitem>
+          <para>[renodr] - Fixed building nmap with OpenSSL-4. Fixes
+          <ulink url="&blfs-ticket-root;23297">#23297</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[jlocash] - Update to requests-2.34.1 (Python module). Fixes
           <ulink url="&blfs-ticket-root;23283">#23283</ulink>.</para>
diff --git a/networking/netutils/nmap.xml b/networking/netutils/nmap.xml
index f92c3f63dd..e2b2905b21 100644
--- a/networking/netutils/nmap.xml
+++ b/networking/netutils/nmap.xml
@@ -66,17 +66,17 @@
         </para>
       </listitem>
     </itemizedlist>
-<!--
+
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
       <listitem>
         <para>
           Recommended patch: <ulink url=
-            "&patch-root;/nmap-&nmap-version;-pcre_2-1.patch"/>
+            "&patch-root;/nmap-&nmap-version;-openssl4_fixes-1.patch"/>
         </para>
       </listitem>
     </itemizedlist>
--->
+
     <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -141,11 +141,17 @@
 
     <!-- https://github.com/nmap/nmap/issues/3345 -->
     <para>
-      fix a packaging error that makes the build fail:
+      Fix a packaging error that makes the build fail:
     </para>
 
     <screen><userinput>sed '/py-modules/s/f"/&amp;, "Version"/' -i ndiff/pyproject.toml</userinput></screen>
 
+    <para>
+      Fix compiling this package against OpenSSL-4:
+    </para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../nmap-&nmap-version;-openssl4_fixes-1.patch</userinput></screen>
+
     <para>
       Install <application>Nmap</application> by running the following
       commands:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.