I do apologize, some errors crawled in.
http://jh.gvn.cz/~jd870911/hlfs/openssl/util-linux-2.12r-openssl-3.patch
Index: chapter06/util-linux.xml
===================================================================
--- chapter06/util-linux.xml (revision 1042)
+++ chapter06/util-linux.xml (working copy)
@@ -62,13 +62,18 @@
<screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;
patch -Np1 -i ../&util-linux-lseek-patch;</userinput></screen>
+ <para>Util-linux ships with it's own MD5 implementation. Following
+ patch adds possibility to use the one that comes with OpenSSL.</para>
+
+<screen><userinput>patch -Np1 -i
../&util-linux-openssl-patch;</userinput></screen>
+
<para>Prepare Util-linux for compilation:</para>
<screen><userinput>./configure</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen>
+<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes
HAVE_OPENSSL=yes</userinput></screen>
<variablelist>
<title>The meaning of the make parameters:</title>
@@ -90,13 +95,22 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>HAVE_OPENSSL=yes</parameter></term>
+ <listitem>
+ <para>This utilizes applied OpenSSL patch and makes
+ <command>mcookie</command> and <command>mkfs.cramfs</command>
+ link against <emphasis>libcrypto.so</emphasis>.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>This package does not come with a test suite.</para>
<para>Install the package:</para>
-<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes install</userinput></screen>
+<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes HAVE_OPENSSL
install</userinput></screen>
</sect2>
Index: patches.ent
===================================================================
--- patches.ent (revision 1042)
+++ patches.ent (working copy)
@@ -168,6 +168,10 @@
<!ENTITY util-linux-lseek-patch-md5 "5d6c86321c1ea74d7ed7cf57861da423">
<!ENTITY util-linux-lseek-patch-size "12 KB">
+<!ENTITY util-linux-openssl-patch
"util-linux-&util-linux-version;-openssl-3.patch">
+<!ENTITY util-linux-openssl-patch-md5 "2aab6f28460e0313340bfe8ffb472055">
+<!ENTITY util-linux-openssl-patch-size "6.4 KB">
+
<!ENTITY vim-configure_warnings-patch
"vim-&vim-version;-configure_warnings-1.patch">
<!ENTITY vim-configure_warnings-patch-md5 "a1208e2d64c96bd192f959e34375b658">
<!ENTITY vim-configure_warnings-patch-size "8 KB">
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page