[blfs] branch trunk updated: sudo: sed to fix building with openssl-4

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <177911589828.30167.16553067089020063284@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 67cf4c4e12 sudo: sed to fix building with openssl-4
67cf4c4e12 is described below

commit 67cf4c4e125ee73a596edcb6d7b3ec23d2bc12b8
Author: Pierre Labastie <[email protected]>
AuthorDate: Mon May 18 16:51:04 2026 +0200

    sudo: sed to fix building with openssl-4
---
 introduction/welcome/changelog.xml | 9 +++++++++
 postlfs/security/sudo.xml          | 8 ++++++++
 2 files changed, 17 insertions(+)

diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index d9dc21df44..fc1d990da2 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -39,6 +39,15 @@
   <itemizedlist>
     <title>Changelog Entries:</title>
 
+    <listitem>
+      <para>May 18th, 2026</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Fix building sudo against openssl-4.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>May 17th, 2026</para>
       <itemizedlist>
diff --git a/postlfs/security/sudo.xml b/postlfs/security/sudo.xml
index 7100d94984..d260651cea 100644
--- a/postlfs/security/sudo.xml
+++ b/postlfs/security/sudo.xml
@@ -92,6 +92,14 @@
   <sect2 role="installation">
     <title>Installation of Sudo</title>
 
+    <!--already included upstream: remove for next sudo version-->
+    <para>
+      First, fix building sudo with openssl-4:
+    </para>
+
+<screen><userinput>sed -e 's/\([->.a-zA-Z_]*\)->length/ASN1_STRING_length(\1)/' \
+    -i lib/iolog/hostcheck.c</userinput></screen>
+
     <para>
       Install <application>Sudo</application> by running the following commands:
     </para>

-- 
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.