[blfs-book] r11800 - trunk/BOOK/postlfs/security

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Sun Sep 8 08:42:41 PDT 2013


Author: igor
Date: Sun Sep  8 08:42:41 2013
New Revision: 11800

Log:
cacerts formatting

Modified:
   trunk/BOOK/postlfs/security/cacerts.xml

Modified: trunk/BOOK/postlfs/security/cacerts.xml
==============================================================================
--- trunk/BOOK/postlfs/security/cacerts.xml	Sun Sep  8 08:20:07 2013	(r11799)
+++ trunk/BOOK/postlfs/security/cacerts.xml	Sun Sep  8 08:42:41 2013	(r11800)
@@ -74,8 +74,8 @@
     form needed by <application>openssl</application>.  As the <systemitem
     class="username">root</systemitem> user:</para>
 
-  <screen role="root"><userinput>cat > /bin/make-cert.pl << "EOF"
-#!/usr/bin/perl -w
+<screen role="root"><userinput>cat > /bin/make-cert.pl << "EOF"
+<literal>#!/usr/bin/perl -w
 
 # Used to generate PEM encoded files from Mozilla certdata.txt.
 # Run as ./mkcrt.pl > certificate.crt
@@ -123,7 +123,7 @@
             printf( OUT "%c", oct($b) ) unless $b eq '';
         }
     }
-}
+}</literal>
 EOF
 
 chmod +x /bin/make-cert.pl</userinput></screen>
@@ -134,8 +134,8 @@
    create this script as the <systemitem class="username">root</systemitem>
    user:</para>
 
-   <screen role="root"><userinput>cat > /bin/make-ca.sh << "EOF"
-#!/bin/bash
+<screen role="root"><userinput>cat > /bin/make-ca.sh << "EOF"
+<literal>#!/bin/bash
 # Begin make-ca.sh
 # Script to populate OpenSSL's CApath from a bundle of PEM formatted CAs
 #
@@ -229,7 +229,7 @@
 
 # Finally, generate the bundle and clean up.
 cat certs/*.pem >  ${BUNDLE}
-rm -r "${TEMPDIR}"
+rm -r "${TEMPDIR}"</literal>
 EOF
 
 chmod +x /bin/make-ca.sh</userinput></screen>
@@ -238,8 +238,8 @@
    Again create this script as the <systemitem
    class="username">root</systemitem> user:</para>
 
-  <screen role="root"><userinput>cat > /bin/remove-expired-certs.sh << "EOF"
-#!/bin/bash
+<screen role="root"><userinput>cat > /bin/remove-expired-certs.sh << "EOF"
+<literal>#!/bin/bash
 # Begin /bin/remove-expired-certs.sh
 #
 # Version 20120211
@@ -291,7 +291,7 @@
      echo "${cert} expired on ${certdate}! Removing..."
      rm -f "${cert}"
   fi
-done
+done</literal>
 EOF
 
 chmod +x /bin/remove-expired-certs.sh</userinput></screen>



More information about the blfs-book mailing list