Author: krejzi
Date: Thu Oct 26 12:55:56 2017
New Revision: 19389

Log:
Implement proper autofs fix for both book books. Systemd book already had a 
hacky workaround anyways.

Modified:
   trunk/BOOK/general/sysutils/autofs.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general/sysutils/autofs.xml
==============================================================================
--- trunk/BOOK/general/sysutils/autofs.xml      Thu Oct 26 11:12:32 2017        
(r19388)
+++ trunk/BOOK/general/sysutils/autofs.xml      Thu Oct 26 12:55:56 2017        
(r19389)
@@ -64,12 +64,11 @@
 
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-      <xref linkend="rpcsvc-proto"/>,
+      <xref linkend="libtirpc"/>
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
-      <xref linkend="libtirpc"/>,
       <xref linkend="nfs-utils"/>,
       <xref linkend="libxml2"/>,
       <xref linkend="mitkrb"/>,
@@ -117,16 +116,18 @@
     commands:</para>
 
 <screen revision="sysv"><userinput>./configure --prefix=/         \
+            --with-libtirpc    \
             --without-openldap \
             --mandir=/usr/share/man &amp;&amp;
 make</userinput></screen>
 
 <screen revision="systemd"><userinput>./configure --prefix=/         \
+            --with-libtirpc    \
             --with-systemd     \            
             --without-openldap \
             --mandir=/usr/share/man &amp;&amp;
 
-CFLAGS+='-I/usr/include/tirpc/' make</userinput></screen>
+make</userinput></screen>
 
     <para>This package does not come with a test suite.</para>
 
@@ -139,6 +140,12 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para>
+      <parameter>--with-libtirpc</parameter>: This switch forces the package to
+      use libtirpc for RPC functionality instead of relying on implementation
+      from Glibc, which was removed in LFS 8.1.
+    </para>
+
     <para revision="systemd">
       <parameter>--with-systemd</parameter>: This switch enables installation
       of the bundled systemd units.
@@ -150,11 +157,6 @@
       support in autofs requires <xref linkend="mitkrb"/>.
     </para>
 
-    <para>
-      <option>--with-libtirpc</option>: This switch enables libtirpc support if
-      available.
-    </para>
-
   </sect2>
 
   <sect2 role="configuration">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Thu Oct 26 11:12:32 
2017        (r19388)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Thu Oct 26 12:55:56 
2017        (r19389)
@@ -45,6 +45,10 @@
       <para>October 26th, 2017</para>
       <itemizedlist>
         <listitem>
+          <para>[krejzi] - Fix autofs compilation on LFS 8.1+ by forcing
+          libtirpc usage.</para>
+        </listitem>
+        <listitem>
           <para>[dj] - Update to evolution-data-server-3.26.1.</para>
         </listitem>
         <listitem>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to