r5448 - in trunk/BOOK: introduction/welcome server/major

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Dec 18 18:04:23 PST 2005


Author: randy
Date: 2005-12-18 19:04:23 -0700 (Sun, 18 Dec 2005)
New Revision: 5448

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/major/openssh.xml
Log:
Modified the sed command in the OpenSSH instructions to better allow for repeated builds

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-12-19 01:34:29 UTC (rev 5447)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-12-19 02:04:23 UTC (rev 5448)
@@ -45,10 +45,14 @@
       <para>December 19th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Modified the sed command in the OpenSSH instructions
+          to better allow for repeated builds.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Updated to nmap-3.95.</para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Added sed to bind to prevent invalid
+          <para>[bdubbs] - Added sed to Bind to prevent invalid
           warnings in the log.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/server/major/openssh.xml
===================================================================
--- trunk/BOOK/server/major/openssh.xml	2005-12-19 01:34:29 UTC (rev 5447)
+++ trunk/BOOK/server/major/openssh.xml	2005-12-19 02:04:23 UTC (rev 5448)
@@ -5,11 +5,11 @@
   %general-entities;
 
   <!ENTITY openssh-download-http "http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz">
-  <!ENTITY openssh-download-ftp "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz">
-  <!ENTITY openssh-md5sum "df899194a340c933944b193477c628fa">
-  <!ENTITY openssh-size "914 KB">
-  <!ENTITY openssh-buildsize "15.7 MB">
-  <!ENTITY openssh-time "0.5 SBU (additional 0.5 SBU to run the test suite)">
+  <!ENTITY openssh-download-ftp  "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz">
+  <!ENTITY openssh-md5sum        "df899194a340c933944b193477c628fa">
+  <!ENTITY openssh-size          "914 KB">
+  <!ENTITY openssh-buildsize     "15.7 MB">
+  <!ENTITY openssh-time          "0.5 SBU (additional 0.5 SBU to run the test suite)">
 ]>
 
 <sect1 id="openssh" xreflabel="OpenSSH-&openssh-version;">
@@ -106,14 +106,18 @@
     <para>Install <application>OpenSSH</application> by running
     the following commands:</para>
 
-<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/ssh \
+<screen><userinput>sed -i "s/lkrb5 -ldes/lkrb5/" configure &&
+./configure --prefix=/usr --sysconfdir=/etc/ssh \
     --libexecdir=/usr/sbin --with-md5-passwords \
-    --with-privsep-path=/var/lib/sshd</userinput></screen>
+    --with-privsep-path=/var/lib/sshd &&
+make</userinput></screen>
 
+    <!-- Leaving this bunch of stuff for now. The description of all
+         this is now in the Command Explanatations, however.
     <para>If you use <application>Heimdal</application> as your Kerberos5
     implementation and you linked the <application>Heimdal</application>
     libraries into the <application>OpenSSH</application> build using the
-    <option>--with-kerberos5</option> parameter, you'll need to modify the
+    <option>-with-kerberos5</option> parameter, you'll need to modify the
     <filename>Makefile</filename> if you previously linked
     <application>OpenSSL</application> into the
     <application>Heimdal</application> build or the build will fail. The
@@ -122,13 +126,8 @@
     <filename class='libraryfile'>libdes</filename> library instead of
     <application>OpenSSL</application>. Use the following command to modify
     the <filename>Makefile</filename>:</para>
+    -->
 
-<screen><userinput>sed -i -e "s/lkrb5 -ldes/lkrb5/" Makefile</userinput></screen>
-
-    <para>Continue the build:</para>
-
-<screen><userinput>make</userinput></screen>
-
     <para>If you linked <application>tcp_wrappers</application> into the
     build using the <option>--with-tcp-wrappers</option> parameter, ensure
     you add 127.0.0.1 to the sshd line in <filename>/etc/hosts.allow</filename>
@@ -148,6 +147,12 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>sed -i "s/lkrb5 -ldes/lkrb5/" configure</command>:
+    This command fixes a build crash if you used the
+    <option>--with-kerberos5</option> parameter and you built the
+    <application>Heimdal</application> package in accordance with the BLFS
+    instructions. The command is harmless in all other instances.</para>
+
     <para><parameter>--sysconfdir=/etc/ssh</parameter>: This prevents
     the configuration files from being installed in
     <filename class="directory">/usr/etc</filename>.</para>




More information about the blfs-book mailing list